/* =========================================================
   ハーモニーケア ホームページ 共通デザイン
   色や文字の大きさを変えたいときは、下の「:root」の中だけを
   書き換えれば、全ページに反映されます。
   ========================================================= */
:root {
  --green: #2f6b5e;        /* メインの色（深い緑） */
  --green-dark: #22504a;
  --green-soft: #e6f0ec;   /* 薄い緑の背景 */
  --sand: #f7f2ea;         /* 砂色の背景 */
  --orange: #d9822b;       /* 電話ボタンなど目立たせる色 */
  --orange-dark: #b86a1d;
  --ink: #1f1f1f;          /* 文字の色 */
  --muted: #444444;
  --line: #ddd5c8;
  --white: #ffffff;
  --radius: 16px;
  --max: 1080px;
  --font-base: 18px;       /* 文字の基本の大きさ（高齢の方にも読みやすい大きさ） */
}

* { box-sizing: border-box; }
html { font-size: var(--font-base); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-weight: 500;
  padding-bottom: 76px; /* スマホの下の電話ボタンの分 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.sand { background: var(--sand); }
.section.green { background: var(--green-soft); }
.lead { font-size: 1.1rem; color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.95rem; font-weight: 700; color: var(--green);
  letter-spacing: 0.12em; margin-bottom: 0.5em;
}
.small { font-size: 0.85rem; color: var(--muted); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { text-decoration: none; color: var(--ink); line-height: 1.3; white-space: nowrap; flex-shrink: 0; }
.logo strong { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.25rem; color: var(--green); display: block; }
.logo span { font-size: 0.72rem; color: var(--muted); }
.nav-pc { display: none; gap: 16px; align-items: center; }
.nav-pc a { text-decoration: none; color: var(--ink); font-size: 0.85rem; font-weight: 700; white-space: nowrap; padding: 4px 0; }
.nav-pc a[aria-current="page"] { color: var(--green); border-bottom: 2px solid var(--green); }
.header-tel { display: none; white-space: nowrap; padding: 10px 18px; font-size: 0.9rem; flex-shrink: 0; }
.site-header .wrap { max-width: 1280px; }
details.nav-sp summary {
  list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.9rem; font-weight: 700;
}
details.nav-sp summary::-webkit-details-marker { display: none; }
details.nav-sp[open] .nav-sp-list { display: grid; }
.nav-sp-list {
  display: none; position: absolute; right: 16px; top: 60px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); min-width: 220px;
}
.nav-sp-list a { text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 10px; }
.nav-sp-list a:hover { background: var(--green-soft); }
@media (min-width: 1260px) {
  .nav-pc { display: flex; }
  details.nav-sp { display: none; }
  .header-tel { display: inline-flex; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  font-size: 1rem; border: 2px solid transparent; transition: 0.2s;
}
.btn-tel { background: var(--orange); color: var(--white); }
.btn-tel:hover { background: var(--orange-dark); color: var(--white); }
.btn-line { background: #06c755; color: var(--white); }
.btn-line:hover { background: #05a847; color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: var(--white); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- ファーストビュー ---------- */
.hero { background: linear-gradient(160deg, var(--sand) 0%, var(--green-soft) 100%); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero h1 span { color: var(--green); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.badge { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; font-weight: 700; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }

/* 写真の枠（写真が入るまでの仮の表示） */
.photo {
  border-radius: 24px; overflow: hidden; background: var(--green-soft); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; color: var(--green);
  font-size: 0.85rem; text-align: center; border: 1px dashed #b9cfc6;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 3 / 4; }

/* ---------- カード ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .grid.g3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { color: var(--green); }
.card .icon { font-size: 1.8rem; line-height: 1; margin-bottom: 10px; }
.card ul { padding-left: 1.2em; margin: 0; }
.card li { margin-bottom: 0.3em; }

/* 3つの入口 */
.door { text-decoration: none; color: var(--ink); display: block; transition: 0.2s; }
.door:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(47,107,94,0.12); color: var(--ink); }
.door .more { color: var(--green); font-weight: 700; font-size: 0.95rem; }

/* 流れ */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--white);
  align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px;
}

/* ---------- 料金表 ---------- */
.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 880px) { .plans { grid-template-columns: 1fr 1.08fr 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan .tier { font-weight: 700; color: var(--muted); letter-spacing: 0.1em; }
.plan .price { font-size: 2.2rem; font-weight: 700; font-family: "Zen Maru Gothic", sans-serif; color: var(--ink); margin: 6px 0 2px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 8px 0 8px 28px; border-top: 1px dashed var(--line); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.plan li.no { color: #a4a4a4; }
.plan li.no::before { content: "―"; color: #c4c4c4; }
.plan.featured { border: 3px solid var(--green); box-shadow: 0 16px 36px rgba(47,107,94,0.14); position: relative; }
.plan.featured .ribbon {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--white); border-radius: 999px; padding: 3px 18px; font-size: 0.85rem; font-weight: 700; white-space: nowrap;
}
.plan .note { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 12px; }

table.simple { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
table.simple th, table.simple td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.simple th { background: var(--green-soft); width: 55%; font-weight: 700; }
table.simple td { font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* お約束 */
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.promise li { background: var(--white); border-radius: 14px; padding: 14px 18px 14px 48px; position: relative; border: 1px solid var(--line); }
.promise li::before { content: "◎"; position: absolute; left: 16px; color: var(--orange); font-weight: 700; }

/* よくある質問 */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 20px; top: 16px; color: var(--green); }
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 20px 18px; }

/* お問い合わせの帯 */
.cta { background: var(--green); color: var(--white); border-radius: 24px; padding: 40px 24px; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: #e3efe9; }

/* お知らせ枠 */
.notice { background: #fff7ea; border: 1px solid #f0d2a8; border-radius: 14px; padding: 16px 20px; }

/* ---------- フッター ---------- */
.site-footer { background: #1f3b36; color: #d9e6e1; padding: 48px 0 32px; font-size: 0.9rem; }
.site-footer a { color: #ffffff; }
.site-footer .grid { gap: 28px; }
.site-footer nav a { display: block; text-decoration: none; padding: 3px 0; }
.site-footer .copy { margin-top: 32px; font-size: 0.8rem; color: #9fb8b0; }

/* スマホの画面下に常に出る電話ボタン */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
  padding: 10px 12px; background: rgba(255,255,255,0.97); border-top: 1px solid var(--line);
}
.call-bar .btn { flex: 1; padding: 12px 10px; font-size: 0.95rem; }
@media (min-width: 1260px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* パンくず（今どのページにいるか） */
.breadcrumb { font-size: 0.82rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-head { background: var(--sand); padding: 40px 0 44px; }
.page-head p { margin: 0; color: var(--muted); }

/* お悩みのカード */
.worry .who {
  display: inline-block; background: var(--green); color: var(--white); border-radius: 999px;
  padding: 2px 14px; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px;
}
.worry ul { list-style: none; padding: 0; }
.worry li { padding: 8px 0 8px 1.4em; border-bottom: 1px dashed var(--line); position: relative; }
.worry li::before { content: "“"; position: absolute; left: 0; top: 2px; color: var(--orange); font-size: 1.4rem; font-weight: 700; }

/* 利用の例 */
.case .tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--orange-dark); background: #fff1e0; border-radius: 999px; padding: 2px 12px; margin-bottom: 8px; }
.case .voice { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.case dl { margin: 0; }
.case dt { font-weight: 700; color: var(--green); margin-top: 8px; font-size: 0.9rem; }
.case dd { margin: 0; }

.btn { white-space: nowrap; }

/* 特長のチェック（枠なし） */
.checks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 26px; }
.check { font-weight: 700; font-size: 0.95rem; color: var(--ink); padding-left: 1.5em; position: relative; }
.check::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ボタンの大きさをそろえる */
.btn { min-height: 56px; }
.btn-row .btn { min-width: 220px; }
.btn .ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.header-tel { min-height: 44px; }
.call-bar .btn { min-width: 0; min-height: 50px; }

/* 読みやすさの調整（文字を太く・濃く） */
.worry li { font-weight: 500; line-height: 1.7; }
.card li, .card p, .step p, .promise li { font-weight: 500; }
.lead { color: #333333; }

/* 3つの入口：上部を緑の帯に */
.card.door { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.door-head { background: var(--green); color: var(--white); padding: 18px 24px; display: flex; align-items: center; gap: 14px; }
.door-head h3 { color: var(--white); margin: 0; font-size: 1.3rem; }
.door-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.door-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.door-ico svg circle { fill: none; }
.card.door ul { padding: 20px 24px 0 2.6em; margin: 0; }
.card.door .more { margin: auto 0 0; padding: 14px 24px 22px; }

/* カードの見出し：左に緑の線（絵文字の代わり） */
.card:not(.door):not(.worry):not(.case) h3 { border-left: 4px solid var(--green); padding-left: 12px; }

/* 行きたい場所までの4つの段階 */
.journey { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 880px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey li { background: var(--white); border-radius: var(--radius); padding: 26px 22px 22px; position: relative; border: 1px solid var(--line); }
.journey .num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.journey h3 { color: var(--green); margin-bottom: 8px; }
.journey p { margin: 0; }
@media (min-width: 880px) {
  .journey li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 36px; color: var(--orange); font-weight: 700; font-size: 1.2rem; z-index: 1; }
}
/* ページ内リンクで飛んだとき、上のメニューに隠れないように */
[id] { scroll-margin-top: 90px; }

/* 短いカード（4つ並び） */
.mini-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 720px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
.mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mini h3 { color: var(--green); font-size: 1.1rem; margin-bottom: 6px; }
.mini p { margin: 0 0 10px; font-size: 0.95rem; }
.mini-num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.mini-tag { margin-top: auto; font-size: 0.78rem; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 2px 12px; }
.mini-tag.alt { color: var(--orange-dark); background: #fff1e0; }

/* コースの「加わる内容」 */
.plan .plus { margin: 14px 0 0; font-size: 0.85rem; font-weight: 700; color: var(--orange-dark); }
.plan .plus + ul { margin-top: 4px; }

/* 料金一覧の表 */
table.price-list { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.price-list td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.price-list td:nth-child(2) { color: var(--muted); white-space: nowrap; }
table.price-list td.yen { text-align: right; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
table.price-list td.yen small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
table.price-list tr.group th { background: var(--green); color: var(--white); text-align: left; padding: 10px 16px; font-size: 0.95rem; }
table.price-list tr.group th a { color: #ffffff; font-weight: 500; font-size: 0.85rem; margin-left: 8px; }
table.price-list tr.featured-row td { background: #f3f8f6; }

/* 訪問の中心（筋トレ・ストレッチ）を目立たせる */
ul.core { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
ul.core li { background: var(--green-soft); border-radius: 12px; padding: 12px 16px; border-left: 5px solid var(--green); }
ul.core li strong { color: var(--green-dark); font-size: 1.05rem; }
.plus-label { font-weight: 700; color: var(--green); margin: 0 0 4px; }

/* 訪問でできること（3分野を同じ大きさで） */
.card.area h3 { border-left: none; padding-left: 0; color: var(--white); background: var(--green); margin: -26px -26px 12px; padding: 12px 26px; border-radius: var(--radius) var(--radius) 0 0; font-size: 1.2rem; }
.card.area .small { margin-bottom: 8px; }
.always { margin-top: 24px; background: var(--sand); border-radius: var(--radius); padding: 18px 22px; }
.always p { margin: 0 0 6px; color: var(--green-dark); }
.always ul { margin: 0; padding-left: 1.3em; }

/* 白い背景の上の4段階は、カードを砂色に */
.journey.on-white li { background: var(--sand); border: none; }
.journey .when { font-size: 0.85rem; font-weight: 700; color: var(--orange-dark); margin: 0 0 2px; }
/* 「ご利用の流れ」などの番号つきカードも見出しを緑にそろえる */
.step h3 { color: var(--green); }
.section:not(.sand):not(.green) .step { background: var(--sand); border: none; }

/* 改行の整え（言葉のまとまりで改行し、最後の行に1〜2文字だけ残らないように） */
body { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
h1, h2, h3, .lead, .mini p { text-wrap: balance; }
.mini p { font-size: 0.95rem; }

/* 短いカードを左ぞろえにし、見出しと説明文を分ける */
.mini { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; text-align: left; padding: 22px; }
.mini-num { grid-column: 1; margin: 0; }
.mini h3 { grid-column: 2; margin: 0; line-height: 1.4; }
.mini:not(:has(.mini-num)) h3 { grid-column: 1 / -1; }
.mini p { grid-column: 1 / -1; margin: 14px 0 12px; padding-top: 14px; border-top: 1px dashed var(--line); text-wrap: pretty; line-height: 1.7; }
.mini-tag { grid-column: 1 / -1; justify-self: start; margin-top: 0; }

@media (min-width: 1000px) { .mini-grid.three { grid-template-columns: repeat(3, 1fr); } }

/* 写真 */
.photo { border: none; }
.photo.portrait { aspect-ratio: 4 / 5; max-height: 560px; }
.photo.portrait img { object-position: center 35%; }
.photo.banner { aspect-ratio: 16 / 5; }
.wrap.narrow { max-width: 760px; }

/* 写真の色をおさえて、文章が主役になるように（数字を変えると強さを調整できます） */
.photo img { filter: saturate(0.6) contrast(0.9) brightness(1.08); }
.photo.portrait img { object-position: center 60%; }

/* 写真を控えめな大きさにして、まわりに余白を */
.grid.g2 > .photo { width: 100%; max-width: 420px; justify-self: center; }
@media (min-width: 720px) {
  .grid.g2:has(> .photo) { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
}
.photo.portrait { max-width: 380px; max-height: 470px; justify-self: center; width: 100%; }
.photo.banner { max-width: 820px; margin: 0 auto; aspect-ratio: 16 / 6; }

/* トップの写真：道路を短く、空と桜並木を中心に（ほぼ正方形） */
.photo.portrait { aspect-ratio: 10 / 9; max-width: 440px; max-height: none; }
.photo.portrait img { object-position: center 30%; }

/* =========================================================
   明るさと温かみを足す（2026-09-27）
   ここから下を消すと、以前の落ち着いた見た目に戻ります
   ========================================================= */
:root { --cream: #fdf8ef; --amber: #f2b554; --teal: #3d8f86; }

/* 最初の画面：やわらかい丸い模様 */
.hero { position: relative; background: linear-gradient(160deg, #fdf6e9 0%, #eef6f1 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; pointer-events: none; }
.hero::before { width: 420px; height: 420px; background: rgba(242,181,84,0.22); top: -140px; right: -80px; }
.hero::after { width: 360px; height: 360px; background: rgba(47,107,94,0.14); bottom: -160px; left: -100px; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 span { color: var(--green); background: linear-gradient(transparent 62%, rgba(242,181,84,0.55) 62%); padding: 0 4px; }

/* 見出しの下に短い線、飾り文字は色付きの帯に */
.center > h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--orange); margin: 14px auto 0; }
.eyebrow { background: var(--green-soft); color: var(--green-dark); padding: 3px 14px; border-radius: 999px; font-size: 0.85rem; }
.section.green .eyebrow, .section.sand .eyebrow { background: var(--white); }

/* カードにやわらかい影 */
.card, .plan, .mini, .journey li, .step { box-shadow: 0 6px 20px rgba(60, 50, 30, 0.07); border-color: #ece4d6; }
.card:hover, .mini:hover { box-shadow: 0 10px 28px rgba(60, 50, 30, 0.11); }

/* お悩みのカード：立場ごとに色を変える */
.grid .card.worry:nth-child(1) .who { background: var(--orange); }
.grid .card.worry:nth-child(2) .who { background: var(--teal); }
.grid .card.worry:nth-child(3) .who { background: var(--green); }
.grid .card.worry:nth-child(1) { border-top: 5px solid var(--orange); }
.grid .card.worry:nth-child(2) { border-top: 5px solid var(--teal); }
.grid .card.worry:nth-child(3) { border-top: 5px solid var(--green); }

/* 番号の丸を緑とオレンジで交互に */
.journey li:nth-child(even) .num, .mini:nth-child(even) .mini-num { background: var(--orange); }
.steps .step:nth-child(even)::before { background: var(--orange); }

/* 背景色を少し温かく */
.section.sand, .page-head { background: var(--cream); }
.page-head { background: linear-gradient(160deg, #fdf6e9 0%, #eef6f1 100%); }

/* 写真の色を少し戻す */
.photo img { filter: saturate(0.82) contrast(0.96) brightness(1.04); }

/* メールボタン */
.btn-mail { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-mail:hover { background: var(--green-soft); color: var(--green-dark); }

/* 毎月の訪問：カード上部の写真 */
.card.area { overflow: hidden; }
.card-photo { margin: -26px -26px 0; aspect-ratio: 16 / 9; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.82) contrast(0.96) brightness(1.04); }
.card.area .card-photo + h3 { margin-top: 0; border-radius: 0; }

/* 特別なお出かけ：写真と料金表の横並び */
.outing { display: grid; gap: 24px; align-items: center; }
.outing > .photo { width: 100%; max-width: 420px; justify-self: center; aspect-ratio: 4 / 3; }
@media (min-width: 880px) { .outing { grid-template-columns: 0.8fr 1.2fr; gap: 40px; } }

/* 上部の電話ボタンは広い画面だけ（スマホは画面下の電話の帯を使う）。
   ボタン共通の設定に上書きされないよう、指定を強くしている */
.site-header .header-tel { display: none; }
@media (min-width: 1260px) { .site-header .header-tel { display: inline-flex; } }

/* ===== トップ：写真を横幅いっぱいに使ったファーストビュー ===== */
.hero-full { position: relative; padding: 0; min-height: min(88vh, 760px); display: flex; align-items: center; background: var(--cream); }
.hero-full::before, .hero-full::after { display: none; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: saturate(0.9) brightness(1.03); z-index: 0; }
.hero-full::before { content: ""; display: block; position: absolute; inset: 0; z-index: 1; border-radius: 0; filter: none;
  width: auto; height: auto; background: linear-gradient(90deg, rgba(253,248,238,0.96) 0%, rgba(253,248,238,0.88) 38%, rgba(253,248,238,0.15) 68%, rgba(253,248,238,0) 100%); }
.hero-full .wrap { position: relative; z-index: 2; display: block; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { max-width: 600px; }
.hero-kicker { display: inline-block; margin: 0 0 14px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--green-dark); }
.hero-full h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.25; margin-bottom: 20px; }
.hero-q { font-size: 1.15rem; line-height: 1.9; margin: 0 0 12px; }
.hero-q strong { color: var(--orange-dark); font-size: 1.2rem; }
.hero-sub { margin: 0 0 18px; line-height: 1.9; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--green-dark); background: rgba(255,255,255,0.85); padding: 8px 20px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.scroll-cue span { animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }
@media (max-width: 879px) {
  .hero-full { min-height: 0; align-items: flex-end; }
  .hero-full .hero-bg { height: 58vw; min-height: 240px; object-position: 75% 45%; }
  .hero-full::before { background: linear-gradient(180deg, rgba(253,248,238,0) 0%, rgba(253,248,238,0) calc(max(58vw, 240px) - 90px), rgba(253,248,238,1) max(58vw, 240px)); }
  .hero-full .wrap { padding-top: calc(max(58vw, 240px) - 70px); padding-bottom: 84px; }
  .hero-q, .hero-q strong { font-size: 1.05rem; }
}

/* 3つの入口：カード上部の写真 */
.card.door .card-photo { margin: 0; aspect-ratio: 16 / 9; }

/* 特長：3つの資格の重なりの図 */
.feature { display: grid; gap: 28px; margin-top: 32px; align-items: center; }
@media (min-width: 880px) { .feature { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.venn { max-width: 380px; width: 100%; justify-self: center; }
.venn svg { width: 100%; height: auto; display: block; }
.venn circle { mix-blend-mode: multiply; }
.venn .c1 { fill: rgba(47,107,94,0.30); }
.venn .c2 { fill: rgba(224,138,50,0.32); }
.venn .c3 { fill: rgba(120,160,200,0.32); }
.venn text { font-size: 16px; font-weight: 700; fill: var(--ink); text-anchor: middle; font-family: inherit; }
.venn text.mid { font-size: 19px; fill: var(--green-dark); }
.feature-list { display: grid; gap: 14px; }
.feat { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid #ece4d6; border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 6px 20px rgba(60,50,30,0.07); }
.feat-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.feat:nth-child(2) .feat-num { background: var(--orange); }
.feat:nth-child(3) .feat-num { background: #5b87b3; }
.feat h3 { margin: 4px 0 6px; color: var(--green); }
.feat p { margin: 0; }

/* 横幅いっぱいの写真の帯 */
.photo-band { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; text-align: center; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,40,34,0.48); z-index: 1; }
.photo-band .wrap { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.photo-band h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.5; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.photo-band h2::after { display: none; }
.band-kicker { color: #fff; font-weight: 700; letter-spacing: 0.1em; margin: 0 0 10px; opacity: 0.95; }
.hero-full .wrap { width: 100%; }
@media (min-width: 880px) {
  .hero-full::before { background: linear-gradient(90deg, rgba(253,248,238,0.97) 0%, rgba(253,248,238,0.9) 42%, rgba(253,248,238,0.2) 64%, rgba(253,248,238,0) 100%); }
}
.venn .c1 { fill: rgba(47,107,94,0.26); }
.venn .c2 { fill: rgba(232,150,60,0.30); }
.venn .c3 { fill: rgba(110,160,210,0.28); }
.photo-band::before { background: rgba(20,40,34,0.38); }
.scroll-cue { flex-direction: row; gap: 8px; white-space: nowrap; }

/* ===== 各ページの見出し部分：右側に写真 ===== */
.page-head.has-photo { position: relative; overflow: hidden; padding: 72px 0 76px; min-height: 320px; display: flex; align-items: center; }
.page-head.has-photo .ph-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(1.03); z-index: 0; }
.page-head.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #fcf6ea 0%, #fcf6ea 40%, rgba(252,246,234,0.75) 52%, rgba(252,246,234,0) 72%); }
.page-head.has-photo .wrap { position: relative; z-index: 2; width: 100%; }
.page-head.has-photo h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 6px 0 12px; }
.page-head.has-photo p:not(.breadcrumb) { font-size: 1.1rem; color: var(--ink); max-width: 30em; }
@media (max-width: 879px) {
  .page-head.has-photo { padding: 170px 0 36px; min-height: 0; display: block; }
  .page-head.has-photo .ph-bg { width: 100%; height: 210px; }
  .page-head.has-photo::before { background: linear-gradient(180deg, rgba(252,246,234,0) 0px, rgba(252,246,234,0) 120px, #fcf6ea 200px); }
}

/* お金の相談：カードに番号 */
.grid.numbered { counter-reset: num; }
.grid.numbered .card { position: relative; padding-top: 30px; }
.grid.numbered .card::before { counter-increment: num; content: counter(num); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.grid.numbered .card:nth-child(even)::before { background: var(--orange); }
.grid.numbered { row-gap: 34px; }

/* 代表紹介：資格の札と、大きな引用 */
.quals { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.qual { font-weight: 700; font-size: 0.9rem; padding: 6px 16px; border-radius: 999px; color: #fff; }
.qual.q1 { background: var(--green); }
.qual.q2 { background: var(--orange); }
.qual.q3 { background: #5b87b3; }
blockquote.pull { margin: 32px 0 16px; padding: 24px 28px; background: var(--cream); border-left: 6px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 700; line-height: 1.9; color: var(--green-dark); font-family: "Zen Maru Gothic", sans-serif; }
@media (max-width: 879px) { .page-head.has-photo .ph-bg[src*="bowl-sea"] { object-position: center 78%; } }

/* 代表あいさつ：写真があれば横に並べる（写真がなければ文章だけ） */
.wrap.greeting { max-width: 760px; }
.daihyo-photo { margin: 0 0 24px; text-align: center; }
.daihyo-photo img { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 28px rgba(60,50,30,0.14); }
.daihyo-photo figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 880px) {
  .wrap.greeting:has(.daihyo-photo) { max-width: 1080px; display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
  .daihyo-photo { position: sticky; top: 100px; }
}

/* 福祉タクシー：料金の種類の札 */
.fare .card { position: relative; }
.fare-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; background: var(--green-soft); color: var(--green-dark); }
.fare-tag.alt { background: #fff1e0; color: var(--orange-dark); }
.fare-tag.free { background: #f1efe9; color: var(--muted); }
.fare-note { margin: 8px 0 0; color: var(--orange-dark); }

/* 毎月の訪問をご利用の方の料金を目立たせる */
.member-price { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: #fff1e0; color: var(--orange-dark); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.member-price b { font-size: 1.15rem; }
/* スマホでは料金表を「1行目：名前／2行目：回数と金額」に組み替える */
@media (max-width: 599px) {
  table.price-list tr:not(.group) { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  table.price-list tr:not(.group) td { border-bottom: none; }
  table.price-list tr:not(.group) td:first-child { grid-column: 1 / -1; padding-bottom: 2px; font-weight: 700; }
  table.price-list tr:not(.group) td:nth-child(2) { padding-top: 4px; }
  table.price-list tr:not(.group) td.yen { padding-top: 4px; }
  table.price-list tr.group, table.price-list tr.group th { display: block; }
  .member-price { white-space: normal; }
}
.muted-note { display: inline-block; margin-top: 4px; font-size: 0.8rem; font-weight: 500; color: var(--muted); line-height: 1.6; }

/* トップの見出し：地名とサービス名（検索向け） */
.hero-full h1 .h1-kw { display: block; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.7; color: var(--green-dark); margin-bottom: 14px; }
/* 対応エリア */
.area-list { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.area-list li { background: var(--white); border: 1px solid #e3dccd; border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--green-dark); box-shadow: 0 3px 10px rgba(60,50,30,0.06); }
.area-list li:first-child { background: var(--green); color: #fff; border-color: var(--green); }

/* 2026-09-28 スマホ確認での直し */
/* 言葉の途中で行が変わらないようにする */
.nb { display: inline-block; }
/* トップ：写真に重なる小さな文字の後ろに、うすい白の帯を敷いて読みやすく */
.hero-full h1 .h1-kw { display: inline-block; background: rgba(253,248,238,0.9); padding: 4px 10px; border-radius: 8px; }
/* ページ下部の電話・メール・ページ名のリンクを、指で押しやすい高さ（44px前後）に */
.site-footer p a { display: inline-block; padding: 10px 0; }
.site-footer nav a { padding: 10px 0; }
