@charset "UTF-8";

/* ==========================================================
   AYU RI スタイルシート

   目次
   1. 基本設定（色・文字）
   2. 共通パーツ（ボタン・見出し・アイコン）
   3. ヘッダー
   4. セクション1 ヒーロー
   5. セクション2 お悩み・選ばれる理由
   6. セクション3 メニュー
   7. セクション4 よくある質問
   8. セクション5 アクセス
   9. フッター・固定ボタン
   10. スマートフォン対応
   ========================================================== */


/* ==========================================================
   1. 基本設定（色・文字）
   色を変えたいときは、この :root の中の数値を書き換えてください
   ========================================================== */
:root {
  --bg:        #fbf8f4;  /* ページの背景（生成り色） */
  --bg-soft:   #f3ede4;  /* 少し濃い背景 */
  --card:      #ffffff;  /* カードの背景 */
  --ink:       #33302c;  /* 本文の文字色 */
  --ink-soft:  #6f6960;  /* 薄い文字色 */
  --accent:    #7a6a52;  /* メインの色（落ち着いた茶） */
  --accent-dk: #5c4f3c;  /* メインの色の濃いほう */
  --line:      #e3dbd0;  /* 罫線 */
  --line-btn:  #06c755;  /* LINEの緑 */
  --line-btn-dk: #05a544;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(80, 66, 48, .08);

  --font-go: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mi: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-go);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;

  /* 日本語を文節の切れ目で改行する。Chrome以外では無視されるだけなので安全 */
  word-break: auto-phrase;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(760px, 100% - 48px); }

/* 画面には出さないが読み上げには届くテキスト */
.br-sp { display: none; }


/* ==========================================================
   2. 共通パーツ
   ========================================================== */

/* --- セクションの外枠 --- */
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.section--cta  { background: var(--accent); color: #fff; }

/* --- セクションの見出し --- */
.section__head { text-align: center; margin-bottom: 56px; }
.section__head--mt { margin-top: 96px; }

.section__en {
  font-family: var(--font-mi);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section--cta .section__en { color: #e8dcc6; }

.section__title {
  font-family: var(--font-mi);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.6;
}

.section__lead {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.section__lead strong { color: var(--accent); font-weight: 700; }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.4;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn--line {
  background: var(--line-btn);
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, .28);
}
.btn--line:hover { background: var(--line-btn-dk); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .8);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

.btn--lg    { padding: 17px 36px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

/* --- アイコンの共通設定 --- */
svg { flex-shrink: 0; }

/* --- チェックつきのリスト --- */
.checklist { margin-top: 18px; display: grid; gap: 8px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
/* チェック印はCSSの線だけで描いています */
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}


/* ==========================================================
   3. ヘッダー
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(251, 248, 244, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(80, 66, 48, .05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo { text-decoration: none; margin-right: auto; }
.logo__name {
  display: block;
  font-family: var(--font-mi);
  font-size: 24px;
  letter-spacing: .1em;
  line-height: 1.2;
  color: var(--accent-dk);
}
.logo__sub {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

.nav__list { display: flex; gap: 28px; }
.nav__list a {
  text-decoration: none;
  font-size: 14.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { padding: 10px 22px; font-size: 14px; }

/* メニューボタン（スマホでのみ表示） */
.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--menu  { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }


/* ==========================================================
   4. セクション1 ヒーロー
   ========================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  /* 写真が縦長でも間延びしないよう、はみ出す部分は切り取る */
  object-fit: cover;
  object-position: center;
}
/* 写真の上に暗い膜をかけて、文字を読みやすくする */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(46, 38, 30, .78) 0%, rgba(46, 38, 30, .55) 55%, rgba(46, 38, 30, .35) 100%);
}

.hero__inner { position: relative; z-index: 1; max-width: 660px; }

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  color: #e8dcc6;
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-mi);
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}

.hero__lead {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
  color: rgba(255, 255, 255, .92);
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__badges {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 19px; height: 19px; color: #e8dcc6; }


/* ==========================================================
   5. セクション2 お悩み・選ばれる理由
   ========================================================== */
.worries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.worry {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow);
}
.worry__no {
  display: block;
  font-family: var(--font-mi);
  font-size: 30px;
  color: var(--line);
  line-height: 1;
  margin-bottom: 14px;
}
.worry__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}
.worry p { font-size: 14.5px; color: var(--ink-soft); }

.worries__bridge {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-mi);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 2.1;
  color: var(--accent-dk);
}

/* --- 選ばれる理由（写真と文章を横並び） --- */
.reasons { display: grid; gap: 72px; }

.reason {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 52px;
  align-items: center;
}
.reason--rev .reason__media { order: 2; }

.reason__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.reason__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.reason__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  color: var(--accent);
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.reason__icon svg { width: 24px; height: 24px; }

.reason__title {
  font-family: var(--font-mi);
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}
.reason__text { color: var(--ink-soft); font-size: 15px; }


/* ==========================================================
   6. セクション3 メニュー
   ========================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

.plan {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
/* おすすめのコースだけ枠を強調する */
.plan--feature { border-color: var(--accent); }

.plan__media img { width: 100%; height: 240px; object-fit: cover; }

.plan__body {
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan__tag {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-dk);
  margin-bottom: 14px;
}
.plan__tag--accent { background: var(--accent); color: #fff; }

.plan__name {
  font-family: var(--font-mi);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.plan__spec {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.plan__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}
.plan__time svg { width: 17px; height: 17px; }
.plan__price {
  font-family: var(--font-mi);
  font-size: 30px;
  color: var(--accent-dk);
  line-height: 1;
}
.plan__yen { font-size: 15px; margin-left: 3px; }

.plan__text { font-size: 14.5px; color: var(--ink-soft); }

/* ボタンをカードの一番下にそろえる */
.plan .btn--block { margin-top: auto; margin-top: 28px; }

.plans__note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}


/* ==========================================================
   7. セクション4 よくある質問
   ========================================================== */
.faq { display: grid; gap: 14px; }

.faq__item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: 15.5px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.7;
}
.faq__q:hover { color: var(--accent); }

.faq__chev {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform .3s;
}
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }

/* 閉じているときは高さ0。JavaScriptで開閉します */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p {
  padding: 0 24px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}


/* ==========================================================
   8. セクション5 アクセス
   ========================================================== */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.info { display: grid; gap: 4px; }
.info__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.info__row dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14.5px;
  color: #e8dcc6;
}
.info__row dt svg { width: 18px; height: 18px; }
.info__row dd { font-size: 14.5px; color: rgba(255, 255, 255, .94); }

.access__cta {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.access__catch {
  font-family: var(--font-mi);
  font-size: clamp(20px, 2.6vw, 25px);
  line-height: 1.7;
  margin-bottom: 16px;
}
.access__text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 26px;
}
.access__note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
}


/* ==========================================================
   9. フッター・固定ボタン
   ========================================================== */
.footer {
  background: #2e281f;
  color: rgba(255, 255, 255, .82);
  padding: 56px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-mi);
  font-size: 24px;
  letter-spacing: .1em;
  color: #fff;
}
.footer__desc { font-size: 13.5px; margin-top: 6px; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer__nav a { text-decoration: none; font-size: 14px; }
.footer__nav a:hover { color: #fff; }

.footer__copy {
  margin-top: 44px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

/* スマホのみ、画面下に固定で出る予約ボタン */
.fixed-cta { display: none; }


/* ==========================================================
   10. スマートフォン・タブレット対応
   ========================================================== */

/* --- タブレット（横幅 980px 以下） --- */
@media (max-width: 980px) {
  .worries { grid-template-columns: 1fr; }
  .plans   { grid-template-columns: 1fr; }
  .access  { grid-template-columns: 1fr; gap: 36px; }

  .reason { grid-template-columns: 1fr; gap: 26px; }
  .reason--rev .reason__media { order: 0; }
  .reason__media img { height: 280px; }
}

/* --- スマートフォン（横幅 760px 以下） --- */
@media (max-width: 760px) {
  body { font-size: 15px; }

  .container, .container--narrow { width: calc(100% - 36px); }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .section__head--mt { margin-top: 68px; }

  /* 画面が狭いときだけ、指定した位置で改行する */
  .br-sp { display: inline; }

  /* --- ヘッダーをスマホ用に切り替え --- */
  .header__cta { display: none; }
  .menu-btn { display: block; }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(80, 66, 48, .1);
    /* 閉じている状態。JavaScriptで is-open が付くと開きます */
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px 0 16px; }
  .nav__list li { border-top: 1px solid var(--line); }
  .nav__list li:first-child { border-top: none; }
  .nav__list a { display: block; padding: 15px 24px; font-size: 15px; }

  /* --- ヒーロー --- */
  .hero { min-height: auto; padding: 118px 0 80px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(46, 38, 30, .72) 0%, rgba(46, 38, 30, .62) 100%);
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { gap: 10px 18px; font-size: 13px; }

  /* --- そのほか --- */
  .worry { padding: 26px 22px; }
  .reason__media img { height: 230px; }
  .plan__media img { height: 200px; }
  .plan__body { padding: 26px 22px 28px; }
  .faq__q { padding: 18px 18px; font-size: 15px; }
  .faq__a p { padding: 0 18px 20px; }
  .info__row { grid-template-columns: 1fr; gap: 6px; padding: 15px 0; }
  .access__cta { padding: 30px 24px; }
  .footer__inner { flex-direction: column; }

  /* --- 画面下に固定される予約ボタン --- */
  .fixed-cta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 90;
    padding: 15px;
    border-radius: 999px;
    background: var(--line-btn);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(6, 199, 85, .38);
  }
  /* 固定ボタンが最後の文章に重ならないよう、下に余白をとる */
  .footer { padding-bottom: 96px; }
}

/* --- 動きを減らす設定にしている方への配慮 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
