/* ==========================================================
   訪問介護ステーション そよみち 採用LP（サンプル作品）
   色・文字・余白のルールは :root にまとめる
   ========================================================== */

:root {
  --c-bg: #F7F3EA;          /* 生成り */
  --c-surface: #FFFDF8;
  --c-ink: #2A2B28;         /* 墨 */
  --c-ink-sub: #5A5A52;
  --c-green: #4E6E3C;       /* 若草（文字にも使える濃さ） */
  --c-green-dark: #2F4426;
  --c-green-tint: #E4EBD9;
  --c-green-light: #8FAE79; /* 飾りだけに使う */
  --c-line: #DCD5C6;
  --c-field: #857D70;
  --c-cta: #C2541A;         /* 柿（ボタンだけ） */
  --c-cta-hover: #A3460F;
  --c-error: #B3261E;
  --c-morning: #FBF3D9;
  --c-evening: #F6E6D8;

  --ff-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif;
  --ff-head: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif;

  --radius: 6px;
  --gutter: 30px;
  --header-h: 72px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-green); text-underline-offset: 0.2em; }
a:hover { color: var(--c-green-dark); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
em { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-green-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 見出しは文節で改行する（対応していないブラウザは .nw で補う） */
h1, h2, h3 { word-break: auto-phrase; }
.nw { display: inline-block; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  background: var(--c-surface);
  color: var(--c-ink);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

.sample-band {
  background: var(--c-green-dark);
  color: #FFFFFF;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn--primary { background: var(--c-cta); color: #FFFFFF; }
.btn--primary:hover { background: var(--c-cta-hover); color: #FFFFFF; }
.btn--line { background: var(--c-surface); color: var(--c-green-dark); border-color: var(--c-green); }
.btn--line:hover { background: var(--c-green-tint); color: var(--c-green-dark); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.875rem; border-radius: var(--radius); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.96);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(42, 43, 40, 0.06); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--c-ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__sub { font-size: 0.6875rem; color: var(--c-ink-sub); }
.logo__name { font-family: var(--ff-head); font-size: 1.375rem; font-weight: 700; letter-spacing: 0.08em; }

.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a { color: var(--c-ink); font-size: 0.875rem; font-weight: 700; text-decoration: none; padding: 8px 0; }
.global-nav a:hover { color: var(--c-green); }

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 10px;
  margin-left: 4px;
  background: transparent;
  border: 0;
  color: var(--c-ink);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 12px 24px rgba(42, 43, 40, 0.1);
}
.drawer[hidden] { display: none; }
.drawer__nav { padding: 8px var(--gutter); }
.drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-weight: 700;
  text-decoration: none;
}
.drawer__cta { display: flex; flex-direction: column; gap: 10px; padding: 16px var(--gutter) 28px; background: var(--c-bg); }
.drawer__tel { font-size: 0.875rem; color: var(--c-ink-sub); }
.drawer__tel strong { color: var(--c-ink); font-size: 1.125rem; }

/* 幅が狭いときはメニューを3本線にまとめる */
@media (max-width: 1119px) {
  .global-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 64px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}
@media (min-width: 1120px) {
  .drawer { display: none !important; }
}

/* ---------- 共通のセクション ---------- */
.section { padding: 96px var(--gutter); }
.section--surface { background: var(--c-surface); }
.container { max-width: 1080px; margin: 0 auto; }
.container--wide { max-width: 1180px; }
.container--narrow { max-width: 980px; }
.container--faq { max-width: 880px; }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 44px; text-align: center; }
.section-title { font-family: var(--ff-head); font-size: 2.125rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; }
.section-title--left { text-align: left; }
.section-lead { color: var(--c-ink-sub); }
.section-note { color: var(--c-ink-sub); font-size: 0.875rem; }
.eyebrow { font-family: var(--ff-head); font-weight: 700; color: var(--c-green); }

.road-ornament path { fill: none; stroke: var(--c-green); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }

@media (max-width: 767px) {
  .section { padding: 64px var(--gutter); }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 1.625rem; }
}

/* ---------- ファーストビュー ---------- */
.hero { padding: 56px var(--gutter) 88px; overflow: hidden; }
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.hero__job {
  align-self: flex-start;
  background: var(--c-green-tint);
  color: var(--c-green-dark);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 700;
}
.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 3.1vw, 2.875rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.hero__title-accent { color: var(--c-green); }
.hero__lead { font-size: 1.0625rem; max-width: 30em; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__points li {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 700;
}
.hero__points em { color: var(--c-green); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.hero__visual { position: relative; }
.hero__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero__badge {
  position: absolute;
  left: -24px;
  bottom: -28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(42, 43, 40, 0.08);
}
.hero__badge-sub { font-size: 0.75rem; color: var(--c-ink-sub); }
.hero__badge-main { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; }
.hero__badge .arrow { color: var(--c-green); }

@media (max-width: 959px) {
  .hero { padding: 0 0 56px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__visual { order: -1; }
  .hero__visual img { border-radius: 0; aspect-ratio: 4 / 3; max-height: 56vh; }
  .hero__badge { left: var(--gutter); bottom: -22px; padding: 10px 14px; }
  .hero__badge-main { font-size: 1rem; }
  .hero__text { padding: 16px var(--gutter) 0; }
}
@media (max-width: 767px) {
  .hero__title { font-size: 1.75rem; }
  .hero__job-sep { display: none; }
  .hero__job .nw { display: block; }
  .hero__lead { font-size: 1rem; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- 不安への答え ---------- */
.worry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.worry-card { background: var(--c-bg); border-radius: var(--radius); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.worry-card__q { display: flex; align-items: flex-start; gap: 12px; font-size: 1.125rem; line-height: 1.5; }
.worry-card p { padding-left: 44px; }
.q-mark {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.worry-photo { border-radius: var(--radius); overflow: hidden; min-height: 180px; }
.worry-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 959px) { .worry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .worry-grid { grid-template-columns: minmax(0, 1fr); }
  .worry-card p { padding-left: 0; }
  .worry-photo { display: none; }
}

/* ---------- 3つの理由 ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.reason-card { background: var(--c-surface); border-radius: var(--radius); overflow: hidden; }
.reason-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.reason-card__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.reason-card__num { font-family: var(--ff-head); font-weight: 700; font-size: 0.9375rem; color: var(--c-green); }
.reason-card__title { font-family: var(--ff-head); font-size: 1.4375rem; line-height: 1.5; }

@media (max-width: 959px) { .reason-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* ---------- 1日の流れ（記憶に残る場面）----------
   スクロールに合わせて、背景が朝→昼→夕方の色に変わり、
   道の線が訪問先の家を順につないでいく（js/script.js） */
.day { background-color: var(--day-bg, var(--c-bg)); }
.day__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.day__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.day__who { color: var(--c-ink-sub); }

.route { position: relative; --route-progress: 1; }
.route::before,
.route::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 0;
}
.route::before { border-left: 2px dashed var(--c-line); }
.route::after {
  border-left: 3px solid var(--c-green);
  margin-left: -0.5px;
  transform: scaleY(var(--route-progress));
  transform-origin: top;
}
.route__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 28px 64px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding-bottom: 26px;
}
.route__item:last-child { padding-bottom: 0; }
.route__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.route__mark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-line); transition: background-color 0.3s ease; }
.route__item--visit .route__mark::before { display: none; }
.route__mark svg { width: 15px; height: 15px; fill: var(--c-line); transition: fill 0.3s ease; }
.route__time { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.route__text strong { display: block; }

.route__item.is-reached .route__mark { border-color: var(--c-green); }
.route__item.is-reached .route__mark::before { background: var(--c-green); }
.route__item--visit.is-reached .route__mark { background: var(--c-green); }
.route__item--visit.is-reached .route__mark svg { fill: #FFFFFF; }

.day__sticky { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 20px; }
.day__sticky img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.day__road { aspect-ratio: 16 / 9; }
.day__clock {
  align-self: flex-start;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--c-surface);
  border-radius: 999px;
  padding: 6px 18px;
  box-shadow: 0 4px 12px rgba(42, 43, 40, 0.06);
}
.day__clock-label { font-size: 0.75rem; color: var(--c-ink-sub); }
.day__clock-time { font-family: var(--ff-head); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

@media (max-width: 959px) {
  .day__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .day__sticky { position: static; }
  .day__clock { display: none; }
}
@media (max-width: 767px) {
  .route__item { grid-template-columns: 28px 52px minmax(0, 1fr); gap: 12px; }
  .route__time { font-size: 1.0625rem; }
}

/* ---------- 先輩の声 ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.voice-card { background: var(--c-bg); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.voice-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.voice-card__avatar { width: 64px; height: 64px; flex-shrink: 0; }
.voice-card__profile { font-size: 0.875rem; line-height: 1.6; }
.voice-card__profile strong { display: block; font-size: 1.0625rem; }
.voice-card__label { font-size: 1rem; color: var(--c-green); margin-top: 6px; }

@media (max-width: 959px) { .voice-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* ---------- 数字 ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.numbers__item { padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.numbers__item + .numbers__item { border-left: 1px solid var(--c-line); }
.numbers dt { font-size: 0.875rem; color: var(--c-ink-sub); }
.numbers dd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.numbers__value { font-family: var(--ff-head); font-weight: 700; color: var(--c-green); font-size: 2.875rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.numbers__value small { font-size: 1.25rem; margin-left: 2px; }
.numbers__note { font-size: 0.8125rem; color: var(--c-ink-sub); }

@media (max-width: 767px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers__item:nth-child(3) { border-left: 0; }
  .numbers__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .numbers__value { font-size: 2.25rem; }
}

/* ---------- 給与の表 ---------- */
.terms { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.terms thead th { font-family: var(--ff-head); font-size: 1.125rem; text-align: left; padding: 14px; border-bottom: 2px solid var(--c-ink); }
.terms thead td { width: 20%; border-bottom: 2px solid var(--c-ink); }
.terms tbody th { width: 20%; text-align: left; vertical-align: top; color: var(--c-green); padding: 16px 14px; border-bottom: 1px solid var(--c-line); }
.terms tbody td { vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--c-line); }
.terms__em { display: block; font-size: 1.125rem; }

/* スマートフォンでは、項目ごとに縦に並べる */
@media (max-width: 767px) {
  .terms thead { display: none; }
  .terms, .terms tbody, .terms tr, .terms th, .terms td { display: block; width: auto; }
  .terms tr { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
  .terms tr:first-child { border-top: 2px solid var(--c-ink); }
  .terms tbody th { padding: 0 0 8px; border: 0; font-family: var(--ff-head); font-size: 1.0625rem; }
  .terms tbody td { padding: 4px 0 4px 64px; border: 0; position: relative; }
  .terms tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-green-dark);
    background: var(--c-green-tint);
    border-radius: 4px;
    padding: 0 6px;
  }
}

/* ---------- 研修 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps__item { background: var(--c-surface); border-top: 4px solid var(--c-green-light); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps__item:nth-child(2) { border-top-color: var(--c-green); }
.steps__item:nth-child(3) { border-top-color: var(--c-green-dark); }
.steps__when { font-family: var(--ff-head); font-weight: 700; color: var(--c-green); }
.steps__title { font-family: var(--ff-head); font-size: 1.375rem; line-height: 1.5; }

@media (max-width: 959px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* ---------- 募集要項 ---------- */
.job-table { border-top: 2px solid var(--c-ink); font-size: 0.9375rem; }
.job-table > div { display: grid; grid-template-columns: minmax(130px, 210px) minmax(0, 1fr); border-bottom: 1px solid var(--c-line); }
.job-table dt { padding: 16px 14px; font-weight: 700; color: var(--c-green); }
.job-table dd { padding: 16px 14px; }
.job-table__tag {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-green-dark);
  background: var(--c-green-tint);
  border-radius: 4px;
  padding: 0 6px;
}

@media (max-width: 639px) {
  .job-table > div { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .job-table dt { padding: 0 0 4px; }
  .job-table dd { padding: 0; }
}

/* ---------- 選考の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow__item { background: var(--c-surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow__num { width: 36px; height: 36px; border-radius: 50%; background: var(--c-green); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.flow__title { font-family: var(--ff-head); font-size: 1.1875rem; line-height: 1.5; }

@media (max-width: 959px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { font-size: 1.0625rem; }
.faq__q button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 8px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
}
.faq__q button:hover { color: var(--c-green-dark); }
.faq__q-mark { color: var(--c-green); flex-shrink: 0; }
.faq__q-text { flex: 1 1 auto; }
.faq__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--c-green);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--c-green);
  transition: transform 0.2s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q button[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 8px 20px 38px; }

/* ---------- 応募 ---------- */
.apply { background: var(--c-green-tint); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.apply__side { display: flex; flex-direction: column; gap: 20px; }
.apply__side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.apply-line { background: var(--c-surface); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.apply__subtitle { font-family: var(--ff-head); font-size: 1.375rem; }
.apply__demo { font-size: 0.8125rem; color: var(--c-ink-sub); }

.apply-form { background: var(--c-surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.apply-form__required-note { font-size: 0.875rem; color: var(--c-ink-sub); }
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--c-cta);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.6;
  vertical-align: 0.15em;
}
.apply-form__required-note .req { margin: 0 4px 0 0; }

.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 700; padding: 0; }
.field legend { margin-bottom: 6px; }
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--c-field);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #FFFFFF;
  color: var(--c-ink);
  font-family: inherit;
  font-size: 1rem;
}
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-green-dark); outline-offset: 1px; }
.field__hint { font-size: 0.8125rem; color: var(--c-ink-sub); }
.field__error { color: var(--c-error); font-size: 0.875rem; font-weight: 700; }
.field__error:empty { display: none; }
.field__error::before { content: "！ "; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--c-error); border-width: 2px; }
.field.is-valid input { border-color: var(--c-green); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--c-field);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: pointer;
}
.choice input { width: 18px; height: 18px; accent-color: var(--c-green); margin: 0; }
.choice:has(input:checked) { border-color: var(--c-green); background: var(--c-green-tint); font-weight: 700; }
.field.is-invalid .choice { border-color: var(--c-error); }

.apply-form__done { background: var(--c-green-tint); border-radius: var(--radius); padding: 16px 18px; }
.apply-form__done strong { display: block; color: var(--c-green-dark); }

@media (max-width: 959px) { .apply__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .apply-form { padding: 24px 20px; }
  .apply-line { padding: 22px 20px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--c-green-dark); color: #FFFFFF; padding: 56px var(--gutter) 40px; font-size: 0.875rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer__name { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 4px; }
.site-footer__note { max-width: 480px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- スマートフォンの画面下のボタン ---------- */
.sp-cta { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 84px; }
  .sp-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.97);
    border-top: 1px solid var(--c-line);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }
  .sp-cta.is-visible { transform: translateY(0); }
  .is-menu-open .sp-cta { transform: translateY(110%); }
  .sp-cta .btn { flex: 1 1 0; min-height: 52px; padding: 0 10px; font-size: 0.9375rem; }
}

/* ---------- 動きを減らす設定の人 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .day { background: linear-gradient(180deg, var(--c-morning) 0%, var(--c-bg) 50%, var(--c-evening) 100%); }
}
