/* =========================================================
   わんぱく — 放課後児童デイサービス LP
   Warm / friendly / reassuring. Flyer DNA.
   ========================================================= */

:root {
  /* Brand */
  --teal: #4FA3A5;
  --teal-deep: #3a8587;
  --teal-ink: #2c6a6c;
  --orange: #F6A623;
  --orange-deep: #e8941a;
  --cream: #FFF8E7;
  --cream-2: #fdf0d4;
  --white: #fffdf8;
  --ink: #514a42;
  --ink-soft: #837a6e;
  /* Supporting (hand-drawn flyer palette) */
  --sun: #FFC93C;
  --green: #7cb15f;
  --green-deep: #5f9646;
  --coral: #f29186;
  --sky: #7ec5d6;

  /* Accent (tweakable) */
  --accent: var(--orange);
  --accent-deep: var(--orange-deep);

  /* Fonts (tweakable) */
  --font-display: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;

  --shadow-sm: 0 4px 14px rgba(81, 74, 66, 0.07);
  --shadow-md: 0 10px 30px rgba(81, 74, 66, 0.10);
  --shadow-lg: 0 24px 60px rgba(81, 74, 66, 0.14);
  --radius: 28px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; font-weight: 900; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

.sp-br { display: none; }
@media (max-width: 560px) { .sp-br { display: inline; } }

/* ---- Reusable bits ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--teal); font-size: 1rem; letter-spacing: .06em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: var(--accent);
}

.section-head { text-align: center; margin-bottom: 56px; position: relative; }
.section-head h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  color: var(--teal-ink); position: relative; display: inline-block;
}
.section-head h2 .hl { color: var(--accent); }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }

/* ribbon banner used for section titles (flyer style) */
.ribbon {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--teal); color: var(--white);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  padding: 14px 44px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.ribbon .n { color: var(--sun); }
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px;
  border: 3px solid var(--orange); border-radius: 4px; transform: translateY(-50%) rotate(12deg);
}
.ribbon::before { left: -34px; border-color: var(--orange); }
.ribbon::after { right: -34px; border-color: var(--orange); transform: translateY(-50%) rotate(-12deg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-weight: 900;
  border: none; cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  border-radius: 999px; line-height: 1;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  font-size: 1.25rem; padding: 22px 46px;
  box-shadow: 0 12px 0 var(--accent-deep), var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 0 var(--accent-deep), var(--shadow-lg); }
.btn-primary:active { transform: translateY(6px); box-shadow: 0 4px 0 var(--accent-deep); }
.btn-teal { background: var(--teal); box-shadow: 0 12px 0 var(--teal-deep), var(--shadow-md); }
.btn-teal:hover { box-shadow: 0 15px 0 var(--teal-deep), var(--shadow-lg); }
.btn-teal:active { box-shadow: 0 4px 0 var(--teal-deep); }
.btn-ghost {
  background: var(--white); color: var(--teal-ink);
  border: 2.5px solid var(--teal); font-size: 1rem; padding: 14px 28px;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn .arr { display: inline-block; transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* pulse ring on hero CTA */
.cta-pulse { position: relative; }
.cta-pulse::before, .cta-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2.5px solid var(--accent); pointer-events: none;
  animation: ring 2.6s ease-out infinite;
}
.cta-pulse::after { animation-delay: 1.3s; border-color: var(--teal); }
@keyframes ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ====================================================================== */
/* HEADER                                                                  */
/* ====================================================================== */
header.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 248, 231, 0); transition: background .4s, box-shadow .4s, padding .4s;
}
header.nav.scrolled {
  background: rgba(255, 248, 231, .92); backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(81,74,66,.08); padding-block: 8px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 46px; height: 46px; flex: none; }
.brand .txt small { display: block; font-size: .62rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .08em; }
.brand .txt b { font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-ink); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 700; font-size: .94rem; color: var(--ink); transition: color .2s; position: relative; white-space: nowrap; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 3px;
  border-radius: 3px; background: var(--accent); transition: width .25s;
}
.nav-links a:not(.btn):hover { color: var(--teal-ink); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links .btn-ghost { padding: 11px 22px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ====================================================================== */
/* HERO                                                                    */
/* ====================================================================== */
.hero {
  position: relative; padding-top: 96px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, #fffefb 0%, var(--cream) 55%);
}
.hero-inner {
  width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  min-height: calc(100vh - 96px); padding-block: 40px 80px;
}
.hero-copy { position: relative; z-index: 3; }
.hero-stamps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.stamp {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px dashed #d9cba8; background: var(--white);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: .85rem; color: #c8b489; transition: transform .4s;
}
.stamp.on {
  border-style: solid; border-color: transparent; color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--sun));
  box-shadow: 0 4px 10px rgba(246,166,35,.4);
}
.stamp.pop { animation: stampPush .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes stampPush { 0% { transform: scale(.4) rotate(-12deg);} 55% { transform: scale(1.25) rotate(6deg);} 100% { transform: scale(1);} }

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.2; color: var(--ink); letter-spacing: .01em;
}
.hero h1 .kan { color: var(--teal-ink); }
.hero h1 .pop { color: var(--accent); position: relative; }
.hero h1 .word { display: inline-block; }
.hero h1 .ch { display: inline-block; animation: floatCh 6s ease-in-out infinite; }
@keyframes floatCh { 0%,100%{ transform: translateY(0);} 24%{ transform: translateY(-3px);} }
.hero h1 .mark-deki {
  display: inline-block; background: var(--sun); color: var(--white);
  padding: 0 .12em; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 6px 0 #e9b528;
}
.hero p.lead {
  margin-top: 28px; font-size: clamp(1rem, 2vw, 1.22rem); font-weight: 700;
  color: var(--ink); max-width: 30ch;
}
.hero p.lead b { color: var(--accent-deep); }
.hero .hero-cta { margin-top: 38px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero .hero-cta .btn-primary, .hero .hero-cta .btn-consult { min-width: 180px; justify-content: center; }
.btn-consult { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; background: #fff; color: var(--teal-ink); border: 2.5px solid var(--teal); transition: transform .15s, box-shadow .15s; }
.btn-consult:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.12); background: var(--cream); }
.hero-social { display: flex; gap: 10px; margin-top: 12px; align-items: center; width: 100%; }
.hero-social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hero-social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.hero-social-btn.line { background: #06C755; color: #fff; }
.hero-social-btn.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
/* フォームタブ */
.form-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.form-tab { flex: 1; padding: 11px 10px; border-radius: 10px; border: 2px solid var(--teal); background: #fff; color: var(--teal-ink); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .15s, color .15s; }
.form-tab.active { background: var(--teal); color: #fff; }
.visit-only { transition: opacity .2s; }
.visit-only.hidden { display: none; }
.hero .micro { font-weight: 700; color: var(--teal-ink); font-size: .9rem; display:flex; align-items:center; gap:7px;}
.hero .micro::before { content:""; width: 9px; height: 9px; border-radius:50%; background: var(--green); }

/* hero photo */
.hero-photo { position: relative; z-index: 2; }
.hero-photo .frame {
  border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 8px solid var(--white); transform: rotate(1.4deg);
  position: relative;
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.hero-photo .tag {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--teal); color: var(--white); font-family: var(--font-display);
  font-weight: 700; padding: 10px 24px; border-radius: 999px; box-shadow: var(--shadow-md);
  font-size: .95rem; white-space: nowrap; z-index: 4;
}

/* hero floating decorations */
.hero-deco { position: absolute; pointer-events: none; z-index: 1; }
.float { animation: bob 9s ease-in-out infinite; }
.float.d2 { animation-duration: 11s; animation-delay: -3s; }
.float.d3 { animation-duration: 10s; animation-delay: -1.5s; }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(var(--r,0deg)); } 50%{ transform: translateY(-6px) rotate(var(--r,0deg)); } }

/* hero with no image: center the copy */
.hero-inner.hero-noimg {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: calc(100vh - 96px);
}
.hero-noimg .hero-copy { max-width: 760px; }
.hero-noimg .eyebrow::before { display: none; }
.hero-noimg .hero-cta { justify-content: center; }
.hero-noimg .lead { max-width: 40ch; margin-inline: auto; }

/* === Hero variant: OVERLAY (full-bleed photo, copy on cream panel) === */
.hero[data-hero="overlay"] .hero-inner {
  grid-template-columns: 1fr; min-height: calc(100vh - 96px);
  position: relative; align-content: center;
}
.hero[data-hero="overlay"] .hero-photo {
  position: absolute; inset: 0; z-index: 1; width: 100%;
}
.hero[data-hero="overlay"] .hero-photo .frame {
  transform: none; border: none; border-radius: 0; height: 100%; width: 100%;
  box-shadow: none;
}
.hero[data-hero="overlay"] .hero-photo .frame img { aspect-ratio: auto; height: 100%; }
.hero[data-hero="overlay"] .hero-photo::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(255,248,231,.97) 0%, rgba(255,248,231,.9) 36%, rgba(255,248,231,.2) 60%, rgba(255,248,231,0) 78%);
}
.hero[data-hero="overlay"] .hero-photo .tag { display: none; }
.hero[data-hero="overlay"] .hero-copy {
  background: rgba(255,253,248,.78); backdrop-filter: blur(2px);
  padding: 40px; border-radius: var(--radius); max-width: 620px;
  box-shadow: var(--shadow-md);
}

/* === Hero variant: SCRAPBOOK (playful tilted collage) === */
.hero[data-hero="scrapbook"] .hero-inner { grid-template-columns: 1fr 1fr; }
.hero[data-hero="scrapbook"] .hero-photo .frame { transform: rotate(-3deg); border-width: 12px; }
.hero[data-hero="scrapbook"] .hero-photo .frame::after {
  content:""; position:absolute; top:-22px; left:50%; transform:translateX(-50%) rotate(-4deg);
  width: 120px; height: 34px; background: rgba(246,166,35,.55);
  border-radius: 3px; box-shadow: var(--shadow-sm);
}
.hero[data-hero="scrapbook"] .hero h1 .word:nth-child(even) { transform: rotate(2deg); }
.hero[data-hero="scrapbook"] .hero h1 .word:nth-child(odd) { transform: rotate(-1.5deg); }
.hero[data-hero="scrapbook"] .hero-copy::before {
  content:""; position:absolute; inset:-30px -30px auto auto; width:90px;height:90px;
}

/* ====================================================================== */
/* WAVE dividers                                                           */
/* ====================================================================== */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { display: block; width: 100%; height: auto; }

/* ====================================================================== */
/* EMPATHY (こんなお悩み)                                                  */
/* ====================================================================== */
.empathy { background: var(--white); padding: 90px 0 100px; position: relative; }
.worry-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 8px;
}
.worry {
  background: var(--cream); border-radius: var(--radius); padding: 34px 30px;
  position: relative; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.worry:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.worry .q {
  position: absolute; top: -18px; left: 26px; width: 44px; height: 44px;
  background: var(--orange); color: var(--white); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 900; font-size: 1.3rem; box-shadow: 0 5px 0 var(--orange-deep);
  transform: rotate(-6deg);
}
.worry p { margin-top: 12px; font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.empathy .bridge {
  text-align: center; margin-top: 64px; font-family: var(--font-display);
  font-weight: 900; font-size: clamp(1.4rem,3.6vw,2.2rem); color: var(--teal-ink);
}
.empathy .bridge .hl { color: var(--accent); position: relative; white-space: nowrap; }

/* ====================================================================== */
/* ABOUT                                                                   */
/* ====================================================================== */
.about { background: var(--cream); padding: 100px 0; position: relative; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: clamp(1.7rem,4vw,2.6rem); color: var(--teal-ink); line-height: 1.4; }
.about-text h2 .hl { color: var(--accent); }
.about-text p { margin-top: 24px; font-size: 1.05rem; color: var(--ink); }
.about-photo { position: relative; }
.about-photo .ph { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 7px solid var(--white); transform: rotate(-1.5deg); }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.about-points li { list-style: none; display: flex; gap: 14px; align-items: center; font-weight: 700; }
.about-points .chk {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--teal);
  display: grid; place-items: center;
}

/* ====================================================================== */
/* STRENGTHS (3つの強み)                                                   */
/* ====================================================================== */
.strengths { background: var(--white); padding: 96px 0 110px; position: relative; }
.strength-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.strength {
  background: var(--cream); border-radius: var(--radius); padding: 44px 32px 36px;
  position: relative; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s;
  border: 2px solid transparent;
}
.strength:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: #f3e6c4; }
.strength .num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--white);
  border: 4px solid var(--accent); color: var(--accent-deep);
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.strength .ic { height: 96px; display: grid; place-items: center; margin: 16px 0 8px; }
.strength h3 { text-align: center; color: var(--teal-ink); font-size: 1.3rem; line-height: 1.45; min-height: 2.9em; display: grid; align-items: center;}
.strength p { margin-top: 12px; color: var(--ink-soft); font-size: .96rem; font-weight: 500; text-align: center; }
.strength .ph { margin-top: 22px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }

/* ====================================================================== */
/* DAY FLOW (一日の流れ)                                                   */
/* ====================================================================== */
.flow { background: var(--cream); padding: 96px 0 110px; position: relative; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 4px;
  background: repeating-linear-gradient(var(--teal) 0 10px, transparent 10px 20px);
  border-radius: 4px;
}
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 30px; position: relative; }
.tl-item .dot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white);
  border: 4px solid var(--accent); display: grid; place-items: center; z-index: 2;
  font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: .78rem;
  box-shadow: var(--shadow-sm); text-align: center; line-height: 1.1;
}
.tl-item:nth-child(even) .dot { border-color: var(--teal); }
.tl-card {
  background: var(--white); border-radius: 20px; padding: 20px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.tl-card h4 { color: var(--teal-ink); font-size: 1.18rem; }
.tl-card p { color: var(--ink-soft); font-size: .95rem; font-weight: 500; margin-top: 4px; }

/* ====================================================================== */
/* GUIDE (ご利用案内)                                                      */
/* ====================================================================== */
.guide { background: var(--white); padding: 96px 0 110px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.guide-card {
  background: var(--cream); border-radius: var(--radius); padding: 38px 36px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.guide-card h3 { color: var(--teal-ink); font-size: 1.4rem; margin-bottom: 18px; display:flex; align-items:center; gap:12px; }
.guide-card h3 .badge { width: 40px; height: 40px; flex:none; border-radius: 12px; background: var(--accent); display:grid; place-items:center; }
.guide-rows { display: flex; flex-direction: column; }
.guide-rows .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid #ece0c3; font-weight: 600; }
.guide-rows .row:last-child { border-bottom: none; }
.guide-rows .row .k { color: var(--ink-soft); font-size: .92rem; flex: none; min-width: 7em; }
.guide-rows .row .v { text-align: right; color: var(--ink); }
.guide-rows .row .v b { color: var(--accent-deep); font-family: var(--font-display); }

/* ====================================================================== */
/* VOICES (利用者の声)                                                     */
/* ====================================================================== */
.voices { background: var(--cream); padding: 96px 0 120px; position: relative; }
.voice-grid { columns: 3; column-gap: 26px; }
.voice {
  break-inside: avoid; margin-bottom: 26px; background: var(--white);
  border-radius: 22px; padding: 26px 26px 22px; box-shadow: var(--shadow-sm);
  position: relative; transition: transform .3s, box-shadow .3s;
}
.voice:nth-child(3n+1) { transform: rotate(-1.4deg); }
.voice:nth-child(3n+2) { transform: rotate(1deg); }
.voice:nth-child(3n) { transform: rotate(-.6deg); }
.voice:hover { transform: rotate(0) translateY(-5px); box-shadow: var(--shadow-md); z-index: 3; }
.voice .quote { font-size: 2.4rem; font-family: var(--font-display); color: var(--accent); line-height: .6; }
.voice p { font-weight: 600; color: var(--ink); margin: 6px 0 16px; }
.voice .who { display: flex; align-items: center; gap: 12px; }
.voice .av { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; background: var(--cream-2); }
.voice .who b { font-family: var(--font-display); color: var(--teal-ink); font-size: .95rem; }
.voice .who small { display: block; color: var(--ink-soft); font-weight: 600; font-size: .78rem; }

/* ====================================================================== */
/* STAFF (スタッフ紹介)                                                    */
/* ====================================================================== */
.staff { background: var(--white); padding: 96px 0 110px; }
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.staff-card { text-align: center; }
.staff-card .ph {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); border: 6px solid var(--white);
  aspect-ratio: 1/1; transition: transform .3s;
}
.staff-card:nth-child(odd) .ph { transform: rotate(-2deg); }
.staff-card:nth-child(even) .ph { transform: rotate(2deg); }
.staff-card:hover .ph { transform: rotate(0) scale(1.02); }
.staff-card .role { display: inline-block; margin-top: 18px; background: var(--teal); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .82rem; padding: 5px 16px; border-radius: 999px; }
.staff-card h4 { margin-top: 10px; color: var(--ink); font-size: 1.2rem; }
.staff-card p { color: var(--ink-soft); font-size: .92rem; font-weight: 500; margin-top: 8px; }

/* ====================================================================== */
/* FAQ                                                                     */
/* ====================================================================== */
.faq { background: var(--cream); padding: 96px 0 110px; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; padding: 22px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--teal-ink);
}
.faq-q .qm { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font-weight: 900; }
.faq-q .tog { margin-left: auto; flex: none; transition: transform .35s; color: var(--teal); }
.faq-item.open .tog { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a .inner { padding: 0 26px 24px 74px; color: var(--ink-soft); font-weight: 500; }

/* ====================================================================== */
/* ACCESS                                                                  */
/* ====================================================================== */
.access { background: var(--white); padding: 96px 0 110px; }
.access-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 360px; position: relative; background: #eef4ec; }
.access-info { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.access-info h3 { color: var(--teal-ink); font-size: 1.5rem; margin-bottom: 12px; }
.access-info .line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #e3d6b8; }
.access-info .line .ic { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--cream); display: grid; place-items: center; }
.access-info .line b { font-family: var(--font-display); color: var(--ink); }
.access-info .line span { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }

/* ====================================================================== */
/* CTA + FORM (見学予約)                                                   */
/* ====================================================================== */
.contact { background: var(--teal); color: var(--white); padding: 96px 0 110px; position: relative; overflow: hidden; }
.contact .section-head h2 { color: var(--white); }
.contact .section-head h2 .hl { color: var(--sun); }
.contact .section-head p { color: rgba(255,255,255,.85); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; position: relative; z-index: 2; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side .card {
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 22px; padding: 26px 28px; backdrop-filter: blur(4px);
}
.contact-side .card .lab { font-family: var(--font-display); font-weight: 700; color: var(--sun); font-size: .9rem; }
.contact-side .card .tel { font-family: var(--font-display); font-weight: 900; font-size: 2rem; letter-spacing: .02em; }
.contact-side .card .hrs { color: rgba(255,255,255,.85); font-weight: 600; font-size: .9rem; }
.social-row { display: flex; gap: 14px; }
.social-row a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--white); color: var(--teal-ink); border-radius: 16px; padding: 16px;
  font-family: var(--font-display); font-weight: 700; transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.social-row a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { color: var(--teal-ink); font-size: 1.4rem; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-soft); font-weight: 600; font-size: .9rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--orange-deep); font-size: .78rem; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 2px solid #ece0c3; border-radius: 14px; padding: 13px 16px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink);
  background: var(--cream); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(79,163,165,.15); background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.err input, .field.err textarea { border-color: var(--coral); }
.field .msg { color: #d8675b; font-size: .8rem; font-weight: 700; margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.form-card .submit-row { margin-top: 26px; }
.form-card .btn-primary { width: 100%; }
.form-note { text-align: center; color: var(--ink-soft); font-size: .82rem; font-weight: 600; margin-top: 14px; }
.form-success {
  text-align: center; padding: 30px 10px; display: none;
}
.form-success.show { display: block; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0%{transform:scale(.7);opacity:0;} 100%{transform:scale(1);opacity:1;} }
.form-success .ok { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.form-success h3 { color: var(--green-deep); }
.form-success p { color: var(--ink-soft); font-weight: 600; margin-top: 8px; }

/* ====================================================================== */
/* FOOTER                                                                  */
/* ====================================================================== */
footer.foot { background: var(--cream-2); padding: 64px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #ecddbc; }
.foot .brand .txt b { font-size: 1.5rem; }
.foot-about p { margin-top: 18px; color: var(--ink-soft); font-weight: 600; font-size: .92rem; max-width: 34ch; }
.foot-col h5 { font-family: var(--font-display); color: var(--teal-ink); font-size: 1rem; margin-bottom: 16px; }
.foot-col a { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; padding: 6px 0; transition: color .2s, padding .2s; }
.foot-col a:hover { color: var(--accent-deep); padding-left: 6px; }
.foot-bottom { text-align: center; padding-top: 26px; color: var(--ink-soft); font-weight: 600; font-size: .82rem; }

/* image placeholders */
.imgph {
  position: relative; background:
    repeating-linear-gradient(45deg, #f1e7cd 0 12px, #f6eed8 12px 24px);
  display: grid; place-items: center; color: #b3a17c; width: 100%; height: 100%;
}
.imgph span { font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .02em; text-align: center; padding: 8px; background: rgba(255,253,248,.7); border-radius: 8px; }

/* ====================================================================== */
/* SCROLL REVEAL                                                           */
/* ====================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* sparkle */
.sparkle { position: fixed; width: 18px; height: 18px; pointer-events: none; z-index: 9999; animation: spk .7s ease-out forwards; }
@keyframes spk { 0%{transform:scale(0) rotate(0);opacity:0;} 40%{transform:scale(1.4) rotate(40deg);opacity:1;} 100%{transform:scale(0) rotate(90deg);opacity:0;} }

/* confetti burst piece */
.cfp { position: absolute; width: 10px; height: 10px; pointer-events: none; z-index: 50; }

/* ====================================================================== */
/* RESPONSIVE                                                              */
/* ====================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-block: 24px 60px; }
  .hero-photo { order: -1; }
  .hero[data-hero="overlay"] .hero-inner { min-height: 86vh; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .access-inner { grid-template-columns: 1fr; }
  .strength-grid, .worry-grid, .staff-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { columns: 2; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 12px;
    background: var(--white); padding: 18px 22px; border-radius: 20px; box-shadow: var(--shadow-lg); gap: 16px;
  }
  .nav-toggle { display: grid; place-items: center; }
  .strength-grid, .worry-grid, .staff-grid { grid-template-columns: 1fr; }
  .voice-grid { columns: 1; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .ribbon::before, .ribbon::after { display: none; }
  .hero .hero-cta { gap: 14px; }
  .btn-primary { font-size: 1.1rem; padding: 18px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
