/* 香りでひらく、これからの私 ― 案B ハーブガーデン */
:root {
  --linen: #F4F2EA;
  --mint-leaf: #E3E9DF;
  --sage: #8FAE93;
  --lavender: #B9A9D3;
  --lavender-soft: #ECE6F4;
  --rosemary: #46624D;
  --rosemary-dark: #34503B;
  --ink: #2F362F;
  --muted: #5F695F;
  --line: #D8DCCF;
  --line-strong: #B8C2B3;
  --white: #FFFFFF;

  --font-display: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --radius: 8px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 10vw, 120px);
  --content: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.5; text-wrap: balance; }
a { color: var(--rosemary); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }

.inner { width: 100%; max-width: var(--content); margin-inline: auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--white { background: var(--white); }
.section--leaf { background: var(--mint-leaf); }

.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--rosemary); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head--center { align-items: center; text-align: center; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 64px; padding: 0 32px;
  border-radius: var(--radius);
  background: var(--rosemary); color: var(--white);
  font-weight: 700; font-size: 19px; line-height: 1.4; text-decoration: none;
  transition: background-color .2s;
}
.btn:hover { background: var(--rosemary-dark); color: var(--white); }
.btn svg { flex-shrink: 0; }
.btn--light { background: var(--linen); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--small { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 242, 234, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--gutter);
}
.site-header .inner { max-width: none; height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 14px; color: var(--ink); text-decoration: none; }
.logo__name { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.logo__sub { font-size: 14px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--rosemary); }

/* ファーストビュー */
.hero { display: grid; grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); min-height: 640px; }
.hero__photo { background: var(--mint-leaf); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__body { padding: 64px var(--gutter) 64px clamp(40px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero__lead { font-size: 17px; font-weight: 500; color: var(--rosemary); letter-spacing: 0.06em; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.35; }
.hero__text { font-size: 19px; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__note { font-size: 16px; line-height: 1.7; color: var(--muted); }

/* お悩み */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.voice {
  padding: 32px 36px;
  font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.8;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius) 44px var(--radius) 44px;
}
.voice--lav { background: var(--lavender-soft); border-color: transparent; border-radius: 44px var(--radius) 44px var(--radius); }
.worries__text { max-width: 820px; margin: clamp(40px, 5vw, 56px) auto; text-align: center; font-size: 19px; line-height: 2; }
.worries__photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 55%; border-radius: var(--radius); }

/* できること */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 18px; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature h3 { font-size: 24px; }
.feature p { font-size: 17px; }

/* 流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { border-top: 2px solid var(--rosemary); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step:nth-child(2) { border-color: var(--sage); }
.step:nth-child(3) { border-color: var(--lavender); }
.step:nth-child(4) { border-color: var(--line-strong); }
.step__num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--rosemary); }
.step h3 { font-family: var(--font-body); font-size: 20px; }
.step p { font-size: 16px; }

/* 講師紹介 */
.profile { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.profile__card { display: flex; flex-direction: column; gap: 20px; }
.profile__photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 20%; border-radius: 200px 200px var(--radius) var(--radius); }
.profile__role { font-size: 14px; color: var(--muted); }
.profile__name { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 6px 12px; border-radius: 4px; background: var(--white); font-size: 14px; line-height: 1.6; }
.profile__body { display: flex; flex-direction: column; gap: 24px; }
.profile__body h2 { font-size: clamp(26px, 3.2vw, 40px); }

/* 料金 */
.price { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.price__intro { display: flex; flex-direction: column; gap: 20px; }
.price__intro h2 { font-size: clamp(28px, 3.6vw, 42px); }
.classroom { margin: 8px 0 0; display: flex; align-items: center; gap: 16px; }
.classroom img { width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.classroom figcaption { font-size: 15px; color: var(--muted); line-height: 1.6; }
.price-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.price-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 16px; color: var(--muted); }
.badge { padding: 4px 14px; border-radius: 4px; background: var(--lavender-soft); color: var(--ink); font-weight: 700; font-size: 14px; }
.price-card__amount { display: flex; align-items: baseline; gap: 8px; }
.price-card__amount strong { font-family: var(--font-display); font-size: clamp(48px, 6vw, 64px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.price-card__amount span { font-size: 20px; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.price-card dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); row-gap: 12px; margin: 0; font-size: 16px; line-height: 1.7; }
.price-card dt { color: var(--muted); }
.price-card dd { margin: 0; }

/* よくある質問 */
.faq { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq__list { border-bottom: 1px solid var(--line-strong); }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 28px 0; font-weight: 700; font-size: 20px; line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; margin-left: auto; font-size: 26px; line-height: 1.2; color: var(--rosemary); font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__q { font-family: var(--font-display); font-size: 24px; line-height: 1.4; color: var(--rosemary); }
.faq__a { padding: 0 0 32px 40px; font-size: 17px; }

/* 最後の案内 */
.closing { background: var(--rosemary); color: var(--white); text-align: center; }
.closing .inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.closing h2 { font-size: clamp(28px, 3.8vw, 44px); }
.closing p { color: var(--mint-leaf); }

.site-footer { background: var(--ink); color: var(--mint-leaf); padding: 48px var(--gutter); font-size: 15px; }
.site-footer .inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer .logo__name { color: var(--white); display: block; }

/* スマートフォン用の固定ボタン */
.mobile-cta { display: none; }

@media (max-width: 1080px) {
  .price { grid-template-columns: minmax(0, 1fr); }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile__card { max-width: 400px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-nav a:not(.btn) { display: none; }
  .logo__sub { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__photo img { aspect-ratio: 4 / 3; height: auto; }
  .hero__body { padding: 40px var(--gutter) 56px; }
  .hero__text { font-size: 17px; }
  .voices, .features { grid-template-columns: minmax(0, 1fr); }
  .worries__text { text-align: left; font-size: 17px; }
  .worries__photo { aspect-ratio: 4 / 3; }
  .step p, .feature p { font-size: 16px; }
  .faq__item summary { font-size: 18px; }
  .faq__a { padding-left: 0; font-size: 16px; }
  .btn { font-size: 18px; padding: 0 24px; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(244, 242, 234, 0.96); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; }
  .site-footer { padding-bottom: 120px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .voice { padding: 24px; }
  .price-card dl { grid-template-columns: 80px minmax(0, 1fr); }
}
