:root {
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --color-text: #2f2f2f;
  --color-subtext: #666666;
  --color-muted: #8a8a8a;
  --color-main: #e87383;
  --color-main-soft: #f8e8eb;
  --color-green: #5f7f5f;
  --color-bg: #ffffff;
  --color-bg-soft: #faf7f5;
  --color-border: #eadfe0;
  --radius-button: 999px;
  --section-space-pc: 120px;
  --section-space-sp: 72px;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

button {
  font: inherit;
}

.section {
  padding: var(--section-space-pc) 24px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-kicker {
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.65;
}

h1 {
  font-size: clamp(32px, 3.3vw, 42px);
}

h2 {
  font-size: clamp(25px, 2.7vw, 34px);
}

h3 {
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.5;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border: 1px solid var(--color-main);
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(232, 115, 131, 0);
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.button-primary {
  color: #ffffff;
  background: var(--color-main);
  box-shadow: 0 14px 28px rgba(232, 115, 131, 0.24);
}

.button-outline {
  color: var(--color-main);
  background: #ffffff;
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(232, 115, 131, 0.32);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.82s var(--ease-out-soft), transform 0.82s var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-block img,
.entry-band img,
.voice-item img,
.contact-face {
  transition: transform 1s var(--ease-out-soft);
}

.image-block.is-visible img,
.entry-band.is-visible img,
.voice-item.is-visible img,
.contact-inner.is-visible .contact-face {
  transform: scale(1.035);
}

/* スマホ画面下部の追従CTA（既定は非表示、760px以下で表示） */
.mobile-cta {
  display: none;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.recruit-hero > *,
.split-layout > *,
.workstyle-layout > *,
.entry-band > *,
.contact-inner > *,
.footer-inner > * {
  min-width: 0;
}

.text-block p:not(.section-kicker) {
  color: var(--color-subtext);
  margin-top: 24px;
}

.image-block {
  overflow: hidden;
  border-radius: 0 56px 0 0;
  width: 100%;
  margin: 0;
}

.image-block img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.section-heading {
  text-align: center;
}

.section-heading .section-kicker {
  margin-bottom: 10px;
}

.section-heading h2::after,
.text-block h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 20px;
  background: var(--color-main);
}

.section-heading h2::after {
  margin-right: auto;
  margin-left: auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(234, 223, 224, 0.7);
  backdrop-filter: blur(16px);
  animation: headerDrop 0.72s var(--ease-out-soft) both;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.site-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: rotate(-4deg) scale(1.04);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a:not(.header-button):not(.official-button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--color-main);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav .is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-button {
  padding: 11px 20px;
  color: #ffffff;
  background: var(--color-main);
  border-radius: var(--radius-button);
  box-shadow: 0 10px 22px rgba(232, 115, 131, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232, 115, 131, 0.28);
}

.official-button {
  padding: 10px 18px;
  color: var(--color-main);
  background: #ffffff;
  border: 1px solid var(--color-main);
  border-radius: var(--radius-button);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.official-button:hover {
  background: var(--color-main-soft);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--color-text);
}

/* recruit-hero */
.recruit-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.hero-decoration {
  display: none;
}

/* FV画像はトリミングせず本来の比率でそのまま表示する（下部のピンク装飾を切らない） */
.recruit-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
}

.recruit-hero__image picture {
  display: block;
  width: 100%;
}

.recruit-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  animation: heroImageIn 1.05s var(--ease-out-soft) both;
}

/* テキストは画像左側の白い余白に重ねて配置する */
.recruit-hero__content {
  position: absolute;
  z-index: 5;
  top: 18%;
  left: clamp(24px, 6vw, 96px);
  width: min(520px, 40vw);
  max-width: 520px;
  min-width: 0;
  animation: heroTextIn 0.9s var(--ease-out-soft) 0.18s both;
}

.recruit-hero .section-kicker {
  display: none;
}

.recruit-hero h1 span {
  color: var(--color-main);
  white-space: nowrap;
}

.recruit-hero__content > p:not(.section-kicker) {
  color: var(--color-subtext);
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* recruit-message */
.recruit-message {
  padding-top: 88px;
}

/* 画像は写真本来の比率で表示（縦に切り詰めず参考デザインと同じ見え方にする） */
.recruit-message .image-block img {
  aspect-ratio: 1126 / 666;
}

/* recruit-workstyle */
.recruit-workstyle {
  position: relative;
  overflow: hidden;
}

.workstyle-decoration {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 3;
  width: 147px;
  opacity: 1;
  pointer-events: none;
  animation: floatDecoration 5.5s ease-in-out infinite;
}

.workstyle-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  color: var(--color-subtext);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--color-main);
  border-left: 2px solid var(--color-main);
  transform: rotate(-45deg);
}

.check-list li {
  transition-delay: var(--reveal-delay, 0s);
}

.image-block--soft {
  border-radius: 56px 0 0 0;
}

/* recruit-voice */
.recruit-voice {
  padding-top: 88px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
}

.voice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 58px;
}

.voice-item {
  text-align: center;
}

.voice-item img {
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  object-fit: cover;
  border-radius: 50%;
}

.voice-item p {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
}

.voice-item span {
  display: block;
  margin-top: 18px;
  color: var(--color-subtext);
  font-size: 13px;
  font-weight: 700;
}

/* recruit-entry-cta */
.recruit-entry-cta {
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
}

.entry-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  width: 100%;
  min-height: 430px;
  padding: 68px clamp(24px, 7vw, 116px);
}

.entry-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-main-soft);
  border-radius: 0 52% 0 0 / 0 20% 0 0;
  transform: skewY(-2deg);
  transform-origin: left center;
}

.entry-text {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.entry-text p:not(.section-kicker) {
  color: var(--color-subtext);
  margin-top: 24px;
}

.entry-text .button {
  margin-top: 34px;
}

.entry-band figure {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(680px, 100%);
  margin: 0;
  overflow: hidden;
  border-radius: 72px 0 0 0;
}

.entry-band picture {
  display: block;
  width: 100%;
}

.entry-band img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

/* recruit-flow */
.recruit-flow {
  padding-top: 96px;
}

.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0;
  margin: 58px 0 0;
  list-style: none;
}

.flow-list::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 9%;
  left: 9%;
  height: 2px;
  background: var(--color-main);
}

.flow-list li {
  position: relative;
  text-align: center;
}

.flow-list span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: #ffffff;
  background: var(--color-main);
  border: 6px solid #ffffff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.flow-list p {
  color: var(--color-subtext);
  font-size: 13px;
  margin-top: 8px;
}

/* recruit-contact */
.recruit-contact {
  padding: 72px 24px;
  background: var(--color-main-soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr) 160px;
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.contact-copy p:not(.section-kicker) {
  max-width: 540px;
  color: var(--color-subtext);
  margin-top: 18px;
}

.contact-action {
  text-align: left;
}

.phone-label {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.phone-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 20px;
}

.phone-number img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-face {
  width: 156px;
  height: 156px;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatDecoration {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(12px) rotate(2deg);
  }
}

/* site-footer */
.site-footer {
  padding: 58px 24px 24px;
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.7fr) minmax(220px, 0.6fr);
  gap: 48px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-address,
.footer-contact p {
  color: var(--color-subtext);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 18px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  color: var(--color-subtext);
  font-size: 14px;
}

.footer-contact .phone-number {
  margin-bottom: 6px;
}

.copyright {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  padding-top: 22px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  font-size: 12px;
}

/* Messageセクション：画像を画面左端いっぱいに、約1.5倍サイズで配置（PC） */
@media (min-width: 1081px) {
  /* FV画像が固定ヘッダーに被って顔が切れないよう、ヘッダーの高さ分だけ下げて表示 */
  .recruit-hero {
    margin-top: 78px;
  }

  .recruit-message {
    padding-left: 0;
  }

  .recruit-message .section-inner {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .recruit-message .split-layout {
    grid-template-columns: minmax(0, 850px) minmax(280px, 1fr);
    gap: clamp(56px, 9.5vw, 140px);
  }

  .recruit-message .text-block {
    max-width: 520px;
    padding-right: clamp(24px, 4vw, 64px);
  }

  /* Work Styleセクション：画像を画面右端いっぱいに、Messageと同サイズで配置（PC） */
  .recruit-workstyle {
    padding-right: 0;
    padding-left: 0;
    overflow: visible;
  }

  .recruit-workstyle .section-inner {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .recruit-workstyle .workstyle-layout {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 850px);
    gap: 0;
  }

  .recruit-workstyle .text-block {
    justify-self: center;
    max-width: 480px;
    padding-left: 0;
  }

  /* Entryセクション：PCはピンク背景込みのバナー画像を全幅表示（CSSのピンク装飾は削除） */
  .recruit-entry-cta .entry-band {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .recruit-entry-cta .entry-band::before {
    display: none;
  }

  .recruit-entry-cta .entry-band figure {
    width: 100%;
    border-radius: 0;
    justify-self: auto;
  }

  .recruit-entry-cta .entry-band figure img {
    height: auto;
  }

  /* テキストはバナー左側のピンク領域に重ねて配置 */
  .recruit-entry-cta .entry-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(24px, 5vw, 88px);
    transform: translateY(-50%);
    max-width: min(480px, 40vw);
  }

  /* 見出しは指定の改行位置のみで2行に固定（自動折り返ししない） */
  .recruit-entry-cta .entry-text h2 {
    white-space: nowrap;
  }
}

@media (max-width: 1080px) {
  .site-header {
    min-height: 70px;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 12px;
    padding: 28px 24px 34px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    max-width: 240px;
    padding: 8px 0;
    text-align: center;
  }

  .site-nav a:not(.header-button):not(.official-button)::after {
    display: none;
  }

  .site-nav .header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: min(70vw, 300px);
    max-width: calc(100vw - 48px);
    min-height: 42px;
    padding: 9px 18px;
    margin: 4px auto 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .site-nav .official-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: min(70vw, 300px);
    max-width: calc(100vw - 48px);
    min-height: 42px;
    padding: 9px 18px;
    margin: 4px auto 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .nav-toggle {
    display: block;
  }

  .recruit-hero {
    display: block;
    min-height: 0;
    padding: 80px 0 80px;
  }

  .recruit-hero::before {
    content: "";
    left: -32vw;
    bottom: -126px;
    width: 76vw;
    height: 250px;
    background: var(--color-main-soft);
    border-radius: 50%;
  }

  .recruit-hero::after {
    content: "";
    right: -18vw;
    bottom: -134px;
    width: 112vw;
    height: 250px;
    background: #ffffff;
    border-radius: 50% 0 0 0 / 100% 0 0 0;
    transform: rotate(-4deg);
  }

  .recruit-hero__content {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    padding: 24px clamp(24px, 6vw, 96px) 0;
  }

  /* スマホ・タブレットでは写真を画面いっぱい（全幅・角丸なし）でテキストの上に配置 */
  .recruit-hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
  }

  .recruit-hero__image picture {
    height: 100%;
  }

  .recruit-hero__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .recruit-hero__image::before {
    display: none;
  }

  .split-layout,
  .workstyle-layout,
  .entry-band,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* タブレット・モバイルでは装飾は従来どおり背面に戻す */
  .workstyle-decoration {
    top: 76px;
    z-index: 0;
  }

  .contact-action {
    text-align: left;
  }

  .contact-face {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: var(--section-space-sp) 20px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .site-logo {
    font-size: 15px;
  }

  .site-logo img {
    width: 34px;
    height: 34px;
  }

  .recruit-hero {
    min-height: 0;
    padding: 80px 0 72px;
  }

  .recruit-hero__content {
    width: 100%;
    max-width: none;
    padding: 24px 20px 0;
  }

  .text-block,
  .entry-text,
  .contact-copy,
  .image-block,
  .hero-actions {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .recruit-hero h1,
  .recruit-hero__content p,
  .text-block p,
  .entry-text p,
  .contact-copy p {
    width: calc(100vw - 40px);
    max-width: 100%;
  }

  .hero-decoration {
    left: -58vw;
    bottom: -58px;
    width: 118vw;
    opacity: 0;
  }

  .recruit-hero::before {
    left: -56vw;
    bottom: -118px;
    width: 116vw;
    height: 220px;
  }

  .recruit-hero::after {
    right: -56vw;
    bottom: -112px;
    width: 160vw;
    height: 230px;
    transform: rotate(-7deg);
  }

  .recruit-hero__content > p:not(.section-kicker) br {
    display: block;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px auto 0;
  }

  .button {
    width: min(100%, 340px);
    max-width: 100%;
    min-height: 48px;
  }

  .recruit-hero__image {
    inset: auto;
    height: clamp(360px, 92vw, 430px);
  }

  .recruit-hero__image::before {
    width: 100%;
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.38) 74%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.14) 44%, rgba(255, 255, 255, 0) 100%);
  }

  .recruit-hero__image img {
    object-position: center;
  }

  .image-block,
  .image-block--soft,
  .entry-band figure {
    border-radius: 32px 0 0 0;
  }

  .workstyle-decoration {
    right: -210px;
    top: 92px;
    width: 300px;
  }

  .voice-list {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 44px;
  }

  .voice-item {
    max-width: 320px;
    margin: 0 auto;
  }

  .entry-band {
    padding: 60px 20px;
    gap: 40px;
  }

  .entry-band::before {
    transform: none;
    border-radius: 0;
  }

  .entry-band img {
    height: 250px;
  }

  .flow-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 44px;
  }

  .flow-list::before {
    top: 24px;
    bottom: 24px;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    text-align: left;
  }

  .flow-list span {
    grid-row: span 2;
    margin: 0;
  }

  .flow-list p {
    margin-top: 4px;
  }

  .recruit-contact {
    padding: 62px 20px;
  }

  .phone-number {
    font-size: 24px;
  }

  .site-footer {
    padding: 40px 20px 20px;
  }

  .footer-inner {
    gap: 26px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  /* 追従ボタン分の余白を確保し、フッターが隠れないようにする */
  body {
    padding-bottom: 58px;
  }

  /* スマホ下部に端から端まで追従するCTA（ピンク背景・白文字でしっかり目立たせる） */
  .mobile-cta {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    color: #ffffff;
    background: var(--color-main);
    box-shadow: 0 -4px 18px rgba(232, 115, 131, 0.35);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-align: center;
    animation: ctaRise 0.55s var(--ease-out-soft) 0.4s both, ctaPulse 2.8s ease-in-out 1.2s infinite;
  }

  /* 押せる感を出す矢印アイコン */
  .mobile-cta::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
  }
}

@keyframes ctaRise {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 -4px 18px rgba(232, 115, 131, 0.35);
  }

  50% {
    box-shadow: 0 -8px 26px rgba(232, 115, 131, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  .site-logo span {
    max-width: 220px;
    white-space: normal;
  }

  .hero-actions,
  .button,
  .recruit-hero h1,
  .recruit-hero__content p,
  .text-block,
  .text-block p,
  .entry-text,
  .entry-text p,
  .contact-copy,
  .contact-copy p {
    width: 100%;
    max-width: 340px;
  }

  .hero-actions {
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }
}
