@charset "UTF-8";
/* ==========================================================================
   株式会社藤崎電測 採用サイト — RECRUIT SITE
   コーポレート（深紺×真鍮）とは真逆の、明るく元気なトーン。
   Electric Blue #0B38C3 × Sunny Yellow #FFC42E × Cream #F8F4EA × Ink #131313
   モチーフ：ステッカー / 太枠 / ハードシャドウ / マーカー線 / 回路ドット
   ========================================================================== */

:root {
  --blue: #0b38c3;
  --blue-d: #082a92;
  --blue-pale: #e8eeff;
  --sky: #4fc3f0;
  --yellow: #ffc42e;
  --yellow-d: #f0a800;
  --cream: #f8f4ea;
  --cream-d: #efe9d8;
  --ink: #131313;
  --ink-70: #4a4a46;
  --white: #fff;
  --red: #e8503a;

  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Archivo Black", "Zen Kaku Gothic New", sans-serif;

  --bd: 3px solid var(--ink);
  --hs: 6px 6px 0 var(--ink);          /* ハードシャドウ */
  --hs-blue: 6px 6px 0 var(--blue);
  --r: 18px;
  --wrap: 1120px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--f-jp); font-size: 16px; font-weight: 500;
  line-height: 1.95; letter-spacing: .03em; color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
br.sp { display: none; }
@media (max-width: 640px) { br.sp { display: inline; } }

/* 回路ドット背景（薄く） */
.dotted {
  background-image: radial-gradient(rgba(11, 56, 195, .13) 2px, transparent 2px);
  background-size: 26px 26px;
}

/* マーカー線 */
.mk { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%); padding-inline: 2px; }
.mk-b { background: linear-gradient(transparent 62%, rgba(79, 195, 240, .55) 62%, rgba(79, 195, 240, .55) 94%, transparent 94%); padding-inline: 2px; }

/* ------------------------------------------------------ header */
.rh {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h);
  background: var(--cream);
  border-bottom: var(--bd);
}
.rh__in {
  height: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.rh__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.rh__brand img { width: clamp(150px, 15vw, 190px); }
.rh__brand .tag {
  font-family: var(--f-en); font-size: 11px; letter-spacing: .1em; line-height: 1;
  background: var(--blue); color: #fff; padding: 6px 10px 5px; border-radius: 999px;
  transform: rotate(-4deg);
}
.rh__nav { margin-left: auto; }
.rh__nav ul { display: flex; align-items: center; gap: clamp(2px, 1vw, 10px); }
.rh__nav a {
  display: block; padding: 10px 12px; font-size: 14.5px; font-weight: 700; white-space: nowrap;
  border-radius: 999px; transition: background .25s var(--ease);
}
.rh__nav a:hover { background: var(--yellow); }
.rh__nav .is-current a { background: var(--ink); color: var(--cream); }
.rh__entry {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-en); font-size: 14px; letter-spacing: .06em;
  background: var(--blue); color: #fff; border: var(--bd); border-radius: 999px;
  padding: 12px 22px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.rh__entry:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.rh__corp {
  flex: none; font-size: 11.5px; font-weight: 700; color: var(--ink-70);
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.rh__corp:hover { color: var(--blue); }

/* SPバーガー */
.rburger {
  display: none; width: 52px; height: 52px; flex: none; position: relative; z-index: 121;
  background: var(--yellow); border: var(--bd); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
}
.rburger span { position: absolute; left: 14px; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.rburger span:nth-child(1) { top: 17px; }
.rburger span:nth-child(2) { top: 24px; }
.rburger span:nth-child(3) { top: 31px; }
.is-open .rburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .rburger span:nth-child(2) { opacity: 0; }
.is-open .rburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rdrawer {
  position: fixed; inset: 0; z-index: 110; background: var(--blue);
  padding: calc(var(--head-h) + 20px) 24px 40px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .55s var(--ease); visibility: hidden;
}
.is-open .rdrawer { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.rdrawer a { display: block; padding: 16px 4px; color: #fff; font-size: 19px; font-weight: 900; border-bottom: 2px dashed rgba(255, 255, 255, .35); }
.rdrawer .en { font-family: var(--f-en); font-size: 11px; color: var(--yellow); letter-spacing: .12em; margin-left: 10px; }
.rdrawer .rdrawer__cta {
  margin-top: 28px; display: block; text-align: center; background: var(--yellow); color: var(--ink);
  border: var(--bd); border-radius: 999px; padding: 16px; font-weight: 900; box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
}
.rdrawer .rdrawer__corp { border: 0; margin-top: 14px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ------------------------------------------------------ hero (top) */
.rhero { position: relative; padding: calc(var(--head-h) + clamp(40px, 7vw, 90px)) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.rhero__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 2; }
.rhero__en {
  font-family: var(--f-en); font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .18em; color: var(--blue);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.rhero__en::before { content: ""; width: 40px; height: 4px; background: var(--yellow); border: 2px solid var(--ink); }
.rhero__ttl {
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.42; letter-spacing: .02em;
}
.rhero__ttl .small { font-size: .62em; display: block; margin-bottom: 6px; }
.rhero__lead { margin-top: 24px; font-size: clamp(14.5px, 1.5vw, 16.5px); line-height: 2.1; max-width: 34em; }
.rhero__chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; background: #fff; border: 2.5px solid var(--ink);
  border-radius: 999px; padding: 7px 15px; box-shadow: 3px 3px 0 var(--ink);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.rhero__act { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ボタン */
.rbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 0 32px; font-size: 16px; font-weight: 900; letter-spacing: .04em;
  color: var(--ink);   /* 濃色セクション内でも文字色を継承しない */
  background: var(--yellow); border: var(--bd); border-radius: 999px; box-shadow: var(--hs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.rbtn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.rbtn--blue { background: var(--blue); color: #fff; }
.rbtn--white { background: #fff; }
.rbtn--lg { min-height: 72px; padding: 0 44px; font-size: 18px; }
.rbtn .ar { width: 22px; height: 10px; flex: none; }
.rbtn .ar path { stroke: currentColor; stroke-width: 2.4; fill: none; }

/* 写真ステッカー */
.sticker { position: relative; background: #fff; border: var(--bd); box-shadow: var(--hs); padding: 12px 12px 40px; transform: rotate(2.5deg); }
.sticker img { width: 100%; border: 2px solid var(--ink); }
.sticker .cap { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 13px; font-weight: 700; }
.sticker--2 { transform: rotate(-3deg); }
.sticker .tape {
  position: absolute; top: -14px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(255, 196, 46, .85); border: 2px solid var(--ink);
}
.rhero__pics { position: relative; display: grid; gap: 26px; padding: 10px; }
.rhero__pics .sticker--2 { width: 72%; margin-left: auto; margin-top: -40px; }

/* 背景の飾り（稲妻・丸・ジグザグ） */
.deco { position: absolute; pointer-events: none; z-index: 1; }
.deco--bolt path { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.deco--ring { border: 4px solid var(--blue); border-radius: 50%; opacity: .25; }
.deco--zig path { fill: none; stroke: var(--sky); stroke-width: 5; stroke-linecap: round; opacity: .6; }

/* ------------------------------------------------------ 下層ページヒーロー */
.rphero { position: relative; padding: calc(var(--head-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.rphero .en {
  font-family: var(--f-en); font-size: 13px; letter-spacing: .18em; color: var(--blue);
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.rphero .en::before { content: ""; width: 40px; height: 4px; background: var(--yellow); border: 2px solid var(--ink); }
.rphero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; line-height: 1.45; }
.rphero .lead { margin-top: 18px; font-size: 15.5px; line-height: 2.05; color: var(--ink-70); max-width: 42em; }
.rphero .crumb { margin-top: 22px; font-size: 12px; font-weight: 700; color: var(--ink-70); display: flex; flex-wrap: wrap; gap: 8px; }
.rphero .crumb a { border-bottom: 2px solid var(--yellow); }
.rphero .crumb span::before { content: "▶"; font-size: 9px; margin-right: 8px; color: var(--blue); }

/* ------------------------------------------------------ sections */
.rsec { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.rsec--white { background: #fff; border-top: var(--bd); border-bottom: var(--bd); }
.rsec--blue { background: var(--blue); color: #fff; }
.rsec--ink { background: var(--ink); color: var(--cream); }

.rhead { margin-bottom: clamp(34px, 5vw, 52px); }
.rhead .en {
  display: inline-block; font-family: var(--f-en); font-size: 13px; letter-spacing: .16em;
  background: var(--ink); color: var(--cream); padding: 7px 16px 6px; border-radius: 999px;
  transform: rotate(-2deg); margin-bottom: 16px;
}
.rhead .jp { font-size: clamp(26px, 3.8vw, 40px); font-weight: 900; line-height: 1.5; }
.rhead .lead { margin-top: 16px; font-size: 15.5px; color: var(--ink-70); max-width: 44em; }
.rhead.is-center { text-align: center; }
.rhead.is-center .lead { margin-inline: auto; }
.rsec--blue .rhead .en { background: var(--yellow); color: var(--ink); }
.rsec--blue .rhead .lead { color: rgba(255, 255, 255, .85); }
.rsec--ink .rhead .lead { color: rgba(248, 244, 234, .8); }

/* ------------------------------------------------------ 3行でわかる */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); counter-reset: qk; }
.quick li {
  counter-increment: qk; position: relative; background: #fff; border: var(--bd); border-radius: var(--r);
  padding: 60px 26px 30px; box-shadow: var(--hs);
  color: var(--ink);
}
.quick li::before {
  content: "Q" counter(qk); position: absolute; top: -18px; left: 20px;
  font-family: var(--f-en); font-size: 15px; background: var(--yellow); border: var(--bd); border-radius: 999px;
  padding: 8px 14px 6px; transform: rotate(-4deg);
}
.quick .q { font-size: 17px; font-weight: 900; margin-bottom: 10px; }
.quick .a { font-size: 14.5px; line-height: 2; color: var(--ink-70); }
.quick .a b { color: var(--ink); }

/* ------------------------------------------------------ 数字 */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.num {
  background: var(--cream); border: var(--bd); border-radius: var(--r); padding: 24px 14px 20px;
  text-align: center; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .25s var(--ease);
}
.num:hover { transform: translateY(-4px) rotate(-1deg); }
.num .v { font-family: var(--f-en); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; color: var(--blue); }
.num .v small { font-family: var(--f-jp); font-size: .45em; font-weight: 900; color: var(--ink); }
.num .k { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-70); line-height: 1.6; }
.num--y { background: var(--yellow); }
.num--y .v { color: var(--ink); }

/* ------------------------------------------------------ カード（2枚仕事） */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.job { background: #fff; border: var(--bd); border-radius: var(--r); overflow: hidden; box-shadow: var(--hs); }
.job__img { position: relative; border-bottom: var(--bd); }
.job__img img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.job__no {
  position: absolute; top: 14px; left: 14px; font-family: var(--f-en); font-size: 13px;
  background: var(--blue); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 7px 14px 5px;
}
.job__tag {
  position: absolute; right: 14px; bottom: -16px; background: var(--yellow); border: var(--bd);
  border-radius: 999px; padding: 8px 18px 7px; font-weight: 900; font-size: 14px; transform: rotate(2deg);
}
.job__body { padding: 30px 26px 28px; }
.job__ttl { font-size: clamp(19px, 2.2vw, 23px); font-weight: 900; line-height: 1.5; }
.job__txt { margin-top: 12px; font-size: 14.5px; line-height: 2; color: var(--ink-70); }
.job__pts { margin-top: 16px; display: grid; gap: 8px; }
.job__pts li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 700; }
.job__pts li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 4px; transform: rotate(45deg) scale(.82);
}

/* ------------------------------------------------------ タイムライン（1日の流れ / ステップ） */
.tl { position: relative; display: grid; gap: 0; }
.tl > li { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding-bottom: 26px; }
.tl > li::before { content: ""; position: absolute; left: 45px; top: 8px; bottom: -6px; width: 3px; background: var(--ink); }
.tl > li:last-child::before { display: none; }
.tl .t {
  position: relative; z-index: 2; align-self: start; justify-self: start;
  font-family: var(--f-en); font-size: 14px; background: var(--ink); color: var(--cream);
  border-radius: 999px; padding: 8px 12px 6px; min-width: 92px; text-align: center;
}
.tl .c { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 16px 20px; box-shadow: 4px 4px 0 var(--ink); }
.tl .c h4 { font-size: 15.5px; font-weight: 900; margin-bottom: 4px; }
.tl .c p { font-size: 13.8px; line-height: 1.95; color: var(--ink-70); }
.tl .t--y { background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink); }

/* 成長ステップ（階段） */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: end; }
.step {
  position: relative; background: #fff; border: var(--bd); border-radius: 16px; padding: 46px 20px 22px;
  box-shadow: var(--hs);
  color: var(--ink);   /* 濃色セクション内でも白文字を継承しない */
}
.step:nth-child(1) { margin-top: 72px; }
.step:nth-child(2) { margin-top: 48px; }
.step:nth-child(3) { margin-top: 24px; }
.step__year {
  position: absolute; top: -18px; left: 16px; font-family: var(--f-en); font-size: 13px;
  background: var(--blue); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 8px 14px 6px;
  transform: rotate(-3deg);
}
.step h4 { font-size: 16.5px; font-weight: 900; line-height: 1.55; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.95; color: var(--ink-70); }
.step--goal { background: var(--yellow); }
.step--goal p { color: var(--ink); }

/* ------------------------------------------------------ 街SVG + スポット */
.citybox { border: var(--bd); border-radius: var(--r); background: #dff0fb; overflow: hidden; box-shadow: var(--hs); }
.citybox svg { display: block; width: 100%; height: auto; }
.citybox .pin { cursor: pointer; }
.citybox .pin circle.bg { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.citybox .pin text { font-family: var(--f-en); font-size: 26px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.citybox .pin:hover circle.bg, .citybox .pin.is-active circle.bg { fill: var(--red); }
.citybox .pin:hover text, .citybox .pin.is-active text { fill: #fff; }
.citybox .pin .pulse { fill: none; stroke: var(--red); stroke-width: 3; opacity: 0; }
.citybox .pin.is-active .pulse { animation: pinPulse 1.6s ease-out infinite; }
@keyframes pinPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: reduce) { .citybox .pin.is-active .pulse { animation: none; } }

.spots { margin-top: clamp(26px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 28px); }
.spot { position: relative; background: #fff; border: var(--bd); border-radius: var(--r); padding: 30px 26px 26px; box-shadow: var(--hs); scroll-margin-top: calc(var(--head-h) + 24px); }
.spot.is-hl { outline: 4px solid var(--red); outline-offset: 3px; }
.spot__no {
  position: absolute; top: -18px; left: 18px; font-family: var(--f-en); font-size: 15px;
  background: var(--yellow); border: var(--bd); border-radius: 999px; padding: 8px 14px 6px;
}
.spot h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.spot h3 .emoji { font-size: 24px; }
.spot p { font-size: 14.2px; line-height: 2; color: var(--ink-70); }
.spot .if {
  margin-top: 14px; background: var(--blue-pale); border: 2.5px dashed var(--blue); border-radius: 12px;
  padding: 12px 16px; font-size: 13.5px; line-height: 1.9;
}
.spot .if b { color: var(--blue-d); }

/* ------------------------------------------------------ メッセージ（採用担当） */
.msg { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.msg__fig { justify-self: center; }
.msg__body .balloon {
  position: relative; background: #fff; border: var(--bd); border-radius: var(--r);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--hs);
  color: var(--ink);
}
/* しっぽ：本体と同じ3px枠を持つ正方形を45°回転させて左辺に食い込ませる
   （枠線・背景が本体と一体化するので、位置ズレや隙間が出ない） */
.msg__body .balloon::before {
  content: ""; position: absolute; left: -13px; top: 42px;
  width: 22px; height: 22px; background: #fff;
  border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
}
.msg__body h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; line-height: 1.6; margin-bottom: 14px; }
.msg__body p { font-size: 14.8px; line-height: 2.1; color: var(--ink-70); }
.msg__body p + p { margin-top: 1em; }
.msg__body .who { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--ink); }
.msg__body .who .role { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; margin-right: 10px; }

/* ------------------------------------------------------ 募集要項 */
.yoko { border: var(--bd); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--hs); }
.yoko > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); border-bottom: 2.5px solid var(--ink); }
.yoko > div:last-child { border-bottom: 0; }
.yoko dt { background: var(--blue-pale); padding: 18px 20px; font-size: 14.5px; font-weight: 900; border-right: 2.5px solid var(--ink); display: flex; align-items: center; }
.yoko dd { padding: 18px 22px; font-size: 14.5px; line-height: 2; }
.yoko dd ul li { position: relative; padding-left: 18px; }
.yoko dd ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 3px; background: var(--blue); }
.yoko dd .note { font-size: 12.5px; color: var(--ink-70); }

/* ------------------------------------------------------ FAQ */
.rfaq { display: grid; gap: 14px; }
.rfaq details { background: #fff; border: var(--bd); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.rfaq summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 56px 20px 22px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 900; line-height: 1.75; position: relative;
}
.rfaq summary::-webkit-details-marker { display: none; }
.rfaq summary .q {
  flex: none; font-family: var(--f-en); font-size: 14px; background: var(--yellow); border: 2.5px solid var(--ink);
  border-radius: 999px; padding: 5px 11px 3px; margin-top: 2px;
}
.rfaq summary::before, .rfaq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 3.5px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.rfaq summary::after { transform: rotate(90deg); }
.rfaq details[open] summary::after { transform: rotate(0); }
.rfaq .a { display: flex; gap: 14px; padding: 0 24px 22px 22px; font-size: 14.5px; line-height: 2; color: var(--ink-70); }
.rfaq .a .mark { flex: none; font-family: var(--f-en); font-size: 14px; background: var(--blue); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 5px 11px 3px; height: fit-content; }

/* ------------------------------------------------------ 基礎知識 */
.kihon { display: grid; gap: clamp(26px, 4vw, 40px); }
.kcard { background: #fff; border: var(--bd); border-radius: var(--r); box-shadow: var(--hs); overflow: hidden; }
.kcard__head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: var(--blue-pale); border-bottom: var(--bd); }
.kcard__head .no { font-family: var(--f-en); font-size: 15px; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: 7px 13px 5px; flex: none; transform: rotate(-3deg); }
.kcard__head h3 { font-size: clamp(18px, 2.3vw, 22px); font-weight: 900; line-height: 1.5; }
.kcard__body { padding: clamp(22px, 3vw, 32px); }
.kcard__body p { font-size: 14.8px; line-height: 2.1; color: var(--ink-70); }
.kcard__body p + p { margin-top: 1em; }
.kcard__body .tatoe {
  margin-top: 16px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border: 2.5px dashed var(--ink); border-radius: 12px; padding: 14px 18px;
  font-size: 14px; line-height: 1.95;
}
.kcard__body .tatoe .emoji { font-size: 26px; flex: none; }
.kcard__body .tatoe b { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

/* 用語辞典 */
.dict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dict li { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 16px 20px; box-shadow: 3px 3px 0 var(--ink); }
.dict .w { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.dict .w::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 3px; transform: rotate(45deg); flex: none; }
.dict .d { margin-top: 6px; font-size: 13.5px; line-height: 1.9; color: var(--ink-70); }

/* 電気の旅（図） */
.flowline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: fl; }
.flowline li { counter-increment: fl; position: relative; text-align: center; padding: 20px 12px; }
.flowline li:not(:last-child)::after {
  content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  font-weight: 900; font-size: 22px; color: var(--blue); z-index: 2;
}
.flowline .ic { width: 76px; height: 76px; margin: 0 auto 12px; background: #fff; border: var(--bd); border-radius: 50%; display: grid; place-content: center; box-shadow: 4px 4px 0 var(--ink); font-size: 34px; }
.flowline h4 { font-size: 14.5px; font-weight: 900; }
.flowline p { font-size: 12.5px; color: var(--ink-70); line-height: 1.8; margin-top: 4px; }
.flowline li.is-us .ic { background: var(--yellow); }
.flowline li.is-us h4 { color: var(--blue-d); }
.flowline .us-tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 900; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; transform: rotate(-2deg); }

/* ------------------------------------------------------ 正直コーナー */
.honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.hcard { background: #fff; border: var(--bd); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--hs); }
.hcard .bad { font-size: 16px; font-weight: 900; display: flex; gap: 10px; align-items: flex-start; }
.hcard .bad .emoji { flex: none; }
.hcard .but { margin-top: 22px; background: var(--blue-pale); border-radius: 12px; padding: 20px 16px 14px; font-size: 13.5px; line-height: 1.95; color: var(--ink-70); position: relative; }
.hcard .but b { color: var(--blue-d); }
.hcard .but::before {
  content: "でも！"; position: absolute; top: -14px; left: 12px;
  font-size: 11.5px; font-weight: 900; line-height: 1.6;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px 12px;
  transform: rotate(-3deg);
}

/* ------------------------------------------------------ CTA */
.rcta { text-align: center; position: relative; overflow: hidden; }
.rcta .rhead { margin-bottom: 24px; }
.rcta__lead { font-size: 15.5px; margin-bottom: 34px; }
.rcta__btns { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.rcta__tel { margin-top: 26px; font-size: 14px; font-weight: 700; }
.rcta__tel .n { font-family: var(--f-en); font-size: clamp(26px, 3.6vw, 34px); color: #fff; display: block; letter-spacing: .04em; }
.rsec--blue .rcta__tel { color: rgba(255, 255, 255, .85); }

/* ------------------------------------------------------ 特集カード（イラスト付き・トップ上部） */
.rsec--sun { background: #ffe9b3; border-top: var(--bd); border-bottom: var(--bd); }
.featgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.feat {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: var(--bd); border-radius: var(--r); overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink); color: var(--ink);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feat:hover { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--ink); }
.feat__no {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--f-en); font-size: 13px;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 6px 12px 4px; transform: rotate(-4deg);
}
.feat__illo { background: #dff0fb; border-bottom: var(--bd); }
.feat__illo svg { display: block; width: 100%; height: auto; }
.feat__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feat__body .en { font-family: var(--f-en); font-size: 11px; letter-spacing: .16em; color: var(--blue); }
.feat__body .ttl { font-size: clamp(20px, 2.4vw, 24px); font-weight: 900; line-height: 1.4; }
.feat__body .txt { font-size: 14px; line-height: 1.95; color: var(--ink-70); }
.feat__go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 10px 22px; font-weight: 900; font-size: 14px;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.feat__go .ar { width: 20px; height: 9px; }
.feat__go .ar path { stroke: currentColor; stroke-width: 2.4; fill: none; }
.feat:hover .feat__go { background: var(--blue); color: #fff; }

/* ------------------------------------------------------ 向いてる人（大きめカード） */
.fitgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 28px); }
.fit {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: var(--bd); border-radius: var(--r);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--hs); color: var(--ink);
  transition: transform .25s var(--ease);
}
.fit:hover { transform: translateY(-4px) rotate(-.5deg); }
.fit__emoji {
  flex: none; width: 72px; height: 72px; display: grid; place-content: center;
  font-size: 38px; background: var(--blue-pale); border: var(--bd); border-radius: 50%;
}
.fit:nth-child(2n) .fit__emoji { background: #ffe9b3; }
.fit h3 { font-size: clamp(17.5px, 2vw, 20px); font-weight: 900; line-height: 1.5; margin-bottom: 8px; }
.fit p { font-size: 14.5px; line-height: 2; color: var(--ink-70); }
@media (max-width: 820px) {
  .fitgrid { grid-template-columns: minmax(0, 1fr); }
  .fit { gap: 16px; }
  .fit__emoji { width: 60px; height: 60px; font-size: 32px; }
}

/* ------------------------------------------------------ 適性診断 */
.qz-panel {
  background: #fff; border: var(--bd); border-radius: var(--r);
  box-shadow: var(--hs); padding: clamp(28px, 4vw, 46px); color: var(--ink);
}
.qz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.qz-bar { flex: 1; height: 16px; background: var(--cream-d); border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.qz-count { font-family: var(--f-en); font-size: 14px; white-space: nowrap; }
.qz-qno {
  display: inline-block; font-family: var(--f-en); font-size: 15px;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 6px 14px 4px; transform: rotate(-3deg); margin-bottom: 16px;
}
.qz-q { font-size: clamp(19px, 2.6vw, 25px); font-weight: 900; line-height: 1.75; min-height: 3.4em; }
.qz-btns { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qz-yes, .qz-no {
  min-height: 76px; font-family: var(--f-en); font-size: 22px; letter-spacing: .06em;
  border: var(--bd); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.qz-yes { background: var(--blue); color: #fff; }
.qz-no { background: #fff; }
.qz-yes:hover, .qz-no:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.qz-back { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink-70); border-bottom: 2px solid var(--yellow); }
.qz-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-50); }

/* スタート画面 */
.qz-start { text-align: center; }
.qz-start .lead { font-size: 15.5px; line-height: 2.05; color: var(--ink-70); margin: 8px 0 24px; }
.qz-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

/* 結果画面 */
.qz-result { text-align: center; }
.qz-gauge { position: relative; width: 200px; height: 200px; margin: 6px auto 18px; }
.qz-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring-bg { fill: none; stroke: var(--cream-d); stroke-width: 22; }
.qz-ring-fg { fill: none; stroke: var(--blue); stroke-width: 22; stroke-linecap: round; }
.qz-pct {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-weight: 900; line-height: 1;
}
.qz-pct b { font-family: var(--f-en); font-size: 54px; }
.qz-pct small { font-size: 15px; margin-top: 2px; }
.qz-pct .cap { display: block; font-size: 11.5px; color: var(--ink-70); margin-top: 8px; }
.qz-rank { font-size: clamp(23px, 3.2vw, 30px); font-weight: 900; line-height: 1.5; }
.qz-msg { margin-top: 12px; font-size: 15px; line-height: 2.05; color: var(--ink-70); text-align: left; }
.qz-strengths-wrap { margin-top: 22px; }
.qz-strengths-wrap .cap { font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.qz-strengths { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.qz-strengths li {
  font-size: 13.5px; font-weight: 900; background: var(--yellow);
  border: 2.5px solid var(--ink); border-radius: 999px; padding: 7px 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.qz-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.qz-retry { font-size: 13.5px; font-weight: 700; color: var(--ink-70); border-bottom: 2px solid var(--yellow); }
@media (max-width: 640px) {
  .qz-btns { grid-template-columns: minmax(0, 1fr); }
  .qz-yes, .qz-no { min-height: 64px; }
  .qz-q { min-height: 0; }
}

/* トップの診断バナー */
.quizbanner {
  margin-top: clamp(26px, 4vw, 38px);
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px); align-items: center;
  background: var(--ink); color: var(--cream);
  border: var(--bd); border-radius: var(--r); box-shadow: 8px 8px 0 rgba(19, 19, 19, .25);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  transition: transform .22s var(--ease);
}
.quizbanner:hover { transform: translateY(-4px); }
.quizbanner__illo svg { display: block; width: 100%; height: auto; }
.quizbanner__body .badge {
  display: inline-block; font-size: 11.5px; font-weight: 900; background: var(--red); color: #fff;
  border-radius: 999px; padding: 4px 14px; transform: rotate(-2deg); margin-bottom: 10px;
}
.quizbanner__body h3 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 900; line-height: 1.5; color: #fff; }
.quizbanner__body h3 .y { color: var(--yellow); }
.quizbanner__body p { margin-top: 8px; font-size: 13.8px; line-height: 1.95; color: rgba(248, 244, 234, .8); }
.quizbanner__go {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  border: var(--bd); border-radius: 999px; padding: 16px 28px;
  font-weight: 900; font-size: 15.5px; box-shadow: 5px 5px 0 rgba(255, 255, 255, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.quizbanner:hover .quizbanner__go { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(255, 255, 255, .28); }
.quizbanner__go .ar { width: 20px; height: 9px; }
.quizbanner__go .ar path { stroke: currentColor; stroke-width: 2.4; fill: none; }
@media (max-width: 900px) {
  .quizbanner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .quizbanner__illo { max-width: 220px; margin-inline: auto; }
  .quizbanner__go { justify-self: center; }
}

/* ------------------------------------------------------ footer */
.rfoot { background: var(--ink); color: var(--cream); border-top: var(--bd); }
.rfoot__in { max-width: var(--wrap); margin-inline: auto; padding: 46px 24px 90px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.rfoot img { width: 190px; }
.rfoot address { font-size: 13px; line-height: 2; color: rgba(248, 244, 234, .75); }
.rfoot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; font-weight: 700; }
.rfoot .links a:hover { color: var(--yellow); }
.rfoot .copy { width: 100%; font-family: var(--f-en); font-size: 10.5px; letter-spacing: .1em; color: rgba(248, 244, 234, .5); }

/* SP固定エントリーバー */
.rspbar { display: none; }

/* ------------------------------------------------------ reveal（フェイルセーフ設計） */
.js-anim [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-anim [data-rv].is-in { opacity: 1; transform: none; }
.js-anim [data-rv].is-done { transition: none; }
[data-rv-d="1"] { transition-delay: .08s; }
[data-rv-d="2"] { transition-delay: .16s; }
[data-rv-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .rh__nav, .rh__entry, .rh__corp { display: none; }
  .rburger { display: block; margin-left: auto; }
}
@media (max-width: 900px) {
  .rhero__layout { grid-template-columns: minmax(0, 1fr); }
  .rhero__pics { max-width: 430px; margin-inline: auto; }
  .quick, .honest, .featgrid { grid-template-columns: minmax(0, 1fr); }
  .jobs, .spots, .dict { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(n) { margin-top: 18px; }
  .msg { grid-template-columns: minmax(0, 1fr); }
  .msg__fig { max-width: 320px; }
  .msg__body .balloon::before, .msg__body .balloon::after { display: none; }
  .flowline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .flowline li:nth-child(2)::after { display: none; }
  .yoko > div { grid-template-columns: minmax(0, 1fr); }
  .yoko dt { border-right: 0; border-bottom: 2.5px dashed var(--ink); padding: 12px 18px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .deco--bolt { width: 40px !important; top: 2% !important; right: 4% !important; opacity: .85; }
  .tl > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tl > li::before { display: none; }
  .rspbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; inset: auto 0 0; z-index: 95; border-top: var(--bd);
  }
  .rspbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; font-weight: 900; font-size: 14.5px; }
  .rspbar .t { background: #fff; }
  .rspbar .e { background: var(--yellow); border-left: var(--bd); }
  .rcta__btns .rbtn { width: 100%; }
}
