/* ==========================================================
   まなびの家 リニューアルサイト 共通スタイル
   2026 Design System — warm, soft, rounded, motion-friendly
   ========================================================== */

:root {
  --bg: #FAF7F2;
  --bg-soft: #F1EDE4;
  --surface: #FFFFFF;
  --ink: #2B3A42;
  --ink-soft: #5D6E77;
  --primary: #2F9E8F;
  --primary-dark: #1F7468;
  --primary-soft: #DFF3EF;
  --coral: #F2765F;
  --coral-soft: #FDEAE5;
  --amber: #F5B84C;
  --amber-soft: #FCF1DA;
  --blue: #6C9BCF;
  --blue-soft: #E4EEF8;
  --lav: #9C8CC6;
  --lav-soft: #ECE7F5;
  --line: #E7E0D4;
  --radius: 24px;
  --radius-s: 14px;
  --shadow: 0 8px 30px rgba(43, 58, 66, .08);
  --shadow-lg: 0 18px 50px rgba(43, 58, 66, .14);
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-head: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 92px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-s); }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { opacity: .85; }
ul { list-style: none; }
::selection { background: var(--amber); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0 88px; position: relative; }
.section--alt { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%); }

/* ---------- 見出し ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head .en {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 10px;
}
.sec-head .en::before { content: ""; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.sec-head h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.4; letter-spacing: .04em;
}
.sec-head p.lead { margin-top: 14px; color: var(--ink-soft); max-width: 640px; }
.sec-head--center { text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

h3.sub-h {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.3rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
h3.sub-h::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(47, 158, 143, .35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(47, 158, 143, .4); opacity: 1; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(242, 118, 95, .35); }
.btn--coral:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(242, 118, 95, .4); opacity: 1; }
.btn--line { background: #06C755; color: #fff; box-shadow: 0 8px 20px rgba(6, 199, 85, .3); }
.btn--line:hover { transform: translateY(-3px); opacity: 1; }
.btn--ghost { border: 2px solid var(--primary); color: var(--primary-dark); background: transparent; }
.btn--ghost:hover { background: var(--primary); color: #fff; opacity: 1; transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .92rem; color: var(--primary-dark);
}
.textlink::after { content: "→"; transition: transform .25s ease; }
.textlink:hover { opacity: 1; }
.textlink:hover::after { transform: translateX(5px); }

/* ---------- ヘッダー ---------- */
.topbar { background: var(--primary-dark); color: #fff; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .sns { display: flex; gap: 12px; align-items: center; }
.topbar .sns svg { width: 16px; height: 16px; fill: #fff; }

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 247, 242, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-head.is-scrolled { box-shadow: 0 4px 20px rgba(43, 58, 66, .08); border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; border-radius: 0; }
.brand .brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; letter-spacing: .06em; color: var(--ink); }
.brand .brand-sub { display: block; font-size: .62rem; color: var(--ink-soft); letter-spacing: .14em; font-weight: 700; }

.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a { color: var(--ink); font-weight: 700; font-size: .9rem; letter-spacing: .03em; position: relative; padding: 6px 0; }
.gnav a > span.ja { display: block; }
.gnav a > span.en { display: block; font-size: .58rem; letter-spacing: .18em; color: var(--ink-soft); text-transform: uppercase; }
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.gnav a:hover::after, .gnav a.is-current::after { transform: scaleX(1); }
.gnav .cta { margin-left: 6px; padding: 12px 22px; background: var(--coral); color: #fff; border-radius: 999px; box-shadow: 0 6px 16px rgba(242, 118, 95, .3); }
.gnav .cta::after { display: none; }
.gnav .cta:hover { transform: translateY(-2px); opacity: 1; }

.burger { display: none; width: 46px; height: 46px; border: none; background: none; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 110; background: rgba(250, 247, 242, .97);
  backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center;
  padding: 90px 32px 40px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; pointer-events: auto; }
.mobile-nav a { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a small { display: block; font-size: .6rem; letter-spacing: .18em; color: var(--ink-soft); font-family: var(--font-body); }
.mobile-nav .m-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- パンくず ---------- */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .78rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0;
  animation: float 12s ease-in-out infinite;
}
.hero::before { width: 420px; height: 420px; background: var(--amber-soft); top: -120px; right: -80px; }
.hero::after { width: 380px; height: 380px; background: var(--primary-soft); bottom: -140px; left: -100px; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-24px) } }

.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .78rem; font-weight: 700; color: var(--primary-dark);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; transform: scale(.7); } }
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.45; letter-spacing: .03em;
}
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: .42em; z-index: -1;
  background: linear-gradient(90deg, var(--amber-soft), var(--coral-soft)); border-radius: 6px;
}
.hero .hero-copy { margin-top: 20px; color: var(--ink-soft); max-width: 520px; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats .stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 18px; box-shadow: var(--shadow); min-width: 130px;
}
.hero-stats .stat b { font-family: var(--font-head); font-size: 1.05rem; color: var(--primary-dark); }
.hero-stats .stat span { display: block; font-size: .7rem; color: var(--ink-soft); }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(47,158,143,.12), rgba(242,118,95,.10)); }
.hero-card {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700;
  animation: bob 5s ease-in-out infinite;
}
.hero-card small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .68rem; }
.hero-card .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.hero-card--1 { top: -18px; left: -18px; }
.hero-card--1 .dot { background: var(--amber-soft); }
.hero-card--2 { bottom: 26px; right: -14px; animation-delay: -2.5s; }
.hero-card--2 .dot { background: var(--primary-soft); }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* 共通のヒーロー（下層ページ） */
.page-hero { position: relative; padding: 56px 0 44px; background: linear-gradient(135deg, var(--primary-soft) 0%, var(--amber-soft) 100%); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.5); filter: blur(50px); right: -60px; top: -80px; }
.page-hero .en { font-size: .72rem; font-weight: 700; letter-spacing: .24em; color: var(--primary-dark); text-transform: uppercase; }
.page-hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: .05em; margin-top: 6px; }
.page-hero p { margin-top: 10px; color: var(--ink-soft); max-width: 620px; }

/* ---------- アナウンス marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #fff; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; padding: 10px 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: .8rem; letter-spacing: .12em; font-weight: 700; }
.marquee-track span::before { content: "✦"; margin-right: 14px; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- カード群 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(231, 224, 212, .6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.prog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prog-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.prog-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.prog-card:hover .thumb img { transform: scale(1.07); }
.prog-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff; border-radius: 999px; padding: 5px 14px;
  font-size: .72rem; font-weight: 800; color: var(--pc, var(--primary-dark));
  box-shadow: var(--shadow);
}
.prog-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prog-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.prog-card p { font-size: .88rem; color: var(--ink-soft); flex: 1; }

/* 5つの分野 */
.area-card { position: relative; overflow: hidden; }
.area-card .num {
  font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1;
  color: var(--ac, var(--primary)); opacity: .18; position: absolute; top: 18px; right: 20px;
}
.area-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; margin-bottom: 14px; padding-right: 60px; }
.area-card ul { font-size: .85rem; color: var(--ink-soft); }
.area-card li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px dashed var(--line); }
.area-card li:last-child { border-bottom: none; }
.area-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ac, var(--primary)); font-weight: 800; }
.area-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ac, var(--primary)); border-radius: 0 5px 5px 0; }

/* ボタン風アイコンチップ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- スケジュール ---------- */
.sched-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; overflow-x: auto; }
table.sched { width: 100%; border-collapse: separate; border-spacing: 8px; min-width: 760px; }
table.sched th { font-family: var(--font-head); font-size: .9rem; padding: 10px 6px; }
table.sched td {
  text-align: center; font-size: .88rem; font-weight: 700; border-radius: var(--radius-s);
  padding: 22px 10px; line-height: 1.7;
}
table.sched td.rest { background: var(--bg-soft); color: var(--ink-soft); font-weight: 500; }
table.sched td small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-soft); }

.time-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.time-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; }
.time-card .lbl { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--primary-dark); text-transform: uppercase; }
.time-card .val { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; margin: 8px 0 4px; }
.time-card p { font-size: .8rem; color: var(--ink-soft); }

/* ---------- 声（タブ） ---------- */
.tabs { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  border: 2px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 12px 26px; border-radius: 999px; cursor: pointer; transition: .25s;
}
.tab-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(47,158,143,.3); }
.voice-quote {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 26px 22px; position: relative; margin-bottom: 16px;
  border-left: 5px solid var(--primary);
}
.voice-quote::before { content: "“"; font-family: Georgia, serif; font-size: 3rem; color: var(--amber); position: absolute; top: 4px; right: 18px; line-height: 1; }
.voice-quote p { font-size: .9rem; }
.voice-quote .who { display: block; margin-top: 10px; font-size: .75rem; color: var(--ink-soft); text-align: right; }
.voice-qa { margin-top: 34px; }
.voice-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.voice-mini .voice-quote { margin-bottom: 0; border-left-color: var(--amber); }

/* ---------- ブログ ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; display: block; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); opacity: 1; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 20px 20px 24px; }
.post-card .meta { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--ink-soft); margin-bottom: 8px; }
.post-card .cat { background: var(--primary-soft); color: var(--primary-dark); border-radius: 999px; padding: 3px 12px; font-weight: 700; }
.post-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.post-card p { font-size: .82rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 4つの居場所 ---------- */
.place-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.place-card .head { padding: 26px 26px 18px; color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.place-card .head small { display: block; font-size: .68rem; letter-spacing: .2em; opacity: .85; text-transform: uppercase; }
.place-card .head h3 { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; }
.place-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.place-card .body p { font-size: .85rem; color: var(--ink-soft); flex: 1; }
.p-green .head { background: linear-gradient(135deg, #2F9E8F, #1F7468); }
.p-blue .head { background: linear-gradient(135deg, #6C9BCF, #4A76A8); }
.p-purple .head { background: linear-gradient(135deg, #9C8CC6, #75639F); }
.p-amber .head { background: linear-gradient(135deg, #F5B84C, #DE9321); }

/* ---------- CTAバンド ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary-dark), var(--primary)); border-radius: 32px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band::before { width: 260px; height: 260px; top: -120px; right: 10%; }
.cta-band::after { width: 180px; height: 180px; bottom: -90px; left: -40px; }
.cta-band h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.5; }
.cta-band p { margin-top: 10px; opacity: .9; font-size: .92rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta-band .btn--white { background: #fff; color: var(--primary-dark); }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.access-info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.access-info dl { display: grid; gap: 18px; }
.access-info dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--primary-dark); text-transform: uppercase; }
.access-info dd { font-size: .92rem; }
.map-frame { border: 0; width: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- LINE band ---------- */
.line-band { background: linear-gradient(120deg, #06C755, #049A44); border-radius: 32px; padding: 44px 52px; color: #fff; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.line-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); right: 18%; top: -100px; }
.line-band h2 { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; }
.line-band p { font-size: .9rem; opacity: .95; }
.line-band .btn { background: #fff; color: #049A44; }

/* ---------- フッター ---------- */
.site-foot { background: var(--ink); color: #fff; margin-top: 80px; }
.site-foot a { color: #cfdbdf; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 44px; padding: 64px 0 44px; }
.foot-brand img { height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 14px; }
.foot-brand p { margin-top: 16px; font-size: .8rem; color: #b7c4c9; }
.foot-nav h4, .foot-access h4 { font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: 18px; }
.foot-nav ul { display: grid; gap: 10px; font-size: .86rem; }
.foot-access p { font-size: .84rem; color: #cfdbdf; }
.foot-access .line-btn { display: inline-block; margin-top: 16px; }
.foot-access .line-btn img { border-radius: 8px; }
.foot-logos { border-top: 1px solid rgba(255,255,255,.12); padding: 30px 0; }
.foot-logos p { font-size: .78rem; color: #b7c4c9; margin-bottom: 16px; font-weight: 700; letter-spacing: .1em; }
.foot-logos .logos { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-logos .logos img { height: 62px; width: auto; background: #fff; padding: 6px 10px; border-radius: 12px; transition: transform .3s ease; }
.foot-logos .logos a:hover img { transform: translateY(-4px); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.foot-bottom .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; font-size: .74rem; color: #9fb0b6; }
.foot-bottom .sns { display: flex; gap: 14px; }
.foot-bottom .sns svg { width: 18px; height: 18px; fill: #cfdbdf; }

/* ---------- 浮動ボタン ---------- */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .25s ease; }
.fab:hover { transform: translateY(-4px); }
.fab svg { width: 22px; height: 22px; }
.fab--top { background: #fff; border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .25s ease; }
.fab--top.is-on { opacity: 1; pointer-events: auto; }
.fab--top svg { fill: var(--primary-dark); }
.fab--line { background: #06C755; }
.fab--line svg { fill: #fff; }

/* ---------- レベル/アコーディオン（カウンセリング） ---------- */
.person-card { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center; }
.person-card .avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--blue)); }
.person-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.person-card .role { font-size: .8rem; color: var(--ink-soft); }

/* ---------- ブログ一覧ページ ---------- */
.blog-page-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 22px; }
.side-box h4 { font-family: var(--font-head); font-weight: 800; font-size: 1rem; margin-bottom: 14px; }
.side-box ul { display: grid; gap: 10px; font-size: .86rem; }
.side-box .cat-chip { display: inline-flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border-radius: 10px; padding: 8px 14px; font-weight: 700; color: var(--ink); transition: .2s; }
.side-box .cat-chip:hover { background: var(--primary-soft); opacity: 1; }
.side-box .cat-chip::after { content: "→"; color: var(--primary); }

/* ---------- フォーム ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; max-width: 760px; margin: 0 auto; }
.field { margin-bottom: 26px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field .req { background: var(--coral); color: #fff; font-size: .62rem; border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--bg); padding: 14px 16px; font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); background: #fff; }
.field textarea { min-height: 180px; resize: vertical; }
.form-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tel-band { text-align: center; margin-bottom: 40px; }
.tel-band .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--primary-dark); }

/* ---------- 表（評価表） ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-card { background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 22px; display: flex; align-items: center; gap: 16px; transition: transform .25s ease; }
.doc-card:hover { transform: translateY(-4px); opacity: 1; }
.doc-card .icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--coral-soft); display: grid; place-items: center; font-size: 1.2rem; }
.doc-card b { font-size: .9rem; display: block; color: var(--ink); }
.doc-card span { font-size: .74rem; color: var(--ink-soft); }
.hyouka { display: grid; gap: 40px; }
.hyouka .doc-card { position: relative; padding-right: 50px; }
.hyouka .doc-card::after {
  content: "\21E9"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--coral); font-size: 1.15rem; font-weight: 900;
}
@media (max-width: 900px) { .hyouka { gap: 30px; } }

/* ---------- スクロールリビール ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .hero-photo img, .hero-card, .marquee-track, .hero-badge i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- コンテンツ用汎用 ---------- */
.prose { max-width: 780px; }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--ink); }
.note { background: var(--amber-soft); border-radius: var(--radius-s); padding: 20px 24px; font-size: .88rem; border-left: 5px solid var(--amber); }
.callout { background: var(--primary-soft); border-radius: var(--radius-s); padding: 24px 28px; border-left: 5px solid var(--primary); }
.callout h4 { font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.callout p { font-size: .88rem; }

/* ---------- サイトマップ ---------- */
.sm-list { display: grid; gap: 6px; margin-top: 14px; }
.sm-list li { border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.sm-list li:last-child { border-bottom: none; }
.sm-list a { font-weight: 700; color: var(--primary-dark); }
.sm-list a:hover { color: var(--coral); }
.sm-sub { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.6; }
.divider-wave { display: block; width: 100%; height: 40px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .gnav { display: none; }
  .burger { display: block; }
  .hero .wrap { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 560px; }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; }
  .access-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0 56px; }
  .topbar .wrap { justify-content: center; }
  .topbar .hide-sp { display: none; }
  .grid-3, .grid-2, .blog-grid, .doc-grid, .time-cards { grid-template-columns: 1fr; }
  .voice-mini { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  .line-band { padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-card { padding: 30px 22px; }
  .hero-card--1 { left: 0; } .hero-card--2 { right: 0; }
  .place-card .head, .place-card .body { padding-inline: 20px; }
}
