@charset "UTF-8";

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

/* ===== 00. FV ===== */
.fv {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

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

.fv__title {
  position: relative;
  z-index: 4;
  transform: rotate(-4deg);
  transform-origin: left center;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.fv__title-line {
  display: block;
}

/* 行頭のかぎ括弧のアキを詰めて、左端をそろえて見せる */
.fv__title-line--1 {
  margin-left: -0.45em;
  font-size: clamp(1.6rem, 8.2vw, 2.5rem);
}

.fv__title-line--2 {
  position: relative;
  margin-top: 22px;
  padding: 8px 0 12px;
}

.fv__title-text {
  display: block;
  position: relative;
  z-index: 1;
  margin-left: -0.45em;
  color: var(--color-white);
  font-size: clamp(1.5rem, 7.6vw, 2.35rem);
}

/* 帯の上では、強調語はオレンジだと見えないので白のまま大きくする */
.fv__title-em {
  color: var(--color-white);
  font-size: 1.3em;
}

/* 2行目の後ろの帯：左から右上へ斜めに走る */
.fv__slash {
  top: 50%;
  left: calc(-1 * var(--gutter) - 24px);
  width: calc(100% + var(--gutter) * 2 + 48px);
  height: 130%;
  min-height: 96px;
  transform: translateY(-50%) rotate(-2deg);
}

/* 人物3人：まん中の人が手前、左右の2人は後ろ */
.fv__visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 280px;
  margin: -12px calc(-1 * var(--gutter)) 0;
}

.fv__brush {
  top: 34%;
  left: -20%;
  width: 140%;
  height: 34%;
  transform: rotate(-16deg);
}

.fv__photo,
.fv__sub {
  position: absolute;
  bottom: 0;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.fv__photo {
  z-index: 3;
  left: 50%;
  max-width: 74%;
  margin-left: -34%;
}

.fv__sub {
  z-index: 2;
  max-width: 44%;
}

.fv__sub--left {
  left: -6%;
  height: 74%;
}

.fv__sub--right {
  right: -8%;
  height: 66%;
}

.fv__lead {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.8;
}

.fv__cta {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

/* FVの出方：1行目は左から滑り込み、帯の上の2行目は大きい状態から「ドン」と収まる */
.is-js .fv__title-line--1.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__title-text.js-fade {
  transform: scale(1.45);
  transform-origin: left center;
  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 .fv__title-line--1.js-fade.is-visible,
.is-js .fv__title-text.js-fade.is-visible {
  transform: none;
}

/* ===== 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)
  );
}

/* 重い荷物を抱えた人：吹き出しの後ろにうすく */
.image-gap__photo {
  position: absolute;
  right: -12%;
  bottom: 40px;
  z-index: 0;
  width: 66%;
  height: auto;
  opacity: 0.4;
}

.image-gap__bubbles {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}

/* 白い細い枠の四角い吹き出し。左右交互に少しずつずらす */
.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-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: 36px;
  color: var(--color-murmur);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* 後半：白い面（実は違う） */
.image-gap__light {
  padding: 24px 0 80px;
}

.image-gap__turn {
  rotate: -3deg;
  transform-origin: left center;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(1.55rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.image-gap__turn .em {
  font-size: 1.2em;
}

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

/* 見出し・リードの右に人物（右へはみ出す） */
.b2b__head {
  position: relative;
  min-height: 300px;
}

.b2b__head .sec-title,
.b2b__head .sec-lead {
  position: relative;
  z-index: 2;
}

.b2b__photo {
  position: absolute;
  top: 56px;
  right: calc(-1 * var(--gutter));
  z-index: 0;
  width: 54%;
  height: auto;
}

/* 人物の腰のあたりを、手前の筆の帯で横切る */
.b2b__head-brush {
  right: -36%;
  bottom: 10px;
  z-index: 1;
  width: 104%;
  height: 84px;
  transform: rotate(-12deg);
}

.b2b__example {
  margin: 44px 0 20px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

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

/* カードの後ろを斜めに横切る帯 */
.b2b__slash {
  top: 50%;
  left: calc(-1 * var(--gutter) - 40px);
  width: calc(100% + var(--gutter) * 2 + 80px);
  height: 160px;
  transform: translateY(-50%) rotate(-14deg);
}

.job-card {
  position: relative;
  z-index: 1;
  width: 86%;
  padding: 24px 20px 18px;
  background-color: var(--color-gray);
}

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

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

.job-card__num {
  display: block;
  color: var(--color-orange);
  font-family: var(--font-mincho);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.job-card__title {
  margin-top: 10px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
}

.job-card__text {
  margin-top: 8px;
  font-size: 0.93rem;
}

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

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

.job-card__count-num {
  color: var(--color-orange);
  font-family: var(--font-mincho);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
}

/* ===== 03. 自分に合った働き方 ===== */
.styles__title-small {
  font-size: 0.72em;
}

/* リードの下に人物（右寄せ） */
.styles__visual {
  position: relative;
  height: 280px;
  margin: 8px calc(-1 * var(--gutter)) -28px;
}

.styles__brush {
  top: 46%;
  left: 4%;
  width: 96%;
  height: 96px;
  transform: rotate(-10deg);
}

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

.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.2rem, 11.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
}

.versus__vs {
  display: grid;
  place-items: center;
  position: absolute;
  top: -8px;
  right: 6%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-heading);
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

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

/* 境目の細い黒の斜線 */
.versus__half--bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--versus-slope);
  background-image: linear-gradient(
    to top right,
    transparent calc(50% - 1.5px),
    var(--color-heading) calc(50% - 1.5px),
    var(--color-heading) calc(50% + 1.5px),
    transparent calc(50% + 1.5px)
  );
  pointer-events: none;
}

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

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

.versus__type--bottom {
  width: 68%;
  margin-left: auto;
}

.versus__name {
  font-family: var(--font-mincho);
  font-size: clamp(1rem, 4.9vw, 1.45rem);
  font-weight: 800;
  line-height: 1.4;
  margin-left: -0.45em;
}

.versus__half--top .versus__name {
  color: var(--color-white);
}

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

.versus__desc {
  margin-top: 10px;
  font-size: 0.95rem;
  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(1rem, 4.8vw, 1.35rem);
}

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

.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: 52%;
  height: auto;
}

.versus__photo--top {
  right: -2%;
  bottom: calc(var(--versus-slope) - 50px);
}

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

/* 演出B：上下の面が斜めの境目から割れて入る → 問いかけ → VS */
.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,
.is-js .versus__vs {
  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__vs {
  transition-delay: 0.8s;
}

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

/* ===== 05. 実際に在籍している人 ===== */
.voice__kanji {
  top: 24px;
  left: -28px;
}

/* 1行目「「月60万円」よりも、」が10文字あるので、ほかの見出しより少しだけ小さく */
.voice .sec-title {
  font-size: clamp(1.6rem, 7.6vw, 2.35rem);
}

/* 先輩の声のスライダー（横スワイプ＋矢印ボタン） */
.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;
}

.voice-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.voice-card__profile {
  color: var(--color-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
}

.voice-card__catch {
  margin-top: 18px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.voice-card__bracket {
  color: var(--color-orange);
}

.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;
}

/* 締めの一文 */
.voice__closing {
  position: relative;
  rotate: -3deg;
  margin-top: 72px;
  color: var(--color-heading);
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.voice__closing-text {
  display: block;
  position: relative;
  z-index: 1;
}

.voice__slash {
  bottom: 0.15em;
  left: calc(-1 * var(--gutter));
  width: 84%;
  height: 1.8em;
  transform: rotate(-5deg);
  transform-origin: left bottom;
}

/* ===== 06. こんな方におすすめ ===== */
/* 見出しの下に、こちらを指さす人 */
.recommend__visual {
  position: relative;
  height: 260px;
  margin: 8px calc(-1 * var(--gutter)) -36px;
}

.recommend__brush {
  top: 40%;
  right: -6%;
  width: 92%;
  height: 92px;
  transform: rotate(-12deg);
}

.recommend__photo {
  position: absolute;
  right: 8%;
  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);
}

/* 項目は左から滑り込み、そのあとチェック印が「ポン」と付く */
.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::before {
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.8, 0.64, 1) calc(var(--fade-delay, 0s) + 0.35s);
}

.is-js .check-list__item::after {
  opacity: 0;
  transition: opacity 0.2s ease-out calc(var(--fade-delay, 0s) + 0.55s);
}

.is-js .check-list__item.is-visible::before {
  transform: scale(1);
}

.is-js .check-list__item.is-visible::after {
  opacity: 1;
}

/* ===== 07. よくある質問 ===== */
.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: 66%;
  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;
}

.concept__title {
  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;
}

/* 左の列は少し下げて、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;
}

.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 .versus__vs,
  .is-js .concept__char,
  .is-js .fv__title-line--1.js-fade,
  .is-js .fv__title-text.js-fade,
  .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 {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .is-js .check-list__item::after {
    opacity: 1;
    transition: none;
  }

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