@charset "UTF-8";
/* =========================================================
   株式会社クリエート（QREATE） コーポレートサイト
   配色：名刺と同じ「ブルー × 白」
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tokens ---------- */
:root {
  /* 名刺のブルー */
  --brand:    #3c82ad;   /* ブランド色（面） */
  --brand-dk: #2e6e96;   /* 濃い面・ボタン（白文字を乗せる） */
  --brand-dp: #245a7c;   /* 白地に置く青文字 */
  --brand-lt: #eaf2f8;   /* ごく薄い青 */

  /* 白＝紙 */
  --white:    #ffffff;
  --paper:    #ffffff;   /* 通常セクション */
  --paper-2:  #eef4f8;   /* 一段トーンを落とした青みの白 */

  /* 文字（黒は使わず、紺に寄せる） */
  --ink:      #12293a;
  --ink-2:    #1d3a4d;
  --gray:     #5d6c78;   /* 白地の補助文字 */
  --gray-2:   #55636e;
  --gray-w:   rgba(255,255,255,.86);  /* 青地の補助文字 */

  --accent:   #245a7c;   /* 旧トークンの互換（＝brand-dp） */
  --line:     rgba(18,41,58,.14);      /* 白地の罫線 */
  --line-d:   rgba(18,41,58,.14);
  --line-w:   rgba(255,255,255,.30);   /* 青地の罫線 */

  --w:  1200px;
  --pad: clamp(20px, 5vw, 48px);

  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-disp: "Anton", "Arial Black", var(--f-sans);

  --ease: cubic-bezier(.22,.7,.3,1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
section[id], [id].quiz, #form { scroll-margin-top: 96px; }
body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { width: min(100% - var(--pad) * 2, var(--w)); margin-inline: auto; }
.narrow { width: min(100% - var(--pad) * 2, 900px); margin-inline: auto; }

/* 青地のかたまり（ヒーロー・帯・バナー・フッターなど） */
.on-blue, .hero, .phero, .cta, .rbanner, .ft, .quiz, .drawer, .ticker {
  color: var(--white);
}

/* ---------- Typography ---------- */
.en { font-family: var(--f-disp); font-weight: 400; letter-spacing: .02em; line-height: .95; }
.mark { color: var(--brand-dp); }

.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-disp); font-size: 13px; letter-spacing: .18em;
  color: var(--brand-dp); margin-bottom: 14px;
}
.sec-label::before { content: ""; width: 28px; height: 2px; background: var(--brand); }

.sec-title {
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 900; line-height: 1.35; letter-spacing: .02em;
  margin-bottom: 18px;
}
.sec-lead { color: var(--gray); max-width: 42em; font-size: 14.5px; }

.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; background: var(--paper); }
.section.light { background: var(--paper-2); }

/* 青地の中の見出し類 */
.cta .sec-label, .rbanner .sec-label, .quiz .sec-label, .ft .sec-label { color: var(--white); }
.cta .sec-label::before, .rbanner .sec-label::before,
.quiz .sec-label::before, .ft .sec-label::before { background: var(--white); }
.cta .sec-lead, .rbanner .sec-lead, .quiz .sec-lead, .ft .sec-lead { color: var(--gray-w); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-weight: 700; font-size: 14px; letter-spacing: .08em;
  border-radius: 2px; transition: .3s var(--ease); position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after { content: "→"; font-size: 14px; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(5px); }

/* 主ボタン（塗り） */
.btn-y { background: var(--brand-dk); color: var(--white); }
.btn-y:hover { background: var(--ink); color: var(--white); }
/* 青地の上に置いたときは白抜きに反転 */
.hero .btn-y, .cta .btn-y, .rbanner .btn-y, .ft .btn-y, .quiz .btn-y, .drawer .btn-y {
  background: var(--white); color: var(--brand-dp);
}
.hero .btn-y:hover, .cta .btn-y:hover, .rbanner .btn-y:hover,
.ft .btn-y:hover, .quiz .btn-y:hover, .drawer .btn-y:hover { background: var(--ink); color: var(--white); }

/* 線ボタン */
.btn-line { border: 1px solid rgba(18,41,58,.35); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .btn-line, .cta .btn-line, .rbanner .btn-line,
.ft .btn-line, .quiz .btn-line, .drawer .btn-line { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero .btn-line:hover, .cta .btn-line:hover, .rbanner .btn-line:hover,
.ft .btn-line:hover, .quiz .btn-line:hover, .drawer .btn-line:hover {
  background: var(--white); color: var(--brand-dp); border-color: var(--white);
}
.btn-lg { padding: 19px 40px; font-size: 15px; }

/* =========================================================
   Header
   ========================================================= */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 0 clamp(16px, 3vw, 32px); height: 76px;
  color: var(--white);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hd.solid { background: rgba(46,110,150,.96); backdrop-filter: blur(14px); border-bottom-color: var(--line-w); }

.logo { display: block; flex-shrink: 0; }
.logo-wm { width: clamp(150px, 16vw, 196px); height: auto; display: block; fill: var(--white); }
.logo-tx small { display: block; font-size: 9.5px; color: rgba(255,255,255,.93); letter-spacing: .16em; line-height: 1.4; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { font-size: 13px; font-weight: 700; letter-spacing: .06em; position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--white); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a.on::after { width: 100%; }
.nav a.on { color: var(--white); }

.hd-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd-tel { text-align: right; line-height: 1.2; }
.hd-tel small { display: block; font-size: 9px; color: rgba(255,255,255,.93); letter-spacing: .1em; }
.hd-tel span { font-family: var(--f-disp); font-size: 19px; color: var(--white); }
.hd-cta .btn { padding: 12px 20px; font-size: 12.5px; }
.hd .btn-y { background: var(--white); color: var(--brand-dp); }
.hd .btn-y:hover { background: var(--ink); color: var(--white); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--white);
  transition: .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110; background: var(--brand-dk);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 90px var(--pad) 40px;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer a.dnav {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line-w); font-size: 18px; font-weight: 700;
}
.drawer a.dnav i { font-family: var(--f-disp); font-style: normal; font-size: 12px; color: rgba(255,255,255,.7); }
.drawer .d-foot { margin-top: 28px; display: grid; gap: 12px; }
.drawer .d-foot .btn { width: 100%; }
.drawer .d-tel { text-align: center; }
.drawer .d-tel span { font-family: var(--f-disp); font-size: 30px; color: var(--white); }
.drawer .d-tel small { display: block; font-size: 11px; color: rgba(255,255,255,.93); }

/* =========================================================
   Hero (TOP)  ＝ 名刺そのもの：青地に白
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 110px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 620px at 78% 16%, rgba(255,255,255,.16), transparent 62%),
    linear-gradient(165deg, #4a90ba 0%, #3c82ad 46%, #2e6e96 100%);
}
/* 斜めのスピードライン（写真がなくても成立する背景） */
.hero::before {
  content: ""; position: absolute; inset: -20% -10%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 2px, transparent 2px 92px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(200deg, rgba(255,255,255,.55), rgba(255,255,255,0) 62%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .14; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: min(100% - var(--pad)*2, var(--w)); margin-inline: auto; }
.hero-sup {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 7px 16px;
  font-size: 11.5px; letter-spacing: .12em; color: var(--gray-w);
}
.hero-sup b { color: var(--white); font-weight: 700; }
.hero h1 {
  font-size: clamp(34px, 7.4vw, 84px); font-weight: 900; line-height: 1.22;
  letter-spacing: .01em; margin-bottom: 26px; color: var(--white);
}
.hero h1 .l2 { display: block; font-size: .84em; }
.hero h1 em { font-style: normal; position: relative; display: inline-block; color: var(--white); }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .18em;
  background: rgba(255,255,255,.3); z-index: -1;
}
.hero-lead { font-size: clamp(14px, 1.7vw, 17px); color: rgba(255,255,255,.92); max-width: 34em; margin-bottom: 38px; }
.hero-lead b { color: var(--white); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-word {
  position: absolute; left: 50%; bottom: -.24em; transform: translateX(-50%);
  font-family: var(--f-disp); font-size: clamp(90px, 22vw, 300px); line-height: .8;
  color: rgba(255,255,255,.09); white-space: nowrap; pointer-events: none; z-index: 1;
}
.hero-scroll {
  position: absolute; left: clamp(16px,3vw,32px); bottom: 76px; z-index: 3;
  display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.8);
}
.hero-scroll::after { content: ""; width: 56px; height: 1px; background: rgba(255,255,255,.6); position: relative; overflow: hidden; }

/* 下層ページの小さめヒーロー */
.phero {
  position: relative; padding: 168px 0 68px; overflow: hidden;
  background:
    radial-gradient(700px 440px at 82% 8%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(165deg, #4a90ba, #2e6e96);
}
.phero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 84px);
}
.phero .wrap { position: relative; z-index: 2; }
.phero .en { font-size: clamp(44px, 9vw, 104px); color: var(--white); }
.phero h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 900; margin-top: 6px; color: var(--white); }
.phero h1::before { content: "— "; color: rgba(255,255,255,.75); }
.crumb { font-size: 11.5px; color: rgba(255,255,255,.8); margin-bottom: 26px; letter-spacing: .08em; }
.crumb a:hover { color: var(--white); text-decoration: underline; }

/* =========================================================
   Marquee ticker
   ========================================================= */
.ticker { background: var(--brand-dp); color: var(--white); padding: 13px 0; overflow: hidden; }
.ticker-in { display: flex; width: max-content; animation: slide 32s linear infinite; }
.ticker span {
  font-family: var(--f-disp); font-size: 19px; letter-spacing: .06em; padding-right: 34px;
  display: inline-flex; align-items: center; gap: 34px;
}
.ticker span::after { content: "●"; font-size: 7px; color: rgba(255,255,255,.55); }
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--white); padding: 34px 24px; }
.section.light .stat { background: var(--white); }
.stat dt { font-size: 11.5px; color: var(--gray); letter-spacing: .1em; margin-bottom: 8px; }
.stat dd { font-family: var(--f-disp); font-size: clamp(30px, 4vw, 46px); color: var(--brand-dp); line-height: 1; }
.stat dd small { font-family: var(--f-sans); font-size: 13px; font-weight: 700; color: var(--ink); margin-left: 6px; letter-spacing: .04em; }

/* =========================================================
   Cards / Service
   ========================================================= */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  padding: 34px 28px 30px; transition: .35s var(--ease); overflow: hidden;
  box-shadow: 0 1px 2px rgba(18,41,58,.04);
}
.section.light .card { background: var(--white); }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(18,41,58,.10); }
.card .num {
  font-family: var(--f-disp); font-size: 13px; color: var(--brand-dp); letter-spacing: .16em; display: block; margin-bottom: 14px;
}
.card h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; line-height: 1.5; }
.card p { font-size: 13.5px; color: var(--gray-2); }
.card .ico {
  width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center;
  background: var(--brand-lt); color: var(--brand-dp);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}
.card .ico svg { width: 26px; height: 26px; }

/* 青地バナーの中のカード */
.rbanner .card, .quiz .card {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); box-shadow: none; color: var(--white);
}
.rbanner .card .num, .quiz .card .num { color: var(--white); }
.rbanner .card p, .quiz .card p { color: var(--gray-w); }
.rbanner .card::before, .quiz .card::before { background: var(--white); }
.rbanner .card:hover, .quiz .card:hover { box-shadow: none; background: rgba(255,255,255,.18); }

/* 写真スロット（差し替え用） */
.photo {
  position: relative; aspect-ratio: 4/3; background: var(--brand-lt);
  background-image: repeating-linear-gradient(115deg, rgba(36,90,124,.07) 0 2px, transparent 2px 26px);
  background-size: cover; background-position: center;
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line);
}
.photo::after {
  content: attr(data-label); font-family: var(--f-disp); font-size: 13px; letter-spacing: .2em;
  color: rgba(36,90,124,.42);
}
.photo.wide { aspect-ratio: 16/9; }
.photo.tall { aspect-ratio: 3/4; }
.photo.has-img::after { content: none; }

/* 地図の埋め込み */
.map {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--line); background: var(--brand-lt);
}
/* 地図が読み込めなかったときに白紙の箱にならないようにする */
.map::before {
  content: attr(data-fallback); position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; text-align: center; padding: 0 24px;
  font-size: 13px; line-height: 1.9; color: var(--brand-dp);
}
.map.wide { aspect-ratio: 16/9; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   Reason（横並び大ブロック）
   ========================================================= */
.reason { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.reason + .reason { margin-top: clamp(48px, 7vw, 88px); }
.reason.rev > *:first-child { order: 2; }
.reason .no { font-family: var(--f-disp); font-size: clamp(58px, 8vw, 96px); color: rgba(60,130,173,.48); line-height: .8; margin-bottom: 6px; }
.reason h3 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
.reason p { color: var(--gray-2); font-size: 14.5px; }

/* =========================================================
   Flow / Timeline
   ========================================================= */
.flow { counter-reset: f; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow li { background: var(--white); color: var(--ink); padding: 28px 26px; display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: start; }
.flow li .st { font-family: var(--f-disp); font-size: 12px; color: var(--gray-2); letter-spacing: .12em; }
.flow li .st b { display: block; font-size: 32px; color: var(--brand-dp); line-height: 1; }
.flow li h4 { font-size: 16.5px; font-weight: 900; margin-bottom: 6px; }
.flow li p { font-size: 13.5px; color: var(--gray-2); }

.tl { border-left: 2px solid var(--line); padding-left: 28px; display: grid; gap: 26px; }
.tl li { position: relative; }
.tl li::before {
  content: ""; position: absolute; left: -35px; top: 8px; width: 12px; height: 12px;
  background: var(--brand); border-radius: 50%;
}
.tl .yr { font-family: var(--f-disp); font-size: 17px; color: var(--brand-dp); letter-spacing: .08em; }
.tl p { font-size: 14.5px; }

/* =========================================================
   Table
   ========================================================= */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 18px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; vertical-align: top; }
.tbl th { width: 190px; font-weight: 900; white-space: nowrap; color: var(--brand-dp); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 40px; position: relative;
  font-weight: 900; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 21px; font-family: var(--f-disp);
  color: var(--brand); font-size: 18px;
}
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 30px; width: 13px; height: 2px;
  background: currentColor; transition: .3s var(--ease);
}
.faq summary .plus {
  position: absolute; right: 14px; top: 24px; width: 2px; height: 13px;
  background: currentColor; transition: .3s var(--ease);
}
.faq details[open] summary .plus { transform: rotate(90deg); opacity: 0; }
.faq .a { padding: 0 44px 24px 40px; font-size: 14px; color: var(--gray-2); position: relative; }
.faq .a::before {
  content: "A"; position: absolute; left: 0; top: -2px; font-family: var(--f-disp); color: var(--gray); font-size: 18px;
}

/* =========================================================
   Recruit banner / CTA ＝ 青地に白
   ========================================================= */
.rbanner {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(600px 400px at 88% 18%, rgba(255,255,255,.18), transparent 62%),
    linear-gradient(120deg, #3c82ad, #2e6e96);
  padding: clamp(40px, 6vw, 68px) clamp(28px, 5vw, 60px);
}
.rbanner::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 70px);
}
.rbanner > * { position: relative; z-index: 2; }
.rbanner > .en { font-size: clamp(38px, 7vw, 72px); color: var(--white); margin-bottom: 10px; }
.rbanner h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 900; margin-bottom: 14px; }
.rbanner p { color: var(--gray-w); max-width: 40em; margin-bottom: 30px; font-size: 14.5px; }
.rbanner h3 { color: var(--white); }

.cta {
  background: var(--brand-dk); color: var(--white); text-align: center;
  padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 74px);
}
.cta > * { position: relative; z-index: 2; }
.cta .en { font-size: clamp(36px, 6.5vw, 68px); margin-bottom: 8px; }
.cta h2 { font-size: clamp(19px, 2.6vw, 26px); font-weight: 900; margin-bottom: 12px; }
.cta p { font-size: 14.5px; margin-bottom: 30px; color: rgba(255,255,255,.85); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta .btn-dark { background: var(--white); color: var(--brand-dp); }
.cta .btn-dark:hover { background: var(--ink); color: var(--white); }
.cta .btn-out { border: 2px solid rgba(255,255,255,.75); color: var(--white); }
.cta .btn-out:hover { background: var(--white); color: var(--brand-dp); border-color: var(--white); }
.cta-tel { display: block; margin-top: 26px; }
.cta-tel small { display: block; font-size: 11.5px; letter-spacing: .14em; color: rgba(255,255,255,.95); }
.cta-tel span { font-family: var(--f-disp); font-size: clamp(34px, 5.6vw, 54px); }

/* =========================================================
   Form
   ========================================================= */
.form { display: grid; gap: 22px; }
.field label { display: block; font-size: 13px; font-weight: 900; margin-bottom: 8px; letter-spacing: .06em; }
.field label .req { color: #c62828; font-size: 11px; margin-left: 6px; }
.field label .opt { color: var(--gray); font-size: 11px; margin-left: 6px; font-weight: 400; }
.field input:not([type="radio"]):not([type="checkbox"]),
.field select, .field textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  background: var(--paper-2); border: 1px solid #cfdbe4; border-radius: 2px; color: var(--ink);
}
/* ラジオ／チェックボックスは上のwidth:100%を継がせない（スマホで文字が縦積みになる） */
.field input[type="radio"], .field input[type="checkbox"] {
  width: 17px; height: 17px; flex: 0 0 auto; margin: 0; padding: 0;
  accent-color: var(--brand-dk);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-dp); outline-offset: 1px; }
.field textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; margin: 0;
  border: 1px solid var(--line); cursor: pointer; font-weight: 700; font-size: 13.5px;
  transition: .2s var(--ease); white-space: nowrap; flex: 0 0 auto;
}
@media (max-width: 480px) { .radio-row label { white-space: normal; width: 100%; padding: 13px 15px; font-size: 13px; } }
.radio-row label:has(input:checked) { background: var(--brand-dk); color: var(--white); border-color: var(--brand-dk); }
/* 選択中は青地になるので、ラジオの色は白に反転させる */
.radio-row label:has(input:checked) input[type="radio"] { accent-color: var(--white); }
.form-note { font-size: 12.5px; color: var(--gray-2); }
.form-submit { text-align: center; margin-top: 6px; }
.form-submit .btn { min-width: 260px; }

/* =========================================================
   Footer ＝ 青地に白
   ========================================================= */
.ft { background: var(--brand-dp); color: var(--white); padding: clamp(50px, 7vw, 78px) 0 26px; }
.ft-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-w); }
.ft-co .logo { margin-bottom: 18px; }
.ft-co p { font-size: 13px; color: var(--gray-w); }
.ft h4 { font-family: var(--f-disp); font-size: 13px; letter-spacing: .16em; color: var(--white); margin-bottom: 16px; }
.ft ul li { margin-bottom: 11px; font-size: 13.5px; color: var(--gray-w); }
.ft ul li a:hover { color: var(--white); text-decoration: underline; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 11.5px; color: rgba(255,255,255,.9); }
.ft-bot a:hover { color: var(--white); }

/* 固定フッターCTA（スマホ） */
.sp-cta { display: none; }

/* 改行制御 */
.sp-br { display: none; }
@media (max-width: 640px) { .sp-br { display: block; } .hero-scroll { display: none; } }


/* =========================================================
   確認事項ボックス（先方確認用・公開前に削除可）
   ========================================================= */
.ask {
  margin-top: 22px; padding: 16px 18px 15px; font-size: 13px; line-height: 1.95;
  border: 1px solid rgba(36,90,124,.34); background: var(--brand-lt);
  color: var(--gray-2); border-radius: 2px; max-width: 46em;
}
.ask > b:first-child {
  display: block; font-size: 11.5px; letter-spacing: .1em; font-weight: 900;
  color: var(--brand-dp); margin-bottom: 6px;
}
.ask > b:first-child::before { content: "？ "; }
/* 青地の上に置かれた場合 */
.rbanner .ask, .cta .ask, .quiz .ask {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: var(--gray-w);
}
.rbanner .ask > b:first-child, .cta .ask > b:first-child, .quiz .ask > b:first-child { color: var(--white); }

/* =========================================================
   Reveal animation
   ========================================================= */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker-in { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav, .hd-cta .hd-tel { display: none; }
  .burger { display: block; }
  .hd-cta .btn { display: none; }
}
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .reason { grid-template-columns: 1fr; }
  .reason.rev > *:first-child { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .tbl th, .tbl td { display: block; width: auto; padding: 8px 0; }
  .tbl th { border-bottom: none; padding-top: 16px; }
  .hero { min-height: 92svh; padding-top: 100px; }
  .hero-sup { margin-bottom: 42px; }
  .flip-hint { font-size: 10.5px; padding: 4px 9px; }
  .hero-btns .btn { width: 100%; }
  .flow li { grid-template-columns: 1fr; gap: 6px; }
  .phero { padding: 130px 0 48px; }
  body { padding-bottom: 66px; }
  .sp-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 90; border-top: 1px solid rgba(255,255,255,.25);
  }
  .sp-cta a { padding: 15px 8px; text-align: center; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
  .sp-cta .t { background: var(--brand-dk); color: var(--white); }
  .sp-cta .m { background: var(--brand-dp); color: var(--white); border-left: 1px solid rgba(255,255,255,.25); }
}

/* =========================================================
   遊び心の仕掛け 01｜ヒーローの「断る？」入れ替え
   ========================================================= */
.flip {
  font: inherit; color: inherit; padding: 0; border: none; background: none;
  cursor: pointer; position: relative; display: inline-block;
  border-bottom: 3px dashed rgba(255,255,255,.6); line-height: 1.05;
  transition: color .25s var(--ease);
}
.flip:hover { color: rgba(255,255,255,.8); }
.flip .fw { display: inline-block; transition: transform .28s var(--ease), opacity .28s var(--ease); }
.flip.out .fw { transform: translateY(-.28em); opacity: 0; }
.flip.in  .fw { animation: fwIn .34s var(--ease); }
@keyframes fwIn { from { transform: translateY(.3em); opacity: 0; } to { transform: none; opacity: 1; } }

.flip-hint {
  position: absolute; left: 50%; top: -2.1em; transform: translateX(-50%);
  font-family: var(--f-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  white-space: nowrap; background: var(--white); color: var(--brand-dp);
  padding: 5px 11px; border-radius: 2px; pointer-events: none;
  animation: hintFloat 1.9s ease-in-out infinite;
}
.flip-hint::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--white); border-bottom: none;
}
.flip-hint[hidden] { display: none; }
@keyframes hintFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }

/* =========================================================
   遊び心の仕掛け 02｜走るQ（スクロール連動）
   ========================================================= */
.runner {
  position: fixed; left: 0; right: 0; bottom: 0; height: 46px;
  z-index: 80; pointer-events: none; overflow: hidden;
}
.runner-road {
  position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(60,130,173,.65) 0 14px, transparent 14px 28px);
  /* 青いフッターの上でも見えるように白の縁を回す */
  filter: drop-shadow(0 0 1px rgba(255,255,255,.9));
}
.runner-q {
  position: absolute; bottom: 10px; left: 0; width: 52px; height: 28px;
  transition: transform .12s linear; will-change: transform;
}
.runner-q svg {
  width: 100%; height: 100%; display: block;
  /* 白ページでも青いフッターの上でも読めるように白の縁を回す */
  filter: drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 3px rgba(255,255,255,.75));
}
.runner-done {
  position: absolute; right: 52px; bottom: 13px;
  font-family: var(--f-sans); font-size: 11px; font-weight: 900; letter-spacing: .1em;
  background: var(--brand-dk); color: var(--white); padding: 4px 10px; border-radius: 2px;
  opacity: 0; transform: translateY(6px); transition: .35s var(--ease);
}
.runner.done .runner-done { opacity: 1; transform: none; }
.runner.done .runner-q { animation: qBounce .5s var(--ease); }
@keyframes qBounce { 0%,100% { margin-bottom: 0; } 40% { margin-bottom: 9px; } }

@media (max-width: 640px) { .runner { bottom: 66px; height: 34px; } .runner-q { width: 41px; height: 22px; bottom: 7px; } .runner-road { bottom: 5px; } .runner-done { bottom: 9px; right: 42px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .runner { display: none; } }

/* =========================================================
   遊び心の仕掛け 03｜ドライバー適性 3問診断
   ========================================================= */
.quiz {
  background:
    radial-gradient(600px 400px at 88% 12%, rgba(255,255,255,.16), transparent 62%),
    linear-gradient(120deg, #3c82ad, #2e6e96);
  color: var(--white);
  padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 46px); position: relative; overflow: hidden;
}
.quiz::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 78px);
}
.quiz > * { position: relative; z-index: 2; }
.quiz-step { font-family: var(--f-disp); font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.quiz-q { font-size: clamp(19px, 3vw, 27px); font-weight: 900; line-height: 1.5; margin-bottom: 26px; min-height: 2.6em; }
.quiz-a { display: grid; gap: 11px; max-width: 30em; }
.quiz-a button {
  text-align: left; padding: 15px 20px; font-size: 15px; font-weight: 700; color: var(--white);
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.10); transition: .22s var(--ease);
}
.quiz-a button:hover { background: var(--white); color: var(--brand-dp); border-color: var(--white); transform: translateX(4px); }
.quiz-bar { margin-top: 28px; height: 3px; background: rgba(255,255,255,.25); max-width: 30em; }
.quiz-bar i { display: block; height: 100%; background: var(--white); width: 0; transition: width .4s var(--ease); }

.quiz-result { display: none; }
.quiz.done .quiz-body { display: none; }
.quiz.done .quiz-result { display: block; animation: fwIn .5s var(--ease); }
.quiz-result .en { font-size: clamp(30px, 5.4vw, 52px); color: var(--white); margin-bottom: 10px; }
.quiz-result h3 { font-size: clamp(21px, 3.2vw, 30px); font-weight: 900; margin-bottom: 16px; line-height: 1.45; }
.quiz-result p { color: var(--gray-w); font-size: 14.5px; max-width: 40em; margin-bottom: 26px; }
.quiz-retry {
  display: inline-block; margin-left: 14px; font-size: 12.5px; color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 1px;
}
.quiz-retry:hover { color: var(--white); border-color: var(--white); }
