@charset "UTF-8";

/* =========================================================
   聡明設備株式会社 採用LP　トップページ固有のスタイル
   ========================================================= */

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

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

.fv__video,
.fv__poster {
  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;
}

.fv__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 25%;
  background-image: linear-gradient(
    to top,
    rgba(1, 104, 184, 0.5),
    rgba(1, 104, 184, 0)
  );
  pointer-events: none;
}

/* 確認用の仮テキスト（縦書き・画面の中央） */
.fv__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 800;
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.3em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  color: #fff;
  transform: translate(-50%, -50%);
}

.fv__bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom));
}

.fv__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.fv__scroll-text {
  padding-left: 0.3em;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.3em;
}

/* 下に伸びて消える線（参考サイトの scrollDown） */
.fv__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background-color: #fff;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% {
    transform: scaleY(0);
    transform-origin: 0 0;
  }

  50% {
    transform: scaleY(1);
    transform-origin: 0 0;
  }

  51% {
    transform: scaleY(1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scaleY(0);
    transform-origin: 0 100%;
  }
}

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

  .fv__poster {
    display: block;
  }

  .fv__scroll-line {
    animation: none;
  }
}

/* ===== 01 共感 ===== */
.worry {
  padding-top: 36px;
}

.worry .section__inner {
  gap: 18px;
}

.worry__marquee {
  bottom: 64px;
}

.worry__tri--a {
  top: -18px;
  right: -14px;
  width: 104px;
  --tri-rotate: 28deg;
}

.worry__tri--b {
  top: 38%;
  left: -26px;
  width: 64px;
  --tri-rotate: -18deg;
}

.worry__tri--c {
  right: 22%;
  bottom: 34px;
  width: 30px;
  --tri-rotate: 12deg;
}

.worry__body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr) 42%;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 0;
}

.worry__list {
  display: flex;
  grid-row: 1;
  grid-column: 1;
  flex-direction: column;
  gap: 14px;
}

.worry__item {
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background-color: #fff;
  color: var(--color-text);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(0, 34, 70, 0.18);
}

/* 吹き出しのしっぽ（右のイラストの方へ） */
.worry__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 12px;
  height: 14px;
  transform: translateY(-50%);
  background-color: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.worry__figure {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  height: 100%;
  max-height: 340px;
  aspect-ratio: auto;
}

.worry__figure img {
  object-position: center center;
}

.worry__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.worry__arrow {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== 02 払拭（演出A：キャラの吹き出しポップ） ===== */
.relief .section__inner {
  gap: 16px;
}

.relief__marquee {
  bottom: 22%;
}

.relief__tri--a {
  bottom: 30px;
  left: var(--gutter);
  width: 64px;
  --tri-rotate: -8deg;
}

.relief__tri--b {
  bottom: 8%;
  left: 36%;
  width: 46px;
  --tri-rotate: 24deg;
}

.relief__tri--c {
  right: -20px;
  bottom: 38%;
  width: 90px;
  --tri-rotate: 160deg;
}

.relief__tri--d {
  top: 18%;
  right: 8px;
  width: 40px;
  --tri-rotate: -30deg;
}

.relief__visual {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-height: 150px;
}

.relief__figure {
  flex: 0 0 56%;
  height: 100%;
}

.relief__figure img {
  object-position: center bottom;
}

.relief__bubble {
  position: absolute;
  top: 2%;
  left: 0;
  z-index: 1;
  max-width: 54%;
  padding: 16px 20px;
  border-radius: 20px;
  background-color: var(--color-main);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(1, 104, 184, 0.28);
  transform-origin: 100% 50%;
}

/* 吹き出しのしっぽ（右のキャラの顔の方へ） */
.relief__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 18px;
  height: 22px;
  transform: translateY(-50%);
  background-color: var(--color-main);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.is-js .relief__figure {
  opacity: 0;
  transform: translateY(24px);
}

.is-js .relief__bubble {
  opacity: 0;
  transform: scale(0.6);
}

.is-js .relief.is-active .relief__figure {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-js .relief.is-active .relief__bubble {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.2s linear 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .is-js .relief__figure,
  .is-js .relief__bubble,
  .is-js .relief.is-active .relief__figure,
  .is-js .relief.is-active .relief__bubble {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 03〜05 特徴（共通） ===== */
.point .section__inner {
  gap: 16px;
}

/* 背景の大きな番号 */
.point__bignum {
  position: absolute;
  top: 34px;
  right: -10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(8rem, 42vw, 11rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(1, 104, 184, 0.08);
}

/* 背景の大きな番号は、右からすべり込む */
.is-js .point__bignum {
  opacity: 0;
  transform: translateX(40px);
}

.is-js .point.is-active .point__bignum {
  animation: bignum-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

@keyframes bignum-in {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .is-js .point__bignum,
  .is-js .point.is-active .point__bignum {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.point__tri--a {
  right: -12px;
  bottom: 22%;
  width: 72px;
  --tri-rotate: 150deg;
}

.point__tri--b {
  top: 46%;
  left: -14px;
  width: 34px;
  --tri-rotate: 10deg;
}

.point__tri--c {
  bottom: 24px;
  left: 30%;
  width: 56px;
  --tri-rotate: -24deg;
}

.point--raise .point__tri--a {
  top: 30%;
  bottom: auto;
}

.point--hobby .point__tri--a {
  bottom: 12%;
}

/* ===== 数字を目立たせる動き（03・04）：カウントアップ → マーカーが引かれる → 弾む → 光の線 ===== */
.countup {
  position: relative;
}

/* 04は数字のすぐ右上に光の線を出すため、数字を包む */
.countup__target {
  position: relative;
  display: inline-block;
}

.countup__target .countup__spark {
  top: -30px;
  right: -12px;
}

.countup__num {
  display: inline-block;
  text-align: right;
  transform-origin: 50% 80%;
}

/* マーカーは左から右へ引く */
.is-js .countup.mark {
  background-repeat: no-repeat;
  background-size: 0% 100%;
}

.is-js .is-active .countup.mark {
  background-size: 100% 100%;
  transition: background-size 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}

/* 数え終わったら、数字が弾む */
.countup.is-counted .countup__num {
  animation: num-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

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

  45% {
    transform: scale(1.18);
  }

  75% {
    transform: scale(0.96);
  }

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

/* 数字の右上に飛び出す、黄緑の光の線（参考サイトのコインの光の線にならう） */
.countup__spark {
  position: absolute;
  top: -10px;
  right: -14px;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.countup__spark span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background-color: var(--color-accent);
  transform-origin: 50% 100%;
  opacity: 0;
}

.section--light .countup__spark span {
  background-color: var(--color-main);
}

.countup__spark span:nth-child(1) {
  rotate: -10deg;
  translate: 2px 0;
}

.countup__spark span:nth-child(2) {
  rotate: 35deg;
  translate: 12px 2px;
}

.countup__spark span:nth-child(3) {
  rotate: 80deg;
  translate: 18px 12px;
}

.countup.is-counted .countup__spark span {
  animation: spark 0.6s ease-out 0.1s both;
}

@keyframes spark {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  40% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-js .countup.mark,
  .is-js .is-active .countup.mark {
    background-size: 100% 100%;
    transition: none;
  }

  .countup.is-counted .countup__num,
  .countup.is-counted .countup__spark span {
    animation: none;
  }

  .countup__spark span {
    opacity: 1;
  }
}

/* ===== 03 特徴① 給与 ===== */
.point__price {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 0 2px;
  white-space: nowrap;
}

.point__price .num-display {
  font-size: clamp(3.25rem, 16vw, 4.5rem);
}

.point__yen {
  margin-left: 2px;
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  color: var(--color-main);
}

.point__foot {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.point__figure {
  max-height: 320px;
}

/* ===== 04 特徴② 評価・昇給 ===== */
.raise {
  line-height: 1.3;
}

.raise__lead {
  display: block;
  font-weight: 800;
  font-size: 1.0625rem;
}

.raise__main {
  display: block;
  font-weight: 800;
  font-size: clamp(1.375rem, 6vw, 1.625rem);
  white-space: nowrap;
}

.raise__mark {
  padding: 0 2px;
}

.raise__num {
  margin: 0 2px;
  font-size: clamp(3rem, 14vw, 4rem);
}

.raise__figure {
  min-height: 80px;
  max-height: 260px;
}

/* ===== 05 特徴③ 趣味 ===== */
.hobby__title {
  font-size: clamp(2rem, 9.4vw, 2.5rem);
  line-height: 1.3;
}

.hobby__figure {
  max-height: 320px;
}

/* ===== 06 代表の想い ===== */
/* 右下の三角と署名が重ならないよう、下の余白を広めに取る */
.swipe-section.message {
  padding-bottom: 80px;
}

.message .section__inner {
  justify-content: center;
  gap: 28px;
}

.message .section-head__title {
  color: #fff;
}

.message__marquee {
  bottom: 18px;
}

.message__tri--a {
  right: -18px;
  bottom: -34px;
  width: 84px;
  --tri-rotate: 160deg;
}

.message__tri--b {
  top: 30%;
  left: -20px;
  width: 60px;
  --tri-rotate: 14deg;
}

.message__tri--c {
  bottom: 40px;
  left: 18%;
  width: 26px;
  --tri-rotate: -20deg;
}

.message__text {
  font-size: 1rem;
  line-height: 2.1;
}

/* 名前の左に、代表のイラストを置く */
.message__profile {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 110px;
  padding-bottom: 52px;
}

.message__figure {
  flex: 0 0 auto;
  height: 100%;
  max-height: 240px;
  margin-left: 16px;
  aspect-ratio: 1 / 2;
}

.message__figure img {
  object-position: center bottom;
}

/* 名前の行の下の余白（行間）ぶん下げ、文字の下端を人物の足のラインにそろえる */
.message__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: -3px;
  padding-right: 4px;
  line-height: 1.6;
}

.message__company,
.message__role {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.86);
}

.message__name {
  position: relative;
  margin-top: 4px;
  padding-left: 48px;
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: 0.16em;
}

/* 署名の前の線 */
.message__name::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--color-accent);
}

/* ===== 07 仕事内容 ===== */
.work .section__inner {
  gap: 20px;
}

.work__tri--a {
  right: -16px;
  bottom: 36%;
  width: 70px;
  --tri-rotate: 150deg;
}

.work__tri--b {
  top: 40%;
  left: -18px;
  width: 50px;
  --tri-rotate: 8deg;
}

.work__tri--c {
  right: 26%;
  bottom: 6px;
  width: 44px;
  --tri-rotate: -24deg;
}

.work__photos {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows:
    minmax(0, 1.5fr)
    minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  max-height: 420px;
}

.work__photo:first-child {
  grid-column: 1 / -1;
}

/* ===== 08 求める人物像 ===== */
.person .section__inner {
  justify-content: center;
}

.person__marquee {
  top: 30px;
}

.person__tri--a {
  right: -14px;
  bottom: 16px;
  width: 90px;
  --tri-rotate: 150deg;
}

.person__tri--b {
  bottom: 40px;
  left: 10%;
  width: 28px;
  --tri-rotate: -12deg;
}

.person__tri--c {
  top: 22%;
  left: -20px;
  width: 64px;
  --tri-rotate: 20deg;
}

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

.person-card {
  display: grid;
  grid-template-columns:
    68px
    auto
    minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 88px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(1, 104, 184, 0.1);
}

.person-card__figure {
  width: 68px;
}

.person-card__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-main);
}

.person-card__text {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== 09 会社概要 ===== */
.company .section__inner {
  justify-content: center;
}

.company__marquee {
  top: 36px;
}

/* 背景に大きく敷くロゴマーク */
.company__mark {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 64%;
  max-width: 300px;
  opacity: 0.08;
}

.company__tri--a {
  top: -16px;
  right: -12px;
  width: 96px;
  --tri-rotate: 30deg;
}

.company__tri--b {
  bottom: 22%;
  left: -16px;
  width: 54px;
  --tri-rotate: 12deg;
}

.company__tri--c {
  bottom: 30px;
  left: 40%;
  width: 40px;
  --tri-rotate: -20deg;
}

.company-list {
  border-top: 2px solid var(--color-main);
}

.company-list__row {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.company-list__term {
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--color-main);
}

.company-list__desc {
  margin-top: 2px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== 10 募集要項（長尺セクション：縦に長い1枚） ===== */
.requirements {
  overflow: visible;
  padding-bottom: 64px;
}

.requirements .section__inner {
  height: auto;
  gap: 24px;
}

.requirements .ornament {
  bottom: auto;
  height: 100vh;
  height: 100dvh;
}

.req__marquee {
  top: 96px;
}

.req__tri--a {
  top: 30px;
  right: -14px;
  width: 80px;
  --tri-rotate: 150deg;
}

.req__tri--b {
  top: 300px;
  left: -24px;
  width: 64px;
  --tri-rotate: 16deg;
}

.req__tri--c {
  top: 200px;
  right: 30%;
  width: 30px;
  --tri-rotate: -20deg;
}

/* 項目はエントリーのフォームと同じく、1列に縦に並べる */
.req-list {
  padding: 8px 20px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(1, 104, 184, 0.08);
}

.req-list__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.req-list__item:last-child {
  border-bottom: 0;
}

.req-list__term {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--color-main);
}

/* 項目名の前の小さな旗 */
.req-list__term::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 10px;
  background-color: var(--color-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.req-list__desc {
  padding-left: 17px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.req-list__bullets li {
  position: relative;
  padding-left: 1em;
}

.req-list__bullets li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-main);
}

.req-list__desc .tag-list {
  margin-top: 4px;
}

.requirements__cta {
  display: flex;
  justify-content: center;
}

/* ===== 11 エントリー（長尺セクション） ===== */
.entry {
  overflow: visible;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.entry .ornament {
  bottom: auto;
  height: 100vh;
  height: 100dvh;
}

.entry__tri--a {
  top: 40px;
  right: -14px;
  width: 80px;
  --tri-rotate: 150deg;
}

.entry__tri--b {
  top: 180px;
  left: 44%;
  width: 34px;
  --tri-rotate: 10deg;
}

.entry__tri--c {
  top: 260px;
  left: -22px;
  width: 70px;
  --tri-rotate: -16deg;
}

.entry .section__inner {
  height: auto;
  gap: 20px;
  padding: 0 var(--gutter);
}

.entry__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.entry__figure {
  width: 38%;
  max-width: 160px;
}

.entry__figure img {
  object-position: center bottom;
}

/* フォーム */
.entry-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 20px;
  border-radius: 20px;
  background-color: var(--color-pale);
}

.form-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-badge {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--color-text-sub);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
}

.form-badge--required {
  border-color: var(--color-main);
  background-color: var(--color-main);
  color: #fff;
}

.form-field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #c9dbeb;
  border-radius: 12px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
}

.form-field__input::placeholder {
  color: #8796a8;
}

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

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

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

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

.radio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid #c9dbeb;
  border-radius: 12px;
  background-color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}

.radio:has(.radio__input:checked) {
  border-color: var(--color-main);
}

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

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

.entry-form__button {
  min-width: 240px;
}

.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

.entry-form__button.is-loading {
  cursor: wait;
  opacity: 0.8;
}

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

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

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

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

/* 送信後のメッセージ */
.entry-thanks {
  padding: 32px 24px;
  border: 2px solid var(--color-main);
  border-radius: 20px;
  background-color: #fff;
}

.entry-thanks__text {
  font-weight: 800;
  font-size: 1rem;
  line-height: 2;
}

/* ===== 背の低い端末（1画面に収めるための詰め） ===== */
@media (max-height: 760px) {
  .section {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .has-wave {
    padding-top: calc(var(--wave-height) + 16px);
  }

  .section-text {
    font-size: 0.875rem;
    line-height: 1.85;
  }

  .point .section__inner,
  .relief .section__inner,
  .work .section__inner {
    gap: 12px;
  }

  .worry .section__inner {
    gap: 14px;
  }

  .worry__item {
    padding: 11px 14px;
    font-size: 0.875rem;
  }

  .point__price .num-display {
    font-size: clamp(2.75rem, 14vw, 3.75rem);
  }

  .raise__num {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  .message .section__inner {
    gap: 20px;
  }

  .message__text {
    font-size: 0.9375rem;
    line-height: 2;
  }

  .person-list {
    gap: 10px;
  }

  .person-card {
    min-height: 76px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .company-list__row {
    padding: 12px 0;
  }

  .entry {
    padding-bottom: 0;
  }
}

@media (max-height: 620px) {
  .section-head__title {
    font-size: clamp(1.25rem, 5.6vw, 1.5rem);
    line-height: 1.45;
  }

  .section-head--vertical .section-head__title {
    font-size: clamp(1.375rem, 6.4vw, 1.625rem);
  }

  .section-text {
    font-size: 0.8125rem;
    line-height: 1.75;
  }

  .hobby__title {
    font-size: clamp(1.75rem, 8vw, 2.125rem);
  }

  .point__price .num-display {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  .raise__num {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .message__text {
    font-size: 0.875rem;
    line-height: 1.85;
  }

  .person-list {
    gap: 8px;
  }

  .person-card {
    grid-template-columns:
      56px
      auto
      minmax(0, 1fr);
    min-height: 68px;
  }

  .person-card__figure {
    width: 56px;
  }

  .person-card__num {
    font-size: 1.75rem;
  }

  .person-card__text {
    font-size: 0.875rem;
  }
}
