/* 全体レイアウト */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.8;
}

/* ヒーローセクション */
.hero-card {
  position: relative;
  margin-bottom: 60px;
  text-align: center;
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hero-card .text {
  margin-top: 30px;
}

.hero-card h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.hero-card p {
  font-size: 18px;
  color: #555;
}

/* 効果セクションカード */
.intro-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
}

.intro-card img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.intro-card .text {
  width: 55%;
}

.intro-card h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #444;
}

.intro-card p {
  font-size: 16px;
  color: #555;
}

/* 左右切り替え */
.left-image {
  flex-direction: row-reverse;
}

/* アコーディオンボタン（ふんわり丸く） */
.accordion {
  background-color: #a67c52;
  color: white;
  cursor: pointer;
  padding: 0.8em 1.6em;
  border: none;
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  line-height: 1.4;
}

.accordion:hover {
  background-color: #8b5e3c;
  transform: scale(1.03);
}

/* アコーディオンパネル（ふんわり丸く） */
.panel {
  display: none;
  padding: 1.2em;
  background-color: #fdfaf6;
  margin-top: 1em;
  border-left: 4px solid #a67c52;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .intro-card {
    flex-direction: column;
    text-align: center;
  }

  .intro-card img,
  .intro-card .text {
    width: 100%;
  }

  .hero-card h1 {
    font-size: 28px;
  }

  .hero-card p {
    font-size: 16px;
  }

  .intro-card h2 {
    font-size: 22px;
  }

  .intro-card p {
    font-size: 15px;
  }

  .accordion {
    font-size: 15px;
    padding: 0.6em 1.4em;
    border-radius: 999px;
  }

  .panel {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 480px) {
  main {
    padding: 30px 15px;
  }

  .hero-card h1 {
    font-size: 24px;
  }

  .hero-card p {
    font-size: 15px;
  }

  .intro-card h2 {
    font-size: 20px;
  }

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

  .accordion {
    font-size: 14px;
    padding: 0.6em 1.2em;
    border-radius: 999px;
  }

  .panel {
    font-size: 13px;
    line-height: 1.6;
  }
}
