/* ===========================================================
   香椎イングリッシュクラブ — Editorial "Passport / Journey" system
   福岡から世界へ。 Warm paper · ink navy · vermilion · mono labels.
   =========================================================== */

:root {
  /* surfaces — bright sky world */
  --paper:   #E8F4FC;   /* light sky base */
  --paper-2: #FFFFFF;   /* clean white bands */
  --paper-3: #FFFFFF;
  --ink:     #163A63;   /* deep sky-navy (text / dark bands) */
  --ink-2:   #4E6C8A;   /* slate-blue muted text */
  --line:    #CFE6F4;   /* soft blue hairline */
  --line-2:  #E3F1FA;

  /* accents */
  --vermilion: #F0573C;  /* warm coral — CTA pop */
  --vermilion-deep: #D8431F;
  --gold:  #F2A93B;
  --gold-deep: #D98A1C;
  --teal:  #2EA0A8;
  --teal-deep: #1F7C83;
  --sky:   #2E92CB;      /* brand sky blue */
  --sky-deep: #1F76AB;
  --sky-light: #6FC5EC;
  --star: #FFD45E;       /* sunny star */
  --leaf:  #5FBE6E;

  /* theme hooks (Tweaks) */
  --accent: var(--vermilion);
  --accent-deep: var(--vermilion-deep);

  --font-head: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-serif: "Shippori Mincho", "Zen Kaku Gothic New", serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1180px;
  --shadow-soft: 0 24px 60px -32px rgba(30,25,12,0.55);
  --shadow-card: 0 2px 0 var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* replace the browser/OS default focus ring with one that matches the palette
   (focus-visible only fires for keyboard nav, not mouse clicks) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  /* bright sky gradient */
  background-image:
    linear-gradient(180deg, #D6EFFB 0%, #E8F4FC 26%, #EFF8FD 100%);
  background-attachment: fixed;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

/* global star / sparkle field (behind all content) */
.sky-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-stars i { position: absolute; }
.sky-stars .st {
  width: var(--s,18px); height: var(--s,18px); background: var(--star);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  opacity: var(--o,.5); animation: skyfloat 7s ease-in-out infinite; animation-delay: var(--d,0s);
}
.sky-stars .sp {
  width: 14px; height: 14px; opacity: var(--o,.7);
  background: radial-gradient(circle, #fff 0 28%, transparent 30%);
  animation: skytwinkle 3.4s ease-in-out infinite; animation-delay: var(--d,0s);
}
.sky-stars .sp::before { content:""; position:absolute; inset:0; background:#fff;
  clip-path: polygon(50% 0,54% 46%,100% 50%,54% 54%,50% 100%,46% 54%,0 50%,46% 46%); }
@keyframes skyfloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(16deg); } }
@keyframes skytwinkle { 0%,100% { transform: scale(.5); opacity: .25; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sky-stars i { animation: none !important; } }

/* keep all real content above the star field (header keeps its own sticky z-index) */
main, .site-footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 700; line-height: 1.32; margin: 0;
  word-break: auto-phrase;   /* natural Japanese phrase breaks */
  line-break: strict;
  text-wrap: balance;        /* even out heading lines, avoid orphan tail */
}
p { margin: 0; }
/* natural Japanese line-breaking for running text */
.hero-lead, .section-sub, .kids-sub, .manifesto p, .kp-meta,
.kids-program p, .c-desc, .strength p, .flow-step p, .results .note {
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--maxw), 90vw); margin-inline: auto; }
.center { text-align: center; }

/* ---------------- shared editorial bits ---------------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.mono .idx { color: var(--ink); opacity: .35; margin-right: .6em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block;
}

.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  margin-top: 18px;
  font-weight: 700;
}
.section-title .ser { font-family: var(--font-serif); font-weight: 700; font-style: italic; }
.section-title em { font-style: normal; color: var(--accent); }
.section-sub { color: var(--ink-2); margin-top: 18px; font-size: 16px; max-width: 56ch; }
.section-head.center .section-sub { margin-inline: auto; }

/* hairline rule with a node */
.rule { height: 1px; background: var(--line); border: none; margin: 0; }

/* passport-stamp badge */
.stamp {
  --col: var(--accent);
  width: 116px; height: 116px; border-radius: 50%;
  border: 2px dashed var(--col);
  color: var(--col);
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 700; line-height: 1.15;
  background: rgba(255,255,255,0.55);
  transform: rotate(-9deg);
  position: relative;
}
.stamp::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1.5px solid var(--col); opacity: .4;
}
.stamp .n { font-family: var(--font-mono); font-size: 30px; letter-spacing: -0.02em; }
.stamp small { font-size: 11px; font-family: var(--font-mono); letter-spacing: .1em; }

/* image placeholder */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(30,39,64,0.045) 0 14px, transparent 14px 28px),
    var(--ph-bg, #CFE6F4);
  display: grid; place-items: center; overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em; color: #8c7d5c;
  background: rgba(255,255,255,0.8);
  padding: 6px 13px; border-radius: 2px; border: 1px dashed #c2b48d;
  max-width: 80%; text-align: center; line-height: 1.5;
}
.ph[data-label=""]::after { content: none; }

/* real photo dropped into a .ph slot — fills it, replaces the placeholder pattern */
.ph:has(img) { background: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* thumbnail-less post whose title carries a 【tag】 — show it as a bold badge instead of a muted placeholder label */
.ph.ph-tag::after {
  content: attr(data-label);
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(20px, 3.6vw, 28px);
  letter-spacing: .04em;
  color: var(--accent);
  background: #fff;
  padding: 10px 22px;
  border: none; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.35);
  max-width: 85%;
}

/* dotted flight-path divider: 香椎 ✈ 世界 */
.route {
  display: flex; align-items: center; gap: 16px;
  width: min(var(--maxw), 90vw); margin: 0 auto;
  color: var(--ink-2);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.route .ln {
  flex: 1; height: 0;
  border-top: 2px dotted var(--line);
  position: relative;
}
.route .plane { color: var(--accent); font-size: 16px; transform: translateY(-1px); }
.route .node { white-space: nowrap; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border: none; cursor: pointer;
  border-radius: 2px;
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap; letter-spacing: .02em;
}
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #11182c; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-lg { font-size: 16px; padding: 18px 34px; }

/* ===========================================================
   NEWS TICKER
   =========================================================== */
.news-ticker {
  display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: #fff;
  padding: 10px 20px;
}
.nt-label {
  flex: none;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: .16em; color: var(--accent);
  border: 1px solid rgba(255,255,255,.35); border-radius: 2px;
  padding: 3px 9px;
}
.nt-track-wrap { flex: 1; min-width: 0; overflow: hidden; }
.nt-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: ntscroll 22s linear infinite;
}
.news-ticker:hover .nt-track { animation-play-state: paused; }
.nt-track a { color: #fff; font-size: 13px; opacity: .92; }
.nt-track a:hover { opacity: 1; text-decoration: underline; }
.nt-sep { color: rgba(255,255,255,.4); margin: 0 18px; }
@keyframes ntscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nt-track { animation: none; } }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,239,224,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo .mark {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px dashed var(--ink); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; letter-spacing: -.02em;
  position: relative;
  transform: rotate(-8deg);
  transition: transform .25s ease;
}
.logo:hover .mark { transform: rotate(0deg); }
.logo .mark::after { content:""; position:absolute; inset:5px; border-radius:50%; border:1px solid var(--ink); opacity:.3; }
.logo .nm { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
.logo .nm small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-2); font-weight: 700; margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav a.navlink {
  font-family: var(--font-head); font-weight: 500; font-size: 14px;
  padding: 9px 13px; color: var(--ink-2); position: relative;
}
.nav a.navlink:hover { color: var(--ink); }
.nav a.navlink::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a.navlink:hover::after { transform: scaleX(1); }
.header-cta { margin-left: 8px; padding: 12px 20px; font-size: 14px; }

/* hamburger toggle — hidden on desktop, shown once the inline navlinks disappear */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 42px; height: 42px; margin-left: 10px; flex: none;
  border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile dropdown panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 6px 0 20px;
}
.mobile-nav.open { display: flex; }
.mobile-navlink {
  font-family: var(--font-head); font-weight: 500; font-size: 16px;
  color: var(--ink); padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-cta { margin-top: 16px; justify-content: center; }

@media (max-width: 1080px) {
  .nav .navlink { display: none; }
  .logo .nm small { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .logo { gap: 10px; }
  .logo .nm { font-size: 15px; }
  .nav-toggle { margin-left: 4px; }
}

/* ===========================================================
   HERO  (variants via [data-hero])
   =========================================================== */
.hero { position: relative; padding: clamp(46px, 7vw, 86px) 0 clamp(40px, 6vw, 70px); }
.hero-variant { display: none; }
[data-hero="a"] .hv-a, [data-hero="b"] .hv-b, [data-hero="c"] .hv-c { display: block; }
/* full-bleed hero B: remove section padding so photo reaches the header */
[data-hero="b"] .hero { padding: 0; }

.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-kicker .jp { font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--ink-2); text-wrap: pretty; }

.hero-statement {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 8.5vw, 104px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0;
}
.hero-statement .to { color: var(--accent); }
.hero-statement .en {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(13px, 1.5vw, 17px); letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 22px;
}
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 36ch; margin-top: 28px; line-height: 1.95; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 34px; }
.hero-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); }

/* ----- Variant A: editorial split ----- */
.hv-a .hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hv-a .hero-visual { position: relative; }
.hv-a .hero-photo { aspect-ratio: 4/4.7; --ph-bg: #AED6EF; box-shadow: var(--shadow-soft); }
.hv-a .hero-visual .stamp { position: absolute; top: -26px; left: -34px; background: var(--paper); }
.hv-a .hero-visual .ticket {
  position: absolute; bottom: 26px; right: -26px;
  background: var(--ink); color: var(--paper); padding: 16px 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; line-height: 1.7;
  box-shadow: var(--shadow-soft);
}
.hv-a .hero-visual .ticket b { font-family: var(--font-head); font-size: 22px; color: #fff; display: block; letter-spacing: 0; }

/* ----- Variant B: full-bleed background photo (default) ----- */
.hv-b { position: relative; }
.hv-b .hero-photo-full {
  position: relative; overflow: hidden; --ph-bg: #6FB9E6;
  /* break out of .wrap to full viewport width */
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: min(88vh, 800px); display: grid; align-items: center;
}
.hv-b .hero-photo-full::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(28,22,14,0.84) 0%, rgba(28,22,14,0.55) 42%, rgba(28,22,14,0.10) 78%, rgba(28,22,14,0.04) 100%),
    linear-gradient(0deg, rgba(28,22,14,0.40) 0%, transparent 36%);
}
.hv-b .hero-overlay {
  position: relative; z-index: 2; color: #fff;
  width: min(var(--maxw), 90vw); margin-inline: auto;
  padding: clamp(28px, 4vw, 40px) 0;
}
.hv-b .hero-overlay .hero-statement { color: #fff; font-size: clamp(46px, 9vw, 110px); text-shadow: 0 3px 30px rgba(0,0,0,.35); }
.hv-b .hero-overlay .hero-statement .to { color: #FFC24A; }
.hv-b .hero-overlay .hero-statement .en { color: rgba(255,255,255,.82); }
.hv-b .hero-overlay .hero-lead { color: rgba(255,255,255,.92); max-width: 42ch; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hv-b .hero-overlay .hero-kicker .jp { color: rgba(255,255,255,.85); }
.hv-b .hero-overlay .eyebrow { color: rgba(255,255,255,.85); }
.hv-b .hero-overlay .eyebrow::before { background: #FFC24A; }
.hv-b .badge-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hv-b .badge-strip span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.55); color: #fff; padding: 7px 14px; border-radius: 2px;
  background: rgba(255,255,255,.08);
}

/* ----- Variant C: typographic ----- */
.hv-c { text-align: center; }
.hv-c .hero-kicker { justify-content: center; }
.hv-c .hero-statement { font-size: clamp(44px, 8vw, 96px); }
.hv-c .hero-lead { margin-inline: auto; max-width: 52ch; text-align: center; }
.hv-c .hero-cta-row { justify-content: center; }
.hv-c .strip {
  margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.hv-c .strip .ph { aspect-ratio: 3/2.4; }
.hv-c .strip .ph:nth-child(1){ --ph-bg:#AED6EF; } .hv-c .strip .ph:nth-child(2){ --ph-bg:#FCE3B0; } .hv-c .strip .ph:nth-child(3){ --ph-bg:#CFE8D2; }

@media (max-width: 860px) {
  .hv-a .hero-grid { grid-template-columns: 1fr; }
  .hv-a .hero-visual { max-width: 440px; margin: 6px auto 0; }
  .hv-a .hero-visual .ticket { right: 0; }
  .hv-c .strip { grid-template-columns: 1fr; }
}

/* ===========================================================
   FACTS BAR  (replaces trust bar)
   =========================================================== */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; border-left: 1px solid var(--line); position: relative; }
.fact::before { content: ""; position: absolute; top: 0; left: -1px; width: 38px; height: 3px; background: var(--c, var(--accent)); }
.fact:nth-child(1){ --c: var(--vermilion); } .fact:nth-child(2){ --c: var(--gold); }
.fact:nth-child(3){ --c: var(--teal); } .fact:nth-child(4){ --c: var(--sky); }
.fact:first-child { border-left: none; }
.fact .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.fact .v { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); margin-top: 8px; line-height: 1.2; text-wrap: pretty; }
.fact .v .u { font-size: 14px; color: var(--ink-2); margin-left: 3px; }
@media (max-width: 720px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; }
  .fact:nth-child(odd) { border-left: none; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(1), .fact:nth-child(2) { border-top: none; }
}

/* ===========================================================
   INTRO STATEMENT (差をつけるなら) — ink band
   =========================================================== */
.manifesto { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.manifesto .wrap { position: relative; z-index: 1; }
.manifesto .globe {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
  z-index: 0;
}
.manifesto .globe::after { content:""; position:absolute; inset:60px; border-radius:50%; border:1px dashed rgba(255,255,255,.12); }
.manifesto .eyebrow { color: rgba(255,255,255,.7); }
.manifesto .eyebrow::before { background: #FF8A6B; }
.manifesto h2 {
  font-size: clamp(28px, 4.4vw, 50px); line-height: 1.4; margin: 22px 0 0; font-weight: 700; max-width: 18ch;
}
.manifesto h2 em { font-style: normal; color: #FF8A6B; }
.manifesto h2 .ser { font-family: var(--font-serif); font-style: italic; }
.manifesto p { color: rgba(255,255,255,.8); margin-top: 28px; max-width: 64ch; font-size: 16px; line-height: 2; }

/* ===========================================================
   STRENGTHS (選ばれる理由) — numbered editorial entries
   =========================================================== */
.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.strength {
  padding: 40px 30px 38px; border-left: 1px solid var(--line);
  position: relative;
}
.strength:first-child { border-left: none; }
.strength .idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.strength .stamp { width: 84px; height: 84px; margin: 18px 0 22px; transform: rotate(-7deg); }
.strength .stamp .n { font-size: 22px; }
.strength .stamp small { font-size: 9px; }
.strength h3 { font-size: 22px; }
.strength p { color: var(--ink-2); font-size: 15px; margin-top: 12px; line-height: 1.9; }
@media (max-width: 800px) {
  .strength-list { grid-template-columns: 1fr; }
  .strength { border-left: none; border-top: 1px solid var(--line); }
  .strength:first-child { border-top: none; }
}

/* ===========================================================
   RESULTS (合格実績) — paper, editorial name list
   =========================================================== */
.results { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.results-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.uni-list { display: flex; flex-wrap: wrap; gap: 10px 0; }
.uni {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2vw, 22px);
  padding: 4px 20px; border-right: 1px solid var(--line); line-height: 1.3;
}
.uni:last-child { border-right: none; }
.uni.hot { color: var(--accent); }
.results .note { margin-top: 30px; font-size: 14px; color: var(--ink-2); font-family: var(--font-mono); letter-spacing: .04em; }
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   COURSES — alternating full editorial photo rows
   =========================================================== */
.course {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding: clamp(40px, 5vw, 60px) 0; border-top: 1px solid var(--line);
}
.course:first-of-type { border-top: none; }
.course .c-photo { aspect-ratio: 16/11; --ph-bg: #AED6EF; box-shadow: var(--shadow-soft); }
.course:nth-child(even) .c-photo { order: 2; }
.course:nth-child(even) .c-text { order: 1; }
.course:nth-child(odd) .c-photo { --ph-bg: #AED6EF; }
.course:nth-child(2) .c-photo { --ph-bg: #FCE3B0; }
.course:nth-child(3) .c-photo { --ph-bg: #CFE8D2; }
.course:nth-child(4) .c-photo { --ph-bg: #F6D6CE; }
.course .c-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.course .program { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--accent); font-size: 16px; margin-top: 10px; }
.course h3 { font-size: clamp(24px, 3vw, 32px); margin-top: 4px; }
.course .c-desc { color: var(--ink-2); margin-top: 16px; font-size: 16px; line-height: 1.95; max-width: 46ch; }
/* boarding-pass meta strip */
.c-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.c-meta .cell { padding: 12px 18px; border-right: 1px solid var(--line); }
.c-meta .cell:last-child { border-right: none; }
.c-meta .cell .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.c-meta .cell .v { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-top: 4px; }
.course .c-cta { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
}
.status.wait { background: #F3E4C8; color: #8a6a14; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-new { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 2px; }
@media (max-width: 800px) {
  .course { grid-template-columns: 1fr; gap: 24px; }
  .course:nth-child(even) .c-photo, .course:nth-child(even) .c-text { order: initial; }
}

/* ===========================================================
   SHABETTO (VRM avatar × AI conversation app) — small mention only
   =========================================================== */
.shabetto-strip { padding: 36px 0; }
.shabetto-mini {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 14px; border-radius: 4px; box-shadow: var(--shadow-card);
  transition: box-shadow .16s ease, transform .16s ease;
}
.shabetto-mini:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.shabetto-mini img { width: 130px; height: 68px; object-fit: cover; border-radius: 3px; flex: none; }
.shabetto-mini-text { flex: 1; min-width: 0; }
.shabetto-mini-text .mono { display: block; margin-bottom: 4px; }
.shabetto-mini-text h4 { font-size: 15px; }
.shabetto-mini-text p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.shabetto-mini .arrow { flex: none; color: var(--accent); font-size: 20px; transition: transform .18s ease; }
.shabetto-mini:hover .arrow { transform: translateX(5px); }
@media (max-width: 560px) {
  .shabetto-mini { flex-direction: column; align-items: stretch; }
  .shabetto-mini img { width: 100%; height: auto; aspect-ratio: 1280/670; }
  .shabetto-mini .arrow { align-self: flex-end; }
}

/* ===========================================================
   NEWS (blog system — restyled)
   =========================================================== */
.news { background: var(--paper-2); border-top: 1px solid var(--line); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--paper-3); border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.news-card .thumb { aspect-ratio: 16/10; }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 17px; line-height: 1.55; }
.news-card .excerpt { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.8; flex: 1; }
.news-card .date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); margin-top: 14px; }
.news-empty { grid-column: 1/-1; text-align: center; color: var(--ink-2); padding: 40px; font-family: var(--font-mono); }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   FLOW (体験の流れ)
   =========================================================== */
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.flow-step { padding: 36px 30px 34px; border-left: 1px solid var(--line); position: relative; }
.flow-step:first-child { border-left: none; }
.flow-step .n { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.flow-step h3 { font-size: 19px; margin-top: 16px; }
.flow-step p { color: var(--ink-2); font-size: 14px; margin-top: 10px; line-height: 1.85; }
@media (max-width: 760px) {
  .flow-list { grid-template-columns: 1fr; }
  .flow-step { border-left: none; border-top: 1px solid var(--line); }
  .flow-step:first-child { border-top: none; }
}

/* ===========================================================
   ACCESS
   =========================================================== */
.access { background: var(--paper-2); border-top: 1px solid var(--line); }
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.access-info { }
.access-info h3 { font-size: 22px; margin-bottom: 6px; }
.info-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row .k { flex: none; width: 96px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.info-row .v { font-size: 15px; line-height: 1.85; word-break: keep-all; }
.access-map { min-height: 360px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.access-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .access-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   CTA BAND
   =========================================================== */
.cta-band { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .ring { position: absolute; border: 1px dashed rgba(255,255,255,.3); border-radius: 50%; }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { font-size: clamp(30px, 5vw, 56px); margin-top: 18px; line-height: 1.2; }
.cta-band h2 .ser { font-family: var(--font-serif); font-style: italic; }
.cta-band p { font-size: 17px; margin-top: 18px; color: rgba(255,255,255,.92); max-width: 50ch; }
.cta-band .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.cta-band .fine { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; margin-top: 22px; color: rgba(255,255,255,.85); max-width: none; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.66); font-size: 14px; display: block; padding: 5px 0; line-height: 1.7; }
.footer-grid a:hover { color: #FF8A6B; }
.foot-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.foot-logo .mark {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.65); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: -.02em;
  position: relative;
  transform: rotate(-8deg);
}
.foot-logo .mark::after { content:""; position:absolute; inset:5px; border-radius:50%; border:1px solid rgba(255,255,255,.4); }
.foot-logo .name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 17px; }
.sns { display: flex; gap: 10px; margin-top: 14px; }
.sns a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; padding: 0; }
.sns a:hover { background: #fff; }
.sns a:hover svg { fill: var(--ink); }
.sns svg { width: 18px; height: 18px; fill: #fff; }
.copyright { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.45); word-break: keep-all; }
.copyright a { color: rgba(255,255,255,.45); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ===========================================================
   FLOATING CONTACT CTA (mobile only)
   =========================================================== */
.float-cta { display: none; }
@media (max-width: 760px) {
  .float-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; justify-content: center; font-size: 16px; padding: 15px 20px;
    box-shadow: var(--shadow-soft); padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }
  body { padding-bottom: 80px; }
  .header-cta { display: none; }
}

/* ===========================================================
   MODALS (blog: article / list / login / admin)  — restyled
   =========================================================== */
.kec-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,18,10,0.6);
  backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
}
.kec-overlay.open { display: flex; }
.kec-modal { background: var(--paper); width: min(760px, 100%); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); position: relative; animation: pop .25s ease; border: 1px solid var(--line); }
.kec-modal.narrow { width: min(440px, 100%); }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.kec-modal-head {
  display: flex; align-items: center; gap: 12px; padding: 20px 24px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1;
}
.kec-modal-head h3 { font-size: 18px; flex: 1; }
.kec-close { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 17px; color: var(--ink-2); display: grid; place-items: center; flex: none; }
.kec-close:hover { background: var(--paper); }
.kec-modal-body { padding: 26px 28px 30px; }
.article-hero { aspect-ratio: 16/8; margin-bottom: 22px; --ph-bg: #E4D4B6; }
.article-meta { margin-bottom: 12px; }
.article-meta .date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.article-title { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.45; }
.article-body { font-size: 16px; line-height: 1.95; white-space: pre-wrap; margin-top: 14px; }
.article-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
}
.list-rows { display: flex; flex-direction: column; gap: 10px; }
.list-row { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 14px 16px; cursor: pointer; text-align: left; }
.list-row:hover { border-color: var(--accent); }
.list-row .lr-thumb { width: 70px; height: 50px; flex: none; --ph-bg: #E4D4B6; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-main h4 { font-size: 15px; line-height: 1.5; }
.list-row .lr-date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); letter-spacing: .06em; }
.kec-field { margin-bottom: 16px; }
.kec-field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.kec-input, .kec-textarea, .kec-select { width: 100%; border: 1px solid var(--line); padding: 12px 14px; font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink); }
.kec-input:focus, .kec-textarea:focus, .kec-select:focus { outline: none; border-color: var(--accent); }
.kec-textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.img-drop { border: 1px dashed var(--line); background: #fff; min-height: 150px; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.img-drop:hover { border-color: var(--accent); }
.img-drop img { width: 100%; height: 100%; max-height: 280px; object-fit: cover; display: block; }
.img-drop-empty { color: var(--ink-2); font-size: 14px; padding: 30px; text-align: center; font-family: var(--font-mono); letter-spacing: .04em; }
.kec-hint { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.kec-error { color: var(--vermilion-deep); font-weight: 700; font-size: 13px; margin-top: 10px; min-height: 18px; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.admin-toolbar .spacer { flex: 1; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.admin-item .ai-thumb { width: 56px; height: 42px; flex: none; --ph-bg: #E4D4B6; }
.admin-item .ai-main { flex: 1; min-width: 0; }
.admin-item .ai-main h4 { font-size: 14px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-item .ai-date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.admin-item .ai-actions { display: flex; gap: 6px; flex: none; }
.btn-mini { font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 8px 13px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.btn-mini:hover { background: var(--paper); }
.btn-mini.danger { color: var(--vermilion-deep); border-color: var(--vermilion); }
.btn-mini.danger:hover { background: #fbe9e5; }
.kec-banner { background: #F3E9D4; border: 1px solid var(--line); color: #7a6320; padding: 12px 14px; font-size: 12px; line-height: 1.7; margin-bottom: 16px; }

/* ===========================================================
   KIDS WORLD — the joyful heart (bright, playful, motion)
   =========================================================== */
:root { --font-round: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif; }

.kids {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 0;
  background:
    radial-gradient(120% 80% at 50% -10%, #6FC5EC 0%, #45ACDF 42%, #2E92CB 100%);
  color: #fff;
}
.kids .wrap { position: relative; z-index: 2; }

/* floating stars + sparkles */
.kids-stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.kids-stars .star {
  position: absolute; width: var(--s,20px); height: var(--s,20px);
  background: #FFD45E;
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  opacity: .9; animation: kfloat 6s ease-in-out infinite; animation-delay: var(--d,0s);
}
.kids-stars .sparkle {
  position: absolute; width: 16px; height: 16px;
  background: radial-gradient(circle, #fff 0 30%, transparent 32%);
  animation: ktwinkle 3.2s ease-in-out infinite; animation-delay: var(--d,0s);
}
.kids-stars .sparkle::before, .kids-stars .sparkle::after {
  content: ""; position: absolute; inset: 0; background: #fff;
}
.kids-stars .sparkle::before { clip-path: polygon(50% 0,54% 46%,100% 50%,54% 54%,50% 100%,46% 54%,0 50%,46% 46%); }
@keyframes kfloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(18deg); } }
@keyframes ktwinkle { 0%,100% { transform: scale(.5); opacity: .3; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kids-stars .star, .kids-stars .sparkle { animation: none; } }

.kids-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px,5vw,60px); }
.kids-kicker { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: #FFE08A; }
.kids-title {
  font-family: var(--font-round); font-weight: 900;
  font-size: clamp(32px, 5.6vw, 64px); line-height: 1.28; margin-top: 16px;
  text-shadow: 0 4px 0 rgba(0,0,0,.08);
}
.kids-title .wob { display: inline-block; color: #FFD45E; animation: wobble 2.6s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .kids-title .wob { animation: none; } }
.kids-sub { font-size: 17px; margin-top: 18px; color: rgba(255,255,255,.95); line-height: 1.9; }

/* program highlight card */
.kids-program {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px,4vw,54px); align-items: center;
  background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(26px,3.4vw,44px);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.45);
}
.kp-badge { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.kids-program h3 { font-family: var(--font-round); font-weight: 900; font-size: clamp(24px,3vw,34px); margin-top: 10px; line-height: 1.3; }
.kids-program p { color: var(--ink-2); margin-top: 14px; font-size: 15.5px; line-height: 1.9; }
.kids-program .kp-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink); margin-top: 14px; }
.kids-program .btn { margin-top: 22px; border-radius: 999px; }
.kp-photo { position: relative; }
.kp-photo .ph { aspect-ratio: 4/3.2; border-radius: 22px; --ph-bg: #FCE3B0; }
.kp-sticker {
  position: absolute; font-family: var(--font-round); font-weight: 900;
  background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); border-radius: 999px;
}
.kp-sticker.s1 { bottom: -14px; left: -14px; color: var(--accent); padding: 10px 18px; font-size: 17px; transform: rotate(-7deg); }
.kp-sticker.s2 { top: -16px; right: -10px; color: #FFB627; width: 50px; height: 50px; display: grid; place-items: center; font-size: 26px; transform: rotate(10deg); }

/* fun steps */
.fun-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(34px,4vw,52px); }
.fun-card {
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 22px; padding: 26px 22px; text-align: center; backdrop-filter: blur(4px);
  transition: transform .18s ease, background .18s ease;
}
.fun-card:hover { transform: translateY(-6px) rotate(-1.5deg); background: rgba(255,255,255,.26); }
.fun-ico {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 28px; color: #fff; margin: 0 auto 14px; box-shadow: 0 8px 0 rgba(0,0,0,.12);
}
.fun-ico.c-sky { background: #2E92CB; } .fun-ico.c-coral { background: var(--vermilion); }
.fun-ico.c-gold { background: var(--gold); } .fun-ico.c-leaf { background: var(--leaf); }
.fun-card h4 { font-family: var(--font-round); font-weight: 900; font-size: 20px; color: #fff; }
.fun-card p { font-size: 13px; color: rgba(255,255,255,.92); margin-top: 8px; line-height: 1.7; text-wrap: pretty; }

/* marquee */
.kids-marquee { margin-top: clamp(44px,5vw,64px); background: var(--ink); overflow: hidden; padding: 16px 0; }
.km-track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; animation: kmarquee 26s linear infinite; }
.km-track span { font-family: var(--font-round); font-weight: 900; font-size: 22px; color: #fff; }
.km-track b { color: #FFD45E; font-size: 16px; }
@keyframes kmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .km-track { animation: none; } }

@media (max-width: 800px) {
  .kids-program { grid-template-columns: 1fr; }
  .fun-steps { grid-template-columns: 1fr 1fr; }
}

/* course photo gets a playful pop on hover too */
.course .c-photo { transition: transform .2s ease; }
.course:hover .c-photo { transform: translateY(-4px) rotate(-0.6deg); }

/* ===========================================================
   reveal on scroll
   =========================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===========================================================
   APPLY FORM (お申し込みフォーム)
   =========================================================== */
.apply-card {
  background: var(--paper-2);
  color: var(--ink);
  text-align: left;
  border-radius: 28px;
  box-shadow: 0 30px 60px -28px rgba(20,15,10,.5);
  padding: clamp(30px, 4vw, 50px);
  margin-top: 44px;
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}
.apply-card::before {
  content: "★";
  position: absolute; top: -20px; left: 36px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.4);
  transform: rotate(-10deg);
}
.apply-card h3 {
  font-family: var(--font-round); font-weight: 900; font-size: 25px;
  color: var(--sky-deep); margin-bottom: 8px;
}
.apply-note { color: var(--ink-2); font-size: 14px; margin-bottom: 26px; line-height: 1.8; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.apply-grid .kec-field.full { grid-column: 1 / -1; }
.apply-card .kec-field label {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}
.apply-card .kec-input, .apply-card .kec-textarea, .apply-card .kec-select {
  border: 2px solid var(--line); border-radius: 14px; background: var(--paper);
  padding: 13px 16px; transition: border-color .16s ease, background .16s ease;
}
.apply-card .kec-input:focus, .apply-card .kec-textarea:focus, .apply-card .kec-select:focus {
  border-color: var(--sky); background: #fff;
}
.kec-field .req { color: var(--accent); margin-left: 2px; }
.apply-submit { width: 100%; justify-content: center; margin-top: 8px; border-radius: 999px; }
.apply-msg { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 14px; font-weight: 700; display: none; }
.apply-msg.show { display: block; }
.apply-msg.success { background: rgba(95,190,110,.15); color: #2f7a3d; }
.apply-msg.error { background: rgba(240,87,60,.12); color: var(--vermilion-deep); }
@media (max-width: 640px) { .apply-grid { grid-template-columns: 1fr; } }
