@charset "UTF-8";

/* =========================================================
   トンボ歯科クリニック 採用LP　トップページ固有のスタイル
   ========================================================= */

/* ===== 00 FV（動画背景） ===== */
.fv {
  position: relative;
  overflow: hidden;
  background-color: var(--color-base);
  color: #fff;
}

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

.fv__video,
.fv__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* 静止画は、動画を出さないとき（低速回線・動きを減らす設定）だけ表示 */
.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;
  }
}

/* 下端から：黒 → 透明（文字を読みやすくする） */
.fv__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* 確認用の仮テキスト（本番の動画に差し替えるときに削除） */
.fv__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.5em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
}

/* 左上の医院名 */
.fv__brand {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: 40px;
  background-color: rgba(255, 250, 244, 0.92);
}

.fv__brand img {
  width: 30px;
  height: auto;
}

.fv__brand-name {
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--color-heading);
}

/* 下へスワイプできることを示す表示 */
.fv__scroll {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: #fff;
  transform: translateX(-50%);
}

.fv__scroll-arrow {
  position: relative;
  width: 12px;
  height: 30px;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1px 100%;
}

.fv__scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

/* ===== 01 メッセージ ===== */
/* 右上と左下に写真を斜めに置き、見出しは中央（気持ち上寄り）に */
.message__inner {
  justify-content: space-between;
  gap: 14px;
}

.message__top {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* 英字は写真の下端の高さにそろえる */
.message__en {
  align-self: flex-end;
  margin-bottom: 2px;
}

.message__photo--top {
  flex: 0 0 auto;
  width: 46%;
  margin-right: calc(var(--gutter) * -1);
  aspect-ratio: 392 / 305;
  border-radius: 0 0 0 64px;
}

/* 見出しは左寄せで、行の頭をバラバラにずらす */
.message__title {
  flex: 0 0 auto;
  margin-top: 0;
  text-align: left;
}

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

.message__line--1 {
  margin-left: 0;
}

.message__line--2 {
  margin-left: 2.6em;
}

.message__line--3 {
  margin-left: 1.2em;
}

.message__text {
  flex: 0 0 auto;
}

/* 下の段：左端から写真、右下に葉っぱ */
.message__bottom {
  position: relative;
  flex: 1 1 0;
  min-height: 96px;
  max-height: 230px;
  margin: 0 calc(var(--gutter) * -1);
}

.message__photo--bottom {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64%;
  border-radius: 0 64px 0 0;
}

.message__leaf {
  position: absolute;
  right: calc(var(--gutter) + 8px);
  bottom: 10px;
  width: 68px;
  height: auto;
}

@media (max-height: 700px) {
  .message__photo--top {
    width: 40%;
  }

  .message__text {
    font-size: 0.9333rem;
    line-height: 1.75;
  }
}

/* ===== 02 こんな方に来てほしい ===== */
/* 葉っぱ形の白いカードを、上下に余白が空きすぎないよう高さいっぱいに並べる */
.wanted .section__inner {
  gap: 24px;
}

.wanted__list {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-height: 0;
  padding-top: 16px;
}

.wanted__item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: flex-start;
  max-height: 150px;
  padding: 16px 20px 16px 46px;
  border: 1px solid rgba(153, 215, 232, 0.6);
  border-radius: 64px 14px;
  background-color: var(--color-card);
}

/* カードの左上の角に重ねる葉っぱのイラスト */
.wanted__leaf {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 60px;
  height: auto;
}

.wanted__text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-heading);
}

/* 項目ごとのアイコン（チェックの印の代わり） */
.wanted__icon {
  flex: 0 0 auto;
  width: 68px;
  height: auto;
}

/* 幅の狭いスマホでは、アイコン・余白・文字を詰めて1行の長さに収める */
@media (max-width: 374px) {
  .wanted__item {
    padding-right: 12px;
    padding-left: 30px;
  }

  .wanted .wanted__text {
    gap: 10px;
    font-size: 0.9375rem;
  }

  .wanted .wanted__icon {
    width: 44px;
  }
}

@media (max-height: 700px) {
  .wanted .section__inner {
    gap: 18px;
  }

  .wanted__list {
    gap: 24px;
  }

  .wanted__leaf {
    top: -24px;
    width: 50px;
  }

  .wanted__icon {
    width: 58px;
  }
}

/* ===== 03 なぜ主役？ ===== */
/* 右上に大きな英字（写真の上端に重ねる）→ 写真 → 白い帯の一文（写真の下端に重ねる）→ 本文 */
.why__inner {
  justify-content: center;
  gap: 14px;
}

.why__head {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  text-align: right;
}

.why__label {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--color-heading);
}

.why__en {
  margin-bottom: -0.34em;
  font-size: clamp(3.5rem, 17vw, 4.5rem);
  line-height: 0.9;
}

.why__visual {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  max-height: 290px;
  margin-right: calc(var(--gutter) * -1);
}

.why__photo {
  flex: 1 1 0;
  min-height: 110px;
  border-radius: 72px 0 0 0;
}

.why__catch {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: -40px;
}

/* 1行ずつ白い四角で囲み、行ごとに左右へずらす */
.why__catch-line {
  padding: 3px 14px;
  background-color: var(--color-base-deep);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #fff;
}

.why__catch-line--1 {
  margin-left: 10px;
}

.why__catch-line--2 {
  margin-left: 46px;
}

.why__text {
  flex: 0 0 auto;
}

.why__text p + p {
  margin-top: 0.6em;
}

.why__conclusion {
  font-weight: 700;
  color: var(--color-heading);
}

@media (max-height: 700px) {
  .why__en {
    font-size: clamp(3rem, 15vw, 3.75rem);
  }

  .why__label {
    font-size: 0.9333rem;
  }

  .why__visual {
    max-height: 250px;
  }

  .why__catch-line {
    font-size: 1rem;
  }

  .why__text {
    font-size: 0.9333rem;
    line-height: 1.75;
  }

  .why__text p + p {
    margin-top: 0.4em;
  }
}

/* 本文は両端揃え（なぜ主役？・デンタルフィットネス・院紹介・院長挨拶・先輩の声） */
.why__text,
.dental-fitness__text,
.clinic__text,
.greeting__text,
.voice-card__text {
  text-align: justify;
}

/* 文節で改行している一文は、両端揃えにすると1行目が間延びするので左揃えのまま */
.why__text .why__conclusion {
  text-align: left;
}

/* ===== 04 特徴 ===== */
/* 上下の余白に写真を斜めに置く（上は右端から、下は左端から） */
.features__inner {
  justify-content: space-between;
  gap: 18px;
}

/* 写真は区画の高さの約15%（伸ばさない）。内容との間を空けて、窮屈に見せない */
.features__photo {
  flex: 0 1 auto;
  width: 52%;
  height: calc((100vh - var(--site-header-height)) * 0.15);
  height: calc((100dvh - var(--site-header-height)) * 0.15);
  min-height: 48px;
  max-height: 150px;
}

.features__photo--top {
  align-self: flex-end;
  margin-top: -14px;
  margin-right: calc(var(--gutter) * -1);
  border-radius: 0 0 0 56px;
}

.features__photo--bottom {
  align-self: flex-start;
  margin-bottom: -14px;
  margin-left: calc(var(--gutter) * -1);
  border-radius: 0 56px 0 0;
}

@media (max-height: 700px) {
  .features__inner {
    gap: 12px;
  }

  .features__list {
    gap: 12px;
  }

  .features__item {
    padding: 16px 24px;
  }
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  border-radius: 48px 12px;
  background-color: var(--color-card);
}

.features__item:nth-child(even) {
  border-radius: 12px 48px;
}

.features__num {
  flex: 0 0 auto;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-base);
}

.features__text {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-heading);
}

/* ===== 05 デンタルフィットネス ===== */
/* 上に写真、下から上の角が丸い面が背景の上に乗る */
.dental-fitness {
  padding-bottom: 0;
}

/* 写真は上、面は写真の下から画面の下端まで */
.dental-fitness__inner {
  gap: 0;
}

/* 写真は横長（4:3）。高さは「区画の高さの4割」と「列の幅の約9割で4:3にした高さ」の小さい方。
   面より上の余白の、上下の真ん中に置く */
.dental-fitness__photo {
  flex: 0 0 auto;
  align-self: center;
  width: auto;
  height: min(
    calc((100vh - var(--site-header-height)) * 0.4),
    calc((min(100vw, var(--column-width)) - var(--gutter) * 2) * 0.68)
  );
  height: min(
    calc((100dvh - var(--site-header-height)) * 0.4),
    calc((min(100vw, var(--column-width)) - var(--gutter) * 2) * 0.68)
  );
  min-height: 80px;
  margin: auto 0;
  aspect-ratio: 4 / 3;
}

.dental-fitness__sheet {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: calc((100vh - var(--site-header-height)) * 0.51);
  min-height: calc((100dvh - var(--site-header-height)) * 0.51);
  margin: 12px calc(var(--gutter) * -1) 0;
  padding: 30px var(--gutter) 30px;
  border-radius: 56px 56px 0 0;
  background-color: var(--color-bg);
  text-align: center;
}

.dental-fitness__label {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-base-deep);
}

.dental-fitness__en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(2rem, 8.6vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--color-base);
}

.dental-fitness__text {
  margin-top: 14px;
}

.dental-fitness__text p + p {
  margin-top: 0.6em;
}

@media (max-height: 700px) {
  .dental-fitness__sheet {
    padding: 24px var(--gutter) 22px;
  }

  .dental-fitness__en {
    font-size: clamp(1.875rem, 8vw, 2.25rem);
  }

  .dental-fitness__text {
    margin-top: 10px;
    font-size: 0.9333rem;
    line-height: 1.75;
  }
}

/* ===== 06 院紹介 ===== */
/* タイトルと写真の間を広めに */
.clinic .section-head {
  margin-bottom: 16px;
}

.clinic__photos {
  flex: 0 0 auto;
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
  pointer-events: none;
}

/* 写真の間隔は margin で取る（4枚＋複製4枚の、ちょうど半分で繰り返すため） */
.clinic__track {
  display: flex;
  width: max-content;
}

/* 1枚の幅は画面幅の約55% */
.clinic__photo {
  flex: 0 0 auto;
  width: calc(min(100vw, var(--column-width)) * 0.55);
  margin-right: 16px;
  aspect-ratio: 4 / 3;
}

/* 写真が右から左へ流れ続ける（演出B）：1枚8秒 × 4枚 = 32秒で1周 */
.clinic__track.is-looping {
  animation: clinic-marquee 32s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

/* 院紹介を表示している間だけ動かす */
.clinic.is-active .clinic__track.is-looping {
  animation-play-state: running;
}

@keyframes clinic-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clinic__track.is-looping {
    animation: none;
  }
}

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

/* サブ見出し（中央揃え・下に短い線） */
.sub-title {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--color-heading);
}

.sub-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 3px;
  background-color: var(--color-base);
}

@media (max-height: 700px) {
  .clinic__photo {
    width: calc(min(100vw, var(--column-width)) * 0.48);
    margin-right: 12px;
  }

  .clinic__text {
    font-size: 0.9333rem;
    line-height: 1.75;
  }
}

/* ===== 07 院長挨拶 ===== */
.greeting .section__inner {
  gap: 14px;
}

.greeting__head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.greeting__photo {
  flex: 0 0 auto;
  width: 96px;
  border: 3px solid #fff;
}

.greeting__head-text {
  min-width: 0;
}

.greeting__head .section-head__en {
  font-size: 1.75rem;
}

.greeting__head .section-head__title {
  margin-top: 0;
}

.greeting__sub {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-heading);
}

/* 本文が長いので、このセクションだけ文字を詰める */
.greeting__text {
  font-size: 14px;
  line-height: 1.75;
}

.greeting__text p + p {
  margin-top: 0.55em;
}

.greeting__sign {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: right;
  color: var(--color-heading);
}

.greeting__sign-name {
  margin-left: 0.5em;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
}

@media (max-height: 700px) {
  .greeting .section__inner {
    gap: 10px;
  }

  .greeting__photo {
    width: 80px;
  }

  .greeting__head .section-head__en {
    font-size: 1.5rem;
  }

  .greeting__text {
    font-size: 13.5px;
  }

}

/* ===== 08 先輩の声 ===== */
.voice .section__inner {
  gap: 16px;
}

.voice__slider {
  flex: 0 1 auto;
  min-height: 0;
  margin: 0 calc(var(--gutter) * -1);
}

/* 横に並べたカード（カードは画面幅の約80%・中央に寄せて止める） */
.voice__track {
  position: relative;
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 2px 10%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

/* マウスでもドラッグして送れる */
@media (hover: hover) and (pointer: fine) {
  .voice__track {
    cursor: grab;
  }
}

.voice__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}

.voice-card img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.voice-card {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  padding: 18px 20px 16px;
  border: 1px solid var(--color-base);
  border-radius: 32px;
  background-color: var(--color-card);
  scroll-snap-align: center;
}

/* ダミーであることを示すタグ（本番の文章に差し替えたら削除） */
.voice-card__sample {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 40px;
  background-color: var(--color-sample);
  color: #fff;
  font-weight: 700;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.voice-card__photo-wrap {
  position: relative;
  flex: 0 0 auto;
  margin-bottom: 12px;
}

/* 楕円形に切り抜いた写真（細い枠線付き） */
.voice-card__photo {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-base);
  border-radius: 50%;
}

/* 写真の左下に重ねた丸い番号 */
.voice-card__num {
  position: absolute;
  bottom: -8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-base);
  border-radius: 50%;
  background-color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--color-base-deep);
}

.voice-card__meta {
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-base-deep);
}

.voice-card__title {
  margin-top: 4px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-heading);
}

.voice-card__text {
  margin-top: 8px;
  font-size: 0.8667rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.voice-card__name {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-line);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-heading);
}

.voice-card__text + .voice-card__name {
  margin-top: 12px;
}

.voice__note {
  flex: 0 0 auto;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-height: 700px) {
  .voice .section__inner {
    gap: 10px;
  }

  .voice-card {
    padding: 14px 18px 12px;
  }

  .voice-card__photo {
    aspect-ratio: 2 / 1;
  }

  .voice-card__num {
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }

  .voice-card__photo-wrap {
    margin-bottom: 8px;
  }

  .voice-card__title {
    font-size: 0.9333rem;
  }

  .voice-card__text {
    margin-top: 4px;
    font-size: 0.8125rem;
    line-height: 1.65;
  }

  .voice-card__text + .voice-card__name {
    margin-top: 8px;
  }

  .voice-card__name {
    padding-top: 6px;
  }
}

/* ===== 09 医院概要 ===== */
.outline .section__inner {
  gap: 28px;
}

.outline__card {
  padding: 30px 26px 18px;
}

.outline__logo {
  width: 72px;
  height: auto;
  margin: 0 auto 12px;
}

.outline__row {
  display: grid;
  grid-template-columns:
    3.5em
    minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-base);
}

.outline__row:last-child {
  border-bottom: 0;
}

.outline__row dt {
  font-weight: 700;
  font-size: 0.8667rem;
  line-height: 1.8;
  color: var(--color-base-deep);
}

.outline__row dd {
  font-size: 0.9333rem;
  line-height: 1.8;
  color: var(--color-heading);
}

.outline__tel {
  text-decoration-color: var(--color-base);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ===== 10 募集要項（長尺セクション） ===== */
.swipe-section--long .section__inner {
  height: auto;
}

.requirements {
  padding-bottom: 56px;
}

.requirements .section__inner {
  gap: 24px;
}

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

.req-card {
  padding: 20px 22px 22px;
  border-radius: 32px;
}

.req-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
  font-weight: 700;
  font-size: 0.9333rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--color-heading);
}

.req-card__label::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-base);
}

/* 中身の頭は、項目名の文字（点 8px ＋ 間 8px の右）にそろえる */
.req-card__body {
  padding-left: 16px;
  font-size: 0.9333rem;
  line-height: 1.8;
  color: var(--color-heading);
}

/* 仕事内容は、水色の四角の中の文字がすでに項目名の文字の位置にそろっているので、ずらさない */
.req-card__body--boxed {
  padding-left: 0;
}

/* 仕事内容：1つずつ淡い水色の面に */
.req-work {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-work__item {
  padding: 12px 16px;
  border-radius: 20px;
  background-color: var(--color-pale-blue);
}

.req-work__title {
  font-weight: 700;
  line-height: 1.6;
}

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

/* 給与 */
.req-salary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  line-height: 1.3;
}

.req-salary__num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}

.req-salary__sep {
  margin: 0 0.15em;
  font-size: 1.125rem;
}

.req-salary__unit {
  margin-left: 0.15em;
  font-weight: 700;
  font-size: 1rem;
}

.req-table {
  margin-top: 10px;
}

.req-table__row {
  display: grid;
  grid-template-columns:
    5.5em
    minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--color-base);
}

.req-table__row:first-child {
  border-top: 0;
}

/* 項目名の下に内容を置く表（勤務時間） */
.req-table--stack .req-table__row {
  display: block;
}

.req-card__body > .req-table:first-child .req-table__row:first-child {
  padding-top: 0;
}

.req-table dt {
  font-weight: 700;
  font-size: 0.8667rem;
  line-height: 1.9;
  color: var(--color-base-deep);
}

.req-small {
  font-size: 0.8rem;
  color: var(--color-text);
}

.req-note {
  margin-top: 8px;
  font-size: 0.8667rem;
  color: var(--color-text);
}

/* 点付きのリスト（休日休暇・福利厚生） */
.req-dots li {
  position: relative;
  padding-left: 1.1em;
}

.req-dots li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* ===== 11 クロージング ===== */
.closing__photo {
  min-height: 160px;
  max-height: 380px;
}

/* ===== 12 エントリー（長尺セクション） ===== */
/* 中身が短いとき（サンクス表示のあと）も、フッターを画面の下端に置く */
.entry {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.entry .section__inner {
  gap: 24px;
  padding-bottom: 56px;
}

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

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

.form-badge {
  flex: 0 0 auto;
  padding: 1px 9px;
  border: 1px solid var(--color-base);
  border-radius: 40px;
  background-color: #fff;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.form-badge--required {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  font-weight: 700;
  color: var(--color-heading);
}

/* 入力欄（iOSで拡大されないよう文字は16px） */
.form-field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1.5px solid var(--color-base);
  border-radius: 18px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-heading);
  -webkit-appearance: none;
  appearance: none;
}

.form-field__input::placeholder {
  color: #a8a29e;
}

.form-field__input:focus {
  border-color: var(--color-base-deep);
}

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

.form-field.is-error .form-field__input {
  border-color: var(--color-error);
}

.form-field__error {
  margin-top: 6px;
  font-size: 0.8667rem;
  line-height: 1.6;
  color: var(--color-error);
}

/* ラジオボタン */
.form-radios {
  display: grid;
  gap: 10px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1.5px solid var(--color-base);
  border-radius: 40px;
  background-color: #fff;
  font-size: 0.9333rem;
  line-height: 1.5;
  color: var(--color-heading);
  cursor: pointer;
}

.form-radio:has(.form-radio__input:checked) {
  border-color: var(--color-accent);
  background-color: #fff8ec;
}

.form-radio__input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--color-base);
  border-radius: 50%;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-radio__input:checked {
  border-color: var(--color-accent);
  background-image: radial-gradient(
    circle,
    var(--color-accent) 0 45%,
    #fff 50%
  );
}

.entry-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* 送信中：三角の代わりにくるくる回る印を出し、押せなくする */
.btn__spinner {
  display: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

.entry-form__button.is-loading {
  cursor: progress;
}

.entry-form__button.is-loading .btn__icon {
  display: none;
}

.entry-form__button.is-loading .btn__spinner {
  display: block;
}

@keyframes btn-spin {
  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn__spinner {
    animation-duration: 2.4s;
  }
}

/* 送信後のサンクスメッセージ */
.entry-thanks {
  padding: 36px 24px;
  text-align: center;
}

.entry-thanks__title {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-heading);
}

.entry-thanks__text {
  margin-top: 10px;
  font-size: 0.9333rem;
}

/* フッターは中央列の幅いっぱいに */
.entry .site-footer {
  margin: auto calc(var(--gutter) * -1) 0;
}

/* ===== さらに背の低い端末（高さ600px以下）：余白・文字・写真をもう一段詰める ===== */
@media (max-height: 600px) {
  .fv__placeholder {
    font-size: 1rem;
    letter-spacing: 0.4em;
  }

  .message__text,
  .why__text,
  .dental-fitness__text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .message__inner,
  .why__inner {
    gap: 10px;
  }

  .message__photo--top {
    width: 36%;
  }

  .message__bottom {
    min-height: 72px;
  }

  .why__photo {
    min-height: 80px;
  }

  .dental-fitness__photo {
    height: calc((100vh - var(--site-header-height)) * 0.26);
    height: calc((100dvh - var(--site-header-height)) * 0.26);
  }

  .why__en {
    font-size: 2.75rem;
  }

  .why__catch {
    margin-top: -32px;
  }

  .why__catch-line {
    font-size: 0.9375rem;
  }

  .wanted__list {
    gap: 20px;
  }

  .features__inner {
    gap: 10px;
  }

  .features__photo {
    min-height: 36px;
  }

  .features__list {
    gap: 10px;
  }

  .features__item {
    padding: 12px 22px;
  }

  .features__num {
    font-size: 1.875rem;
  }

  .wanted__item {
    padding: 10px 14px 10px 32px;
  }

  .wanted__text {
    font-size: 1rem;
  }

  .wanted__icon {
    width: 46px;
  }

  .outline .section__inner {
    gap: 16px;
  }

  .outline__card {
    padding: 20px 22px 10px;
  }

  .outline__logo {
    width: 56px;
    margin-bottom: 4px;
  }

  .outline__row {
    padding: 10px 0;
  }

  .greeting .section__inner {
    gap: 8px;
  }

  .greeting__photo {
    width: 64px;
  }

  .greeting__head .section-head__en {
    font-size: 1.25rem;
  }

  .greeting__head .section-head__title {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .greeting__sub {
    font-size: 0.8125rem;
  }

  .greeting__text {
    font-size: 12px;
    line-height: 1.65;
  }

  .greeting__text p + p {
    margin-top: 0.3em;
  }

  .greeting__sign-name {
    font-size: 0.9375rem;
  }

  .voice-card__photo {
    aspect-ratio: 3 / 1;
  }

  .voice-card__title {
    font-size: 0.875rem;
  }

  .voice-card__text {
    font-size: 12px;
    line-height: 1.6;
  }
}
