/* =========================================================
   株式会社ダイマツ 採用LP（B案）　トップページ固有のスタイル
   ========================================================= */

/* ===== 00 FV（動画） ===== */
.fv {
  background: var(--color-orange);
}

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

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

/* 静止画は、動画を出さないとき（読み込み失敗・動きを減らす設定・データ節約）だけ表示 */
.fv__poster {
  display: none;
}

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

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

/* 下向きの矢印（文字なし。白い丸に、にじむオレンジ） */
.fv__scroll {
  position: absolute;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 60%, rgba(239, 164, 91, 0.55) 0, rgba(239, 164, 91, 0) 62%),
    var(--color-white);
  box-shadow: var(--glow);
  animation: fv-scroll 1.8s ease-in-out infinite;
}

.fv__scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-right: 2.5px solid var(--color-text);
  border-bottom: 2.5px solid var(--color-text);
  transform: rotate(45deg);
}

@keyframes fv-scroll {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

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

/* ===== 01 共感（雲形の絵を右上と左下に・左上に色の雲） ===== */
/* 上の絵と左下の絵が同じ割合で場所を分け合うので、見出し＋本文が画面の真ん中に来る */
.worry .sec__inner {
  gap: 14px;
}

.worry .sec-head__title {
  font-size: clamp(20px, 5.9vw, 25px);
}

.worry__foot {
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 60px;
  max-height: 250px;
  margin: 0 0 -6px;
}

/* 左下の雲形の絵（見切れないよう画面の内側に置く）。後ろの右下に黄色の雲をずらして重ねる（上の本文にはかけない） */
.worry__foot-frame {
  position: relative;
  height: 100%;
  max-width: 86%;
  aspect-ratio: 5 / 4;
}

.worry__foot-frame::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 24%;
  z-index: -1;
  width: 92%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #FDE07A 0%, var(--color-yellow) 100%);
  -webkit-mask: var(--cloud) center / 100% 100% no-repeat;
  mask: var(--cloud) center / 100% 100% no-repeat;
}

.worry__foot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: var(--cloud) center / 100% 100% no-repeat;
  mask: var(--cloud) center / 100% 100% no-repeat;
}

.worry__deco {
  position: absolute;
  top: -22px;
  left: -40px;
  z-index: 0;
  width: 150px;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
  opacity: 0.75;
  -webkit-mask: var(--cloud) center / 100% 100% no-repeat;
  mask: var(--cloud) center / 100% 100% no-repeat;
}

.cloud-pic {
  display: flex;
  flex: 1 1 0;
  justify-content: flex-end;
  min-height: 60px;
  max-height: 250px;
  margin: 0 -8px 4px 0;
}

.cloud-pic__frame {
  position: relative;
  height: 100%;
  max-width: 92%;
  aspect-ratio: 5 / 4;
}

.cloud-pic__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: var(--cloud) center / 100% 100% no-repeat;
  mask: var(--cloud) center / 100% 100% no-repeat;
}

/* ===== 02〜06 の面の色（--panel＝面、--under＝角にのぞく前のセクションの色） ===== */
.welcome {
  --panel: #FFF2C8;
  --under: var(--color-cream);
}

.reason {
  --panel: var(--color-cream);
  --under: #FFF2C8;
}

.salary {
  --panel: var(--color-yellow);
  --under: var(--color-cream);
  --en-stroke: var(--color-white);
}

.holiday {
  --panel: var(--color-cream);
  --under: var(--color-yellow);
}

.work {
  --panel: var(--color-white);
  --under: var(--color-cream);
}

/* ===== 02 完璧じゃなくても（大きな白い円・吹き出し・絵） ===== */
.welcome .sec__inner {
  gap: 14px;
}

/* 背面の大きな白い円（面の上・中身の下） */
.welcome::after {
  content: "";
  position: absolute;
  top: 31%;
  left: 50%;
  z-index: -1;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-white);
  transform: translateX(-50%);
}

/* 円の左にのぞく黄色の形 */
.welcome__deco {
  position: absolute;
  top: 24%;
  left: -18%;
  z-index: -1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: linear-gradient(135deg, #FDE07A 0%, var(--color-yellow) 100%);
  animation: blob-morph 9s ease-in-out infinite alternate;
}

.welcome__bubbles .bubble {
  padding: 8px 18px;
  background: linear-gradient(180deg, #F2A15F 0%, #E2763E 100%);
  color: var(--color-white);
  font-size: 15.5px;
}

.welcome__bubbles .bubble::after {
  background: #E2763E;
}

.welcome__pic {
  flex: 1 1 0;
  min-height: 80px;
  max-height: 230px;
  margin: 4px 10px 0;
  overflow: hidden;
  border-radius: 20px;
}

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

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

/* ===== 03 稼ぎたい理由（光る白い丸を2×2で） ===== */
.reason .sec__inner {
  gap: 14px;
}

.reason-grid {
  --orb: clamp(74px, 13.5dvh, 120px);
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 18px clamp(30px, 11vw, 56px);
  padding: 12px 0 6px;
}

.reason-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reason-orb__circle {
  display: grid;
  place-items: center;
  width: var(--orb);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow:
    0 0 0 5px rgba(253, 234, 154, 0.7),
    0 0 22px 8px rgba(253, 234, 154, 0.95);
}

.reason-orb__circle img {
  width: 92%;
}

.reason-orb__label {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

/* ===== 04 月収（黄色の面に数字のカード） ===== */
.salary .sec__inner {
  gap: 14px;
}

/* 見出しの「28」だけ大きく */
.em-num {
  margin: 0 0.04em;
  font-family: var(--font-en);
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: -0.08em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 12px 14px 14px;
  background: linear-gradient(150deg, #FFFCEF 0%, #FFF1BA 100%);
  border-radius: 14px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 8px 24px rgba(201, 108, 66, 0.18);
  text-align: left;
}

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

.stat-card__value {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.stat-card__value strong {
  margin-right: 3px;
  color: #E2683A;
  font-family: var(--font-en);
  font-size: clamp(26px, 8vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
}

/* Q&A（横長のカード。左にQ・Aの丸。文字は太くせず、28〜32だけ強調） */
.qa {
  margin: 0;
  gap: 4px;
}

.qa__q,
.qa__a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding-left: 44px;
  font-size: 15px;
  font-weight: 500;
}

.qa__q::before,
.qa__a::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
}

.qa__q::before {
  content: "Q";
  background: var(--color-yellow);
}

.qa__a::before {
  content: "A";
  background: #E2683A;
  color: var(--color-white);
}

.qa__a strong {
  margin: 0 3px;
  color: #E2683A;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
}

.salary__bottom {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 4px;
  min-height: 0;
  max-height: 250px;
  margin: 0 -6px;
}

.salary__person {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  min-height: 90px;
  max-width: 52%;
  aspect-ratio: 601 / 1000;
}

/* 人物から出る吹き出し（左のしっぽが人物の方を向く） */
.salary__note {
  position: relative;
  flex: 1 1 0;
  align-self: center;
  margin-left: 12px;
  padding: 12px 14px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(201, 108, 66, 0.16);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.salary__note::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 14px;
  height: 18px;
  margin-top: -9px;
  background: var(--color-white);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.salary__person::before {
  content: "";
  position: absolute;
  inset: 10% -6% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 70%);
}

.salary__person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}

/* ===== 05 休日（少し傾けた白いカード・後ろに黄色のカード） ===== */
.holiday .sec__inner {
  gap: 18px;
}

.tilt-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  max-height: 500px;
  margin: 0 8px 6px;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  background: var(--color-yellow);
  transform: rotate(3deg) translate(4px, 6px);
}

.tilt-card__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 14px 16px 18px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(201, 108, 66, 0.2);
  transform: rotate(-3deg);
}

.tilt-card__pic {
  flex: 1 1 0;
  min-height: 70px;
  max-height: 220px;
  overflow: hidden;
  border-radius: 14px;
}

.tilt-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* オレンジの小見出し */
.tilt-card__title {
  color: #E2683A;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.tilt-card .sec-text {
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.65;
}

/* ===== 06 仕事内容（少し傾けた色のカードを縦に重ねる。左に番号と文、右に絵） ===== */
.work .sec__inner {
  gap: 16px;
}

.work-cards {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  max-height: 600px;
  margin: 0 -4px;
}

.work-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 6px;
  min-height: 0;
  max-height: 116px;
  padding: 8px 12px 8px 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, #E8763C 0%, #EF8E4C 100%);
  box-shadow: 0 8px 20px rgba(201, 108, 66, 0.2);
  color: var(--color-white);
  text-align: left;
  rotate: -1.6deg;
}

.work-card + .work-card {
  margin-top: -4px;
}

.work-card:nth-child(2) {
  background: linear-gradient(120deg, #FFF3C6 0%, var(--color-yellow) 100%);
  color: var(--color-text);
  rotate: 1.4deg;
}

.work-card:nth-child(3) {
  background: linear-gradient(120deg, #C96C42 0%, #D97B47 100%);
  rotate: -1.2deg;
}

.work-card:nth-child(4) {
  background: linear-gradient(120deg, #FFFCEF 0%, #FFF1D6 100%);
  color: var(--color-text);
  rotate: 1.6deg;
}

.work-card:nth-child(5) {
  background: linear-gradient(120deg, #F3AE66 0%, #EF9A55 100%);
  rotate: -1.4deg;
}

.work-card__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.work-card__num {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.work-card__num b {
  font-size: 1.9em;
  font-weight: 700;
}

.work-card__text {
  font-family: var(--font-head);
  font-size: clamp(14px, 4.3vw, 17px);
  font-weight: 900;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-card__icon {
  flex-shrink: 0;
  height: 100%;
  max-height: 100px;
  aspect-ratio: 1;
}

.work-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== 07 施工実績（オレンジの面・横にスライド） ===== */
.sec.results {
  background: var(--color-white);
}

.results .sec__inner {
  gap: 12px;
}

.results .sec-head__title {
  color: var(--color-white);
}

.results .sec-lead {
  font-size: 13.5px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(150, 64, 20, 0.3);
}

.works-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 -22px;
}

.works-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.works-slider__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
}

.works-slider__arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-slider__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 96px;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.works-slider__count b {
  font-size: 30px;
}

.works-slider__track {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 6px 11% 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.works-slide {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: center;
  text-align: left;
}

.works-slide__pic {
  display: block;
  width: 100%;
  height: clamp(120px, 27dvh, 220px);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(150, 64, 20, 0.25);
}

.works-slide__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 絵の下に重なる白いカード */
.works-slide__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin: -26px 0 0 14%;
  padding: 10px 14px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(150, 64, 20, 0.2);
  color: var(--color-text);
}

.works-slide__num {
  flex-shrink: 0;
  color: #E2683A;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.works-slide__name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ===== 08 活躍できる場所（テラコッタ色の面に白い文字。絵は白い縁の角丸の窓に入れ、後ろに薄い輪を重ねる） ===== */
.future {
  --en-stroke: var(--color-white);
  color: var(--color-white);
}

.future::before {
  background: linear-gradient(180deg, #C96C42 0%, #D97B47 55%, #E58A4E 100%);
}

.future .sec__inner {
  gap: 16px;
  background:
    var(--deco-dots-white) right 12px top 18px / 72px auto no-repeat,
    var(--deco-ring-white) left -58px top 34% / 140px auto no-repeat;
}

.future .sec-head__en {
  font-size: clamp(50px, 15vw, 64px);
  -webkit-text-stroke-width: 2px;
}

.future__pic {
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  min-height: 90px;
  max-height: 250px;
  margin: 0 0 6px;
}

.future__frame {
  position: relative;
  height: 100%;
  max-width: calc(100% - 12px);
  aspect-ratio: 760 / 420;
  margin-right: 12px;
}

/* 絵の右下にずらした黄色の面 */
.future__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--color-yellow);
  transform: translate(12px, 10px);
}

.future__frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--color-white);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(110, 44, 14, 0.28);
}

/* ===== 09 会社概要 ===== */
.info-list {
  padding: 6px 20px;
  text-align: left;
}

.info-list__row {
  display: grid;
  grid-template-columns: 6.2em 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1.5px dashed rgba(74, 44, 26, 0.3);
}

.info-list__row:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: var(--color-accent);
  font-family: var(--font-head);
  font-weight: 900;
}

.tel-link {
  font-weight: 700;
  text-underline-offset: 3px;
}

.company__deco {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

/* ===== 10 募集要項 ===== */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tabs__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 6px 6px;
  background: var(--color-white);
  border: var(--line);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.tabs__btn[aria-selected="true"] {
  background: var(--grad-warm);
  border-color: transparent;
  box-shadow: var(--glow);
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.req {
  padding: 14px 18px 16px;
}

.req__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--color-accent);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
}

.req__name::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.req__body {
  margin: 0;
}

.req__strong {
  font-size: 16px;
}

.req__note {
  padding-left: 1em;
  text-indent: -1em;
}

.req__dots > li,
.req__allowance > li {
  position: relative;
  padding-left: 1em;
}

.req__dots > li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.req__allowance {
  margin-top: 2px;
}

.req__nums > li {
  display: flex;
}

.req__num {
  flex-shrink: 0;
  width: 1.3em;
}

.recruit__entry {
  margin-top: 12px;
}

/* ===== 11 エントリー ===== */
.entry__visual {
  position: relative;
  align-self: center;
  width: min(80%, 300px);
  aspect-ratio: 1;
  margin-bottom: -18px;
}

/* 人物のまわりを回る文字の輪（60秒で1周） */
.entry__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  animation: ring-rotate 60s linear infinite;
}

.entry__visual::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--glow);
}

.entry__person {
  position: absolute;
  left: 8%;
  bottom: 14%;
  width: 84%;
  height: auto;
}

@keyframes ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

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

.entry__card {
  padding: 22px 18px 26px;
  border-radius: 24px;
  text-align: left;
}

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

.entry-form__intro {
  font-size: 13px;
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

.entry-form__intro .badge {
  margin: 0 2px 0 0;
}

.badge--req {
  background: var(--color-accent);
  color: var(--color-white);
}

.badge--opt {
  background: var(--color-cream);
  border: 1px solid var(--color-text);
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
}

.field__help {
  margin: -2px 0 8px;
  font-size: 12.5px;
}

.field__input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--color-cream);
  border: 1.5px solid rgba(74, 44, 26, 0.35);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
}

.field__input:focus {
  border-color: var(--color-accent);
}

select.field__input {
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, var(--color-text) 50%)
      calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--color-text) 50%, transparent 50%)
      calc(100% - 12px) 52% / 6px 6px no-repeat,
    var(--color-cream);
}

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

.field__input[aria-invalid="true"] {
  border-color: #B3261E;
  background-color: #FFF1EE;
}

.field__error {
  margin-top: 6px;
  color: #B3261E;
  font-size: 13px;
  font-weight: 700;
}

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

.date-row {
  display: grid;
  grid-template-columns: 1fr 7.6em;
  grid-template-areas:
    "label label"
    "date time";
  gap: 4px 8px;
}

.date-row__label {
  grid-area: label;
  font-size: 13px;
  font-weight: 700;
}

.date-row__date {
  grid-area: date;
  min-width: 0;
}

.date-row__time {
  grid-area: time;
  min-width: 0;
  padding-left: 10px;
  font-size: 14px;
}

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

.entry-form__submit[disabled] {
  cursor: progress;
  opacity: 0.85;
}

/* 送信中：矢印の代わりに回る輪 */
.entry-form__submit.is-sending::after {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(74, 44, 26, 0.25);
  border-top-color: var(--color-text);
  border-right-color: var(--color-text);
  border-radius: 50%;
  transform: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.entry-form__status:empty {
  display: none;
}

.entry-form__status {
  font-size: 13px;
  text-align: center;
}

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

.entry-thanks:focus {
  outline: none;
}

.entry-thanks__title {
  margin-bottom: 8px;
  color: var(--color-accent);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
}

.site-footer {
  margin-top: 18px;
  text-align: center;
}

.site-footer__copy {
  font-size: 12px;
}

/* ===== 控えめな飾り（余白に点・輪・波線を薄く。動かさない） ===== */
.worry .sec__inner {
  background:
    var(--deco-dots) right 10px top 44% / 60px auto no-repeat,
    var(--deco-wave) left 14px top 46% / 56px auto no-repeat;
}

.welcome .sec__inner {
  background:
    var(--deco-ring) right -46px top 10px / 120px auto no-repeat;
}

.reason .sec__inner {
  background:
    var(--deco-dots) left 12px top 18px / 72px auto no-repeat,
    var(--deco-ring) right -52px bottom 22px / 140px auto no-repeat,
    var(--deco-wave) right 18px top 30px / 56px auto no-repeat;
}

.salary .sec__inner {
  background:
    var(--deco-ring-white) left -48px top 16px / 130px auto no-repeat,
    var(--deco-dots) right 12px bottom 18px / 60px auto no-repeat;
}

.holiday .sec__inner {
  background:
    var(--deco-dots) right 12px top 18px / 72px auto no-repeat,
    var(--deco-wave) left 18px top 34px / 56px auto no-repeat,
    var(--deco-ring) left -56px bottom 8px / 130px auto no-repeat;
}

.work .sec__inner {
  background:
    var(--deco-dots) left 12px top 18px / 60px auto no-repeat,
    var(--deco-ring) right -50px bottom 10px / 120px auto no-repeat;
}

.results .sec__inner {
  background:
    var(--deco-dots-white) right 12px top 18px / 72px auto no-repeat,
    var(--deco-ring-white) left -56px bottom 14px / 130px auto no-repeat;
}

/* ===== 背の低い端末（1画面に収めるため、余白・文字・絵を詰める） ===== */
@media (max-height: 700px) {
  .sec__inner {
    gap: 12px;
    padding: 16px 20px;
  }

  .sec-head__en {
    font-size: 36px;
  }

  .sec-head--solid .sec-head__en {
    font-size: 44px;
  }

  .sec-text {
    gap: 6px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .sec-text--small,
  .tilt-card .sec-text {
    font-size: 12.5px;
    line-height: 1.6;
  }

  .bubble {
    padding: 5px 14px;
    font-size: 13.5px;
  }

  .welcome .sec__inner,
  .work .sec__inner {
    gap: 14px;
  }

  .reason-grid {
    gap: 12px 40px;
    padding: 8px 0 4px;
  }

  .results .sec__inner {
    gap: 8px;
  }

  .results .sec-lead {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .tilt-card__title {
    font-size: 15.5px;
  }

  .stat-card {
    padding: 10px 12px;
  }

  .works-slider {
    margin: 0 -20px;
  }
}

@media (max-height: 600px) {
  .sec-head__en {
    margin-bottom: 4px;
    font-size: 28px;
  }

  .sec-head--solid .sec-head__en {
    font-size: 36px;
  }

  .sec-head__title {
    font-size: 19px;
    line-height: 1.45;
  }

  .sec__inner {
    gap: 9px;
    padding: 12px 16px;
  }

  .sec-text,
  .sec-text--small,
  .sec-lead,
  .tilt-card .sec-text {
    font-size: 12px;
    line-height: 1.55;
  }

  .bubble-list {
    gap: 10px 6px;
  }

  .blob-pic {
    min-height: 70px;
  }

  .bubble,
  .welcome__bubbles .bubble {
    padding: 4px 12px;
    font-size: 12.5px;
  }

  .tilt-card__title {
    font-size: 14px;
  }

  .reason-orb__label {
    font-size: 13.5px;
  }

  .reason-orb {
    gap: 8px;
  }

  .stat-card__value strong {
    font-size: 24px;
  }

  .tilt-card__body {
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .works-slider {
    margin: 0 -16px;
  }


  .qa__q,
  .qa__a {
    font-size: 14px;
  }

  .info-list__row {
    padding: 8px 0;
  }

  .works-slider__arrow {
    width: 36px;
    height: 36px;
  }

  .works-slider__count b {
    font-size: 24px;
  }

  .future .sec__inner {
    gap: 12px;
  }

  .future .sec-head__en {
    font-size: 40px;
  }
}
