@charset "UTF-8";
/* ==========================================================================
   TRUST AGENCY 共通スタイル
   --------------------------------------------------------------------------
   ★ スマートフォンの画面（375px）を基準に書いています。
     画面が広いときの指定は、ファイルのいちばん下にまとめてあります。

   色を変えたいときは、下の「色の設定」の数字を変えてください。
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 欧文の書体（サイトに同梱／外部サービスから読み込みません）
   --------------------------------------------------------------------------
   Chivo … 見出しの欧文ラベル（JOBS / MERIT など）と、
           すべての数字（時給・電話番号・時刻）に使います。
           約33KB。読み込めなくてもOS標準の書体で表示されます。
           ライセンス：SIL Open Font License 1.1（assets/fonts/LICENSE.txt）
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Chivo";
  src: url("../assets/fonts/chivo-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  /* 欧文と数字だけに使うので、日本語は対象外にしています */
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* --------------------------------------------------------------------------
   1. 色・文字・余白の設定
   -------------------------------------------------------------------------- */
:root {
  /* --- 色 --- */
  --navy:        #0E2A47;   /* メインの濃紺（信頼感） */
  --navy-deep:   #071A2E;   /* さらに濃い紺（フッターなど） */
  --blue:        #1B84D8;   /* アクセントの明るい青 */
  --blue-soft:   #EEF6FD;   /* 青のタグ・アイコンの背景（文字との差を確保するため少し薄く） */
  --blue-text:   #145E8F;   /* 小さい青文字用（白地・薄青地とも4.5:1以上） */
  --blue-deep:   #1571B5;   /* 白文字をのせるとき用（白との差 5.2:1） */
  /* ボタンの色。白文字との差が読みやすさの基準（4.5:1）を満たす濃さにしています。
     もとの #F2683C は 3.08 で基準に届いていませんでした */
  --accent:      #D4431B;
  --accent-dark: #B33714;

  --ink:         #16232F;   /* 基本の文字色 */
  --ink-mid:     #4E606F;   /* 少し薄い文字色 */
  --ink-soft:    #64727F;   /* 補足の文字色（白地で4.5:1以上を満たす濃さ） */

  --bg:          #FFFFFF;
  /* セクションの帯。青みのグレーから中立のグレーに変更。
     青い背景に青い文字を置くと濁るため、グレーにして青を立たせています */
  --bg-soft:     #F4F3F1;
  --line:        #E3E1DE;   /* 罫線 */
  --line-strong: #CFCCC7;   /* 表の外枠など、少し濃い罫線 */

  /* --- 書体 --- */
  --font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
             "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
             Meiryo, system-ui, sans-serif;
  --font-en: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --font: var(--font-jp);

  /* --- 文字の大きさ（スマホ基準・8段階） --- */
  --fs-display: 34px;   /* ヒーロー見出し */
  --fs-data:    30px;   /* 数字（時給など） */
  --fs-h2:      24px;   /* セクション見出し */
  --fs-h3:      17px;   /* 小見出し */
  --fs-lead:    15px;   /* リード文 */
  --fs-body:    16px;   /* 本文 */
  --fs-note:    13px;   /* 補足 */
  --fs-label:   11px;   /* 欧文ラベル */

  /* --- かたち --- */
  --radius:    12px;
  --radius-lg: 18px;
  /* 影を使うのは「働くメリット」の9マスだけにしています */
  --shadow:    0 2px 4px rgba(14, 42, 71, .04), 0 12px 28px rgba(14, 42, 71, .07);
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .05), 0 6px 16px rgba(14, 42, 71, .05);

  /* --- 幅・余白 --- */
  --wrap: 1180px;
  --pad: 20px;
  --section-y: 64px;       /* セクションの上下の余白 */

  /* --- 指で押せる最小の大きさ --- */
  --tap: 48px;

  --header-h: 60px;
  --mobilebar-h: 74px;     /* 画面下の固定バーの高さ */
}

/* 欧文と数字を Chivo で組むための共通クラス */
.en, .num {
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;  /* 桁をそろえる */
  letter-spacing: .01em;
}

/* 日本語の見出し用。「、」「。」の前後の余分な空きを詰めます */
.jp-tight {
  font-feature-settings: "palt" 1;
  letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
   2. 土台のリセット
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .01em;
  overflow-wrap: break-word;
  /* スマホ下部の固定応募バーに隠れないよう余白を確保 */
  padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }
/* 日本語の見出しは文字詰め（palt）を効かせて締める。本文には使いません */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.01em;
  font-feature-settings: "palt" 1;
}
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* 画面には出ないが読み上げソフト用に残す文字 */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* キーボード操作でどこを選んでいるか分かるようにする */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. 共通の部品
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 820px; }

/* 読みやすさのために、文章や表は幅を広げすぎない
   （左端は他のセクションとそろえたまま、右側だけを詰める） */
.measure    { max-width: 760px; }
.measure-md { max-width: 880px; }

/* --- セクション --- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }

.section__head { margin-bottom: 28px; }
.section__head--center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--blue-text);
  margin-bottom: 10px;
}
.section--navy .eyebrow { color: #8FCBF5; }

.section__title {
  font-size: var(--fs-h2);
  line-height: 1.4;
}
.section__lead {
  margin-top: 14px;
  color: var(--ink-mid);
  font-size: var(--fs-lead);
}
.section--navy .section__lead { color: #C3D6E6; }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212, 67, 27, .28);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }

.btn--outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--block { width: 100%; }
/* 小さいボタンでも、指で押せる48pxを下回らないようにしています */
.btn--sm { min-height: var(--tap); padding: 0 18px; font-size: 14px; }

.btn[aria-disabled="true"] {
  background: #E8E6E3;
  color: var(--ink-mid);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- タグ・チップ --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
}
.chip--light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
/* 職種などの控えめなタグ。文字を濃くして読みやすさの基準を満たしています */
.chip--muted { background: #EFEEEC; color: var(--ink-mid); }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- 「準備中」の注記 --- */
.note-todo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}
.note-todo::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C9D4DE;
}

/* 前向きな補足に使う、やわらかい青のボックス
   （オレンジの .notice は「注意してほしいこと」に使い分けています） */
.notice--soft {
  background: var(--blue-soft);
  border-color: #CFE4F5;
  color: #14639F;
}

.notice {
  max-width: 760px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #FFF6F1;
  border: 1px solid #FBDCCD;
  color: #8A4525;
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  /* 指で押せる44pxを確保（縦の余白で稼いでいます） */
  min-height: 44px;
  padding-block: 4px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .72; }
.logo__mark {
  /* ロゴ画像は横長（約248×189px）のため、高さを基準に幅は自動にしています */
  height: 30px; width: auto;
  flex-shrink: 0;
}
.logo__text { line-height: 1.15; }
.logo__name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--navy);
}

/* スマホ用の三本線メニューボタン */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px var(--pad) 22px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}
.nav__link[aria-current="page"] { color: var(--blue-text); }
.nav__cta { margin-top: 18px; }
.header__cta { display: none; }

/* --------------------------------------------------------------------------
   5. メインビジュアル（トップページ最上部）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  /* 画面の高さから、ヘッダーと下部バーを引いた分だけ使う。
     svh はiPhoneのアドレスバーが出入りしても高さが変わらない指定です。
     これにより、どの機種でも見出しと「求人を見る」が最初の画面に入ります。
     clamp で下限460px・上限720px を決めているので、
     画面のとても小さい端末でも、とても縦長な端末でも崩れません */
  min-height: clamp(460px, calc(100svh - var(--header-h) - var(--mobilebar-h)), 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
/* svh に対応していない古いブラウザ向けの控え */
@supports not (height: 100svh) {
  .hero { min-height: 520px; }
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
/* 写真の上に暗い膜を重ねて、白文字を読めるようにする */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 膜を1枚に整理。写真が濁らず、文字は読める濃さにしています */
  background: linear-gradient(180deg,
    rgba(7, 26, 46, .30) 0%,
    rgba(7, 26, 46, .18) 30%,
    rgba(7, 26, 46, .86) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 40px 44px;
  color: #fff;
}
.hero__eyebrow {
  display: inline-block;
  /* 会社名（日本語）が入るため、欧文用のChivoではなく日本語フォントを指定。
     文字間隔も欧文の大文字用（.2em）ではなく、日本語向けに狭くしています */
  font-family: var(--font-jp);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .05em;
  font-feature-settings: "palt" 1;
  color: #A9D6F7;
  margin-bottom: 14px;
}
.hero__title {
  font-size: var(--fs-display);
  line-height: 1.3;
  letter-spacing: -.03em;
  font-feature-settings: "palt" 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}
/* 開いたときに右からすっと現れる2行。動きは .reveal--right（19番）で指定しています */
.hero__title-line { display: inline-block; }
.hero__title-accent {
  color: #8FD0FF;
  animation: hero-accent-glow 2.6s ease-in-out 1s infinite;
}
/* キャッチコピー2行目だけ、現れたあとも静かに光が強まる・弱まるをくり返す演出 */
@keyframes hero-accent-glow {
  0%, 100% { text-shadow: 0 2px 24px rgba(0, 0, 0, .28); }
  50% { text-shadow: 0 2px 24px rgba(0, 0, 0, .28), 0 0 28px rgba(143, 208, 255, .65); }
}
.hero__lead {
  margin-top: 16px;
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: #DCE9F3;
  max-width: 30em;
}
.hero__actions { margin-top: 26px; }
.hero__points {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- ヒーロー直下の「募集中エリア」の帯 ---
   開いて1秒で「どこで募集しているか」が分かるようにしています */
.area-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.area-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 68px;
  padding: 10px 6px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.area-bar__item:first-child { border-left: 0; }
.area-bar__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.area-bar__state {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue-text);
}

/* --------------------------------------------------------------------------
   6. 募集バナー帯
   -------------------------------------------------------------------------- */
.banner-band { background: var(--bg-soft); padding-block: 28px; }
.banner {
  display: block;
  /* 元の画像が750pxのため、それ以上に引き伸ばすとぼやける。上限を決めて中央に置く */
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.banner img { width: 100%; display: block; }
.banner__note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. 求人カード
   -------------------------------------------------------------------------- */
.job-grid {
  display: grid;
  gap: 16px;
  /* カードごとに中身の高さに合わせる（準備中カードが不自然に長くならないように） */
  align-items: start;
}

.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  /* 影は「働くメリット」だけに使い、ここは罫線で締めています */
  transition: border-color .2s ease, transform .2s ease;
}
.job-card--open:hover {
  transform: translateY(-2px);
  border-color: #B9CBDA;
}
/* カード左のアクセント線 */
.job-card--open::before {
  content: "";
  position: absolute;
  left: -1px; top: 22px; bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: var(--navy);
}

.job-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.job-card__type {
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.job-card__area {
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.job-card__status {
  padding: 5px 10px;
  border-radius: 5px;
  background: #E8E6E3;
  color: var(--ink-mid);
  font-size: 11.5px;
  font-weight: 700;
}
.job-card__title {
  font-size: var(--fs-h3);
  line-height: 1.55;
  margin-bottom: 12px;
}
.job-card__summary {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

/* --- 時給を主役にする ---
   求職者がスマホで最初に探す情報なので、表から出して大きく組んでいます */
.job-pay {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.job-pay__label {
  display: block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.job-pay__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-en);
  font-size: var(--fs-data);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.job-pay__unit {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
}
.job-pay__note {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-note);
  color: var(--ink-soft);
}
.job-pay__value.is-todo {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-soft);
}

.job-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.job-meta__row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  font-size: 14px;
  align-items: baseline;
}
.job-meta__label {
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
.job-meta__value { font-weight: 700; }
.job-meta__value.is-todo { font-weight: 400; color: var(--ink-soft); }

/* 条件が確認中の求人に出すお知らせ */
.job-notice {
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #FFF6F1;
  border: 1px solid #FBDCCD;
  color: #8A4525;
  font-size: 12.5px;
  line-height: 1.7;
}
.job-notice--lg {
  max-width: 760px;
  margin-bottom: 26px;
  padding: 14px 16px;
  font-size: 13.5px;
}

.job-card__tags { margin-bottom: 18px; }
.job-card__foot { margin-top: auto; }

.job-card--preparing {
  background: #FBFAF9;
  border-style: dashed;
}
.job-card--preparing .job-card__title { color: var(--ink-mid); }

.jobs-more { margin-top: 26px; }

/* --------------------------------------------------------------------------
   8. 仕事内容・メリット
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 4px; }

/* 主な仕事内容：同じ箱が3つ並ぶのをやめ、上の罫線で区切る形にしています */
.work-card {
  padding: 22px 0 4px;
  border-top: 2px solid var(--navy);
}
.work-card__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  margin-bottom: 14px;
}
.work-card__icon svg { width: 20px; height: 20px; stroke: var(--blue); }
.work-card__title { font-size: var(--fs-h3); margin-bottom: 8px; }
.work-card__text { font-size: 14px; line-height: 1.85; color: var(--ink-mid); }

/* --- 働くメリット --- */
/* セクション全体に、淡いブルーから白へのグラデーションをかけて
   まわりのセクションより目立つようにしています */
.section--merit {
  background: linear-gradient(180deg, #D6EAFA 0%, #E8F3FC 34%, #FFFFFF 92%);
}

.merit-list { display: grid; gap: 14px; }

.merit {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 1px 2px rgba(14, 42, 71, .04), 0 10px 26px rgba(14, 42, 71, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.merit:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(14, 42, 71, .05), 0 16px 34px rgba(14, 42, 71, .1);
}

/* アイコンの枠。色は下の merit--blue / --orange / --green で決まります */
.merit__icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 16px;
}
.merit__icon svg { width: 24px; height: 24px; }

.merit__title {
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.merit__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-mid);
}

/* アイコンの3色。順番に使うことで、かたくない印象にしています */
.merit--blue   .merit__icon { background: #E6F1FB; }
.merit--blue   .merit__icon svg { stroke: #1B84D8; }
.merit--orange .merit__icon { background: #FFF0E9; }
.merit--orange .merit__icon svg { stroke: #EE6A3D; }
.merit--green  .merit__icon { background: #E7F5EE; }
.merit--green  .merit__icon svg { stroke: #2E9E6B; }

/* 「働くメリット」の白い余白から「オフの一枚」のグレーへ、
   波のラインで区切っています。海の写真セクションに入る合図です */
.wave-seam {
  display: block;
  width: 100%;
  height: 26px;
  line-height: 0;
  background: var(--bg);
}
.wave-seam svg { display: block; width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   9. オフの一枚（写真ギャラリー）
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  scrollbar-width: thin;
}
.gallery__item {
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  position: relative;
  aspect-ratio: 4 / 5;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
/* カードごと拡大すると縁の角丸が崩れるので、写真だけをズームします */
.gallery__item:hover img { transform: scale(1.06); }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(7, 26, 46, 0), rgba(7, 26, 46, .8));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

/* --------------------------------------------------------------------------
   10. 応募までの流れ
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding-bottom: 26px;
}
.step:last-child { padding-bottom: 0; }
/* 番号どうしをつなぐ縦線 */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px; top: 40px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, #CFE3F3, #EAF1F7);
}
.step__num {
  position: relative;
  z-index: 1;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.step__body { padding-top: 6px; }
.step__title { font-size: 15.5px; margin-bottom: 5px; }
.step__text { font-size: 13.5px; color: var(--ink-mid); }

/* --------------------------------------------------------------------------
   11. よくある質問
   -------------------------------------------------------------------------- */
/* よくある質問：1問ずつ箱にせず、罫線を共有した積み重ねにしています */
.faq {
  display: grid;
  gap: 0;
  max-width: 880px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item { border-top: 1px solid var(--line); }
.faq__item:first-child { border-top: 0; }
.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s ease;
}
.faq__q:hover { background: var(--bg-soft); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.faq__q::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__a {
  padding: 0 18px 20px 54px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-mid);
}


/* --------------------------------------------------------------------------
   12. 応募CTA（行動を促すエリア）
   -------------------------------------------------------------------------- */
.cta {
  background: var(--navy);
  color: #fff;
  padding-block: 48px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 132, 216, .38), transparent 68%);
}
.cta__inner { position: relative; z-index: 1; }
.cta__banner {
  max-width: 520px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.cta__title {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.cta__text {
  font-size: 14px;
  color: #C7DAE9;
  margin-bottom: 24px;
}
.cta__actions { margin-bottom: 22px; }
.cta__tel {
  margin: -8px 0 20px;
  font-size: 13.5px;
  color: #C7DAE9;
}
.cta__tel a {
  display: inline-flex;
  align-items: center;
  /* 指で押せる44pxを確保 */
  min-height: 44px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta__tel a:hover { text-decoration: underline; }

.cta__mascot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.cta__mascot img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  flex-shrink: 0;
  background: #fff;
}
.cta__mascot p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #D5E4F0;
}

/* --------------------------------------------------------------------------
   13. フッター
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: #A9BDCE;
  padding-block: 40px 28px;
  font-size: 13px;
}
.footer__logo { margin-bottom: 18px; }
.footer__logo .logo__name { color: #fff; }
.footer__desc { font-size: 12.5px; line-height: 1.9; margin-bottom: 26px; }

.footer__cols { display: grid; gap: 26px; }
.footer__heading {
  font-size: 11px;
  letter-spacing: .18em;
  color: #6E869C;
  margin-bottom: 12px;
}
.footer__list { display: grid; }
.footer__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer__list a:hover { color: #fff; }

.footer__dl { display: grid; gap: 8px; font-size: 12.5px; }
.footer__dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
/* ラベル（dt）は、右側の中身（電話・メール・SNSのリンクなど）と
   高さが違っても常に中央で揃うようにする */
.footer__dl dt { display: flex; align-items: center; color: #6E869C; }
.footer__dl dd { margin: 0; }

.footer__bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11.5px;
  color: #6E869C;
  display: grid;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   14. スマホ下部の固定応募バー
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  padding: 11px var(--pad) calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { min-height: var(--tap); font-size: 15px; padding: 0 12px; }

/* ボタンが1つだけのとき（応募フォームのページ）。
   2列のままだと、1つ目の狭い列に押し込まれて文字が3行に折り返します */
.mobile-cta--single { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   14-2. 応募方法を選ぶボトムシート
   下部バーの「応募する」を押すと、電話・メール・フォームを選べるシートが
   下からせり上がります。JavaScriptが動かない場合は、今までどおり
   contact.html にそのまま移動します（このシートは上乗せの機能です）。
   -------------------------------------------------------------------------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.sheet[data-open="true"] { visibility: visible; }

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 46, .45);
  opacity: 0;
  transition: opacity .25s ease;
}
.sheet[data-open="true"] .sheet__backdrop { opacity: 1; }

.sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(7, 26, 46, .18);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sheet[data-open="true"] .sheet__panel { transform: translateY(0); }

.sheet__grabber {
  display: block;
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  margin: 0 auto 14px;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.sheet__title { font-size: 16px; font-weight: 800; }
.sheet__close {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-mid);
  flex-shrink: 0;
  transition: background-color .2s ease;
}
.sheet__close svg { width: 16px; height: 16px; stroke: currentColor; }
.sheet__close:hover { background: var(--line); }

.sheet__list { display: grid; }
.sheet__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  transition: background-color .2s ease;
}
.sheet__list li:first-child .sheet__item { border-top: 0; }
.sheet__item:hover { background: var(--bg-soft); }
.sheet__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-soft);
}
.sheet__icon svg { width: 19px; height: 19px; stroke: var(--blue); }
.sheet__body { display: grid; gap: 2px; }
.sheet__label { font-size: 15px; font-weight: 700; color: var(--ink); }
.sheet__note { font-size: 12.5px; color: var(--ink-soft); }

/* シートが開いている間は、背景のスクロールを止める */
html.has-sheet-open { overflow: hidden; }

/* パソコン幅では画面下バーごと表示されないため、シートも不要 */
@media (min-width: 900px) {
  .sheet { display: none; }
}

/* --------------------------------------------------------------------------
   15. 下層ページ共通（ページの見出し部分）
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding-block: 34px 38px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  bottom: -140px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 132, 216, .34), transparent 68%);
}
.page-head__inner { position: relative; z-index: 1; }
/* 紺色の背景の上では、欧文ラベルを明るい青にします */
.page-head .eyebrow { color: #8FCBF5; }
.page-head__title { font-size: 26px; margin-bottom: 8px; }
.page-head__lead { font-size: 13.5px; color: #C3D6E6; }

.breadcrumb {
  font-size: 12px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: center;
  min-height: 48px;
}
.breadcrumb a {
  /* 指で押せる44pxを確保 */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink-mid);
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #C2CDD7; }

/* --------------------------------------------------------------------------
   16. 求人詳細ページ
   -------------------------------------------------------------------------- */
.detail__title { font-size: 22px; line-height: 1.5; margin-bottom: 14px; }
.detail__tags { margin-bottom: 24px; }

.detail-block { margin-bottom: 34px; }
.detail-block__title {
  font-size: 17px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
  margin-bottom: 14px;
}

/* 仕事のポイント／求める人材／待遇・福利厚生／応募方法：
   ページが長くなりすぎないよう、開閉式にしている（よくある質問と同じ仕組み） */
.detail-accordion {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 34px;
}
.detail-accordion__item { border-top: 1px solid var(--line); }
.detail-accordion__item:first-child { border-top: 0; }
.detail-accordion__q {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 18px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.detail-accordion__q:hover { background: var(--bg-soft); }
.detail-accordion__q::-webkit-details-marker { display: none; }
.detail-accordion__q::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.detail-accordion__item[open] .detail-accordion__q::after { transform: rotate(-135deg) translate(-3px, -3px); }
.detail-accordion__a { padding: 0 18px 20px; }

.spec {
  max-width: 760px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec div {
  display: grid;
  grid-template-columns: 96px 1fr;
  border-bottom: 1px solid var(--line);
}
.spec div:last-child { border-bottom: 0; }
.spec dt {
  padding: 16px 12px;
  background: var(--bg-soft);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-mid);
}
.spec dd {
  margin: 0;
  padding: 16px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
/* 募集要項の中の数字（時給・時刻）もChivoでそろえる */
.spec dd { font-feature-settings: "palt" 1; }
.spec dd small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 5px;
}
.spec dd.is-todo { font-weight: 400; color: var(--ink-soft); }

.bullet { display: grid; gap: 10px; max-width: 760px; }
.bullet li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-mid);
}
.bullet li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.para { display: grid; gap: 12px; font-size: 14px; color: var(--ink-mid); max-width: 760px; }

/* --- プライバシーポリシー --- */
.policy__lead { margin-bottom: 32px; }
.policy__block { margin-top: 32px; }
.policy__title { font-size: 17px; margin-bottom: 12px; color: var(--ink); }
.policy__note { margin-top: 12px; }

.detail__source {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-soft);
}

.detail__apply {
  margin-top: 8px;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  text-align: center;
}
.detail__apply h2 { font-size: 18px; margin-bottom: 8px; }
/* 応募ボタンは横幅が狭いので、常に縦に並べる（文字が途中で折り返さないように） */
.detail__apply .btn-row { flex-direction: column; }
.detail__apply p { font-size: 13.5px; color: var(--ink-mid); margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   17. ABOUT ページ
   -------------------------------------------------------------------------- */
.about-hero {
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  aspect-ratio: 4 / 3;
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; }

.value-list { display: grid; gap: 14px; }
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.value__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--blue-text);
  font-weight: 700;
  margin-bottom: 8px;
}
.value__title { font-size: 16px; margin-bottom: 8px; }
.value__text { font-size: 13.5px; color: var(--ink-mid); }

/* --- 拠点（オフィス）カード --- */
/* 拠点：罫線を共有したマス目にして、一覧表として読ませます */
/* 拠点：普段は名前だけ、タップすると住所・地図リンクが開く（よくある質問と同じ仕組み） */
.office-accordion {
  display: grid;
  gap: 0;
  max-width: 620px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.office-accordion__item { border-top: 1px solid var(--line); }
.office-accordion__item:first-child { border-top: 0; }
.office-accordion__q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
}
.office-accordion__q:hover { background: var(--bg-soft); }
.office-accordion__q::-webkit-details-marker { display: none; }
.office-accordion__name { font-size: 16px; font-weight: 700; }
.office-accordion__q::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.office-accordion__item[open] .office-accordion__q::after { transform: rotate(-135deg) translate(-3px, -3px); }
.office-accordion__a { padding: 0 20px 20px 76px; }

.office__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  flex-shrink: 0;
}
.office__icon svg { width: 21px; height: 21px; stroke: var(--blue); }
.office__zip {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.office__address {
  font-size: 13.5px;
  color: var(--ink-mid);
  margin-bottom: 12px;
  font-style: normal;
}
.office__map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* 指で押せる44pxを確保 */
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-text);
  text-decoration: none;
}
.office__map:hover { text-decoration: underline; }
.office__map svg { width: 14px; height: 14px; stroke: currentColor; }

/* --- エリアの魅力カード --- */
/* 福岡は写真あり。熊本・大分は写真が届き次第、同じ組み方で追加できます */
.area-list { display: grid; gap: 14px; }
.area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.area-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.area-card__photos img {
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.area-card__name { font-size: 16px; margin-bottom: 8px; }
.area-card__text { font-size: 13.5px; color: var(--ink-mid); }

/* 準備中のカード：求人一覧の「募集準備中」と同じ考え方（点線・控えめな色）です */
.area-card--soon {
  background: #FBFAF9;
  border-style: dashed;
}
.area-card--soon .area-card__name { color: var(--ink-mid); }
.area-card--soon .area-card__text { color: var(--ink-soft); }
.area-card__photos--soon {
  aspect-ratio: 2 / 1;
  margin-bottom: 16px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, var(--line) 0 8px, transparent 8px 16px);
}

/* 電話番号のリンク（スマホではタップで発信できます） */
/* 電話番号・メールのリンク。数字はChivoの等幅で桁をそろえています */
.tel-link {
  display: inline-flex;
  align-items: center;
  /* 指で押せる44pxを確保 */
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.tel-link:hover { text-decoration: underline; }

.tel-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 指で押せる大きさを確保 */
  min-height: var(--tap);
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.tel-big svg { width: 21px; height: 21px; stroke: var(--blue); flex-shrink: 0; }
.tel-big:hover { color: var(--blue); }
.tel-hours {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* フッターの拠点リンク */
.footer__dl a { color: #A9BDCE; }
.footer__dl a:hover { color: #fff; }
/* Instagramのアイコン */
.footer__dl .tel-link svg { width: 15px; height: 15px; stroke: currentColor; margin-right: 6px; flex-shrink: 0; }
.footer__offices {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 12.5px;
}
/* 受付時間などの「押せない補足」は高さを稼がない */
span.footer__offices { min-height: 0; margin-top: 2px; }

/* --------------------------------------------------------------------------
   18. お問い合わせ・応募フォーム
   -------------------------------------------------------------------------- */
/* お問い合わせページの、電話番号を大きく見せるパネル */
.tel-panel {
  background: var(--blue-soft);
  border: 1px solid #CFE4F5;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 20px;
  text-align: center;
}
.tel-panel__label {
  font-size: 12.5px;
  font-weight: 700;
  color: #14639F;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.contact-methods { display: grid; gap: 12px; margin-bottom: 34px; }
.method {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* 4つ並べると横幅が狭くなるため、パソコン表示ではアイコンを上に置く */
@media (min-width: 900px) {
  .method {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 20px 18px;
  }
}
.method__text { overflow-wrap: anywhere; }
.method__text a { display: inline-flex; align-items: center; min-height: 44px; }
.method__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
}
.method__icon svg { width: 21px; height: 21px; stroke: var(--blue); }
.method__title { font-size: 15px; margin-bottom: 3px; }
.method__text { font-size: 12.5px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   18-2. 本文の中のリンクも、指で押せる高さを確保する
   -------------------------------------------------------------------------- */
.faq__a a,
.para a,
.notice a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   18-3. 応募フォーム（apply.html）
   --------------------------------------------------------------------------
   このページは公式LINEのメニューからだけ開きます。
   サイトのメニュー・サイトマップには載せていません。

   ここに書く理由：この節の見出しがもともと「お問い合わせ・応募フォーム」で、
   2026-09-04 にフォームをやめたとき、フォーム用のCSSもこの場所から消しました。
   戻す場所も同じにしておくと、次に探す人が迷いません。
   （色や文字の大きさを変えたいときは、このファイルの :root を見てください） */

.form { display: grid; gap: 22px; max-width: 560px; }

.field { display: grid; gap: 7px; }

.field__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 「必須」の小さなラベル。色だけで伝えず、文字でも書きます */
.field__req {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FDECE6;
  color: var(--accent-dark);
}

/* 【この 16px は絶対に下げないでください】
   iPhone は 16px より小さい入力欄に触れると、画面を勝手に拡大します。
   一度拡大されると自分では戻せず、フォームの途中で操作できなくなったように見えます。
   README.md の「変えないでほしい数字」がこれです。
   var(--fs-body) は画面幅が変わっても 16px のままにしてあります。 */
.field__input {
  width: 100%;
  min-height: var(--tap);            /* 48px。指で押せる大きさ */
  padding: 12px 14px;
  font-family: var(--font);
  font-size: var(--fs-body);         /* ＝16px。上の注意書きを読んでください */
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  appearance: none;                  /* iOSが勝手に付ける内側の影と角丸を消す */
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field__input:focus-visible {
  outline: none;                     /* 代わりに下の青い枠で示します */
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 132, 216, .18);
}

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

textarea.field__input { min-height: 132px; resize: vertical; }

/* appearance:none で消えた三角を、自前で描き直します */
select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E606F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 42px;
}

/* 年齢のように、短くてよい欄 */
.field__input--sm { max-width: 140px; }

.field__hint  { font-size: 12.5px; color: var(--ink-soft); }
.field__error { font-size: 13px; font-weight: 700; color: var(--accent-dark); }

/* 【ロボット除けの空欄】
   display:none にはしません。表示していない欄を無視するロボットがいるためです。
   人の目にも、キーボードにも、読み上げソフトにも触れない場所へ追い出します。 */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__privacy { font-size: 12.5px; color: var(--ink-soft); }
.form__actions { margin-top: 6px; }

/* 送信中・送れなかったときの1行。
   うまくいったときはここには出さず、下の .form-done に切り替えます */
.form__status { margin-top: 14px; }

/* 送信できたときに、フォームと入れ替わって出る箱 */
.form-done {
  max-width: 560px;
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: var(--blue-soft);
  border: 1px solid #CFE4F5;
  text-align: center;
}
.form-done h2 { font-size: 20px; margin-bottom: 10px; }
.form-done .notice { margin-top: 16px; text-align: left; }

/* --------------------------------------------------------------------------
   19. スクロールで少しふわっと出す動き
   -------------------------------------------------------------------------- */
/* 【重要】初期状態は「見えている」ままにしておきます。
   JavaScriptが動く環境でだけ <html> に has-reveal が付き、
   そこではじめて「隠す→スクロールで出す」動きになります。
   こうしておくと、JavaScriptが止まっても内容が消えません。 */
.reveal { opacity: 1; transform: none; }

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ヒーロー専用：下からではなく「右から」出す動き。
   開いたときに1回だけ再生されます（すでに画面内にあるため）。
   キャッチコピーの見出し2行（働き方を、／もっと自由に。）だけに使っていて、
   .reveal--delay-1〜2 で1行目→2行目の順に少し遅れて現れるようにしています */
.has-reveal .reveal--right {
  transform: translateX(44px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
              transform .7s cubic-bezier(.16, 1, .3, 1);
}
/* 見出しだけは、少し勢いよく飛び出すような弾みをつけた動きにする */
.has-reveal .hero__title-line.reveal--right {
  transition-timing-function: cubic-bezier(.34, 1.56, .64, 1);
}
.has-reveal .reveal--right.reveal--delay-1 { transition-delay: .12s; }
.has-reveal .reveal--right.reveal--delay-2 { transition-delay: .24s; }
.has-reveal .reveal--right.reveal--delay-3 { transition-delay: .36s; }
.has-reveal .reveal--right.reveal--delay-4 { transition-delay: .48s; }

/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal,
  .has-reveal .reveal,
  .has-reveal .reveal--right { opacity: 1; transform: none; }
}

/* ==========================================================================
   20. 画面が広いとき
   --------------------------------------------------------------------------
   ここまではすべてスマートフォン（375px）向けの指定です。
   ここから下で、画面が広くなったときの変化だけを足していきます。
   ========================================================================== */

/* --- 600px以上（大きめのスマホ・タブレット縦） --- */
@media (min-width: 600px) {
  :root {
    --fs-display: 44px;
    --fs-data:    34px;
    --fs-h2:      30px;
    --fs-h3:      18px;
    --fs-lead:    16px;
    --section-y:  80px;
  }

  .btn-row { flex-direction: row; }
  .btn-row .btn { flex: 0 1 auto; }

  .job-grid       { grid-template-columns: repeat(2, 1fr); }
  .card-grid      { grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
  .merit-list     { grid-template-columns: repeat(2, 1fr); }
  .contact-methods{ grid-template-columns: repeat(2, 1fr); }
  .gallery        { grid-auto-columns: 46%; }
  .footer__cols   { grid-template-columns: repeat(2, 1fr); }
  .wave-seam      { height: 38px; }
}

/* --- 900px以上（パソコン） --- */
@media (min-width: 900px) {
  :root {
    --header-h: 74px;
    --pad: 32px;
    --fs-display: 56px;
    --fs-data:    40px;
    --fs-h2:      36px;
    --fs-h3:      19px;
    --fs-lead:    17px;
    --section-y:  104px;
  }

  /* スマホ用の下部バーが消えるので、下の余白も戻す */
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }

  /* ヘッダーを横並びに戻す */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
  }
  .nav__list { flex-direction: row; gap: 2px; align-items: center; }
  .nav__link {
    border: 0;
    min-height: 44px;
    padding: 0 14px;
    font-size: 14.5px;
    border-radius: 8px;
  }
  .nav__link:hover { background: var(--bg-soft); color: var(--blue); }
  .nav__cta { display: none; }
  .header__cta { display: inline-flex; margin-left: 10px; }
  .logo__mark { height: 34px; width: auto; }
  .logo__name { font-size: 17px; }

  /* ヒーローは下部バーがないぶん、高さを取り直す */
  .hero {
    min-height: clamp(520px, calc(100svh - var(--header-h)), 780px);
    align-items: center;
  }
  .hero__inner { padding-block: 60px; }

  .area-bar__item { min-height: 84px; }
  .area-bar__name { font-size: 17px; }

  .job-grid        { grid-template-columns: repeat(3, 1fr); }
  .card-grid       { grid-template-columns: repeat(3, 1fr); gap: 4px 40px; }
  .merit-list      { grid-template-columns: repeat(3, 1fr); }
  .contact-methods { grid-template-columns: repeat(4, 1fr); }
  .value-list      { grid-template-columns: repeat(3, 1fr); }
  .area-list       { grid-template-columns: repeat(3, 1fr); }
  .gallery         { grid-auto-columns: 1fr; grid-auto-flow: column; overflow: visible; }
  .wave-seam       { height: 52px; }

  /* 連絡方法は4つ並ぶので、アイコンを上に置く */
  .method {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 22px 18px;
  }

  /* 応募までの流れを横並びに */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step { padding-bottom: 0; grid-template-columns: 1fr; gap: 14px; }
  .step:not(:last-child)::before {
    left: 48px; right: -20px; top: 19px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, #CFE3F3, #EAF1F7);
  }
  .step__body { padding-top: 0; }

  .cta { padding-block: 96px; }
  .cta__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
  }
  .cta__banner { margin-bottom: 0; }
  .cta__title { font-size: 30px; }

  .page-head { padding-block: 56px 64px; }
  .page-head__title { font-size: 38px; }

  .footer__cols { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }

  .detail__title { font-size: 32px; }
  .detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
  }
  .detail__side { position: sticky; top: calc(var(--header-h) + 24px); }
  .detail__apply { text-align: left; }
  .spec div { grid-template-columns: 132px 1fr; }

  .about-hero { aspect-ratio: 16 / 9; }
}

/* --- 1200px以上 --- */
@media (min-width: 1200px) {
  :root { --fs-display: 64px; }
}
