body{
    margin: 0px;
    background-color: #f8f5e3;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #caf9cacc;
  border-bottom: 1px solid #ddd;
}
.logo-group{
  display: flex;
  align-items: center;
  gap: 5px;
}
.header img{
  width: 50px;
  height: 50px;
  margin: 0;
}

.header-title {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  padding: 10px 15px;
}


.nav-menu a:hover {
  background-color: #eee;
}


.firstview{
  position: relative;
  width: 1000px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 縦中央 */
  align-items: center;       /* 横中央 */
}
.back_layer{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #00000030;
    z-index: 0;
}
.firstview-text1{
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  z-index: 2;
}
.firstview-text{
  color: #FFF;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  z-index: 2;
}
.button-container {
  display: flex;
  gap: 100px;
  margin-top: 30px;
  z-index: 2;
}
.firstview-bg {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.8s;
  opacity: 1;
  pointer-events: none;
}
.firstview > *:not(.firstview-bg):not(.back_layer) {
  position: relative;
  z-index: 2;
}

.firstview-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #4caf50;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s;
}
.firstview-btn:hover {
  background: #388e3c;
}



.features {
  display: flex;
  justify-content: center;
  gap: 60px;
  background-color: #caf9cacc;
  padding: 40px 0;
  margin: 40px auto;
  width: 1000px;
}

.feature-item {
  text-align: center;
  width: 200px;
}

.feature-icon img{
  width: 100px; 
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
}

.feature-item h3 {
  margin: 10px 0 5px;
}

.feature-item p {
  margin: 0;
}




.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  width: 1000px;
}

.products span {
  background-color: #f0f0f0;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}



.info-text{
  padding-left: 200px;
  padding-top: 50px;
  padding-bottom: 0px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px auto;
  justify-items: center;
  max-width: 1000px;         
  width: 100%;
}

.card {
  width: 220px;
  padding: 20px;
  background-image: url('image/card_back.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card:hover{
  filter: brightness(1.1);
  transform: translateY(-4px);
  cursor: pointer;
}

.card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: opacity 0.8s;
  opacity: 1;
}

.card h2 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.card p {
  font-size: 14px;
}




.wide-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.wide-card {
  width: 500px;
  height: 300px;
  padding: 20px 0 0 20px; 
  background-image: url('image/card_back.jpg'); /* 背景画像 */
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wide-card:hover{
  filter: brightness(1.1);
  transform: translateY(-4px);
  cursor: pointer;
}

.wide-card img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.wide-card h2 {
  margin: 5px 0;
  font-size: 22px;
}


