@charset "UTF-8";

/* =========================================================
   株式会社ビオラ 採用LP　トップページ固有のスタイル
   ========================================================= */

/* ===== 00. FV ===== */
/* 2026-11-11 修正4：参考画像の構成に変更。
   横に走るオレンジの太い帯＋白抜きの英字、まん中に人物、黒い札の見出し（L字）、右に縦の札で大きな数字。
   位置と大きさは FV の幅を基準（cqw）にして、スマホでもPCの480pxの列でも同じ構図にする */
.fv {
  container-type: inline-size;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.fv__inner {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: inherit;
  padding: 44px var(--gutter) 28px;
}

/* 舞台：画面の幅いっぱい。背の高い画面では下に伸びる（人物の脚が見える） */
.fv__stage {
  position: relative;
  flex: 1 0 142cqw;
  max-height: 170cqw;
  margin: 0 calc(-1 * var(--gutter));
  overflow: hidden;
}

/* 横に走るオレンジの太い帯 */
.fv__band {
  position: absolute;
  top: 30cqw;
  right: 0;
  left: 0;
  z-index: 1;
  height: 58cqw;
  overflow: hidden;
  background-color: var(--color-orange);
}

/* 帯の上の白抜きの英字（両端は帯からはみ出して切れる） */
.fv__en {
  position: absolute;
  top: 50%;
  left: 50%;
  color: transparent;
  font-family: var(--font-en);
  font-size: 46cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  -webkit-text-stroke: 3px var(--color-white);
}

/* 人物：帯の手前。下端は白く溶かす */
.fv__person {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000000 calc(100% - 26cqw),
    transparent calc(100% - 4cqw)
  );
  mask-image: linear-gradient(
    to bottom,
    #000000 calc(100% - 26cqw),
    transparent calc(100% - 4cqw)
  );
}

/* 写真は腰上（816x1200）。下端は舞台の下より下に出し、舞台の下端で白く溶かす */
.fv__photo {
  position: absolute;
  top: 11.7cqw;
  left: -11.7cqw;
  width: auto;
  max-width: none;
  height: 160cqw;
}

/* 見出し：1行目は上に黒い文字、2行目は黒い札（縦に下りて、下で横に折れる） */
.fv__title {
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-weight: 800;
  line-height: 1;
}

/* 行頭のかぎ括弧のアキを詰めて、左端をそろえて見せる */
.fv__title-line {
  position: absolute;
  top: 0;
  left: calc(5cqw - 0.45em);
  z-index: 5;
  font-size: 8.2cqw;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fv__catch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 48cqw;
  left: 4cqw;
  z-index: 5;
  color: var(--color-white);
  font-size: 12.5cqw;
}

.fv__catch-v,
.fv__catch-h {
  display: block;
  background-color: var(--color-heading);
}

.fv__catch-v {
  padding: 1.6cqw 1.8cqw 1.4cqw;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 横の札は、かぎ括弧のアキを詰める */
.fv__catch-h {
  padding: 1.8cqw 3cqw 2.2cqw 1.8cqw;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.fv__catch-em {
  color: var(--color-orange);
}

/* 右の縦の札：「1日」の札＋大きな数字。下に小さく「程度。」 */
.fv__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 13cqw;
  right: 4cqw;
  z-index: 5;
  font-family: var(--font-mincho);
  font-weight: 800;
  line-height: 1;
}

.fv__count-label {
  position: absolute;
  top: 0;
  right: 100%;
  padding: 1.2cqw 1.8cqw;
  background-color: var(--color-heading);
  color: var(--color-white);
  font-size: 7cqw;
  white-space: nowrap;
}

/* 数字は2けたを横に並べたまま、上から1行ずつ積む（縦中横は数字が札からはみ出すため使わない） */
.fv__count-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4cqw 1.8cqw;
  background-color: var(--color-heading);
  color: var(--color-white);
  font-size: 14cqw;
  letter-spacing: -0.04em;
}

.fv__count-num > span {
  display: block;
  line-height: 1.04;
}

/* 「〜」は縦向きに回す */
.fv__count-wave {
  transform: rotate(90deg);
}

.fv__count-tail {
  display: block;
  margin-top: 1.6cqw;
  color: var(--color-heading);
  font-size: 6cqw;
  text-shadow:
    0 0 4px var(--color-white),
    0 0 8px var(--color-white);
  writing-mode: vertical-rl;
}

.fv__lead {
  position: relative;
  z-index: 3;
  margin-top: 4px;
  color: var(--color-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.fv__cta {
  position: relative;
  z-index: 3;
  margin-top: 16px;
}

/* FVの出方：帯が左から走る → 英字が流れて止まる → 人物が飛び出す → 1行目が滑り込む →
   黒い札が縦に下りて横に伸びる → 右の札が上から下りる */
.is-js .fv__band.js-fade,
.is-js .fv__catch-v.js-fade,
.is-js .fv__catch-h.js-fade {
  opacity: 1;
  transform: none;
}

.is-js .fv__band.js-fade {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s var(--ease-slash) var(--fade-delay, 0s);
}

.is-js .fv__en {
  transform: translate(-30%, -50%);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) var(--fade-delay, 0s);
}

.is-js .fv__band.is-visible .fv__en {
  transform: translate(-50%, -50%);
}

.is-js .fv__title-line.js-fade {
  transform: translateX(-56px);
  transition:
    opacity 0.6s ease-out var(--fade-delay, 0s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--fade-delay, 0s);
}

.is-js .fv__catch-v.js-fade {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s var(--ease-slash) var(--fade-delay, 0s);
}

.is-js .fv__catch-h.js-fade {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s var(--ease-slash) var(--fade-delay, 0s);
}

.is-js .fv__count.js-fade {
  opacity: 1;
  transform: none;
}

.is-js .fv__count-label {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.35s var(--ease-slash) var(--fade-delay, 0s);
}

.is-js .fv__count-num {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s var(--ease-slash) calc(var(--fade-delay, 0s) + 0.25s);
}

.is-js .fv__count-tail {
  opacity: 0;
  transition: opacity 0.5s ease-out calc(var(--fade-delay, 0s) + 0.8s);
}

.is-js .fv__band.js-fade.is-visible,
.is-js .fv__catch-v.js-fade.is-visible,
.is-js .fv__catch-h.js-fade.is-visible,
.is-js .fv__count.is-visible .fv__count-label,
.is-js .fv__count.is-visible .fv__count-num {
  clip-path: inset(0 0 0 0);
}

.is-js .fv__title-line.js-fade.is-visible {
  transform: none;
}

.is-js .fv__count.is-visible .fv__count-tail {
  opacity: 1;
}

/* ===== 01. よくある軽貨物のイメージ ===== */
.image-gap {
  padding: 0;
}

/* 前半：暗い面。上端・下端とも右下がりの斜めで切り、前後の白い地とつなげる */
.image-gap__dark {
  position: relative;
  padding: 136px 0 136px;
  background-color: var(--color-dark);
  color: var(--color-white);
  clip-path: polygon(
    0 0,
    100% 72px,
    100% 100%,
    0 calc(100% - 72px)
  );
}

/* 見出しは支給の画像（ひび割れの明朝・白の透過・1442x580）。幅いっぱいより少し小さく */
.image-gap__title-img {
  display: block;
  width: 96%;
  height: auto;
}

/* 重い荷物を抱えた人：吹き出しの後ろに大きく、少しうすく。
   顔は、2つ目と3つ目の吹き出しの間にあけたすき間（右側）に来るように置く */
.image-gap__scene {
  position: relative;
  margin-top: 36px;
}

.image-gap__photo {
  position: absolute;
  top: 128px;
  left: 6%;
  z-index: 0;
  width: 110%;
  max-width: none;
  height: auto;
  opacity: 0.6;
}

.image-gap__bubbles {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

/* 白い細い枠の四角い吹き出し。左右交互に少しずつずらす */
.bubble {
  position: relative;
  align-self: flex-start;
  max-width: 90%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background-color: rgba(35, 40, 45, 0.88);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  background-color: var(--color-dark);
  transform: rotate(45deg);
}

.bubble:nth-child(even) {
  align-self: flex-end;
}

.bubble:nth-child(even)::after {
  right: 24px;
  left: auto;
}

.bubble:nth-child(3) {
  margin-top: 34%;
  margin-left: 6%;
}

.bubble:nth-child(4) {
  margin-right: 4%;
}

.bubble:nth-child(5) {
  margin-left: 10%;
}

/* 吹き出しは、しっぽの所から弾むように飛び出す（左右で傾きを逆に） */
.is-js .bubble.js-fade {
  transform: scale(0.4) rotate(-10deg);
  transform-origin: 24px 100%;
  transition:
    opacity 0.25s ease-out var(--fade-delay, 0s),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--fade-delay, 0s);
}

.is-js .bubble.js-fade:nth-child(even) {
  transform: scale(0.4) rotate(10deg);
  transform-origin: calc(100% - 24px) 100%;
}

.is-js .bubble.js-fade.is-visible {
  transform: none;
}

.image-gap__murmur {
  margin-top: 72px;
  color: var(--color-murmur);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* 後半：オレンジの斜めの面に白抜きで「実は、少し違います」
   斜めに切った面の見えている部分の上下まん中に文字が来るよう、上の余白を多めにする */
.image-gap__light {
  position: relative;
  margin-top: 16px;
  padding: 78px 0 46px;
  background-color: var(--color-orange);
  clip-path: polygon(
    0 44px,
    100% 0,
    100% calc(100% - 44px),
    0 100%
  );
}

/* 面の左上に濃いオレンジの三角を重ねる */
.image-gap__light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56%;
  height: 72%;
  background-color: var(--color-orange-dark);
  clip-path: polygon(
    0 44px,
    100% 20px,
    0 100%
  );
}

.image-gap__turn {
  rotate: -6deg;
  transform-origin: left center;
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: clamp(1.55rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(120, 40, 0, 0.35);
}

/* 強調語はオレンジの面の上なので黒で特大に */
.image-gap__turn .em {
  color: var(--color-heading);
  font-size: 1.3em;
  text-shadow: none;
}

/* 面がさっと入る */
.is-js .image-gap__light {
  opacity: 0;
  transform: translateX(-24%);
  transition:
    opacity 0.5s ease-out,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .image-gap__light.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== 02. 企業配送が中心 ===== */
.b2b__kanji {
  top: 420px;
  left: -32px;
}

/* 人物を大きく左に（上に余白を作らない）、縦書きの見出し（1列）を右に。後ろに右下がりの道路の帯
   ・道路はオレンジの「企業配送」の下を通り（黒の「が中心」とは重なってよい）、人物の胸〜箱の後ろを横切る
   ・人物の下の方（白く溶かす所）には道路を通さない（脚からオレンジが透けないように）
   位置と大きさは、セクションの幅（.b2b の cqw）を基準にする
   （入れ物自身の高さに cqw を使うため、基準は1つ外側のセクションに置く） */
.b2b {
  container-type: inline-size;
}

.b2b__head {
  position: relative;
  min-height: 124cqw;
  margin: 0 calc(-1 * var(--gutter));
}

.b2b__road {
  top: 79cqw;
  left: -20%;
  width: 140%;
  height: 16cqw;
  transform: rotate(12deg);
}

/* 白く溶かすのは脚の下の方だけ（86%から） */
.b2b__photo {
  position: absolute;
  top: 0;
  left: -6cqw;
  z-index: 1;
  width: 90cqw;
  height: auto;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000000 86%,
    transparent 100%
  );
}

/* 極太の明朝に、ごく細い同じ色のふち＋ずらした薄い影で、浮き上がって見せる */
/* 見出しは人物の頭より少し上から始める */
.b2b__title {
  position: absolute;
  top: -8cqw;
  right: 5cqw;
  z-index: 2;
  font-size: 12.5cqw;
  line-height: 1.25;
  text-shadow: 0.06em 0.06em 0 rgba(17, 17, 17, 0.14);
  -webkit-text-stroke: 0.012em currentColor;
}

/* リードは少し傾けて置く */
.b2b__lead {
  position: relative;
  z-index: 1;
  rotate: -4deg;
  margin-top: 28px;
  color: var(--color-heading);
  font-size: 1.15rem;
}

.b2b__example {
  margin: 48px 0 24px;
}

.b2b__cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

/* カードの後ろの左下に、大きなオレンジの三角 */
.b2b__tri {
  bottom: -40px;
  left: calc(-1 * var(--gutter));
  width: 88%;
  height: 72%;
}

/* 2026-11-16 修正19：お客様の完成イメージに合わせる（番号と見出しを横並び、本文は長文、件数は大きく） */
.job-card {
  position: relative;
  z-index: 1;
  width: 86%;
  padding: 26px 20px 18px;
  background-color: var(--color-gray);
  container-type: inline-size;
}

/* 1枚目は右寄せ */
.job-card--right {
  margin-left: auto;
}

/* 2枚目は左に飛び出す */
.job-card--left {
  margin-left: calc(-1 * var(--gutter));
}

/* 番号「01」と見出しの札を横に並べる */
.job-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.job-card__num {
  flex-shrink: 0;
  color: var(--color-orange);
  font-family: var(--font-mincho);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.job-card__title {
  padding: 3px 16px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.5;
}

.job-card__text {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 1.9;
  text-align: justify;
}

.job-card__count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  margin-top: 8px;
}

.job-card__count-label {
  flex-shrink: 0;
  color: var(--color-sub);
  font-size: 0.85rem;
  font-weight: 700;
}

/* 「10〜30件/日」が1行に収まる大きさ（カードの幅から「件数：」の分を引いて約5.8文字ぶん） */
.job-card__count-num {
  color: var(--color-orange);
  font-family: var(--font-mincho);
  font-size: min(2.5rem, calc((100cqw - 48px) / 5.8));
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0.04em 0.04em 0 rgba(17, 17, 17, 0.12);
}

/* 「件/日」の斜線は完成イメージどおり細い半角に */
.job-card__slash {
  margin: 0 0.04em;
}

/* ===== 03. 自分に合った働き方 ===== */
/* 上：大きなオレンジの面（左上に濃いオレンジの三角）に白抜きの見出し。人物を左下に大きく重ねる */
.styles {
  container-type: inline-size;
  padding-top: 24px;
}

/* 面の高さ＝見出し（上の余白76px＋文字の高さ）＋人物。人物の大きさはセクションの幅（.styles の cqw）基準 */
.styles__hero {
  position: relative;
  min-height: calc(76px + 152cqw);
}

.styles__panel,
.styles__panel-dark {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.styles__panel {
  right: 0;
  height: 380px;
  background-color: var(--color-orange);
  clip-path: polygon(
    0 48px,
    100% 0,
    100% 62%,
    0 100%
  );
}

.styles__panel-dark {
  width: 58%;
  height: 250px;
  background-color: var(--color-orange-dark);
  clip-path: polygon(
    0 48px,
    100% 20px,
    0 100%
  );
}

/* 見出し：だからこそ、ビオラでは（小さめ）／自分に合った／働き方（大きく）＋ができる（小さめ） */
.styles__title {
  position: relative;
  z-index: 2;
  padding: 76px var(--gutter) 0;
  color: var(--color-white);
  font-size: clamp(2rem, 10.6vw, 3.2rem);
  line-height: 1.3;
  text-align: left;
  text-shadow: 0 2px 6px rgba(120, 40, 0, 0.35);
}

/* 「自分に合った」「働き方」は白のまま、ごく細い同じ色のふちで少し太く */
.styles__title .em {
  color: var(--color-white);
  -webkit-text-stroke: 0.015em currentColor;
}

.styles__title-small {
  font-size: 0.6em;
}

.styles__title .sec-title__pre {
  font-size: 0.56em;
}

/* 人物（帽子〜腰の下）を左に寄せる。人物の幅は面の約76%。腰の下で白く溶かす */
.styles__photo {
  position: absolute;
  top: calc(76px + 40cqw);
  left: -5cqw;
  z-index: 1;
  width: 82.5cqw;
  max-width: none;
  height: auto;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000000 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000000 80%,
    transparent 100%
  );
}

/* 人物と重ならないよう、頭の右に置く。下端は腕時計の腕にかからない所（写真の上から約41cqw）まで下げる */
.styles__lead {
  position: absolute;
  top: calc(76px + 81cqw - 5.4em);
  right: 6cqw;
  z-index: 2;
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.8;
  text-shadow:
    0 0 4px var(--color-white),
    0 0 10px var(--color-white);
}

/* 面が左から、濃い三角が少し遅れて入る */
.is-js .styles__panel,
.is-js .styles__panel-dark {
  opacity: 0;
  transform: translateX(-30%);
  transition:
    opacity 0.5s ease-out,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .styles__panel-dark {
  transition-delay: 0.15s;
}

.is-js .styles__hero.is-visible .styles__panel,
.is-js .styles__hero.is-visible .styles__panel-dark {
  opacity: 1;
  transform: none;
}

.styles__list {
  position: relative;
  z-index: 2;
  margin-top: 36px;
}

.work-style {
  position: relative;
}

/* 区切り：細いグレーの線 */
.work-style + .work-style {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #dddddd;
}

.work-style__time {
  color: var(--color-orange);
  font-family: var(--font-mincho);
  font-size: clamp(2.1rem, 10.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.work-style__tilde {
  margin: 0 0.04em;
  font-size: 0.8em;
}

/* 0時〜24時の帯。働く時間帯だけオレンジで塗る */
.time-bar {
  position: relative;
  height: 8px;
  margin: 14px 0 30px;
  border-radius: 999px;
  background-color: #dddddd;
}

.time-bar__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--start) / 24 * 100%);
  width: calc((var(--end) - var(--start)) / 24 * 100%);
  border-radius: 999px;
  background-color: var(--color-orange);
}

/* 働く時間帯の帯が、左から伸びる */
.is-js .time-bar__fill {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-slash) calc(var(--fade-delay, 0s) + 0.35s);
}

.is-js .is-visible .time-bar__fill {
  transform: scaleX(1);
}

.time-bar__scale {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  color: var(--color-sub);
  font-size: 0.68rem;
  line-height: 1;
}

.time-bar__scale span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.time-bar__scale span:nth-child(1) {
  left: 0;
  transform: none;
}

.time-bar__scale span:nth-child(2) {
  left: 25%;
}

.time-bar__scale span:nth-child(3) {
  left: 50%;
}

.time-bar__scale span:nth-child(4) {
  left: 75%;
}

.time-bar__scale span:nth-child(5) {
  left: 100%;
  transform: translateX(-100%);
}

.work-style__title {
  color: var(--color-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.work-style__text {
  margin-top: 6px;
  font-size: 0.95rem;
}

/* ===== 04. あなたはどっち派？ ===== */
.versus {
  --versus-slope: 140px;
  padding: 0;
  overflow: hidden;
}

/* 上の面（オレンジ）：上端・下端とも左下→右上の斜めで切る（前の白い地から斜めに入る） */
.versus__half--top {
  position: relative;
  z-index: 1;
  min-height: 480px;
  padding: 112px var(--gutter) calc(var(--versus-slope) + 40px);
  background-color: var(--color-orange);
  color: var(--color-white);
  clip-path: polygon(
    0 64px,
    100% 0,
    100% calc(100% - var(--versus-slope)),
    0 100%
  );
}

/* 中央の問いかけ：2つの面の境目の上に置く */
.versus__center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  height: var(--versus-slope);
  margin-top: calc(-1 * var(--versus-slope));
}

.versus__question {
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(2.4rem, 12.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
}


/* 下の面（地はページ全体の白＋かすれ模様が透ける）：上端を同じ斜めで切る */
.versus__half--bottom {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--versus-slope));
  padding: var(--versus-slope) var(--gutter) 16px;
  clip-path: polygon(
    0 var(--versus-slope),
    100% 0,
    100% 100%,
    0 100%
  );
}

.versus__body {
  position: relative;
  min-height: 300px;
  padding-top: 16px;
}

.versus__type {
  position: relative;
  z-index: 1;
  width: 64%;
}

/* 下の派の文字の塊は、中身の幅にして右に寄せる（右の余白に少しはみ出させる） */
.versus__type--bottom {
  width: max-content;
  max-width: calc(100% + 14px);
  margin-right: -14px;
  margin-left: auto;
  text-shadow:
    0 0 4px var(--color-white),
    0 0 10px var(--color-white);
}

/* 派の名前は札にして強調：上は黒い札、下（ビオラが勧める方）はオレンジの札。どちらも白抜き
   札の幅は文字の幅（下の派の塊を中身の幅で右に寄せるため、inline-block にはしない） */
.versus__name {
  display: block;
  width: fit-content;
  padding: 2px 10px 4px;
  background-color: var(--color-heading);
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: clamp(1.1rem, 5.6vw, 1.7rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.versus__type--bottom .versus__name {
  background-color: var(--color-orange);
  text-shadow: none;
}

/* 次の「先輩の声」へつなぐ一文。下に矢印 */
.versus__bridge {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 0 var(--gutter) 48px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(1rem, 4.6vw, 1.4rem);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

/* 2行目は途中で折り返さない */
.versus__bridge-line {
  white-space: nowrap;
}

.versus__bridge-em {
  color: var(--color-orange-deep);
  font-size: 1.1em;
}

.versus__bridge::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-right: 3px solid var(--color-orange);
  border-bottom: 3px solid var(--color-orange);
  transform: rotate(45deg);
  animation: bridge-arrow 1.6s ease-in-out infinite;
}

@keyframes bridge-arrow {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 8px;
  }
}

.versus__desc {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
}

.versus__type--bottom .versus__desc {
  color: var(--color-heading);
}

.versus__goal {
  margin-top: 14px;
  font-family: var(--font-mincho);
  font-weight: 800;
  line-height: 1.1;
}

.versus__type--bottom .versus__goal {
  color: var(--color-heading);
}

.versus__goal-small {
  font-size: clamp(1.15rem, 5.6vw, 1.6rem);
}

.versus__goal > .versus__goal-small:first-child {
  display: block;
  margin-bottom: 4px;
}

/* 「月収」を縦書きにして、金額の左に並べる（1行のまま折り返さない） */
.versus__goal--side {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.versus__goal--side > span {
  flex-shrink: 0;
}

/* 上の派は「月収｜60万を目指す」が横に並ぶので、文字の入る幅を広げる */
.versus__half--top .versus__type {
  width: 78%;
}

/* 「月」の縦線が、上の説明文の左端と揃うように少し左へ（明朝の字の左の余白ぶん。2026-11-13 修正18） */
.versus__goal--side > .versus__goal-label:first-child {
  margin-right: 8px;
  margin-left: -0.17em;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.versus__goal-big {
  font-size: clamp(2.6rem, 13vw, 3.8rem);
  letter-spacing: 0;
}

.versus__type--bottom .versus__goal-big {
  display: block;
  font-size: clamp(2rem, 9.6vw, 2.8rem);
  white-space: nowrap;
}

.versus__photo {
  position: absolute;
  z-index: 0;
  width: 72%;
  height: auto;
}

.versus__photo--top {
  top: 88px;
  right: -16%;
}

.versus__photo--bottom {
  top: 0;
  left: calc(-1 * var(--gutter) - 10%);
  width: 68%;
}

/* 演出B：上下の面が斜めの境目から割れて入る → 問いかけ */
.is-js .versus__half--top,
.is-js .versus__half--bottom {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-js .versus__half--top {
  transform: translate(-24px, -24px);
}

.is-js .versus__half--bottom {
  transform: translate(24px, 24px);
}

.is-js .versus.is-visible .versus__half--top,
.is-js .versus.is-visible .versus__half--bottom {
  opacity: 1;
  transform: translate(0, 0);
}

.is-js .versus__question {
  opacity: 0;
  transform: scale(1.25);
  transition:
    opacity 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) 0.6s,
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) 0.6s;
}


.is-js .versus.is-visible .versus__question {
  opacity: 1;
  transform: scale(1);
}

/* ===== 05. 実際に在籍している人 ===== */
/* 透かしの漢字（2026-11-11 修正6で追加：03「働」・06「人」。07「安」は修正7で削除） */
.styles__kanji {
  right: -32px;
  bottom: 140px;
}

.recommend__kanji {
  top: 8px;
  right: -24px;
}

.voice__kanji {
  top: 24px;
  left: -28px;
}

/* 1行目「「月60万円」よりも、」が10文字あるので、ほかの見出しより少しだけ小さく */
/* 2行目「月30〜40万円を安定して。」が1行に収まる大きさ */
.voice .sec-title {
  font-size: clamp(1.3rem, 6.7vw, 2rem);
  letter-spacing: 0;
}

/* 先輩の声のスライダー（横スワイプ＋矢印ボタン） */
.voice-slider {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.voice-slider__viewport {
  position: relative;
}

.voice-slider__track {
  display: flex;
  gap: 12px;
  padding: 10px 8% 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.voice-slider__track::-webkit-scrollbar {
  display: none;
}

.voice-card {
  flex: 0 0 84%;
  position: relative;
  padding: 26px 20px 24px;
  border: 1px solid #dddddd;
  border-radius: 16px;
  background-color: var(--color-white);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
  scroll-snap-align: center;
}

/* 狭い画面では写真とすき間を少し縮め、プロフィールの1行（最長「前職：長距離トラック」10文字）を収める（2026-11-17 修正22） */
.voice-card__head {
  display: flex;
  align-items: center;
  gap: min(14px, 6cqw);
}

.voice-card__photo {
  flex-shrink: 0;
  width: min(72px, 32cqw);
  height: min(72px, 32cqw);
  border: 1px solid #cccccc;
  border-radius: 50%;
  object-fit: cover;
}

.voice-card__profile {
  color: var(--color-heading);
  font-size: min(0.85rem, calc((100cqw - min(72px, 32cqw) - min(14px, 6cqw)) / 10.4));
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* 「前職：」の後ろをひとかたまりにして、2行目「ドライバー」の頭を「長距離」に揃える */
.voice-card__profile-hang {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
}

/* ひとことは区切りのいい所で改行（1行は11文字まで）。狭い画面では、11文字がカードに収まる大きさまで小さくする */
.voice-card__catch {
  margin-top: 18px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: min(1.15rem, calc(100cqw / 11.8));
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.voice-card {
  container-type: inline-size;
}

/* 1人目のひとことは1行に収める（カードの余白に少しはみ出させ、その幅に合わせて文字の大きさを決める）
   1行は約16文字分の幅になる */
.voice-card__catch--one-line {
  margin-right: -12px;
  margin-left: -12px;
  font-size: min(1.15rem, calc((100cqw + 24px) / 16.4));
  letter-spacing: 0;
  white-space: nowrap;
}

.voice-card__text {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.8;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-heading);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.slider-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.slider-arrow--prev {
  left: 2px;
}

.slider-arrow--prev::before {
  margin: -6px 0 0 -6px;
  border-right: 9px solid var(--color-white);
}

.slider-arrow--next {
  right: 2px;
}

.slider-arrow--next::before {
  margin: -6px 0 0 -3px;
  border-left: 9px solid var(--color-white);
}

.slider-arrow:hover:not(:disabled) {
  background-color: var(--color-orange);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.voice-slider__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.slider-dot {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slider-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background-color: #cccccc;
  transition: background-color 0.2s ease;
}

.slider-dot[aria-current="true"]::before {
  background-color: var(--color-orange);
}

/* 1人だけのときは矢印と点を出さない */
.voice-slider.is-single .slider-arrow,
.voice-slider.is-single .voice-slider__dots {
  display: none;
}

/* 締めの一文：縦書き。後ろに単色のオレンジの三角 */
/* 2026-11-12 修正16：スマホもPCも、この面だけで画面1枚ぶんの高さにする（文字は上下中央） */
.voice {
  padding-bottom: 0;
}

.voice__closing {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 64px calc(-1 * var(--gutter)) 0;
  padding: 40px var(--gutter) 48px;
}

.voice__tri {
  bottom: 0;
  left: 0;
  width: 78%;
  height: 70%;
}

.voice__tri-small {
  top: 0;
  right: 0;
  width: 34%;
  height: 30%;
}

.voice__closing-text {
  position: relative;
  z-index: 1;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(1.7rem, 8.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 「体力勝負」は白抜き（オレンジの三角の上にかかるので、黒い帯の上に白） */
.voice__closing-em {
  padding: 0.08em 0;
  background-color: var(--color-heading);
  color: var(--color-white);
}

/* ===== 06. こんな方におすすめ ===== */
.recommend {
  overflow-x: clip;
}

/* 見出しは斜めに。1行目「こんな方に」の後ろだけにオレンジのくさび（オレンジの「おすすめ」には重ねない） */
.recommend__wedge {
  top: -8px;
  left: calc(-1 * var(--gutter));
  width: 64%;
  height: 74px;
}

.recommend__title {
  position: relative;
  z-index: 1;
  rotate: -6deg;
  transform-origin: left center;
  margin-top: 40px;
  margin-left: 12px;
  font-size: clamp(2.1rem, 10.4vw, 3.1rem);
}

/* 見出しの下に、こちらを指さす人を大きく。後ろに単色の三角 */
.recommend__visual {
  position: relative;
  height: 380px;
  margin: 0 calc(-1 * var(--gutter)) -36px;
}

.recommend__tri {
  right: 0;
  bottom: 36px;
  width: 86%;
  height: 78%;
}

.recommend__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: auto;
  height: 100%;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.check-list__item {
  position: relative;
  padding: 14px 16px 14px 52px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

/* オレンジの四角いチェック印 */
.check-list__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 3px;
  background-color: var(--color-orange);
}

.check-list__item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  width: 6px;
  height: 11px;
  margin-top: -8px;
  border-right: 2.5px solid var(--color-white);
  border-bottom: 2.5px solid var(--color-white);
  transform: rotate(45deg);
}

/* 項目は左から滑り込み（空のチェック枠が見える）、そのあと上から順番に1つずつチェックが付く
   チェックの間隔は、項目の出る間隔（0.1秒）の4倍＝0.4秒 */
.is-js .check-list__item.js-fade {
  transform: translateX(-40px);
  transition:
    opacity 0.5s ease-out var(--fade-delay, 0s),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--fade-delay, 0s);
}

.is-js .check-list__item.js-fade.is-visible {
  transform: none;
}

.is-js .check-list__item {
  --check-delay: calc(var(--fade-delay, 0s) * 4 + 0.6s);
}

.is-js .check-list__item::before {
  background-color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-orange);
  transition:
    background-color 0.15s ease-out var(--check-delay),
    transform 0.4s cubic-bezier(0.34, 1.8, 0.64, 1) var(--check-delay);
}

.is-js .check-list__item::after {
  opacity: 0;
  transform: rotate(45deg) scale(0.2);
  transition:
    opacity 0.15s ease-out var(--check-delay),
    transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1) var(--check-delay);
}

.is-js .check-list__item.is-visible::before {
  background-color: var(--color-orange);
  animation: check-pop 0.4s ease-out var(--check-delay);
}

.is-js .check-list__item.is-visible::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

@keyframes check-pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ===== 07. よくある質問 ===== */
/* 右上の三角は、見出しの線にかからない高さに */
.faq__tri {
  top: 0;
  right: 0;
  width: 34%;
  height: 64px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.faq-item {
  position: relative;
  margin-left: 10px;
  padding: 0 20px 22px;
  border-radius: 4px;
  background-color: var(--color-white);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.1);
}

/* 札：カードの左上に、少し左へはみ出して重ねる */
.faq-item__q {
  display: inline-block;
  position: relative;
  margin: 0 0 0 -30px;
  transform: translateY(-16px);
}

.faq-item__q-text {
  display: block;
  padding: 10px 36px 10px 16px;
  background-image: linear-gradient(
    90deg,
    var(--color-orange-deep),
    var(--color-orange-light)
  );
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - 18px) 100%,
    0 100%
  );
}

/* 札の右の、うすいオレンジの細い斜めの帯 */
.faq-item__q::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 12px);
  width: 26px;
  background-color: rgba(247, 162, 27, 0.45);
  clip-path: polygon(
    18px 0,
    26px 0,
    8px 100%,
    0 100%
  );
}

.faq-item__a {
  margin-top: -4px;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ===== 08. 1日の仕事の例 ===== */
.daily {
  padding-bottom: 0;
}

.daily__kanji {
  top: 32px;
  right: -28px;
}

/* 縦のタイムライン：中央に細いオレンジの縦線 */
.timeline {
  position: relative;
  margin-top: 44px;
  padding-bottom: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background-color: var(--color-orange);
}

/* 縦線が上から下へ引かれていく */
.is-js .timeline::before {
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 2.2s cubic-bezier(0.45, 0, 0.25, 1);
}

.is-js .timeline.is-visible::before {
  transform: scaleY(1);
}

.timeline__item {
  display: grid;
  grid-template-columns:
    1fr
    1fr;
  align-items: center;
  position: relative;
  padding: 6px 0 46px;
}

/* 時刻の位置の丸 */
.timeline__item::before {
  content: "";
  position: absolute;
  top: calc(6px + 1.1rem);
  left: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 3px solid var(--color-orange);
  border-radius: 50%;
  background-color: var(--color-white);
}

/* 項目の間の「↓」：縦線上の小さな三角 */
.timeline__item::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -7px;
  border-top: 10px solid var(--color-orange);
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
}

.timeline__item--last {
  padding-bottom: 0;
}

.timeline__item--last::after {
  display: none;
}

.timeline__time {
  padding-right: 24px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 8.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.timeline__text {
  padding-left: 24px;
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 11:00 の下から縦線が太い帯に変わり、セクションの下まで伸びる */
.daily__band {
  position: relative;
  padding: 120px var(--gutter) 0;
  background-color: var(--color-orange);
  clip-path: polygon(
    calc(50% - 1.5px) 0,
    calc(50% + 1.5px) 0,
    100% 96px,
    100% 100%,
    0 100%,
    0 96px
  );
}

.daily__photo {
  display: block;
  width: 92%;
  height: auto;
  margin: 24px auto 0;
}

.daily__message {
  rotate: -3deg;
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: clamp(1.4rem, 7vw, 2.2rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ===== 09. コンセプト ===== */
/* 上下を斜めに切って、前のオレンジの帯・次のグレーの面に食い込ませる */
.concept {
  --concept-slope: 64px;
  z-index: 2;
  margin: calc(-1 * var(--concept-slope)) 0;
  padding: calc(104px + var(--concept-slope)) 0;
  overflow: hidden;
  clip-path: polygon(
    0 var(--concept-slope),
    100% 0,
    100% calc(100% - var(--concept-slope)),
    0 100%
  );
}

/* うすい大きなかすれ模様（白） */
.concept::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/common/texture.png");
  background-size: 760px 760px;
  filter: invert(1);
  opacity: 0.55;
  pointer-events: none;
}

/* 右上から左下へ横切る太い帯（文字の後ろ）
   オレンジの「無理せず」に重なると読めないので、その下の「稼ぐ」から／「稼ぐ」へ」の所を横切らせる */
.concept__slash {
  top: 67%;
  left: 50%;
  width: 160%;
  height: 100px;
  opacity: 0.9;
  transform: translate(-50%, -50%) rotate(-32deg);
}

.concept__inner {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* 縦書きの列の長さは画面の高さで決まるため、背の低い画面では「へ」だけ次の列に落ちる
   → 列の長さを中身の長さにし、各列を折り返さない（2列のまま、横の中央に置く） */
.concept__title {
  inline-size: max-content;
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: clamp(2.1rem, 11vw, 3.3rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.concept__line {
  display: block;
  white-space: nowrap;
}

/* 左の列は少し下げて、2列に段差を付ける */
.concept__line--2 {
  padding-inline-start: 1.4em;
}

.concept__em {
  color: var(--color-orange);
}

/* 演出C：1文字ずつ現れる（JSで1文字ずつ span に分ける） */
.concept__char {
  display: inline-block;
}

.is-js .concept__title.is-split .concept__em {
  color: inherit;
}

.is-js .concept__char {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.5s ease-out var(--char-delay, 0s),
    transform 0.5s ease-out var(--char-delay, 0s),
    color 0.4s ease var(--color-delay, 0s);
}

.is-js .concept.is-visible .concept__char {
  opacity: 1;
  transform: translateY(0);
}

.is-js .concept.is-visible .concept__char--em {
  color: var(--color-orange);
}

/* ===== 10. 募集要項 ===== */
.recruit {
  padding-top: calc(72px + 64px);
  padding-bottom: 32px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

/* 項目ごとの角丸の帯。項目名を上・内容を下に積む */
.spec__row {
  padding: 14px 16px;
  border-radius: 10px;
  background-color: var(--color-gray-table);
}

.spec__term {
  color: var(--color-heading);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.spec__desc {
  margin-top: 4px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tags__item {
  padding: 3px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background-color: var(--color-white);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ===== 11. エントリー ===== */
.entry {
  padding-top: 32px;
}

.entry__lead {
  margin-top: 20px;
  font-size: clamp(0.76rem, 3.6vw, 0.95rem);
  line-height: 1.9;
  text-align: center;
}

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.form-field__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--color-heading);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.6;
}

.badge--required {
  background-color: var(--color-orange);
}

.badge--optional {
  background-color: var(--color-sample);
}

.form-field__input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background-color: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s ease;
}

.form-field__input:focus {
  border-color: var(--color-orange);
  outline: 2px solid var(--color-orange);
  outline-offset: 0;
}

.form-field__input[aria-invalid="true"] {
  border-color: var(--color-error);
}

.form-field__textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field__error {
  margin-top: 6px;
  color: var(--color-error);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-field__error:empty {
  display: none;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio__input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-orange);
}

.radio__label {
  font-size: 0.95rem;
}

.btn--submit {
  margin-top: 8px;
}

.btn--submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* ----- Contact Form 7 が出力するHTMLに合わせる（テーマのみ・静的版と同じ見た目にする） -----
   入力欄は span.wpcf7-form-control-wrap の中に出る。
   選択肢は span.wpcf7-list-item > label > input + span.wpcf7-list-item-label の形で出るので、
   上の .radio・.radio__input・.radio__label と同じ見た目にしている */
.entry-form .hidden-fields-container {
  display: none;
}

.entry-form .wpcf7-form-control-wrap {
  display: block;
}

.radio-group .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group .wpcf7-list-item {
  display: block;
  margin: 0;
}

.radio-group .wpcf7-list-item > label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* 「当社を知ったきっかけ」は任意にするため、1つだけ選べるチェックボックス（CF7 の exclusive）で出している
   （CF7 のラジオは必ず1つ選ぶ必要があるため）。静的版のラジオボタンと同じ丸い形に描く */
.radio-group .wpcf7-list-item input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #767676;
  border-radius: 50%;
  background-color: var(--color-white);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.radio-group .wpcf7-list-item input:checked {
  border: 2px solid var(--color-orange);
  background-image: radial-gradient(
    circle,
    var(--color-orange) 0 5.5px,
    transparent 6px
  );
}

.radio-group .wpcf7-list-item-label {
  font-size: 0.95rem;
}

/* エラー文（静的版の .form-field__error と同じ見た目。枠の色は上の [aria-invalid="true"] で付く） */
.entry-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: var(--color-error);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 送信中の表示は送信ボタン（「送信中…」）で出すので、CF7 のくるくるは出さない */
.entry-form .wpcf7-spinner {
  display: none;
}

/* 送信できなかったとき（メールの送信失敗・迷惑メール判定など）のメッセージ。
   送信成功・入力エラーのときは出さない（成功はサンクス表示、入力エラーは項目ごとのエラー文で伝える） */
.entry .wpcf7 form.entry-form .wpcf7-response-output {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-error);
  border-radius: 8px;
  color: var(--color-error);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.entry .wpcf7 form.entry-form .wpcf7-response-output:empty,
.entry .wpcf7 form.entry-form.init .wpcf7-response-output,
.entry .wpcf7 form.entry-form.submitting .wpcf7-response-output,
.entry .wpcf7 form.entry-form.resetting .wpcf7-response-output,
.entry .wpcf7 form.entry-form.invalid .wpcf7-response-output,
.entry .wpcf7 form.entry-form.sent .wpcf7-response-output {
  display: none;
}

.entry__thanks {
  padding: 40px 0 16px;
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

/* ===== 動きを減らす設定のとき：演出をすべて止め、最初から表示する ===== */
@media (prefers-reduced-motion: reduce) {
  .is-js .versus__half--top,
  .is-js .versus__half--bottom,
  .is-js .versus__question,
  .is-js .concept__char,
  .is-js .fv__title-line.js-fade,
  .is-js .fv__band.js-fade,
  .is-js .fv__catch-v.js-fade,
  .is-js .fv__catch-h.js-fade,
  .is-js .fv__count-label,
  .is-js .fv__count-num,
  .is-js .fv__count-tail,
  .is-js .bubble.js-fade,
  .is-js .check-list__item.js-fade,
  .is-js .check-list__item::before,
  .is-js .time-bar__fill,
  .is-js .timeline::before,
  .is-js .image-gap__light,
  .is-js .styles__panel,
  .is-js .styles__panel-dark {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .is-js .check-list__item::after {
    opacity: 1;
    transform: rotate(45deg);
    transition: none;
  }

  .is-js .check-list__item::before {
    background-color: var(--color-orange);
    animation: none;
  }

  .versus__bridge::after {
    animation: none;
  }

  /* FVの帯・黒い札は、切り抜きを外して最初から全部見せる */
  .is-js .fv__band.js-fade,
  .is-js .fv__catch-v.js-fade,
  .is-js .fv__catch-h.js-fade,
  .is-js .fv__count-label,
  .is-js .fv__count-num {
    clip-path: none;
  }

  .is-js .fv__en {
    transform: translate(-50%, -50%);
    transition: none;
  }

  .is-js .concept__char--em {
    color: var(--color-orange);
  }
}
