/* ============================================================
   こころの葉っぱ（メンタルカウンセリング）の LP
   1 ページだけの独立したサイト。スマホで見る人が中心（チラシの QR・LINE・Instagram から来る）。

   色: ロゴの緑とピンク、チラシのクリーム色とだいだい。淡い色（パステル）でまとめる。
   文字: 丸ゴシック（Zen Maru Gothic）。ロゴとチラシのやわらかさに合わせる。
   ============================================================ */
:root {
  --green: #2F7D46;
  --green-dark: #1F6B32;
  --green-pale: #EEF6E9;
  --pink-pale: #FDECE8;
  --peach: #FDEBD3;
  --cream: #FFFAF1;
  --ink: #3B3A37;
  --body: #5A5651;
  --muted: #8C857C;
  --line: #EDE4D6;
  --shadow: 0 1px 2px rgba(90, 70, 40, .04), 0 14px 34px rgba(90, 70, 40, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body {
  /* 上のほうに、ロゴのピンクと緑をごく薄く置く */
  background:
    radial-gradient(circle at 14% 140px, rgba(255, 160, 150, .2), transparent 400px),
    radial-gradient(circle at 86% 180px, rgba(125, 195, 115, .24), transparent 460px),
    var(--cream);
  background-repeat: no-repeat;
  color: var(--body);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
small { font-size: .82em; }

/* 決まっていない値の印。公開の前にすべて外す */
.tbd { display: inline-block; padding: 0 8px; border-radius: 6px; background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 700; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 8px 20px rgba(47, 125, 70, .22);
  transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn--sm { padding: 9px 20px; font-size: 13px; box-shadow: none; }
.btn--lg { padding: 17px 44px; font-size: 16px; }

/* ---------- ヘッダー ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 32px;
  background: rgba(255, 250, 241, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hd__logo { margin-right: auto; }
.hd__logo img { width: auto; height: 40px; }
.hd__nav { display: flex; gap: 26px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.hd__nav a:hover { color: var(--green); }

main { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ---------- ひとこと ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 56px 0 64px;
}
.hero__tag { display: inline-block; margin-bottom: 20px; padding: 6px 20px; border-radius: 999px; background: var(--peach); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.hero__title { margin-bottom: 22px; color: var(--ink); font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.hero__lead { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero__first { color: var(--ink); font-size: 14px; font-weight: 700; }
.hero__first b { margin-left: 8px; color: var(--green-dark); font-size: 28px; letter-spacing: .02em; }
.hero__first b span { font-size: 15px; }
.hero__sub { margin-top: 16px; font-size: 13.5px; }

/* ---------- 共通の区切り ---------- */
.sec { padding: 44px 0; }
.sec__h { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.sec__sub { margin: 28px 0 14px; color: var(--ink); font-size: 16px; letter-spacing: .08em; }
.note { margin-top: 12px; color: var(--muted); font-size: 13px; }
/* 見出しの前の葉っぱ */
.leaf { flex: none; width: 20px; height: 20px; border-radius: 2px 80% 2px 80%; background: linear-gradient(135deg, #A9D272, #3F9A5C); transform: rotate(8deg); }

/* ---------- 写真を入れる場所 ----------
   写真が用意できるまでの置き場所。点線の枠に「どんな写真か」「縦横の比」「ファイル名」を書いてある。公開の前にすべて写真に置き換える */
.ph {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 16px;
  border: 2px dashed #CFC4B2;
  border-radius: 24px;
  background: repeating-linear-gradient(135deg, #FBF5EA, #FBF5EA 12px, #F6EEDF 12px, #F6EEDF 24px);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}
.ph b { display: block; color: var(--ink); font-size: 13px; letter-spacing: .2em; }
.ph small { display: block; margin-top: 4px; font-size: 11px; opacity: .8; }
.ph--hero { aspect-ratio: 4 / 3; }
.ph--worry { aspect-ratio: 4 / 5; }
/* 相談スタイルの写真は丸く、カードの上に半分はみ出して載せる */
.ph--round { width: 168px; aspect-ratio: 1; margin: -100px auto 16px; padding: 14px; border-radius: 50%; font-size: 11px; line-height: 1.5; }
.ph--round small { display: none; }

/* 写真（枠に写真が入ったあとの見た目。形は枠と同じ） */
.pic { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.pic--hero { aspect-ratio: 4 / 3; }
.pic--worry { aspect-ratio: 4 / 5; }
.pic--round { width: 168px; aspect-ratio: 1; margin: -100px auto 16px; border: 5px solid #fff; border-radius: 50%; }

/* ---------- 安心できる点（いちばん上のすぐ下） ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 28px; }
.points li { padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.7; }
.points b { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; color: var(--green-dark); font-size: 16px; letter-spacing: .06em; }
.points b::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 13px; }

/* ---------- ひとりで抱えていませんか？ ----------
   左に写真、右にお悩みの一覧（線で区切る） */
.worry { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 48px; }
.worry .sec__h { margin-bottom: 20px; font-size: 28px; line-height: 1.5; }
.worry__list { border-top: 1px solid var(--line); }
.worry__list li { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.worry__list li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 2px 80% 2px 80%; background: linear-gradient(135deg, #A9D272, #3F9A5C); }
.worry__end { margin-top: 20px; color: var(--green-dark); font-weight: 700; letter-spacing: .04em; }
.br-pc { display: inline; }

/* ---------- 毎日をがんばっているあなたへ ---------- */
.letter { padding: 44px 32px; border-radius: 40px; background: var(--green-pale); text-align: center; line-height: 2.1; }
.letter__h { display: inline-block; margin-bottom: 22px; padding-bottom: 6px; border-bottom: 3px solid #9BD487; color: var(--ink); font-size: 20px; letter-spacing: .08em; }
.letter p + p { margin-top: 1.1em; }

/* ---------- 料金 ---------- */
.first {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 22px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFE6BE, #FFDCC8);
  color: var(--ink);
}
.first__l { font-size: 20px; font-weight: 900; letter-spacing: .08em; }
.first__p { font-size: 44px; font-weight: 900; line-height: 1.2; }
.first__p span, .price__p span { margin-left: 2px; font-size: .45em; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price { padding: 20px 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.price__l { font-weight: 700; letter-spacing: .06em; }
.price__p { font-size: 30px; font-weight: 900; line-height: 1.4; }
.price__n { color: var(--green-dark); font-size: 13px; font-weight: 700; }
/* 税込の金額。税別の数字のすぐ横に、読める大きさで添える（個人向けは税込の表示が必要なため） */
.tax { margin-left: 6px; color: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

/* 途中の予約の入口 */
.mid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--green-pale); color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: .06em; }

/* ---------- 相談スタイル ---------- */
.cols--round { margin-top: 110px; }
.cols--round .card { text-align: center; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px 22px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.card b { display: block; margin-bottom: 6px; color: var(--green-dark); font-size: 17px; letter-spacing: .08em; }

/* ---------- ご予約方法 ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 46px 20px 20px; border-radius: 18px; background: var(--peach); font-size: 13.5px; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 20px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.steps b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 16px; letter-spacing: .06em; }

/* ---------- 初回相談の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.flow__i { position: relative; padding: 22px 18px; border-radius: 22px; background: var(--pink-pale); text-align: center; font-size: 14px; }
.flow__i + .flow__i::before { content: "▶"; position: absolute; left: -26px; top: 50%; transform: translateY(-50%); color: #F4C59A; font-size: 16px; }
.flow__min { color: var(--green-dark); font-size: 18px; font-weight: 900; letter-spacing: .06em; }
.flow__i b { display: inline-block; margin: 6px 0 8px; padding: 2px 14px; border: 1px solid #D8C9B8; border-radius: 6px; background: rgba(255, 255, 255, .6); color: var(--ink); font-size: 15px; }

/* ---------- カウンセラー ----------
   自己紹介も写真も載せない（2026-11-11 に決めた）。「資格を持ったカウンセラーが対応します」と、メッセージだけ */
.who__lead { margin: -8px 0 22px; color: var(--ink); font-size: 16px; font-weight: 500; }
.who { padding: 34px 38px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.who__quote { margin-bottom: 18px; padding: 16px 24px; border-radius: 16px; background: #DDF0D6; color: var(--green-dark); font-size: 20px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; }
.who__body p + p { margin-top: .8em; }

/* ---------- 安心してご相談していただくために ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; color: var(--ink); font-weight: 500; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; flex: none; color: var(--green); font-weight: 900; }
.care { margin-top: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 14px; }
.care p + p { margin-top: .8em; }
.care b { color: var(--ink); }
.care a { color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- チラシにない情報の部品（こんな方に・受付時間・場所・キャンセル・秘密・医療とのちがい・質問） ---------- */
.sec__sub--top { margin-top: 0; }
.note--gap { margin-bottom: 26px; }
.checks--one { grid-template-columns: 1fr; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 7px 18px; border-radius: 999px; background: var(--green-pale); color: var(--green-dark); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.box { padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 14px; }
.box--wide { margin-top: 24px; }
.box__h { margin-bottom: 10px; color: var(--green-dark); font-size: 16px; letter-spacing: .08em; }
.box__dl div { display: flex; gap: 14px; padding: 7px 0; border-top: 1px dashed var(--line); }
.box__dl div:first-child { border-top: 0; }
.box__dl dt { flex: none; width: 4.5em; color: var(--muted); }
.box__dl small { display: block; }
.dots li { position: relative; padding: 4px 0 4px 20px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 1em; width: 7px; height: 7px; border-radius: 50%; background: #9BD487; }
.dots b { color: var(--ink); }
.vals .card b { color: var(--ink); }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp__c { padding: 20px 24px; border-radius: 18px; background: #F6F2EA; font-size: 14px; }
.cmp__c--do { background: var(--green-pale); }
.cmp__c > b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; letter-spacing: .04em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 44px 18px 34px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; color: var(--green); font-weight: 900; }
.faq summary::after { content: "＋"; position: absolute; right: 8px; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 8px 20px 34px; }

/* ---------- ページをまたぐ部品（くわしい案内への入口・はじめての方への見出し） ---------- */
.lnk { color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.more { margin-top: 22px; text-align: center; }
.more a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border: 2px solid var(--green); border-radius: 999px; background: #fff; color: var(--green-dark); font-size: 14.5px; font-weight: 700; letter-spacing: .04em; transition: background .25s ease; }
.more a:hover { background: var(--green-pale); }
.more i { font-style: normal; }
.pagehead { padding: 48px 0 20px; text-align: center; }
.pagehead__title { margin-bottom: 26px; color: var(--ink); font-size: clamp(25px, 3.6vw, 36px); font-weight: 900; line-height: 1.5; letter-spacing: .06em; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.toc a { display: block; padding: 7px 18px; border: 1px solid #CFE3C6; border-radius: 999px; background: #fff; color: var(--green-dark); font-size: 13.5px; font-weight: 700; }
.toc a:hover { background: var(--green-pale); }

/* ---------- 特定商取引法に基づく表記（/legal/） ---------- */
.law { padding: 8px 32px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.law > div { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 18px 0; border-top: 1px dashed var(--line); }
.law > div:first-child { border-top: 0; }
.law dt { color: var(--green-dark); font-weight: 700; letter-spacing: .04em; }
.law dd small { display: block; color: var(--muted); font-size: 13px; }
/* 文章のページ（プライバシーポリシー） */
.doc { padding: 36px 40px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.doc h2 { margin: 34px 0 10px; color: var(--green-dark); font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 10px; }
.doc__date { margin-top: 34px; color: var(--muted); font-size: 13.5px; text-align: right; }
.law--in { padding: 0; border-radius: 0; box-shadow: none; }
.law--in > div { grid-template-columns: 6em 1fr; padding: 10px 0; }
.price__x { margin-top: 2px; color: var(--muted); font-size: 13px; }
.hd__nav a[aria-current] { color: var(--green); }
.br-sp { display: none; }

/* ---------- 登録の入口 ---------- */
.cta { margin: 28px 0 72px; padding: 52px 28px; border-radius: 36px; background: linear-gradient(135deg, #E6F4E0, #FDEBE6); text-align: center; }
.cta__h { margin-bottom: 10px; color: var(--green-dark); font-size: 26px; font-weight: 900; letter-spacing: .1em; }
.cta .btn { margin-top: 26px; }
.cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 30px; }
/* メール・インスタの丸いアイコン */
.sns { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--green-dark); }
.sns__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -8px rgba(63, 154, 92, .45); transition: transform .2s, background .2s, color .2s; }
.sns__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sns__ic .dot { fill: currentColor; }
.sns__t { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.sns:hover .sns__ic { transform: translateY(-2px); background: var(--green-dark); color: #fff; }

/* ---------- フッター ---------- */
.ft { padding: 40px 24px 48px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12.5px; line-height: 1.8; text-align: center; }
.ft__logo { width: auto; height: 38px; margin: 0 auto 20px; }
.ft__co dt { color: var(--ink); font-weight: 700; }
.ft__co a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ft__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 14px; }
.ft__links a { text-decoration: underline; text-underline-offset: 3px; }
.ft__copy { margin-top: 14px; }

/* ---------- ふわっと表示 ----------
   assets/site.js が、画面に入った項目に is-in を付ける。ゆっくり、少しだけ下から浮かび上がる */
html.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
html.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
}
@media print {
  html.js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  body { font-size: 14.5px; }
  .hd { gap: 12px; padding: 10px 16px; }
  .hd__logo img { height: 30px; }
  .hd__nav { display: none; }
  .btn--sm { padding: 8px 16px; font-size: 12.5px; }
  main { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding: 28px 0 40px; text-align: center; }
  .hero__art { margin-top: 20px; }
  .worry { grid-template-columns: 1fr; gap: 24px; }
  .worry .sec__h { font-size: 23px; }
  .ph--worry { aspect-ratio: 3 / 2; }
  .pic--worry { aspect-ratio: 1; object-position: 50% 28%; }
  .br-pc { display: none; }
  .br-sp { display: inline; }
  .pagehead { padding: 32px 0 8px; }
  .law { padding: 4px 20px; }
  .law--in { padding: 0; }
  .doc { padding: 24px 20px; }
  .law > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .more a { padding: 12px 18px; font-size: 13.5px; }
  .hero__tag { margin-bottom: 14px; font-size: 13px; }
  .hero__title { font-size: 31px; }
  .hero__lead br { display: none; }
  .hero__cta { flex-direction: column; }
  .sec { padding: 32px 0; }
  .sec__h { font-size: 21px; }
  .letter { padding: 32px 18px; border-radius: 28px; }
  .first { padding: 18px 22px; }
  .first__p { font-size: 38px; }
  .prices, .cols, .steps, .checks, .points, .boxes, .cmp { grid-template-columns: 1fr; }
  .box { padding: 18px 20px; }
  .faq summary { font-size: 15px; }
  .points { gap: 10px; }
  .points li { padding: 14px 18px; }
  .cols--round { gap: 104px; }
  .mid { flex-direction: column; padding: 22px 18px; }
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow__i + .flow__i::before { content: "▼"; left: 50%; top: -24px; transform: translateX(-50%); }
  .who { padding: 26px 22px; }
  .who__quote { font-size: 18px; }
  .cta { margin-bottom: 48px; padding: 40px 20px; border-radius: 28px; }
  .cta__h { font-size: 22px; }
}
