:root {
  --c-white: #FFFFFF;
  --c-main: #457AE6;
  --c-main-dark: #2B5BC4;
  --c-accent: #FFE209;
  --c-text: #16181D;
  --c-text-sub: #5B616E;
  --c-gray-text: #8A9298;
  --c-gray-bg: #F7F8F9;
  --c-gray-border: #AEB8C0;
  --c-row-bg: #F2F6FD;
  --c-row-border: #DCE4F2;
  --c-card-border: #C9D8F5;
  --c-input-border: #CFD6E2;
  --c-icon-bg: #EAF1FD;
  --c-tag-border: #A9C4F2;
  --header-h: 56px;
  --header-total: calc(var(--header-h) + env(safe-area-inset-top));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--c-white);
  color: var(--c-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.7;
  overflow-x: hidden; /* kawaidenki(参考サイト)もbodyでoverflow-x:clipを明示。
    html側のscrollbar-width:noneはバーの見た目を消すだけで、横スクロール自体は防がないため
    別途こちらでも塞ぐ */
}

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

.frame {
  width: 100%;
}

main.sections {
  padding-top: var(--header-total);
}

/* ==== スワイプ送り + 内部スクロール例外 ==== */
.section {
  position: relative;
  min-height: calc(100svh - var(--header-total));
  scroll-snap-align: start;
  scroll-margin-top: var(--header-total);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px 20px;
  text-align: center;
}

.section--scrollable {
  height: calc(100svh - var(--header-total));
  min-height: calc(100svh - var(--header-total));
  display: block;
  padding: 0;
  overflow-x: hidden; /* overflow-y:auto だけだと仕様上 overflow-x も auto 扱いになり、
    横スクロールバーが出ることがある(oasis/sakota/kawaiとも主要スクロールコンテナで明示的にhiddenにしている) */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.section__inner {
  padding: 22px 20px 40px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==== PC表示 = スマホ幅を中央固定 ==== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  background: #edf0f5;
  overflow: hidden;
}

.page-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page-bg.is-ready .page-bg__img {
  opacity: 1;
}

@media (min-width: 900px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    scroll-snap-type: none;
  }

  body {
    display: grid;
    place-items: center;
  }

  .page-bg {
    display: block;
  }

  .frame {
    width: 430px;
    height: 100dvh;
    margin-inline: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    background: var(--c-white);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.08);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .frame::-webkit-scrollbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-bg__img {
    transition: none;
  }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .frame {
    scroll-behavior: auto;
  }
}

/* ==== 共通パーツ ==== */

/* セクションラベル(角丸なし・青塗り) */
.lbl {
  display: inline-flex;
  align-items: center;
  background: var(--c-main-dark);
  color: var(--c-white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 8px 15px 10px;
}

/* セクションラベル(ピル型) */
.lbl--pill {
  border-radius: 999px;
  padding: 8px 22px 10px;
}

/* 見出しの黄色マーカー */
.mark {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 226, 9, 0.62) 60%);
}

/* 画像プレースホルダー(未差込用。差込済みは使わない) */
.ph {
  background: var(--c-gray-bg);
  border: 1px dashed var(--c-gray-border);
  color: var(--c-gray-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
}

.ph__icon {
  font-size: 32px;
}

.ph__label {
  font-weight: 700;
  font-size: 18px;
}

.ph__note {
  font-size: 12px;
}

/* 背景装飾: ブラシストローク */
.brush {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* セクション本体は装飾の上に来る */
.section > .inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
}

/* 見出し・本文 共通 */
.ttl {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--c-text);
}

.ttl .blue {
  color: var(--c-main);
}

.body-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.025em;
  color: var(--c-text);
}

.body-copy .blue {
  color: var(--c-main);
  font-weight: 700;
}

.divider {
  height: 1px;
  width: 100%;
  background: rgba(69, 122, 230, 0.45);
  border: none;
  margin: 0;
}

.accent-bar {
  height: 2px;
  width: 80px;
  background: var(--c-main);
}

.accent-bar--yellow {
  background: var(--c-accent);
}

/* 01: FVヒーロー画像（見出し・サブコピーは画像に焼き込み済み） */
.section--hero {
  padding: 0;
}

.section__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==== 02: 掴み(Figmaデザイン反映) ==== */
#s02 {
  background:
    radial-gradient(ellipse 44px 85px at 78px 150px, rgba(170, 170, 170, 0.13), transparent 70%),
    radial-gradient(ellipse 41px 80px at 312px 524px, rgba(170, 170, 170, 0.13), transparent 70%),
    var(--c-white);
  padding-top: 44px;
  height: calc(100svh - var(--header-total));
}

#s02 .inner {
  gap: 0;
  min-height: 0;
}

#s02 .lead {
  margin: 0;
  display: flex;
  flex-direction: column;
}

#s02 .lead span {
  font-size: clamp(13px, calc(5.93px + 1.060 * 1svh), 16px);
  font-weight: 500;
  line-height: clamp(30px, calc(15.86px + 2.120 * 1svh), 36px);
  letter-spacing: 0.488px;
  color: var(--c-text);
  display: block;
}

#s02 .lead span.blue {
  color: var(--c-main);
}

#s02 .emp {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
}

#s02 .emp1 {
  font-size: clamp(36px, calc(19.74px + 2.438 * 1svh), 42.9px);
  font-weight: 700;
  line-height: clamp(45px, calc(24.66px + 3.049 * 1svh), 53.63px);
  letter-spacing: -0.858px;
  color: var(--c-text);
}

#s02 .emp2 {
  font-size: clamp(30px, calc(15.86px + 2.120 * 1svh), 36px);
  font-weight: 700;
  line-height: clamp(45px, calc(24.66px + 3.049 * 1svh), 53.63px);
  letter-spacing: -0.858px;
  color: var(--c-text);
}

#s02 .emp2 .mark {
  font-size: clamp(36px, calc(19.74px + 2.438 * 1svh), 42.9px);
  color: var(--c-main);
  background: linear-gradient(177deg,
    transparent 0%, transparent 18%,
    rgba(255, 226, 9, 0.38) 18%, rgba(255, 226, 9, 0.38) 32%,
    rgba(255, 226, 9, 0.78) 32%, rgba(255, 226, 9, 0.78) 60%,
    rgba(255, 226, 9, 0.4) 60%, rgba(255, 226, 9, 0.4) 78%,
    transparent 78%);
}

#s02 .s01-photo {
  width: 100%;
  max-width: 350px;
  height: clamp(95px, calc(-234.96px + 49.470 * 1svh), 235px);
  margin-top: clamp(14px, calc(-38.76px + 7.910 * 1svh), 28px);
  flex-shrink: 0;
  overflow: hidden;
}

#s02 .s01-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#s02 .cat {
  margin-top: clamp(14px, calc(-38.76px + 7.910 * 1svh), 28px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

#s02 .cat-line {
  background: var(--c-main);
  color: var(--c-white);
  font-weight: 700;
  font-size: clamp(27px, calc(14.27px + 1.908 * 1svh), 32.4px);
  letter-spacing: 0.648px;
  line-height: clamp(32px, calc(17.32px + 2.201 * 1svh), 38.23px);
  padding: 8.5px 14px 10.73px;
  display: inline-block;
  width: auto;
  align-self: flex-start;
  box-sizing: border-box;
}

#s02 .cat-line--pair {
  display: block;
  width: 100%;
  align-self: stretch;
}

#s02 .cat-line--pair i {
  font-style: normal;
  color: var(--c-text);
  font-size: clamp(23px, calc(11.22px + 1.767 * 1svh), 28px);
  letter-spacing: 0.84px;
  margin: 0 2px;
}

#s02 .end1 {
  margin: clamp(12px, calc(-29.45px + 6.215 * 1svh), 23px) 0 0;
  width: 100%;
  text-align: right;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.84px;
  color: var(--c-text);
}

/* ==== 03: 求める人物像 ==== */
#s03 {
  padding-top: 30px;
  /* 画像を縮めて1画面に収めるため、高さを固定してshrinkを効かせる */
  height: calc(100svh - var(--header-total));
  background:
    radial-gradient(ellipse 44px 102px at 78px 180px, rgba(170, 170, 170, 0.13), transparent 70%),
    radial-gradient(ellipse 41px 96px at 312px 630px, rgba(170, 170, 170, 0.13), transparent 70%),
    var(--c-white);
}

#s03 .inner {
  min-height: 0;
}

#s03 .lbl {
  margin-bottom: 4px;
  font-size: 17px;
  letter-spacing: 1.36px;
  padding: 10px 15px 12px;
}

#s03 h2 {
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -0.8px;
  margin: 0;
}

#s03 .body-copy {
  max-width: 350px;
  font-size: 18px;
  line-height: 35.1px;
}

/* セクション左右パディング(20px)を打ち消して、画面幅いっぱいに出す */
#s03 .s02-visual {
  width: calc(100% + 40px);
  margin-left: -20px;
  aspect-ratio: 700 / 908;
  min-height: 0;
  overflow: hidden;
}

#s03 .s02-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画面が低いと縦がトリミングされるため、人物の顔と手元が残る位置に寄せる */
  object-position: center 40%;
  display: block;
}

/* ==== 04: メッセージ ==== */
#s04 {
  padding-top: 30px;
  height: calc(100svh - var(--header-total));
}

/* Figmaの絶対座標(top:124px)をそのまま使うと、本文がレスポンシブに縮んだ際に
   1本目の区切り線(hr.divider)を追い越してしまう(実測でSE時142px・標準時35px超過)。
   見出し(h2)を基準にした相対位置+画面高さに応じて縮む高さにして、区切り線の
   手前で収まるようにする */
#s04 h2 {
  position: relative;
}

/* 下端の位置(top+heightの合計)は前バージョンと同じ値を維持したまま、
   heightだけ拡大したいので、その分だけtopを引き上げて帳尻を合わせている */
#s04 .s04-photo {
  position: absolute;
  left: 235px;
  top: clamp(-12px, calc(131.05px + -16.949 * 1svh), 18px);
  width: auto;
  height: clamp(215px, calc(-444.46px + 98.870 * 1svh), 390px);
  aspect-ratio: 135 / 342;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  z-index: 0;
}

#s04 .inner > * {
  position: relative;
  z-index: 1;
}

#s04 .inner {
  gap: clamp(8px, calc(-74.90px + 12.429 * 1svh), 30px);
  min-height: 0;
}

#s04 .lbl {
  font-size: 16px;
  letter-spacing: 1.28px;
  padding: 9px 15px 13px;
}

#s04 h2 {
  font-size: clamp(26px, calc(-26.76px + 7.910 * 1svh), 40px);
  line-height: clamp(33px, calc(-35.58px + 10.282 * 1svh), 51.2px);
  letter-spacing: -0.8px;
  margin: 0;
}

#s04 .body-copy {
  max-width: 350px;
  font-size: clamp(14px, calc(2.69px + 1.695 * 1svh), 17px);
  line-height: clamp(24px, calc(-13.68px + 5.650 * 1svh), 34px);
  letter-spacing: 0.425px;
}

#s04 .divider {
  background: rgba(69, 122, 230, 0.65);
  flex-shrink: 0;
}

#s04 .body-copy + hr + .body-copy {
  margin-top: 0;
}

/* ==== 05: 募集職種の紹介 ==== */
#s05 {
  padding-top: 16px;
  height: calc(100svh - var(--header-total));
}

#s05 .inner {
  min-height: 0;
}

#s05 .lbl {
  font-size: 16px;
  letter-spacing: 1.28px;
  padding: 10px 16px 13px;
}

#s05 h2 {
  font-size: 32px;
  line-height: 54.91px;
  letter-spacing: -0.858px;
  margin: 0;
}

/* 「見る目」と「見る力」の1行はFigma原寸(36/32px)だと画面幅335〜390pxで
   横に収まりきらない(実測382.6px)。画面幅に応じて縮小し、収まる幅では
   Figma原寸のまま表示されるようにする */
#s05 h2 .blue,
#s05 h2 .lg {
  font-size: clamp(24px, calc((100vw - 40px) * 0.0941), 36px);
}

#s05 h2 .mid {
  font-size: clamp(21px, calc((100vw - 40px) * 0.08363), 32px);
}

#s05 .jobs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, calc(-22.15px + 4.520 * 1svh), 16px);
}

#s05 .job {
  border: 1px solid rgba(69, 122, 230, 0.45);
  padding: clamp(12px, calc(-55.83px + 10.169 * 1svh), 30px) 16px;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, calc(-13.44px + 3.215 * 1svh), 13.69px);
}

#s05 .job .num-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--c-main);
  font-weight: 700;
}

#s05 .job .num-name .jic {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-self: center;
}

#s05 .job .num-name .num {
  font-size: 27px;
}

#s05 .job .num-name .jn {
  font-size: 23px;
  letter-spacing: 0.46px;
}

#s05 .job p {
  margin: 0;
  font-size: 17px;
  line-height: 33.15px;
  letter-spacing: 0.425px;
  color: var(--c-text);
}

#s05 .close {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: clamp(20px, calc(-4.49px + 3.672 * 1svh), 26.5px);
  line-height: clamp(30px, calc(-26.53px + 8.475 * 1svh), 45px);
  letter-spacing: -0.53px;
  margin-top: clamp(10px, calc(-72.90px + 12.429 * 1svh), 32px);
}

/* ==== 06/07: 施工管理・電気工事士 ==== */
.s56 {
  padding-top: 22px;
  height: calc(100svh - var(--header-total));
}

.s56 .inner {
  gap: 12px;
  min-height: 0;
}

.s56 .ph,
.s56 img.photo {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 350 / 224;
  min-height: 0;
  flex-shrink: 4;
  object-fit: cover;
}

.s56 h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
}

.s56 h2 .main-line {
  display: block;
  color: var(--c-main);
  font-size: 20px;
  letter-spacing: -0.818px;
  margin-bottom: 4px;
}

/* 職種名を見出しの主役にする */
.s56 h2 .sub-line {
  display: block;
  color: var(--c-text);
  font-size: 36px;
  letter-spacing: -0.818px;
}

.s56 .accent-bar {
  width: 90px;
}

.s56 .body-copy {
  padding-top: 16px;
  font-size: 17px;
  line-height: 34px;
  letter-spacing: 0.425px;
}

.s56 .sub-block {
  position: relative;
  border-top: 1px solid rgba(69, 122, 230, 0.38);
  padding-top: 18px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s56 .sub-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 110px;
  height: 3px;
  background: var(--c-main);
}

#s07 .sub-block::before {
  background: var(--c-accent);
}

.s56 .sub-block h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.66px;
  line-height: 36px;
  color: var(--c-main);
}

.s56 .sub-block .body-copy {
  padding-top: 0;
}

/* ==== 08: 魅力・特徴① ==== */
#s08 {
  padding-top: 16px;
  /* 写真を縮めて1画面に収めるため、高さを固定してshrinkを効かせる */
  height: calc(100svh - var(--header-total));
}

#s08 .inner {
  min-height: 0;
  gap: 21px;
}

/* Figmaではラベルとタイトルの間だけ9pxで、他の要素間(21px)より詰まっている。
   .innerの一律gapに対して、ラベル側だけ負のmarginで差分(21-9=12px)を引く */
#s08 .lbl--pill {
  align-self: center;
  margin-bottom: -12px;
}

#s08 h2 {
  margin: 0;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -0.8px;
}

#s08 .ph,
#s08 img.photo {
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 174;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px;
}

#s08 .body-copy {
  font-size: 17px;
  line-height: 32.3px;
  letter-spacing: 0.425px;
}

#s08 .body-copy + .body-copy {
  border-top: 1px solid rgba(69, 122, 230, 0.3);
  padding-top: 30px;
  margin-top: 0;
}

/* ==== 09: 魅力・特徴② ==== */
#s09 {
  padding-top: 10px;
  padding-bottom: 10px;
  height: calc(100svh - var(--header-total));
  /* 上下中央寄せだと上に余白が寄るため、内容を上端に付けて下側に隙間を作る */
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

#s09::before {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 45px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 122, 230, 1) 0%, rgba(69, 122, 230, 1) 17.7%, transparent 17.7%);
  opacity: 0.35;
  pointer-events: none;
}

#s09::after {
  content: "";
  position: absolute;
  right: -91px;
  bottom: -117px;
  width: 330px;
  height: 180px;
  border-radius: 127.5px;
  border-top: 14px solid rgba(69, 122, 230, 0.16);
  transform: rotate(-8deg);
  pointer-events: none;
}

/* 画面高さ667px(iPhone SE)〜844px(標準的なiPhone)の間で線形に
   Figma原寸へ近づく。844px以上ではFigma原寸そのまま(圧縮なし)。
   段階的なメディアクエリ切替だと、その境界の前後で「圧縮も効かずFigma原寸も
   収まらない」帯ができてしまうため、calc()の一次関数で滑らかに繋ぐ */
#s09 .inner {
  align-items: center;
  text-align: center;
  gap: clamp(4px, calc(-33.68px + 5.650 * 1svh), 14px);
  position: relative;
  z-index: 1;
  min-height: 0;
  justify-content: flex-start;
  /* 余った高さを .inner に持たせ、.gr8 の auto マージンで配分できるようにする */
  flex-grow: 1;
}

#s09 .lbl--pill {
  padding:
    clamp(5px, calc(-6.31px + 1.695 * 1svh), 8px)
    22px
    clamp(5.5px, calc(-15.23px + 3.107 * 1svh), 11px);
}

#s09 h2 {
  margin: -6px 0 0;
  font-size: clamp(24px, calc(8.93px + 2.260 * 1svh), 28px);
  line-height: 1.15;
  letter-spacing: -0.78px;
}

#s09 h2 .lead-line {
  font-size: clamp(30px, calc(7.39px + 3.390 * 1svh), 36px);
}

#s09 h2 .blue {
  color: var(--c-main);
}

#s09 .intro8 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

#s09 .strengths {
  width: 100%;
  max-width: 220px;
  margin: 4px auto 0;
}

#s09 .str {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: clamp(43px, calc(-96.43px + 20.904 * 1svh), 80px);
  padding: clamp(2.5px, calc(-27.65px + 4.520 * 1svh), 10.5px) 2px;
  border-top: 1px dashed rgba(69, 122, 230, 0.34);
  text-align: left;
}

#s09 .str:last-child {
  border-bottom: 1px dashed rgba(69, 122, 230, 0.34);
}

#s09 .str .ic {
  background: var(--c-icon-bg);
  border-radius: 29px;
  width: clamp(38px, calc(-37.37px + 11.299 * 1svh), 58px);
  height: clamp(38px, calc(-37.37px + 11.299 * 1svh), 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#s09 .str .ic img {
  width: 65%;
  height: 65%;
}

#s09 .str p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24.8px;
}

#s09 .str p .blue {
  color: var(--c-main);
}

#s09 .ex8 {
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}

#s09 .ex8 .blue {
  color: var(--c-main);
  font-weight: 700;
  font-size: 18px;
}

#s09 .gr8 {
  width: 100%;
  background: linear-gradient(180deg, #ffffff, #f6f9fe);
  border: 1px solid var(--c-tag-border);
  border-radius: 22px;
  padding:
    clamp(7px, calc(-53.29px + 9.040 * 1svh), 23px)
    13px
    clamp(6px, calc(-31.68px + 5.650 * 1svh), 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, calc(-16.84px + 2.825 * 1svh), 7px);
  /* 余った高さを上に寄せて、カードを下端側へ下げる */
  margin-top: auto;
}

/* 画面下に固定されているカウンターに被らせないための予約スペース。
   高さが足りない画面では縮むので、セクションのはみ出しにはならない */
#s09 .inner::after {
  content: "";
  flex: 0 1 calc(3svh + 22px);
  min-height: 0;
}

#s09 .gr8 p {
  margin: 0;
}

#s09 .gr8 .top {
  font-weight: 700;
  font-size: clamp(17px, calc(5.69px + 1.695 * 1svh), 20px);
  letter-spacing: 1.84px;
}

#s09 .sk8 {
  display: flex;
  align-items: center;
  gap: 6px;
}

#s09 .skb {
  background: var(--c-row-bg);
  border: 1px solid var(--c-tag-border);
  border-radius: 5px;
  padding: clamp(4.5px, calc(-4.92px + 1.412 * 1svh), 7px) 10px;
  color: var(--c-main);
  font-weight: 700;
  font-size: clamp(19px, calc(3.93px + 2.260 * 1svh), 23px);
  letter-spacing: 1.84px;
}

#s09 .grr {
  background: var(--c-main-dark);
  color: var(--c-white);
  font-weight: 700;
  font-size: 19px;
  width: auto;
  max-width: 330px;
  text-align: center;
  padding: 6px 10px;
}

#s09 .arw {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 13px solid var(--c-main);
}

#s09 .fin8 {
  font-weight: 700;
  font-size: clamp(19px, calc(3.93px + 2.260 * 1svh), 23px);
  line-height: 1.3;
}

/* ==== 10: 未経験者への後押し(完成画像) ==== */
#s10 {
  padding: 0;
}

#s10 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ==== 11: 会社概要 ==== */
#s11 {
  background:
    radial-gradient(circle at 88% 8%, rgba(122, 160, 236, 0.35), rgba(122, 160, 236, 0) 30%),
    linear-gradient(150deg, var(--c-main) 0%, var(--c-main-dark) 48%, #16357a 100%);
  color: var(--c-white);
  padding-top: 30px;
  height: calc(100svh - var(--header-total));
}

#s11 .inner {
  min-height: 0;
}

#s11 .deco {
  position: absolute;
  pointer-events: none;
}

#s11 .deco--geo {
  left: -80px;
  top: -70px;
  width: 390px;
  height: 700px;
  transform: rotate(-4deg);
  opacity: 0.16;
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 42%, #fff 42.2%, #fff 42.5%, rgba(255, 255, 255, 0) 42.7%),
    linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 58%, #fff 58.2%, #fff 58.5%, rgba(255, 255, 255, 0) 58.7%);
}

#s11 .deco--glow {
  right: -30px;
  top: 10px;
  width: 180px;
  height: 100px;
  transform: rotate(-12deg);
  border-radius: 70px;
  opacity: 0.25;
  background: radial-gradient(ellipse at center, #fff 20%, rgba(255, 255, 255, 0) 32%);
}

#s11 .inner {
  align-items: center;
  text-align: center;
  gap: 0;
}

#s11 h2 {
  margin: 0;
  font-size: clamp(32px, calc(1.85px + 4.520 * 1svh), 40px);
  line-height: clamp(37px, calc(3.08px + 5.085 * 1svh), 46px);
  letter-spacing: 3.2px;
}

#s11 .divider10 {
  width: 100%;
  max-width: 287px;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  margin: clamp(10px, calc(-42.76px + 7.910 * 1svh), 24px) 0 0;
}

#s11 .tri10 {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 14px solid rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

#s11 .info10 {
  width: 100%;
  text-align: left;
  margin-top: clamp(10px, calc(-80.44px + 13.559 * 1svh), 34px);
}

#s11 .row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(6px, calc(-46.76px + 7.910 * 1svh), 20px) 20px clamp(6px, calc(-46.76px + 7.910 * 1svh), 20px) 53px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

#s11 .row:nth-child(2) {
  padding-left: 52px;
}

#s11 .row:nth-child(4),
#s11 .row:nth-child(5) {
  padding-left: 50px;
}

#s11 .row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

#s11 .lb10 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.12px;
  opacity: 0.85;
}

#s11 .vl10 {
  margin: 0;
  font-size: 18px;
  line-height: 29.7px;
  font-weight: 700;
}

#s11 .vl10.ph10 {
  font-size: 20px;
  letter-spacing: 0.8px;
}

#s11 .svc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#s11 .svc li {
  position: relative;
  padding-left: 14px;
  font-size: 16px;
  line-height: 24.8px;
  font-weight: 500;
}

#s11 .svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ==== 12: 募集要項 ==== */
#s12 .section__inner {
  padding: 41px 16px 98px;
  text-align: left;
}

#s12 h2.t11 {
  color: var(--c-main-dark);
  font-size: 39px;
  line-height: 46.8px;
  text-align: center;
  letter-spacing: 4.68px;
  margin: 0;
}

#s12 .t11r {
  height: 1px;
  background: var(--c-main-dark);
  width: 100%;
  margin: 20px 0 28px;
}

#s12 .jobs11 {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

#s12 .jobcard {
  border: 1px solid var(--c-card-border);
}

#s12 .jbt {
  background: var(--c-main-dark);
  color: var(--c-white);
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 30.8px;
  letter-spacing: 0.88px;
  padding: 15px 12px;
}

#s12 .itrow {
  display: flex;
  border-top: 1px solid var(--c-row-border);
}

#s12 .jobcard > .itrow:first-of-type {
  border-top: none;
}

#s12 .itl {
  background: var(--c-row-bg);
  border-right: 1px solid var(--c-row-border);
  color: var(--c-main-dark);
  font-weight: 700;
  font-size: 14px;
  line-height: 20.3px;
  padding: 15px 8px;
  width: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#s12 .itv {
  padding: 14px 12px 15px;
  font-size: 15px;
  line-height: 26.25px;
  flex: 1;
}

#s12 .itv strong {
  color: var(--c-main-dark);
  font-size: 19px;
  line-height: 33.25px;
}

#s12 .itv ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#s12 .itv ul li {
  position: relative;
  padding-left: 12px;
  line-height: 26.25px;
}

#s12 .itv ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-main);
}

#s12 .itv .note {
  color: var(--c-text-sub);
  font-size: 12px;
  line-height: 19.2px;
  margin-top: 2px;
}

/* ==== 13: エントリー ==== */
#s13 .section__inner {
  text-align: left;
}

#s13 h2.t12 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid var(--c-main);
  padding-bottom: 21px;
  width: 100%;
  margin: 0;
}

#s13 .contact-en {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 39.6px;
  color: var(--c-main);
  letter-spacing: -2.64px;
}

#s13 .contact-ja {
  font-size: 15px;
  line-height: 22.4px;
  font-weight: 700;
  color: var(--c-main-dark);
}

#s13 .intro12 {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 34.2px;
  letter-spacing: 0.36px;
  font-weight: 500;
}

#s13 .fld {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#s13 .fld:first-of-type {
  margin-top: 26px;
}

#s13 .fld label {
  color: var(--c-main-dark);
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  display: block;
}

#s13 .fld label .req {
  font-size: 16px;
  margin-left: 6px;
  font-weight: 700;
}

#s13 input,
#s13 textarea,
#s13 select {
  width: 100%;
  border: 2px solid var(--c-input-border);
  border-radius: 5px;
  padding: 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--c-white);
  color: var(--c-text);
}

#s13 input,
#s13 select {
  height: 60px;
}

#s13 textarea {
  height: 180px;
  resize: vertical;
}

#s13 select {
  appearance: none;
  color: var(--c-main-dark);
  font-weight: 700;
  font-size: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23457AE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

#s13 .submit {
  margin-top: 20px;
  width: 100%;
  min-height: 74px;
  background: var(--c-main-dark);
  color: var(--c-white);
  border: none;
  border-radius: 8px;
  padding: 13px 17px 13px 24px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

#s13 .submit .arwc {
  border: 2px solid var(--c-accent);
  border-radius: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 29px;
  font-weight: 700;
  flex-shrink: 0;
}

#s13 .footer-logo {
  width: 120px;
  margin: 24px auto 0;
}

/* ==== 常設UI: ヘッダーナビ・現在地カウンター ==== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-total);
  padding-top: env(safe-area-inset-top);
  z-index: 600;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  border-bottom: 1px solid #eee;
  padding-inline: 4vw;
}

.site-header__logo {
  height: 26px;
  width: auto;
}

.site-header__nav {
  display: contents;
}

.site-header__link {
  display: grid;
  place-items: center;
  height: 34px;
  padding-inline: 0.9em;
  border: 1px solid var(--c-main);
  border-radius: 4px;
  color: var(--c-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__link--entry {
  background: var(--c-main);
  color: #fff;
}

.counter {
  position: fixed;
  right: 5vw;
  bottom: calc(3svh + env(safe-area-inset-bottom));
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--c-main);
  font-weight: 700;
  font-size: 0.8rem;
}

.counter__total {
  opacity: 0.4;
}

.desktop-side-nav {
  display: none;
}

@media (min-width: 900px) {
  .site-header {
    width: 430px;
    left: 50%;
    transform: translateX(-50%);
  }

  .counter {
    right: calc(50% - 215px + 22px);
  }

  .desktop-side-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    top: 50%;
    left: calc(50% + 215px + 110px);
    transform: translateY(-50%);
    z-index: 50;
  }

  .desktop-side-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 180px;
    padding: 14px 18px;
    border: 1px solid var(--c-main);
    background: var(--c-white);
    color: var(--c-main);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .desktop-side-nav__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .desktop-side-nav__label small {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.6;
  }

  .desktop-side-nav__link.is-active {
    background: var(--c-main);
    color: var(--c-white);
  }
}

/* ==== 出現アニメーション ==== */
/* ブロック全体のフェード。種別ごとの演出を持たない要素はこれだけで出る */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 直下の子要素をDOM出現順に少しずつ遅らせる。--i は initReveal() が付与する
   (docs/動き再現仕様.md §5「staggerはJSがカスタムプロパティに書き込む」) */
[data-reveal] > * {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* --- 見出し: 左からのクリップワイプ (docs/動き再現仕様.md §6) ---
   .reveal-lines は行ごと、それ以外の見出しはブロックごとに1回ワイプする。
   子コンビネータにしているのは、行の中の .blue / .mark 等の色分けspanまで
   個別にワイプされて二重に見えるのを防ぐため */
.reveal-lines > span,
[data-reveal] h2:not(.reveal-lines),
[data-reveal] h3 {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-18px);
  transition-property: opacity, clip-path, transform;
  transition-duration: 0.72s, 0.9s, 0.9s;
  transition-timing-function:
    ease,
    cubic-bezier(0.22, 1, 0.36, 1),
    cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-lines > span {
  display: block;
  transition-delay: calc(var(--i, 0) * 0.08s);
}

[data-reveal].is-visible .reveal-lines > span,
[data-reveal].is-visible h2:not(.reveal-lines),
[data-reveal].is-visible h3 {
  opacity: 1;
  clip-path: inset(0);
  transform: translateX(0);
}

/* 2行目以降を80ms刻みで送る */
.reveal-lines > span:nth-child(2) {
  transition-delay: calc(var(--i, 0) * 0.08s + 80ms);
}

.reveal-lines > span:nth-child(3) {
  transition-delay: calc(var(--i, 0) * 0.08s + 160ms);
}

/* #s04の見出しは絶対配置の写真(.s04-photo)を内包しており、
   クリップすると写真まで欠けるためワイプの対象から外す */
#s04 .ttl {
  opacity: 1;
  clip-path: none;
  transform: none;
  transition: none;
}

/* --- 本文コピー: ぼかし + 上昇 (docs/動き再現仕様.md §5) --- */
[data-reveal] .body-copy {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(26px);
  transition-property: opacity, filter, transform;
  transition-duration: 0.72s, 0.88s, 0.88s;
  transition-timing-function:
    ease,
    cubic-bezier(0.22, 1, 0.36, 1),
    cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible .body-copy {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* --- 写真: 拡大からの定着 (docs/動き再現仕様.md §5) ---
   対象は本文中の写真のみ。背景装飾(.brush)やアイコン(.jic / .ic img)は含めない */
[data-reveal] img.photo,
[data-reveal] .photo-wrap img,
[data-reveal] .s02-visual img {
  opacity: 0.28;
  transform: scale(1.075);
  transition-property: opacity, transform;
  transition-duration: 1.05s, 1.35s;
  transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible img.photo,
[data-reveal].is-visible .photo-wrap img,
[data-reveal].is-visible .s02-visual img {
  opacity: 1;
  transform: scale(1);
}

/* --- カード/テキストブロック: ふわっとした上昇フェード (docs/動き再現仕様.md §5、oasis .ots-reveal 実測値) ---
   s05の求人ボックス(.job)とs09の要約カード(.gr8)。見出し(clip-pathワイプ)や
   本文(blur+rise)より控えめな、単純な opacity+translateY(14px) の演出 */
[data-reveal] .job,
[data-reveal] .gr8 {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible .job,
[data-reveal].is-visible .gr8 {
  opacity: 1;
  transform: none;
}

/* 求人ボックスは2枚を少しずらして順に浮かせる */
[data-reveal].is-visible .job:nth-child(2) {
  transition-delay: 0.15s;
}

/* --- タグ/バッジ: 横からのスライドイン (docs/動き再現仕様.md §5、tamaki stripKick 実測値) ---
   s02の「あなたの」「見る力」と「見る目」バッジ、締めの「です。」。
   tamakiの.point-strips span(stripKickキーフレーム)と同じ、左から水平に
   すべり込む動き。skew演出は本プロジェクトの平坦なデザインに合わせて外している */
[data-reveal] .cat-line,
[data-reveal] .end1 {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.56s ease,
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible .cat-line,
[data-reveal].is-visible .end1 {
  opacity: 1;
  transform: none;
}

/* 「あなたの」→「見る力」と「見る目」→「です。」の順に少しずつ遅らせる */
[data-reveal].is-visible .cat-line--pair {
  transition-delay: 0.12s;
}

[data-reveal].is-visible .end1 {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal] > *,
  .reveal-lines > span,
  [data-reveal] h2:not(.reveal-lines),
  [data-reveal] h3,
  [data-reveal] .body-copy,
  [data-reveal] img.photo,
  [data-reveal] .photo-wrap img,
  [data-reveal] .s02-visual img,
  [data-reveal] .job,
  [data-reveal] .gr8,
  [data-reveal] .cat-line,
  [data-reveal] .end1 {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}

/* ==== SWIPE / SCROLL 誘導 ==== */
.swipe-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(1.6svh + env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  color: #9aa3b2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.swipe-hint__arrow {
  animation: swipe-hint-bounce 1.6s ease-in-out infinite;
}

@keyframes swipe-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.swipe-hint--on-image {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .swipe-hint__arrow {
    animation: none;
  }
}

/* ==== イントロ動画 ==== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  transition: opacity 0.7s ease;
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro.is-done {
  opacity: 0;
  pointer-events: none;
}

body.is-locked {
  overflow: hidden;
}

@media (min-width: 900px) {
  .intro {
    left: 50%;
    right: auto;
    width: 430px;
    transform: translateX(-50%);
  }
}
