@charset "UTF-8";

/* =========================================================
   株式会社富山データー機器サービス 採用LP　トップページ固有のスタイル
   ========================================================= */

/* ===== 00 FV（動画背景） ===== */
.fv {
  overflow: hidden;
  background-color: var(--color-main);
  color: var(--color-white);
}

.fv__media {
  position: absolute;
  inset: 0;
}

.fv__video,
.fv__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* poster相当の静止画は、動画を出さないとき（動きを減らす設定・低速回線）だけ表示 */
.fv__poster {
  display: none;
}

.fv.is-video-off .fv__video {
  display: none;
}

.fv.is-video-off .fv__poster {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .fv__video {
    display: none;
  }

  .fv__poster {
    display: block;
  }
}

/* SCROLLの表示が動画に埋もれないよう、下端に黒→透明のグラデーション */
.fv__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.fv__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.fv__scroll-text {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.2em;
}

.fv__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.4);
}

.fv__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  animation: fv-scroll 1.8s ease-in-out infinite;
}

@keyframes fv-scroll {
  0% {
    top: -100%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv__scroll-line::after {
    top: 0;
    animation: none;
  }
}

/* ===== 01 共感 ===== */
.worry {
  background-color: var(--color-gray);
}

.worry__inner {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.worry__en {
  margin-top: 10px;
  margin-bottom: 26px;
}

.worry .band-text {
  align-items: center;
}

.worry__slash--a {
  top: 6%;
  right: -12%;
  width: 62%;
  height: 120px;
  transform: rotate(-8deg);
}

.worry__slash--b {
  bottom: 4%;
  left: -18%;
  width: 70%;
  height: 90px;
  transform: rotate(-8deg);
}

.worry__slash--c {
  top: 11%;
  left: -8%;
  width: 26%;
  height: 26px;
  transform: rotate(-8deg);
}

/* 下から白いギザギザの面 */
.worry__burst {
  bottom: -2%;
  left: -10%;
  width: 120%;
  height: 30%;
}

/* ===== 02 アンサー（コンセプト） ===== */
.update {
  background-color: var(--color-yellow);
}

.update__inner {
  justify-content: center;
}

/* 前の画面（01）の背景色を、左上から斜めに入れる（参考：添付2枚目） */
.update__diagonal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 46%;
  background-color: var(--color-gray);
  clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
}

.is-js .update .update__diagonal {
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
}

.is-js .update.is-active .update__diagonal {
  animation: update-diagonal 0.8s var(--ease-out) both;
}

@keyframes update-diagonal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
  }
}

.update__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.update__title-jp {
  font-family: var(--font-head);
  font-size: clamp(1.57rem, 7vw, 1.86rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.update__title-en {
  font-size: clamp(3.1rem, 15.4vw, 3.85rem);
}

.update__band {
  margin-bottom: 20px;
}

.update__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update__body .section-text {
  font-size: 1.07rem;
}

.update__slash--a {
  top: -36px;
  right: -14%;
  width: 66%;
  height: 132px;
  transform: rotate(-12deg);
}

.update__slash--b {
  top: 58px;
  right: -26%;
  width: 46%;
  height: 54px;
  transform: rotate(-12deg);
}

.update__slash--c {
  bottom: -40px;
  left: -16%;
  width: 72%;
  height: 120px;
  transform: rotate(-12deg);
}

/* ===== 03 アンサー（支援）：参考は添付3枚目 ===== */
.support {
  background-color: var(--color-main);
}

.support__inner {
  justify-content: center;
}

.support__en {
  color: var(--color-yellow);
}

/* 見出しは白い四角に青い文字 */
.support__title {
  margin-bottom: 18px;
}

.support__title .band-text__line {
  color: var(--color-main);
  font-size: clamp(1.36rem, 6vw, 1.57rem);
  font-weight: 900;
  line-height: 1.5;
}

/* 右上から白いギザギザの面が下りてくる（参考：添付画像） */
.support__burst {
  top: -2%;
  right: -22%;
  width: 60%;
  height: 32%;
}

.support__slash--a {
  bottom: 12%;
  left: -24%;
  width: 60%;
  height: 90px;
  transform: rotate(-14deg);
  opacity: 0.9;
}

.support__slash--b {
  top: 30%;
  right: -10%;
  width: 34%;
  height: 34px;
  transform: rotate(-14deg);
}

.support__slash--c {
  right: -6%;
  bottom: 3%;
  width: 30%;
  height: 40px;
  transform: rotate(-14deg);
}

/* カードを1枚ずつ切り替える器 */
.slider {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.support__slider {
  flex: 1 1 auto;
  max-height: 440px;
}

.slider__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  touch-action: pan-y;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.support__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-width: 1px;
}

.support__photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 90px;
  overflow: hidden;
  border-bottom: var(--line);
}

.support__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 表示中のカードの写真は、少し大きい状態からゆっくり戻す */
.slider__slide.is-current .support__photo img {
  animation: photo-in 1.2s var(--ease-out) both;
}

@keyframes photo-in {
  0% {
    scale: 1.12;
  }

  100% {
    scale: 1;
  }
}

.support__body {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px 16px;
}

.support__num {
  font-size: 2rem;
  -webkit-text-stroke-width: 3px;
}

.support__text {
  font-size: 0.97rem;
  line-height: 1.7;
}

/* 矢印（淡い青の丸に青い矢印）と「1 / 3」 */
.slider__nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 14px;
}

.slider__arrow {
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  background-color: var(--color-pale-blue);
  border: var(--line-thin);
  border-radius: 50%;
}

.slider__arrow::before,
.slider__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
}

/* 矢印の棒 */
.slider__arrow::before {
  width: 18px;
  height: 3px;
  background-color: var(--color-main);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

/* 矢印の先 */
.slider__arrow::after {
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--color-main);
  border-right: 3px solid var(--color-main);
}

.slider__arrow--next::after {
  transform: translate(-10%, -50%) rotate(45deg);
}

.slider__arrow--prev::after {
  transform: translate(-90%, -50%) rotate(-135deg);
}

.slider__count {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 56px;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-head);
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .slider__arrow:hover {
    background-color: var(--color-yellow);
  }
}

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

  .slider__slide.is-current .support__photo img {
    animation: none;
  }

  .is-js .update .update__diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
  }

  .is-js .update.is-active .update__diagonal {
    animation: none;
  }

  .is-js .interview .interview__diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
  }

  .is-js .interview.is-active .interview__diagonal {
    animation: none;
  }
}

/* ===== 04 仕事内容 ===== */
.work {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
}

.work__head {
  padding: 28px var(--gutter) 22px;
  background-color: var(--color-green);
}

.work__head .section-head {
  margin-bottom: 0;
}

.work__tabs {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  background-color: var(--color-green);
}

.work__panel {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 20px var(--gutter) 0;
  overflow: hidden;
  background-image: linear-gradient(to bottom, var(--color-white) 45%, var(--color-pale-yellow) 100%);
}

.work__panel::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 34%;
  background-color: var(--color-pale-blue);
  clip-path: polygon(0 34%, 14% 62%, 30% 8%, 46% 50%, 64% 0, 78% 44%, 100% 16%, 100% 100%, 0 100%);
}

.work__panel > * {
  position: relative;
  z-index: 1;
}

.work__job {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.work__en {
  margin-top: 4px;
  color: var(--color-yellow);
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 10.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 5px var(--color-text);
  paint-order: stroke fill;
}

/* 業務のカード：2列・グレー地・黒の細線・頭に青の斜線（参考：添付11枚目） */
.work__tasks {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.work__task {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 8px 10px 8px 26px;
  background-color: var(--color-gray);
  border: var(--line-thin);
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

/* 「メンテナンス」などの言葉を途中で折り返さない */
.work__task .nowrap {
  display: inline-block;
  white-space: nowrap;
}

.work__task::before {
  top: calc(50% - 0.525em);
  left: 12px;
}

/* イラスト（左下）＋吹き出しの説明（右） */
/* 下の端から少し上げて置く */
.work__talk {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  gap: 10px;
  min-height: 0;
  margin-top: 12px;
  margin-bottom: 30px;
}

.work__figure {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  min-height: 100px;
  max-height: 210px;
  aspect-ratio: 433 / 640;
  transform-origin: center bottom;
}

.work__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.is-js .work.is-active .work__figure {
  animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    rotate: -1.5deg;
  }

  50% {
    rotate: 1.5deg;
  }
}

.work__bubble {
  position: relative;
  flex: 1 1 auto;
  align-self: center;
  margin-bottom: 24px;
  padding: 12px 14px;
  background-color: var(--color-white);
  border: var(--line);
  border-radius: 16px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

/* 吹き出しのしっぽ（イラストの方＝左向き） */
.work__bubble::before,
.work__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  border-style: solid;
}

.work__bubble::before {
  right: 100%;
  margin-top: -8px;
  border-width: 8px 12px 8px 0;
  border-color: transparent var(--color-text) transparent transparent;
}

.work__bubble::after {
  right: calc(100% - 1.5px);
  margin-top: -6.5px;
  border-width: 6.5px 10px 6.5px 0;
  border-color: transparent var(--color-white) transparent transparent;
}

/* ===== 05 社員インタビュー（参考：添付7枚目） ===== */
.interview {
  background-color: var(--color-pale-yellow);
}

.interview__inner {
  justify-content: center;
}

/* 前の画面（04）の白を、左上から斜めに入れる */
.interview__diagonal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 44%;
  background-color: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
}

.is-js .interview .interview__diagonal {
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
}

.is-js .interview.is-active .interview__diagonal {
  animation: interview-diagonal 0.8s var(--ease-out) both;
}

@keyframes interview-diagonal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
  }
}

.interview__slash--a {
  top: -36px;
  right: -14%;
  width: 62%;
  height: 120px;
  transform: rotate(-12deg);
}

.interview__slash--b {
  top: 54px;
  right: -26%;
  width: 44%;
  height: 50px;
  transform: rotate(-12deg);
}

.interview__slash--c {
  bottom: -44px;
  left: -16%;
  width: 70%;
  height: 110px;
  transform: rotate(-12deg);
}

.interview__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Aさんは人物が左・Bさんは右 */
.interview__card {
  position: relative;
  display: grid;
  grid-template-columns: 50% minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}

.interview__item--b .interview__card {
  grid-template-columns: minmax(0, 1fr) 50%;
}

.interview__item--b .interview__visual {
  order: 2;
}

/* 人物の器と＋の丸 */
.interview__visual {
  position: relative;
  display: block;
  width: 100%;
}

.interview__figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* 人物の後ろの、淡い青のゆがんだ丸 */
.interview__figure::before {
  content: "";
  position: absolute;
  inset: 6% 2% 0;
  background-color: var(--color-pale-blue);
  border: var(--line-thin);
}

.interview__figure--a::before {
  border-radius: 46% 54% 42% 58% / 48% 40% 60% 52%;
}

.interview__figure--b::before {
  border-radius: 58% 42% 55% 45% / 42% 56% 44% 58%;
}

.interview__figure img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.is-js .interview.is-active .interview__figure img {
  animation: bob 4s ease-in-out infinite;
}

.is-js .interview.is-active .interview__figure--b img {
  animation-delay: -2s;
}

.interview__plus {
  position: absolute;
  right: 0;
  bottom: 0;
}

.interview__item--b .interview__plus {
  right: auto;
  left: 0;
}

.interview__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.interview__name {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* 吹き出し（しっぽは人物の方へ） */
.interview__bubble {
  position: relative;
  display: block;
  margin-top: 2px;
  padding: 10px 12px;
  background-color: var(--color-white);
  border: var(--line);
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.55;
}

.interview__bubble::before,
.interview__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  border-style: solid;
}

.interview__item--a .interview__bubble::before {
  right: 100%;
  margin-top: -8px;
  border-width: 8px 12px 8px 0;
  border-color: transparent var(--color-text) transparent transparent;
}

.interview__item--a .interview__bubble::after {
  right: calc(100% - 1.5px);
  margin-top: -6.5px;
  border-width: 6.5px 10px 6.5px 0;
  border-color: transparent var(--color-white) transparent transparent;
}

.interview__item--b .interview__bubble::before {
  left: 100%;
  margin-top: -8px;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--color-text);
}

.interview__item--b .interview__bubble::after {
  left: calc(100% - 1.5px);
  margin-top: -6.5px;
  border-width: 6.5px 0 6.5px 10px;
  border-color: transparent transparent transparent var(--color-white);
}

@media (hover: hover) and (pointer: fine) {
  .interview__card:hover .interview__plus {
    background-color: var(--color-blue-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-js .work.is-active .work__figure,
  .is-js .interview.is-active .interview__figure img {
    animation: none;
  }
}

/* ===== インタビューのモーダル ===== */
.modal {
  width: min(calc(100% - 32px), 440px);
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  background-color: var(--color-white);
  border: var(--line);
  border-radius: var(--radius-card);
  color: var(--color-text);
}

.modal::backdrop {
  background-color: rgba(26, 26, 26, 0.6);
}

/* 開くとき：下から16px上がりながら出る（0.25s）／閉じるとき：その逆（0.2s） */
.modal[open] {
  overscroll-behavior: contain;
  animation: modal-in 0.25s ease-out;
}

.modal[open]::backdrop {
  animation: backdrop-in 0.25s ease-out;
}

.modal.is-closing {
  animation: modal-out 0.2s ease-in forwards;
}

.modal.is-closing::backdrop {
  animation: backdrop-out 0.2s ease-in forwards;
}

@keyframes modal-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes backdrop-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes backdrop-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal[open],
  .modal[open]::backdrop,
  .modal.is-closing,
  .modal.is-closing::backdrop {
    animation: none;
  }
}

.modal__inner {
  position: relative;
  padding: 24px 22px 28px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  background-color: var(--color-yellow);
  border: var(--line);
  border-radius: 50%;
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: var(--color-text);
}

.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  padding-right: 44px;
}

.modal__figure {
  display: block;
  flex-shrink: 0;
  width: 96px;
  aspect-ratio: 3 / 4;
  background-color: var(--color-pale-blue);
  border: var(--line);
}

.modal__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.modal__profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.modal__name {
  font-family: var(--font-head);
  font-size: 1.43rem;
  font-weight: 900;
  line-height: 1.3;
}

.modal__question {
  margin-top: 18px;
  color: var(--color-blue-deep);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.modal__text {
  margin-top: 6px;
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== 06 よくある質問（背景：参考は添付10枚目） ===== */
.faq {
  background-color: var(--color-white);
}

.faq__bg {
  position: absolute;
  top: 14px;
  bottom: 0;
  left: -40%;
  z-index: 0;
  width: 180%;
  background-color: var(--color-gray);
  border-top: var(--line);
  border-radius: 50% 50% 0 0 / 150px 150px 0 0;
  pointer-events: none;
}

.faq__inner {
  padding-top: 52px;
}

.faq .grad--top {
  height: 300px;
}

.faq__slash--a {
  top: -10px;
  right: -16%;
  width: 52%;
  height: 70px;
  transform: rotate(-12deg);
}

.faq__slash--b {
  top: 60px;
  right: 6%;
  width: 18%;
  height: 22px;
  transform: rotate(-12deg);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background-color: var(--color-white);
  border: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq__question {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 14px;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: var(--line);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.36rem;
  font-weight: 900;
  line-height: 1;
}

.faq__mark--q {
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 1.07rem;
}

.faq__mark--a {
  background-color: var(--color-yellow);
  color: var(--color-text);
}

/* 右端の＋（開くと−） */
.faq__toggle {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
  background-color: var(--color-text);
  transition: transform 0.3s ease;
}

.faq__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 0 16px;
  padding: 16px 0 18px;
  border-top: 1px dashed var(--color-text);
}

.faq__answer-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== 07 会社概要 ===== */
.company {
  background-color: var(--color-pale-blue);
}

.company__inner {
  justify-content: center;
}

.company__list {
  padding: 6px 20px 6px 36px;
}

.company__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px dashed var(--color-text);
}

.company__row:first-child {
  border-top: 0;
}

.company__term {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.7;
}

.company__term::before {
  top: 0.33em;
  left: -16px;
}

/* 区切りの点線は、「／」の分も左へ伸ばす */
.company__row {
  margin-left: -16px;
  padding-left: 16px;
}

.company__burst {
  bottom: -2%;
  left: -10%;
  width: 120%;
  height: 26%;
}

.company__slash--a {
  top: -24px;
  right: -14%;
  width: 54%;
  height: 90px;
  transform: rotate(-12deg);
}

.company__slash--b {
  bottom: 6%;
  left: -12%;
  width: 40%;
  height: 40px;
  transform: rotate(-12deg);
}

.company__desc {
  font-size: 0.97rem;
  line-height: 1.7;
}

.company__tel {
  text-decoration: none;
}

/* ===== 08 募集要項 ===== */
.requirements {
  background-color: var(--color-white);
}

.requirements__panel {
  padding-top: 20px;
}

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

.requirements__item {
  padding: 14px 18px 16px 34px;
  background-color: var(--color-gray);
  border: var(--line-thin);
  border-radius: 16px;
}

/* 項目名と内容の頭をそろえ、「／」だけを頭の前に出す */
.requirements__term {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.6;
}

.requirements__term::before {
  top: 0.275em;
  left: -14px;
}

.requirements__desc {
  margin-top: 4px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.requirements__desc--strong {
  font-family: var(--font-head);
  font-size: 1.21rem;
  font-weight: 900;
}

.requirements__sub {
  margin-top: 2px;
}

.requirements__desc > .requirements__sub:first-child {
  margin-top: 0;
}

.requirements .grad--top {
  height: 360px;
}

.requirements__burst {
  top: 0;
  left: -10%;
  width: 120%;
  height: 190px;
}

.requirements__slash--a {
  top: 120px;
  left: -10%;
  width: 34%;
  height: 30px;
  transform: rotate(-12deg);
}

.requirements__slash--b {
  top: 30px;
  right: -12%;
  width: 40%;
  height: 50px;
  transform: rotate(-12deg);
}

/* ===== 09 エントリー ===== */
/* 送信後に中身が短くなっても、フッターを画面の下端に置く */
.entry {
  display: flex;
  flex-direction: column;
  background-color: var(--color-pale-yellow);
}

.entry__inner {
  flex: 1;
  padding-bottom: 48px;
}

.entry__burst {
  top: 0;
  left: -10%;
  width: 120%;
  height: 190px;
}

.entry__slash--a {
  top: 150px;
  right: -8%;
  width: 36%;
  height: 34px;
  transform: rotate(-12deg);
}

.entry__slash--b {
  top: 40px;
  left: -10%;
  width: 30%;
  height: 26px;
  transform: rotate(-12deg);
}

.entry__panel {
  padding: 24px 20px 28px;
  border-width: 1px;
}

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field__badge {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--color-white);
  border: var(--line-thin);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.form-field__badge--required {
  background-color: var(--color-yellow);
}

.form-field__input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-white);
  border: var(--line);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.form-field__input::placeholder {
  color: #8a8a8a;
}

.form-field__input--textarea {
  min-height: 132px;
  resize: vertical;
}

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

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

.form-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--color-gray);
  border: var(--line-thin);
  border-radius: 12px;
  font-size: 0.97rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-choice input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-main);
}

.form-other {
  margin-top: 8px;
}

.entry-form__submit {
  margin-top: 8px;
}

.entry-thanks {
  padding: 24px 4px;
  text-align: center;
}

/* 送信後にJSでフォーカスを移すだけの場所なので、枠は出さない（読み上げ用） */
.entry-thanks:focus {
  outline: none;
}

.entry-thanks__title {
  font-family: var(--font-head);
  font-size: 1.21rem;
  font-weight: 900;
  line-height: 1.6;
}

.entry-thanks__text {
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== 背の低い端末（1画面に収めるため、文字・余白を詰める） ===== */
@media (max-height: 700px) {
  .section__inner {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .swipe-section--long .section__inner {
    padding-bottom: 64px;
  }

  .faq__inner {
    padding-top: 44px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .section-head__en {
    font-size: clamp(2.4rem, 11.6vw, 2.85rem);
  }

  .section-head__en + .lead-title,
  .section-head__en + .band-text {
    margin-top: 10px;
  }

  .worry__en {
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .band-text {
    gap: 6px;
  }

  .band-text__line {
    font-size: 1rem;
  }

  .update__title {
    margin-bottom: 16px;
  }

  .update__title-jp {
    font-size: clamp(1.43rem, 6.4vw, 1.64rem);
  }

  .update__title-en {
    font-size: clamp(2.7rem, 13.4vw, 3.3rem);
  }

  .update__band {
    margin-bottom: 14px;
  }

  .update__body {
    gap: 8px;
  }

  .update__body .section-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .support__title {
    margin-bottom: 12px;
  }

  .support__title .band-text__line {
    font-size: clamp(1.21rem, 5.4vw, 1.43rem);
  }

  .support__body {
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .support__num {
    font-size: 1.7rem;
  }

  .support__text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .slider__nav {
    margin-top: 10px;
  }

  .slider__arrow {
    width: 40px;
    height: 40px;
  }

  .work__head {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .tabs__tab {
    min-height: 54px;
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .work__panel {
    padding-top: 14px;
  }

  .work__en {
    font-size: clamp(1.8rem, 8.8vw, 2.2rem);
  }

  .work__tasks {
    gap: 6px;
    margin-top: 12px;
  }

  .work__task {
    min-height: 50px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 0.8rem;
  }

  .work__talk {
    margin-bottom: 18px;
  }

  .work__bubble {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .interview__list {
    gap: 12px;
  }

  .interview__card,
  .interview__item--b .interview__card {
    gap: 12px;
  }

  .interview__card {
    grid-template-columns: 46% minmax(0, 1fr);
  }

  .interview__item--b .interview__card {
    grid-template-columns: minmax(0, 1fr) 46%;
  }

  .interview__bubble {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .company__row {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-height: 600px) {
  .update__title-en {
    font-size: 2.5rem;
  }

  .work__talk {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .work__figure {
    min-height: 64px;
  }

  .company .section-head {
    margin-bottom: 10px;
  }

  .company__list {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .update__body .section-text {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .interview__card {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .interview__item--b .interview__card {
    grid-template-columns: minmax(0, 1fr) 38%;
  }

  .company__row {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .company__desc {
    line-height: 1.6;
  }
}
