/* 講演・出張授業LP（artandarts.jp/lecture/）
   配色はこども六法グリーン #3F955B を基調にする。
   #3F955B は白文字・小さな文字のコントラストが足りないため、ボタン・リンク・小文字には濃い緑 --green-deep を使う。 */

:root {
  --green: #3f955b;
  --green-deep: #2c7346;
  --green-ink: #225a37;
  --green-tint: #e8f3ec;
  --green-tint-2: #f2f8f3;
  --bg: #faf8f3;
  --paper: #ffffff;
  --ink: #26241f;
  --text: #3d3a34;
  --muted: #5f5a52;
  --line: #e3ded3;
  --input-line: #8a8378;
  --t1: #2c7346;
  --t2: #2f5e86;
  --t3: #1d6b73;
  --t4: #7a5520;
  --dark: #1f3a2a;
  --dark-2: #172d20;
  --dark-text: #f4f1ea;
  --dark-muted: #b9cdbe;
  --header-h: 64px;
  --anchor-offset: 80px; /* JSがヘッダーの実測高＋余白で上書きする */
  --radius-l: 22px;
  --radius-m: 16px;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-head: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-deep); }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--t2); outline-offset: 2px; border-radius: 4px; }
.contact-intro :focus-visible, .mobile-cta :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: var(--anchor-offset); }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.band { padding-top: 72px; padding-bottom: 72px; }
.band-white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-tint { background: var(--green-tint-2); }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.stack-l { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1000px) { .section, .band { padding-top: 88px; padding-bottom: 88px; } .stack-xl { gap: 72px; } }

.eyebrow { font-size: 14px; font-weight: 700; color: var(--green-deep); letter-spacing: .06em; }
.eyebrow-light { color: #9fd3ae; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.45; }
.section-head p:not(.eyebrow) { color: var(--text); line-height: 1.9; }
.note { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-ink); color: #fff; }
.btn-outline { background: var(--paper); color: var(--green-ink); border-color: var(--green-deep); }
.btn-outline:hover { background: var(--green-tint); color: var(--green-ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 248, 243, .95); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(250, 248, 243, .88); backdrop-filter: blur(8px); } }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.35; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-head); font-size: 16px; white-space: nowrap; }
.brand-sub { font-size: 12px; color: var(--muted); }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: none; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s; }
.menu-toggle-bar::before { position: absolute; top: -5px; }
.menu-toggle-bar::after { position: absolute; top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 379px) {
  .brand-name { font-size: 15px; }
  .menu-toggle { padding: 8px 12px; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.global-nav { display: none; }
.global-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(38, 36, 31, .08); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.global-nav a { color: var(--ink); text-decoration: none; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
.global-nav a.nav-cta { margin-top: 12px; border: 0; text-align: center; background: var(--green-deep); color: #fff; border-radius: 999px; font-weight: 700; }
.no-js .menu-toggle { display: none; }
.no-js .global-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; position: static; box-shadow: none; padding: 0; }
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .global-nav, .global-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 24px; position: static; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .global-nav a { padding: 4px 0; font-size: 15px; border: 0; }
  .global-nav a:hover { color: var(--green-deep); }
  .global-nav a.nav-cta { margin: 0; padding: 10px 20px; }
  .global-nav a.nav-cta:hover { background: var(--green-ink); color: #fff; }
}

/* ヒーロー */
.hero { padding-top: 40px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero { padding-top: 64px; } .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; } }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .hero-cta .btn { width: 100%; } }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.35; letter-spacing: .01em; }
.hl { color: var(--green-deep); background: linear-gradient(transparent 68%, #cfe8d7 68%) no-repeat 0 0 / 100% 100%; }
/* 見出しのマーカーを、読み込み時に1回だけ左から引く */
@media (prefers-reduced-motion: no-preference) {
  .hl { background-size: 0% 100%; animation: hl-draw .7s cubic-bezier(.3, .7, .3, 1) .35s forwards; }
  .hl + .hl, .hl ~ .hl { animation-delay: .8s; }
}
@keyframes hl-draw { to { background-size: 100% 100%; } }
.lead { font-size: 16px; line-height: 1.95; color: var(--text); max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.hero-figure { position: relative; }
/* ヒーローの写真スライド（主催者・会場ごとの場面）。JSが無い／動きを減らす設定では1枚目だけを表示する */
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px 28px 28px 6px; background: var(--green-tint); }
@supports not (aspect-ratio: 1 / 1) { .slides { height: 0; padding-top: 75%; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 45%; }
/* ズームは、一時停止ボタンが使える状態（.is-live）になってから始める */
@media (prefers-reduced-motion: no-preference) {
  .hero-slides.is-live .slide.is-active img { animation: slide-zoom 7.5s ease-out forwards; }
}
@keyframes slide-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.slide-cap { position: absolute; left: 14px; bottom: 14px; background: var(--paper); padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--green-ink); box-shadow: 0 4px 16px rgba(38, 36, 31, .12); }
/* 操作欄の場所は最初から確保し（後から出てレイアウトが動かないように）、動かせるときだけ見せる */
.slide-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; visibility: hidden; }
.hero-slides.is-live .slide-controls { visibility: visible; }
.slide-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.slide-progress span { display: block; height: 100%; width: 100%; background: var(--green-deep); transform-origin: left center; transform: scaleX(0); }
.slide-progress.is-running span { animation: slide-progress var(--slide-interval, 6000ms) linear forwards; }
.hero-slides.is-paused .slide-progress span { animation-play-state: paused; }
.hero-slides.is-paused .slide.is-active img { animation-play-state: paused; }
@keyframes slide-progress { to { transform: scaleX(1); } }
.slide-pause { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slide-pause:hover { border-color: var(--green-deep); }
.slide-pause-icon { width: 12px; height: 12px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.slide-pause[aria-pressed="true"] .slide-pause-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust li { background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: var(--font-head); font-size: 28px; line-height: 1.1; color: var(--green-deep); }
.trust-num small { font-size: 14px; margin-left: 2px; }
.trust-label { font-size: 13px; line-height: 1.5; color: var(--muted); }

.purpose { display: flex; flex-direction: column; gap: 16px; }
.purpose-title { font-size: 16px; line-height: 1.5; }
.purpose-title span { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 6px; }
.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .purpose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .purpose-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.purpose-card { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.purpose-card:hover { color: var(--ink); border-color: var(--tc); transform: translateY(-2px); }
.purpose-no { font-family: var(--font-head); font-size: 14px; color: var(--tc); }
.purpose-name { font-family: var(--font-head); font-size: 17px; line-height: 1.45; }
.purpose-target { font-size: 13px; color: var(--muted); }
.purpose-more { margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--tc); }
.t1 { --tc: var(--t1); } .t2 { --tc: var(--t2); } .t3 { --tc: var(--t3); } .t4, .t5 { --tc: var(--t4); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-note { font-size: 14px; color: var(--muted); }
@media (max-width: 599px) { .cta-row .btn { width: 100%; } }

/* テーマ */
.theme { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .theme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.theme-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.theme-body { display: flex; flex-direction: column; gap: 18px; }
.theme-tag { display: flex; align-items: center; gap: 10px; }
.theme-no { font-family: var(--font-head); font-size: 32px; line-height: 1; color: var(--tc); }
.pill { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, #fff); }
.theme h3, .theme-card h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; }
.theme-body > p, .theme-card > p { color: var(--text); line-height: 1.95; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec div { background: var(--bg); padding: 12px 14px; }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.quotes { display: grid; gap: 10px; }
@media (min-width: 600px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quotes blockquote, .voice-col blockquote { background: var(--bg); border-radius: 4px 16px 16px 16px; padding: 14px 16px; font-size: 15px; line-height: 1.8; }
.quotes cite, .voice-col cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.6; }
.theme-link { align-self: flex-start; color: var(--tc); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.theme-link:hover { color: var(--ink); }
.theme-pair { display: grid; gap: 20px; }
@media (min-width: 900px) { .theme-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-card { background: var(--bg); border-radius: var(--radius-l); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.theme-card .theme-no { font-size: 28px; }
.theme-card h3 { font-size: 22px; }
.theme-card .quotes { grid-template-columns: 1fr; }
.theme-card .quotes blockquote { background: var(--paper); }
.theme-card .theme-link { margin-top: auto; }
.spec-inline { font-size: 14px; color: var(--muted); }

/* ギャラリー */
.gallery-section { padding-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.gallery-section h2 { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.45; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* 実績 */
.results-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.result-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.result-card h3 { font-size: 16px; color: var(--green-ink); }
.result-card ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.65; }
.result-card li { padding-left: 1em; text-indent: -1em; }
.result-card li::before { content: "・"; }
.stats { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.stats h3 { font-size: 17px; line-height: 1.5; }
.stats-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--font-head); font-size: 40px; line-height: 1; color: var(--green-deep); }
.stat-num small { font-size: 22px; }
.stat-label { font-size: 15px; line-height: 1.6; }
.stat-src { font-size: 13px; color: var(--muted); line-height: 1.6; }
.stats-note { padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 受講者の声 */
.voices-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .voices-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.voice-col { display: flex; flex-direction: column; gap: 12px; }
.voice-col h3 { font-size: 17px; color: var(--green-ink); }
.voice-col blockquote { background: var(--paper); }

/* 講師紹介 */
.profile { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; } }
.profile-photo img { width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 50% 12px; }
.profile-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.profile-body h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.3; }
.profile-kana { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.profile-body > p:not(.eyebrow) { color: var(--text); line-height: 2; }

/* アコーディオン（講師紹介・FAQ共通） */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--font-head); font-size: 16px; line-height: 1.5; }
.accordion summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 22px; height: 22px; position: relative; }
.pm::before, .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--green-deep); transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0deg); }
.accordion details > ul, .accordion details > p { margin: 0 0 18px; }
.accordion ul { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.75; color: var(--text); }
.accordion ul li { padding-left: 1em; text-indent: -1em; }
.accordion ul li::before { content: "・"; }
@media (min-width: 900px) { .accordion ul.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; } }
.faq { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; align-items: start; } }
.faq-list summary { font-size: 16px; padding: 18px 0; }
.faq-list p { font-size: 15px; line-height: 1.9; color: var(--text); }
.accordion ul.faq-bullets { margin: 0 0 18px; font-size: 15px; line-height: 1.9; }

/* 料金 */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.plan-main { border: 2px solid var(--green-deep); background: var(--green-tint-2); }
.plan h3 { font-size: 16px; }
.plan-price { font-family: var(--font-head); font-size: 32px; line-height: 1.1; }
.plan-price small { font-size: 16px; }
.plan-note { font-size: 14px; color: var(--muted); }
.estimate-box { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-m); background: var(--green-tint); }
.estimate-box p { line-height: 1.85; }
@media (min-width: 900px) { .estimate-box { flex-direction: row; align-items: center; justify-content: space-between; } .estimate-box .btn { flex: none; } }
.options { display: flex; flex-direction: column; gap: 12px; }
.options h3 { font-size: 17px; }
.table-scroll:focus-visible { outline-offset: 4px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.options table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.options th, .options td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.options thead th { background: var(--bg); border-top: 0; font-size: 14px; }
.options tbody th { font-weight: 700; }
.options td:last-child { white-space: nowrap; }

/* 流れ */
.flow { display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.flow-no { width: 34px; height: 34px; border-radius: 50%; background: var(--green-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; }
.flow h3 { font-size: 16px; }
.flow p { font-size: 14px; line-height: 1.75; color: var(--text); }

/* お問い合わせ */
.contact { background: var(--dark); color: var(--dark-text); padding-top: 72px; padding-bottom: 88px; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; } }
.contact-intro { display: flex; flex-direction: column; gap: 16px; }
.contact-intro h2 { color: var(--dark-text); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.5; }
.contact-intro p:not(.eyebrow) { color: var(--dark-text); line-height: 1.95; }
.contact a:not(.btn) { color: #cfeedd; }
.form-panel { background: var(--bg); color: var(--ink); border-radius: 24px; padding: 24px 20px; }
@media (min-width: 600px) { .form-panel { padding: 32px; } }
.form-panel a:not(.btn) { color: var(--green-deep); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-required-note { font-size: 13px; color: var(--muted); }
.req { color: #a8321e; font-weight: 700; margin-left: 2px; }
.optional { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field legend { font-size: 15px; font-weight: 700; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.field-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--input-line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #a8321e; box-shadow: 0 0 0 2px rgba(168, 50, 30, .15); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.choices label, .consent label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.choices input, .consent input { width: 20px; height: 20px; accent-color: var(--green-deep); flex: none; }
.consent label { align-items: flex-start; }
.privacy-note { font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 4px; }
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbeae6; color: #7d2412; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.7; }
.form-done { display: flex; flex-direction: column; gap: 14px; padding: 12px 4px; }
.form-done:focus { outline: none; }
.done-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--green-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.form-done h3 { font-size: 22px; line-height: 1.5; }
.form-done p { line-height: 1.9; color: var(--text); }

/* スマホ下部の固定CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(31, 58, 42, .96); transform: translateY(110%); transition: transform .2s, visibility .2s; }
.mobile-cta .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 15px; }
.mobile-cta .btn-primary { background: #fff; color: var(--green-ink); }
.mobile-cta:not(.is-visible) { visibility: hidden; }
.mobile-cta.is-visible { transform: translateY(0); visibility: visible; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }
@media (max-width: 999px) { body.has-mobile-cta .site-footer { padding-bottom: 88px; } }

/* フッター */
.site-footer { background: var(--dark-2); color: var(--dark-muted); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
