/* ============================================================
   アステリつくーる — 星の工房デザイン
   Palette: ほしぞらブルー #1B66B5 / そらいろ #4FA8DE /
            ひだまりイエロー #FFB627 / わかばグリーン #7CB342 /
            さくらレッド #E8546B / クリーム #FFFDF7
   Type:    Zen Maru Gothic (display) / M PLUS Rounded 1c (body) /
            Yusei Magic (accent)
   ============================================================ */

:root {
  --blue-deep: #1b66b5;
  --blue-sky: #4fa8de;
  --blue-pale: #eaf5fc;
  --yellow: #ffb627;
  --yellow-soft: #ffd96b;
  --green: #7cb342;
  --red: #e8546b;
  --orange: #e87b3e;
  --cream: #fffdf7;
  --night: #142a52;
  --night-deep: #0d1d3d;
  --ink: #2b3a4a;
  --ink-soft: #5a6b7a;
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-accent: "Yusei Magic", "Zen Maru Gothic", sans-serif;
  --radius: 24px;
  --shadow-card: 0 6px 24px rgba(27, 102, 181, 0.1);
  --shadow-card-hover: 0 12px 32px rgba(27, 102, 181, 0.18);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* ============ ヘッダー ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(27, 102, 181, 0.08);
  transition: box-shadow 0.3s;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.header-logo { flex-shrink: 0; display: block; }
.header-logo img { width: 84px; height: auto; }

.icon-svg {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  margin-right: 0.2em;
}

.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 2px; }
.global-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.global-nav a:hover { background: var(--blue-pale); color: var(--blue-deep); }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #c43955;
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 #c43955; }
.header-cta .cta-star { color: var(--yellow-soft); }

.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(27, 102, 181, 0.15);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    padding: 16px 24px 24px;
  }
  .global-nav.open { transform: translateY(0); }
  .global-nav ul { flex-direction: column; gap: 4px; }
  .global-nav a { font-size: 1rem; padding: 12px 16px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: var(--blue-pale);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
  }
  .nav-toggle span {
    display: block;
    height: 3px;
    background: var(--blue-deep);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 767px) {
  .header-cta { font-size: 0.78rem; padding: 8px 14px; }
  .header-logo img { width: 96px; }
}

/* ============ ボタン ============ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 16px 36px;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 5px 0 #c43955;
}
.btn-primary:hover { transform: translateY(3px); box-shadow: 0 2px 0 #c43955; }
.btn-tel {
  background: #fff;
  color: var(--blue-deep);
  border: 3px solid var(--blue-deep);
  box-shadow: 0 5px 0 rgba(27, 102, 181, 0.25);
  font-size: 1.2rem;
  font-weight: 900;
}
.btn-tel:hover { transform: translateY(3px); box-shadow: 0 2px 0 rgba(27, 102, 181, 0.25); }
.btn-large { font-size: 1.15rem; padding: 18px 44px; }

/* ============ ヒーロー ============ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 90px;
  background: linear-gradient(175deg, #cfeafb 0%, #eaf6fd 45%, #fdf6e3 100%);
  overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.85;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud.c1 { width: 140px; height: 44px; top: 18%; left: -160px; animation: drift 46s linear infinite; }
.cloud.c1::before { width: 60px; height: 60px; top: -28px; left: 24px; }
.cloud.c1::after { width: 44px; height: 44px; top: -18px; left: 70px; }
.cloud.c2 { width: 100px; height: 32px; top: 55%; left: -120px; animation: drift 62s linear infinite 8s; opacity: 0.6; }
.cloud.c2::before { width: 44px; height: 44px; top: -20px; left: 18px; }
.cloud.c2::after { width: 30px; height: 30px; top: -12px; left: 52px; }
.cloud.c3 { width: 180px; height: 54px; top: 8%; left: -200px; animation: drift 78s linear infinite 20s; opacity: 0.5; }
.cloud.c3::before { width: 76px; height: 76px; top: -36px; left: 30px; }
.cloud.c3::after { width: 54px; height: 54px; top: -22px; left: 92px; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 400px)); }
}

.shooting-star {
  position: absolute;
  width: 130px; height: 3px;
  background: linear-gradient(90deg, transparent, #fff 40%, var(--yellow));
  border-radius: 2px;
  transform: rotate(-28deg);
  opacity: 0;
  animation: shoot 7s ease-in infinite;
}
.shooting-star::after {
  content: "★";
  position: absolute;
  right: -10px; top: -11px;
  color: var(--yellow);
  font-size: 18px;
  text-shadow: 0 0 10px rgba(255, 182, 39, 0.9);
}
.shooting-star.s1 { top: 12%; left: 58%; }
.shooting-star.s2 { top: 30%; left: 78%; animation-delay: 2.6s; }
.shooting-star.s3 { top: 6%; left: 30%; animation-delay: 4.8s; }
@keyframes shoot {
  0% { transform: translate(0, 0) rotate(-28deg); opacity: 0; }
  4% { opacity: 1; }
  16% { transform: translate(-220px, 120px) rotate(-28deg); opacity: 0; }
  100% { transform: translate(-220px, 120px) rotate(-28deg); opacity: 0; }
}

.twinkle {
  position: absolute;
  color: var(--yellow);
  animation: twinkle 2.6s ease-in-out infinite;
  font-size: 20px;
}
.twinkle.t1 { top: 20%; left: 6%; }
.twinkle.t2 { top: 62%; left: 12%; font-size: 14px; animation-delay: 0.7s; }
.twinkle.t3 { top: 14%; left: 90%; font-size: 24px; animation-delay: 1.3s; }
.twinkle.t4 { top: 70%; left: 88%; font-size: 15px; animation-delay: 0.4s; }
.twinkle.t5 { top: 42%; left: 50%; font-size: 12px; animation-delay: 1.9s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.float-tool {
  position: absolute;
  font-size: 30px;
  animation: bob 4.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(27, 102, 181, 0.2));
}
.float-tool.tool1 { top: 74%; left: 4%; animation-delay: 0.5s; }
.float-tool.tool2 { top: 26%; left: 94%; animation-delay: 1.4s; }
.float-tool.tool3 { top: 82%; left: 93%; animation-delay: 2.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero-text { animation: hero-in 0.9s ease both; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(27, 102, 181, 0.12);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.35;
  color: var(--ink);
}
.hero-line { display: block; }
.hero-yaritai {
  color: var(--blue-deep);
  position: relative;
}
.hero-yaritai::after {
  content: "";
  position: absolute;
  left: 0.4em; right: 0.4em; bottom: 0.02em;
  height: 0.32em;
  background: var(--yellow-soft);
  border-radius: 999px;
  z-index: -1;
}
.hero-sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(27, 102, 181, 0.18);
}
.badge small { font-size: 0.75rem; opacity: 0.9; }
.badge-blue { background: var(--blue-deep); }
.badge-orange { background: var(--yellow); color: #6b4a00; }
.badge-green { background: var(--green); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }

.hero-visual { animation: hero-in 0.9s ease 0.25s both; }
.hero-visual img {
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(27, 102, 181, 0.25);
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .hero-yaritai::after { left: 0.2em; right: 0.2em; }
}

/* ============ 凸凹ディバイダー（シグネチャー） ============ */
.dekoboko {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.dekoboko svg { width: 100%; height: 42px; display: block; }
.dekoboko-cream svg path { fill: var(--cream); }
.dekoboko-top { top: -1px; bottom: auto; }
.dekoboko-top svg { transform: none; }
.dekoboko-sky-top svg path { fill: var(--cream); }
.dekoboko-cream-top svg path { fill: var(--blue-pale); }
.dekoboko-night-bottom svg path { fill: var(--cream); }

/* ============ セクション共通 ============ */
.section { position: relative; padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-sky { background: var(--blue-pale); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: var(--blue-sky);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-title::after {
  content: "★ ★ ★";
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  font-size: 0.85rem;
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  color: var(--yellow);
}
.section-lead {
  margin-top: 22px;
  color: var(--ink-soft);
  font-weight: 700;
}

/* スクロールリビール */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ お知らせ ============ */
.news-list {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 12px 36px;
}
.news-item {
  display: grid;
  grid-template-columns: 96px 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 2px dashed var(--blue-pale);
}
.news-item:last-child { border-bottom: none; }
.news-item time {
  font-weight: 800;
  color: var(--blue-deep);
  font-size: 0.92rem;
  padding-top: 2px;
}
.news-tag {
  display: inline-block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 2px;
}
.tag-new { background: var(--red); }
.tag-info { background: var(--blue-sky); }
.tag-recruit { background: var(--green); }
.news-item p { font-size: 0.95rem; }
@media (max-width: 640px) {
  .news-list { padding: 8px 20px; }
  .news-item { grid-template-columns: 84px 1fr; }
  .news-item .news-tag { justify-self: start; }
  .news-item p { grid-column: 1 / -1; }
}

/* ============ 私たちの想い ============ */
.name-origin {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto 64px;
}
.origin-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  border-top: 8px solid var(--blue-deep);
}
.origin-tsukuru { border-top-color: var(--yellow); }
.origin-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.origin-tsukuru .origin-word { color: #d18f00; }
.origin-mark { margin: 0 6px; color: var(--ink-soft); font-weight: 500; }
.origin-meaning { font-size: 1.9rem; }
.origin-card p { font-size: 0.95rem; }
.origin-plus {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-sky);
}
@media (max-width: 767px) {
  .name-origin { grid-template-columns: 1fr; }
  .origin-plus { text-align: center; }
}

.dekoboko-message {
  max-width: 820px;
  margin: 0 auto 64px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 44px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dekoboko-message::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--blue-deep) 0 40px, var(--yellow) 40px 80px,
    var(--green) 80px 120px, var(--red) 120px 160px,
    var(--blue-sky) 160px 200px);
}
.dekoboko-lead {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 20px;
  line-height: 1.6;
}
.deko, .boko {
  display: inline-block;
  font-size: 1.25em;
}
.deko { color: var(--blue-deep); transform: translateY(-0.12em); }
.boko { color: var(--yellow); transform: translateY(0.12em); }
.dekoboko-message p:not(.dekoboko-lead) {
  text-align: left;
  font-size: 0.98rem;
  margin-top: 14px;
}
@media (max-width: 640px) {
  .dekoboko-message { padding: 36px 24px; }
}

.rinen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.rinen-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.rinen-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.rinen-icon { display: block; margin-bottom: 8px; }
.rinen-icon svg { width: 46px; height: 46px; }
.rinen-card p { font-size: 0.92rem; }
@media (max-width: 767px) {
  .rinen-grid { grid-template-columns: 1fr; }
}

/* ============ 特徴 ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 34px 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-num {
  position: absolute;
  top: -18px; left: 28px;
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4);
}
.feature-star { color: #fff; font-size: 1.3rem; }
.feature-card:nth-child(2) .feature-num { background: var(--blue-sky); }
.feature-card:nth-child(3) .feature-num { background: var(--green); }
.feature-card:nth-child(4) .feature-num { background: var(--red); }
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--blue-deep);
  line-height: 1.5;
  margin-bottom: 14px;
}
.feature-card p { font-size: 0.95rem; }
@media (max-width: 767px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.evidence-band {
  background: linear-gradient(135deg, var(--blue-deep), #2a7bc9);
  border-radius: var(--radius);
  padding: 44px 48px;
  color: #fff;
}
.evidence-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}
.evidence-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.evidence-list li {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.92rem;
}
.evidence-note { font-size: 0.88rem; opacity: 0.92; max-width: 860px; margin: 0 auto 24px; }
.evidence-skills { text-align: center; }
.skills-label {
  display: inline-block;
  font-family: var(--font-accent);
  color: var(--yellow-soft);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.evidence-skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.evidence-skills li { font-weight: 800; }
.evidence-skills li::before { content: "★ "; color: var(--yellow-soft); }
@media (max-width: 640px) {
  .evidence-band { padding: 32px 24px; }
}

/* ============ 支援プログラム ============ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.program-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border-bottom: 6px solid var(--card-accent, var(--blue-sky));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-card-hover); }
.program-card img {
  width: 110px; height: 110px;
  margin: 0 auto 14px;
  border-radius: 28px;
  transition: transform 0.3s ease;
}
.program-card:hover img { transform: scale(1.08) rotate(3deg); }
.program-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--card-accent, var(--blue-deep));
  margin-bottom: 10px;
}
.program-card p { font-size: 0.9rem; text-align: left; }
@media (max-width: 900px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }

.program-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.extra-item {
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed var(--blue-sky);
  border-radius: 20px;
  padding: 22px 24px;
}
.extra-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.extra-item h4::before { content: "＋ "; color: var(--yellow); font-weight: 900; }
.extra-item p { font-size: 0.87rem; }
@media (max-width: 767px) { .program-extra { grid-template-columns: 1fr; } }

/* ============ 特集スプリット（モノづくり / スヌーズレン） ============ */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-reverse .split-visual { order: 2; }
.split-reverse .split-text { order: 1; }
.split-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow-card-hover);
}
.split-glow img { box-shadow: 0 0 60px rgba(79, 168, 222, 0.45); }
.split-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.tool-chip {
  background: #fff;
  border: 2px solid var(--yellow);
  color: #a06c00;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 4px 14px;
}
.split-catch {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--blue-deep);
  line-height: 1.6;
  margin-bottom: 18px;
}
.split-text p { font-size: 0.97rem; margin-bottom: 14px; }
.split-points { margin: 18px 0; }
.split-points li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-weight: 700;
  font-size: 0.95rem;
}
.split-points li::before {
  content: "★";
  position: absolute;
  left: 4px;
  color: var(--yellow);
}
.split-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 16px 20px;
}
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-visual { order: 0; }
  .split-reverse .split-text { order: 0; }
}

/* ============ スヌーズレン（夜空） ============ */
.section-night {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, #1d3a6e 100%);
  color: #eaf2ff;
  padding-bottom: 140px;
}
.night-stars { position: absolute; inset: 0; pointer-events: none; }
.nstar {
  position: absolute;
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3.2s ease-in-out infinite;
}
.nstar.big {
  width: 8px; height: 8px;
  background: var(--yellow-soft);
  box-shadow: 0 0 12px rgba(255, 217, 107, 0.9);
  animation-delay: 1.1s;
}
.nstar:nth-child(odd) { animation-delay: 0.9s; }
.nstar:nth-child(3n) { animation-delay: 1.8s; }
.section-head-night .section-title { color: #fff; }
.section-head-night .section-lead { color: #b9cdf0; }
.section-head-night .section-eyebrow { color: var(--yellow-soft); }
.split-text-night p { color: #dbe7fb; }
.split-text-night .split-catch { color: var(--yellow-soft); }
.points-night li { color: #eaf2ff; }
.points-night li::before { color: var(--yellow-soft); }

/* ============ コース案内 ============ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.course-img { overflow: hidden; }
.course-img img { width: 100%; transition: transform 0.4s ease; }
.course-card:hover .course-img img { transform: scale(1.05); }
.course-body { padding: 26px 26px 30px; }
.course-age {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 10px;
}
.age-blue { background: var(--blue-deep); }
.age-orange { background: var(--yellow); color: #6b4a00; }
.age-green { background: var(--green); }
.course-body h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.course-body p { font-size: 0.92rem; }
@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ============ サービス一覧表 ============ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.service-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
}
.service-table th, .service-table td {
  padding: 18px 20px;
  border: 1px solid var(--blue-pale);
  vertical-align: top;
}
.service-table thead th {
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  font-size: 1rem;
}
.service-table thead th:first-child { background: #fff; border-top-color: #fff; border-left-color: #fff; }
.service-table tbody th {
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}
.row-availability td { text-align: center; font-weight: 700; background: #fffbea; }
.avail {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}
.avail-yes { background: var(--green); }
.avail-no { background: #b8c2cc; }
.table-note { margin-top: 18px; font-size: 0.87rem; color: var(--ink-soft); text-align: center; }

/* ============ スタッフ ============ */
.staff-hero { max-width: 860px; margin: 0 auto 48px; }
.staff-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.staff-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 26px 20px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.staff-avatar {
  width: 72px; height: 72px;
  margin: 0 auto 12px;
  background: var(--staff-color, var(--blue-sky));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transform: scale(1.25);
  transform-origin: center;
  padding-top: 12px;
}
.staff-photo {
  width: 88px; height: 88px;
  margin: 0 auto 12px;
}
.staff-photo img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--staff-color, var(--blue-sky));
}
.staff-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--staff-color, var(--blue-deep));
  margin-top: 6px;
}
.staff-role { font-weight: 800; font-size: 0.85rem; margin: 2px 0 8px; }
.staff-license { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.7; }

.daihyo-profile {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.daihyo-profile summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--blue-deep);
  padding: 22px 30px;
  list-style: none;
  transition: background 0.2s;
}
.daihyo-profile summary:hover { background: var(--blue-pale); }
.daihyo-profile summary::-webkit-details-marker { display: none; }
.daihyo-star { color: var(--yellow); margin-right: 6px; }
.daihyo-profile summary::after {
  content: "＋";
  float: right;
  color: var(--blue-sky);
  font-weight: 900;
}
.daihyo-profile[open] summary::after { content: "−"; }
.daihyo-body { padding: 0 30px 28px; }
.daihyo-body p { font-size: 0.93rem; margin-bottom: 12px; }
.daihyo-photo {
  float: right;
  margin: 0 0 12px 20px;
}
.daihyo-photo img {
  width: 120px; height: 120px;
  border-radius: 24px;
  border: 4px solid var(--yellow-soft);
}
.daihyo-body::after { content: ""; display: block; clear: both; }

/* 実写真ポラロイド */
.split-visual { position: relative; }
.photo-polaroid {
  position: absolute;
  bottom: -26px;
  width: 200px;
  background: #fff;
  padding: 8px 8px 6px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(27, 102, 181, 0.28);
  transform: rotate(4deg);
  transition: transform 0.3s ease;
}
.photo-polaroid:hover { transform: rotate(0deg) scale(1.05); }
.polaroid-left { left: -14px; transform: rotate(-4deg); }
.polaroid-right { right: -14px; }
.photo-polaroid img { border-radius: 6px; width: 100%; height: auto; }
.photo-polaroid figcaption {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  text-align: center;
  color: var(--ink-soft);
  padding-top: 4px;
}
@media (max-width: 900px) {
  /* 縦積みレイアウトでは絶対配置をやめて通常フローに（下のチップ行と重ならないように） */
  .photo-polaroid {
    position: static;
    width: 170px;
    margin: -44px auto 0;
  }
  .polaroid-left { left: auto; }
  .polaroid-right { right: auto; }
}

/* ============ アクセス ============ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.access-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 38px;
}
.access-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 20px;
}
.access-icon { display: inline-block; margin-right: 10px; vertical-align: -6px; }
.access-icon svg { width: 28px; height: 28px; }
.hours-row, .place-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px dashed var(--blue-pale);
}
.hours-row:last-child, .place-row:last-child { border-bottom: none; }
.hours-row dt, .place-row dt {
  font-weight: 800;
  color: var(--blue-deep);
  font-size: 0.9rem;
}
.hours-row dd, .place-row dd { font-size: 0.92rem; }
.tel-link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
}
.map-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
  color: var(--blue-deep);
}
@media (max-width: 860px) {
  .access-grid { grid-template-columns: 1fr; }
  .hours-row, .place-row { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) { .access-card { padding: 28px 24px; } }

/* ============ 採用 ============ */
.recruit-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.recruit-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow-card-hover);
}
.recruit-text p { font-size: 0.96rem; margin-bottom: 16px; }
.recruit-jobs {
  font-weight: 800;
  color: var(--blue-deep);
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 14px 20px;
}
.recruit-welcome {
  background: #fffbea;
  border: 2px solid var(--yellow);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.welcome-title {
  font-family: var(--font-accent);
  color: #a06c00;
  font-size: 1.1rem;
  margin-bottom: 10px !important;
}
.recruit-welcome li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 0.92rem;
  font-weight: 700;
}
.recruit-welcome li::before {
  content: "★";
  position: absolute;
  left: 2px;
  color: var(--yellow);
}
.recruit-volunteer { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .recruit-split { grid-template-columns: 1fr; }
  .recruit-visual { max-width: 420px; margin: 0 auto; }
}

/* ============ お問い合わせ ============ */
.section-contact {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #2a7bc9 60%, var(--blue-sky) 100%);
  color: #fff;
  overflow: hidden;
}
.contact-stars .twinkle { color: var(--yellow-soft); }
.contact-stars .t1 { top: 14%; left: 8%; }
.contact-stars .t2 { top: 70%; left: 90%; }
.contact-stars .t3 { top: 20%; left: 86%; }
.section-head-contact .section-title { color: #fff; }
.section-head-contact .section-lead { color: #d5e8fa; }
.section-head-contact .section-eyebrow { color: var(--yellow-soft); }

.contact-visual {
  width: 200px;
  margin: 0 auto 28px;
}
.contact-visual img {
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(13, 29, 61, 0.3);
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(13, 29, 61, 0.3);
  padding: 44px 48px;
  color: var(--ink);
  text-align: center;
}
.contact-label { font-weight: 800; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.contact-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--blue-deep);
  text-decoration: none;
  display: inline-block;
}
.contact-number:hover { color: var(--blue-sky); }
.contact-hours { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
.contact-or {
  font-family: var(--font-accent);
  color: var(--blue-sky);
  font-size: 1.2rem;
}
.contact-note {
  text-align: center;
  font-size: 0.82rem;
  color: #cfe3f7;
  margin-top: 28px;
}
@media (max-width: 767px) {
  .contact-box { grid-template-columns: 1fr; padding: 36px 24px; }
}

/* ============ フッター ============ */
.site-footer {
  background: var(--night);
  color: #cfe0f5;
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img {
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; }
.footer-brand a { color: #fff; font-weight: 700; }
.footer-links-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.footer-links li {
  font-size: 0.85rem;
  padding: 4px 0;
}
.footer-links li::before { content: "★ "; color: var(--yellow-soft); }
.footer-external { margin-top: 14px; font-size: 0.88rem; }
.footer-external a { color: var(--yellow-soft); }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  padding: 18px 24px;
  background: var(--night-deep);
}
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ トップへ戻る ============ */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(27, 102, 181, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) rotate(-45deg);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(-45deg);
}
.back-to-top:hover { transform: translateY(-4px) rotate(-45deg); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 教室案内（2教室） ============ */
.classroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.classroom-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.classroom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.classroom-img { aspect-ratio: 16 / 9; overflow: hidden; }
.classroom-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.classroom-card:hover .classroom-img img { transform: scale(1.05); }
.classroom-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.classroom-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--blue-deep);
}
.classroom-name small { display: block; font-size: 0.8rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 2px; }
.classroom-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.classroom-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--blue-sky);
  border-radius: 999px;
  padding: 4px 12px;
}
.classroom-tag.tag-yellow { background: var(--yellow); color: #6b4a00; }
.classroom-tag.tag-green { background: var(--green); }
.classroom-tag.tag-red { background: var(--red); }
.classroom-body > p { font-size: 0.93rem; margin-bottom: 14px; }
.classroom-info { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.9; margin-bottom: 18px; }
.classroom-info strong { color: var(--ink); }
.classroom-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) {
  .classroom-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ============ 野崎教室セクション ============ */
.futoko-free {
  background: #fffbea;
  border: 3px dashed var(--yellow);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 18px;
}
.futoko-free p { font-size: 0.95rem; margin: 0; }

/* コース画像のアスペクト統一（実写・イラスト混在対応） */
.course-img { aspect-ratio: 3 / 2; }
.course-img img { width: 100%; height: 100%; object-fit: cover; }

/* スタッフの教室別見出し */
.staff-subhead {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--blue-deep);
  text-align: center;
  margin-bottom: 28px;
}
.staff-subhead::before { content: "★ "; color: var(--yellow); }
.staff-subhead-second { margin-top: 64px; }
.staff-subnote {
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: -14px auto 28px;
  max-width: 640px;
}

/* 問い合わせ2教室対応 */
.contact-tel-item + .contact-tel-item { margin-top: 16px; }
.contact-form-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 4px; }

/* フッター2教室併記の行間 */
.footer-brand p + p { margin-top: 10px; }

/* ============ お問い合わせフォーム ============ */
.contact-tel-illust { width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; object-fit: cover; background: #fff; }
.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(13, 29, 61, 0.35);
  max-width: 860px;
  margin: 40px auto 0;
  padding: 0 40px 44px;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-garland { margin: 0 -12px; }
.form-garland img { width: 100%; height: auto; max-height: 150px; object-fit: cover; object-position: center top; }
.form-intro { text-align: center; margin-bottom: 28px; }
.form-intro-img {
  width: min(480px, 100%);
  margin: 0 auto 18px;
  border-radius: 18px;
}
.form-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.form-lead { font-size: 0.93rem; color: var(--ink-soft); }
#contact-form fieldset { border: none; margin: 0 0 22px; padding: 0; }
.form-label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 6px;
  vertical-align: 2px;
}
.req-either { background: var(--yellow); color: #6b4a00; }
.kyoshitsu-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kyoshitsu-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--cream);
  border: 3px solid #e3edf5;
  border-radius: 18px;
  padding: 14px 10px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.kyoshitsu-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.kyoshitsu-pick input { position: absolute; opacity: 0; pointer-events: none; }
.kyoshitsu-pick img { width: 108px; height: 108px; object-fit: contain; }
.kyoshitsu-pick .pick-name { font-weight: 800; font-size: 0.95rem; color: var(--blue-deep); }
.kyoshitsu-pick small { font-size: 0.72rem; color: var(--ink-soft); }
.kyoshitsu-pick:has(input:checked) {
  border-color: var(--yellow);
  background: #fffbea;
  box-shadow: 0 6px 18px rgba(255, 182, 39, 0.35);
}
.kyoshitsu-pick:has(input:checked) .pick-name::after { content: " ★"; color: var(--yellow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 22px; }
.form-field { margin: 0; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid #dbe8f2;
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-sky);
  box-shadow: 0 0 0 4px rgba(79, 168, 222, 0.18);
  background: #fff;
}
.form-field ::placeholder { color: #a8b8c6; }
.pref-picks { display: flex; gap: 12px; }
.pref-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #dbe8f2;
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  font-weight: 700;
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pref-pick input { accent-color: var(--blue-deep); }
.pref-pick:has(input:checked) { border-color: var(--blue-sky); background: var(--blue-pale); color: var(--blue-deep); }
.form-message-row { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: end; margin-bottom: 4px; }
.form-field-message textarea { resize: vertical; min-height: 150px; }
.form-aside { text-align: center; margin: 0; }
.form-aside img { width: 100%; max-width: 180px; margin: 0 auto 6px; border-radius: 16px; }
.form-aside figcaption { font-family: var(--font-accent); font-size: 0.78rem; color: var(--ink-soft); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.85rem; margin: 14px 0 4px; }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.form-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-deep); flex-shrink: 0; }
.form-error {
  background: #fdecef;
  border: 2px solid var(--red);
  color: #b93a50;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 14px 0 0;
}
.form-submit-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.form-postman { width: 110px; height: 110px; object-fit: contain; }
#cf-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-thanks { text-align: center; padding: 28px 10px 8px; }
.form-thanks img { margin: 0 auto 14px; width: 220px; border-radius: 20px; }
.thanks-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.form-thanks p { font-size: 0.93rem; }
.form-thanks a { font-weight: 800; }
@media (max-width: 767px) {
  .contact-form-card { padding: 0 20px 32px; }
  .kyoshitsu-picks { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kyoshitsu-pick { padding: 10px 6px; }
  .kyoshitsu-pick img { width: 64px; height: 64px; }
  .kyoshitsu-pick .pick-name { font-size: 0.82rem; }
  .kyoshitsu-pick small { font-size: 0.62rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-message-row { grid-template-columns: 1fr; }
  .form-aside { display: none; }
  .form-postman { width: 84px; height: 84px; }
}
