@charset "UTF-8";
/* =============================================================================
   TAW株式会社 採用サイト 共通スタイル
   -----------------------------------------------------------------------------
   デザイン基準幅 : PC 1440px / SP 390px
   ブレークポイント : 768px 以下をSPレイアウト
   構成 : ベース → レイアウト → コンポーネント → ページ個別 → ユーティリティ
   ※ 各コンポーネントの直後に SP 用の @media を記述しています
============================================================================= */

/* -----------------------------------------------------------------------------
   0. 変数
----------------------------------------------------------------------------- */
:root {
  /* color */
  --navy: #00053A;
  --blue: #006FCF;
  --blue-light: #7fb6e8;
  --bg-pale: #F3F8FC;
  --bg-gray: #F9F9F9;
  --border: #E3E8EF;
  --line: #E7E6E6;
  --text: #333333;
  --text-base: #282828;
  --text-mute: #6b7280;
  --form-border: #d1d5db;
  --required: #0ea5e9;

  /* layout */
  --container: 1100px;
  --gutter: 170px;      /* PC 左右余白 */
  --gutter-sp: 20px;    /* SP 左右余白 */

  /* font */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Poppins", "Trebuchet MS", sans-serif;
}

/* -----------------------------------------------------------------------------
   1. ベース / リセット
   テーマ共通のヘッダー／フッターを壊さないよう、本文（.recruit-site）に限定
----------------------------------------------------------------------------- */
.recruit-site {
  font-family: var(--font-jp);
  color: var(--text-base);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.recruit-site *,
.recruit-site *::before,
.recruit-site *::after { box-sizing: border-box; }

.recruit-site p { margin: 0; }
.recruit-site h1,
.recruit-site h2,
.recruit-site h3,
.recruit-site h4 { margin: 0; font-weight: 700; }
.recruit-site ul,
.recruit-site ol { margin: 0; padding: 0; list-style: none; }
.recruit-site img { max-width: 100%; height: auto; vertical-align: bottom; }
.recruit-site a { color: var(--blue); text-decoration: none; transition: color .2s; }
.recruit-site a:hover { color: var(--navy); }
.recruit-site button { font-family: inherit; }
.recruit-site input,
.recruit-site select,
.recruit-site textarea { font-family: inherit; }

/* アンカーリンク時に固定ヘッダーへ潜り込まないように */
.recruit-site :target { scroll-margin-top: 120px; }

/* -----------------------------------------------------------------------------
   2. レイアウト
----------------------------------------------------------------------------- */
.l-container {
  max-width: var(--container);
  margin-inline: auto;
}

.l-section {
  padding: 110px var(--gutter);
  background: #ffffff;
}
.l-section--gray { background: var(--bg-gray); padding: 96px var(--gutter) 100px; }
.l-section--pt0 { padding-top: 0; }
.l-section--pb0 { padding-bottom: 0; }

/* 縦積みの基本間隔 */
.l-stack { display: flex; flex-direction: column; gap: 52px; }
.l-stack--sm { gap: 44px; }

/* カードグリッド */
.l-grid { display: grid; }
.l-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.l-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 768px) {
  .l-section { padding: 60px var(--gutter-sp); }
  .l-section--gray { padding: 56px var(--gutter-sp) 60px; }
  .l-section--pt0 { padding-top: 0; }
  .l-section--pb0 { padding-bottom: 0; }

  .l-stack { gap: 28px; }
  .l-stack--sm { gap: 26px; }

  .l-grid--2 { grid-template-columns: 1fr; gap: 16px; }
  .l-grid--3 { grid-template-columns: 1fr; gap: 12px; }
  .l-grid--4 { grid-template-columns: 1fr; gap: 10px; }
}

/* -----------------------------------------------------------------------------
   3. ヘッダー / グローバルナビ
----------------------------------------------------------------------------- */
.l-header {
  height: 100px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 60;
}
.l-header__logo { display: block; position: relative; top: 50px; margin-left: 47px; }
.l-header__logo img { display: block; width: 140px; height: 140px; }

.l-gnav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100px;
  font-size: 16px;
  font-weight: 700;
}
.l-gnav__list a { color: var(--navy); }
.l-gnav__cta {
  background: var(--blue);
  color: #ffffff !important;
  height: 100px;
  min-width: 220px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.l-gnav__cta:hover { background: #0059a6; }

/* ハンバーガー（SPのみ） */
.l-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.l-hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 1px;
  transition: transform .25s, opacity .2s;
}
.l-hamburger__bar + .l-hamburger__bar { margin-top: 6px; }
.l-hamburger[aria-expanded="true"] .l-hamburger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.l-hamburger[aria-expanded="true"] .l-hamburger__bar:nth-child(2) { opacity: 0; }
.l-hamburger[aria-expanded="true"] .l-hamburger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ドロワー（SPのみ） */
.l-drawer { display: none; }

@media (max-width: 768px) {
  .l-header {
    height: 64px;
    padding-right: 12px;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #EDF1F6;
  }
  .l-header__logo { top: 22px; margin-left: 8px; }
  .l-header__logo img { width: 84px; height: 84px; }

  .l-gnav { display: none; }
  .l-hamburger { display: block; }

  .l-drawer {
    display: block;
    position: fixed;
    inset: 64px 0 0;
    z-index: 55;
    background: var(--navy);
    color: #ffffff;
    padding: 32px var(--gutter-sp) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .l-drawer.is-open { transform: none; visibility: visible; }

  .l-drawer__list li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .l-drawer__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 4px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
  }
  .l-drawer__cta { margin-top: 32px; }
  .l-drawer__address {
    margin-top: 28px;
    font-size: 12px;
    line-height: 2;
    color: rgba(255,255,255,.6);
  }
}

/* -----------------------------------------------------------------------------
   4. ボタン / タグ
----------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  transition: opacity .2s, background .2s;
}
.c-btn:hover { opacity: .88; }
.c-btn--primary { background: var(--blue); color: #ffffff !important; }
.c-btn--navy { background: var(--navy); color: #ffffff !important; height: 60px; font-size: 15px; }
.c-btn--outline {
  height: 48px;
  padding: 0 22px;
  gap: 10px;
  font-size: 14px;
  background: #ffffff;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  border-radius: 8px;
}
.c-btn--block { display: flex; width: 100%; padding: 0; }

.c-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.c-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  background: var(--navy);
  color: #ffffff;
}
.c-tag--blue { background: var(--blue); }
.c-tag--line {
  background: rgba(255,255,255,.85);
  color: var(--navy);
  border: 1px solid #B7B7B7;
}
.c-tag--sm { height: 28px; padding: 0 12px; }
.c-tag--sm.c-tag--line { background: #ffffff; }

@media (max-width: 768px) {
  .c-btn { height: 56px; padding: 0 24px; gap: 12px; font-size: 15px; }
  .c-btn--navy { height: 54px; }
  .c-btn--outline { display: flex; width: 100%; height: 50px; padding: 0; }
  .c-tags { gap: 6px; }
  .c-tag { height: 28px; padding: 0 11px; font-size: 12px; }
  .c-tag--sm { height: 26px; padding: 0 10px; }
}

/* -----------------------------------------------------------------------------
   5. セクション見出し
----------------------------------------------------------------------------- */
.c-sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.c-sec-head--center { align-items: center; text-align: center; }
.c-sec-head__en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--blue);
}
.c-sec-head--sm .c-sec-head__en { font-size: 48px; }
.c-sec-head--xs .c-sec-head__en { font-size: 40px; }
.c-sec-head--xxs .c-sec-head__en { font-size: 36px; }
.c-sec-head__ja { font-size: 20px; font-weight: 700; color: var(--navy); }
.c-sec-head--sm .c-sec-head__ja,
.c-sec-head--xs .c-sec-head__ja { font-size: 18px; }
.c-sec-head--xxs .c-sec-head__ja { font-size: 17px; }
.c-sec-head--light .c-sec-head__ja { color: #ffffff; }

@media (max-width: 768px) {
  .c-sec-head { gap: 8px; }
  .c-sec-head__en { font-size: 34px; }
  .c-sec-head--sm .c-sec-head__en { font-size: 32px; }
  .c-sec-head--xs .c-sec-head__en { font-size: 30px; }
  .c-sec-head--xxs .c-sec-head__en { font-size: 28px; }
  /* Requirements など長い英字見出しの折り返し防止 */
  .c-sec-head__en--long { font-size: 30px; line-height: 1.1; }
  .c-sec-head__ja,
  .c-sec-head--sm .c-sec-head__ja,
  .c-sec-head--xs .c-sec-head__ja { font-size: 15px; }
  .c-sec-head--xxs .c-sec-head__ja { font-size: 14px; }
}

/* -----------------------------------------------------------------------------
   6. リスト（・／※）
----------------------------------------------------------------------------- */
.c-list { display: flex; flex-direction: column; gap: 8px; }
.c-list li { position: relative; padding-left: 1.15em; }
.c-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.c-list li.is-note { color: var(--text-mute); }
.c-list li.is-note::before { content: "※"; color: #9aa5b1; }
.c-note { margin-top: 12px; font-size: 14px; color: var(--text-mute); }
.c-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  text-align: center;
}
@media (min-width: 1024px) {
  .c-lead { text-align: right; }
}

@media (max-width: 768px) {
  .c-note { margin-top: 10px; font-size: 13px; }
  .c-lead { font-size: 14px; line-height: 1.95; }
}

/* -----------------------------------------------------------------------------
   7. カード（淡いブルー背景）
----------------------------------------------------------------------------- */
.c-card {
  background: var(--bg-pale);
  border-radius: 16px;
  border-top-left-radius: 44px;
  padding: 40px 38px 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.c-card__head { display: flex; align-items: center; gap: 14px; }
.c-card__head svg { flex-shrink: 0; }
.c-card__title { font-size: 22px; line-height: 1.5; color: var(--navy); }
.c-card__text { font-size: 15px; line-height: 2.05; color: var(--text); }

/* 番号付きカード（仕事内容） */
.c-card--num {
  border-radius: 12px;
  padding: 30px 28px 32px;
  gap: 12px;
}
.c-card__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--blue);
}
.c-card--num .c-card__title { font-size: 18px; line-height: 1.6; }
.c-card--num .c-card__text { font-size: 14px; line-height: 1.95; }

@media (max-width: 768px) {
  .c-card {
    border-radius: 14px;
    border-top-left-radius: 32px;
    padding: 28px 22px 30px;
    gap: 12px;
  }
  .c-card__head { align-items: flex-start; gap: 12px; }
  .c-card__head svg { margin-top: 2px; }
  .c-card__title { font-size: 18px; }
  .c-card__text { font-size: 14px; line-height: 1.95; }

  .c-card--num { border-radius: 12px; padding: 24px 20px 26px; gap: 10px; }
  .c-card--num .c-card__title { font-size: 17px; }
  .c-card__num { font-size: 13px; }
}

/* -----------------------------------------------------------------------------
   8. 濃紺オフセットブロック（Message / 募集背景）
----------------------------------------------------------------------------- */
.c-offset { padding: 110px 0 0 50px; background: #ffffff; }
.c-offset--sm { padding-top: 100px; }
.c-offset__inner {
  background: var(--navy);
  border-radius: 16px;
  border-top-left-radius: 80px;
  padding: 104px 50px 108px 0;
  color: #ffffff;
}
.c-offset--sm .c-offset__inner { padding: 82px 50px 86px 0; }
.c-offset__body { max-width: var(--container); margin-inline: auto; }
/* 見出し（左）＋本文（右）の2カラム。下層ページの募集背景で使用 */
.c-offset__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .c-offset,
  .c-offset--sm { padding: 56px 0 0 16px; }
  .c-offset__grid { display: flex; flex-direction: column; gap: 26px; }
  .c-offset__inner,
  .c-offset--sm .c-offset__inner {
    border-radius: 14px;
    border-top-left-radius: 44px;
    padding: 50px var(--gutter-sp) 54px;
  }
}

/* -----------------------------------------------------------------------------
   9. ページ下部固定CTA（SPのみ）
----------------------------------------------------------------------------- */
.c-spcta { display: none; }

@media (max-width: 768px) {
  .c-spcta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
  }
  .c-spcta .c-btn { height: 52px; }
}

/* -----------------------------------------------------------------------------
   10. フッター
----------------------------------------------------------------------------- */
.l-footer {
  background: var(--navy);
  padding: 62px var(--gutter) 44px;
  color: #ffffff;
}
.l-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.l-footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
.l-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.l-footer__brand img { display: block; width: 84px; height: 84px; }
.l-footer__address { font-size: 13px; line-height: 2; color: rgba(255,255,255,.72); }
.l-footer__nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; padding-top: 12px; }
.l-footer__nav a { color: rgba(255,255,255,.86); }
.l-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
}

@media (max-width: 768px) {
  .l-footer { padding: 48px var(--gutter-sp) 32px; }
  .l-footer__inner { gap: 32px; }
  .l-footer__row { flex-direction: column; gap: 16px; }
  .l-footer__brand { gap: 16px; }
  .l-footer__brand img { width: 64px; height: 64px; }
  .l-footer__address { font-size: 12px; }
  .l-footer__nav {
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .l-footer__copy { font-size: 11px; padding-top: 20px; }
}

/* =============================================================================
   ページ個別
============================================================================= */

/* -----------------------------------------------------------------------------
   11. ヒーロー（採用TOP）
   PC: FV.png 全面 + fv-under.png を右下重ね
   SP: FV_sp.png 全面 + fv-under_sp.png を下部に配置
----------------------------------------------------------------------------- */
.recruit-site.recruit-site--top { padding-top: 0; }
.p-hero .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p-hero {
  position: relative;
  height: auto;
  background: #00053A;
  overflow: visible;
  padding-top: 92px;
}
@media (min-width: 1024px) {
  .p-hero { padding-top: 100px; }
}
.p-hero__visual {
  position: relative;
  display: block;
  line-height: 0;
}
.p-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
/* PC: 右に余白を取り、高さの約7割をFV下へはみ出させる（550 / 1440） */
.p-hero__badge {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 38.194%;
  height: auto;
  max-width: none;
  z-index: 3;
  transform: translateY(70%);
}
.p-hero__badge-sp { display: none; }

@media (max-width: 768px) {
  .p-hero {
    height: auto;
    padding-top: 92px;
    background: #00053A;
  }
  .p-hero__badge { display: none; }
  /* 横幅90%、FV下へ半分はみ出す */
  .p-hero__badge-sp {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 90%;
    height: auto;
    max-width: none;
    padding: 0;
    background: none;
    z-index: 3;
    transform: translate(-50%, 50%);
  }
}

/* 採用TOP：ヘッダーをFVと同系の濃紺＋白文字に */
body.is-recruit-top header {
  background-color: #00053A;
}
body.is-recruit-top .site-pc-nav { color: #ffffff; }
body.is-recruit-top #hamburger { color: #ffffff; }
@media (min-width: 1024px) {
  /* ロゴのはみ出しを抑える（従来 top:50px → 20px） */
  body.is-recruit-top header > a {
    top: 20px !important;
  }
}

/* -----------------------------------------------------------------------------
   12. 代表メッセージ
----------------------------------------------------------------------------- */
.p-message__body { display: flex; flex-direction: column; gap: 56px; }
.p-message__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.p-message__profile { display: flex; flex-direction: column; gap: 20px; }
.p-message__photo {
  display: block;
  width: 360px;
  border-radius: 16px;
  border-top-left-radius: 48px;
}
.p-message__meta { display: flex; flex-direction: column; gap: 6px; }
.p-message__role { font-size: 13px; color: var(--blue-light); letter-spacing: .08em; font-weight: 500; }
.p-message__name { font-size: 26px; font-weight: 700; }
.p-message__career { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.7); margin-top: 6px; }
.p-message__text { display: flex; flex-direction: column; gap: 30px; padding-top: 4px; }
.p-message__title { font-size: 36px; line-height: 1.5; }

.c-prose {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 16px;
  line-height: 2.1;
  color: rgba(255,255,255,.88);
}
.c-prose strong { color: #ffffff; font-weight: 700; }
.c-prose em { font-style: normal; color: var(--blue-light); font-weight: 700; }

@media (max-width: 768px) {
  .p-message__body { gap: 32px; }
  .p-message__grid { display: flex; flex-direction: column; gap: 32px; }
  .p-message__profile { gap: 16px; }
  .p-message__photo { width: 100%; border-radius: 14px; border-top-left-radius: 36px; }
  .p-message__role { font-size: 12px; }
  .p-message__name { font-size: 21px; }
  .p-message__career { font-size: 12px; margin-top: 4px; }
  .p-message__text { gap: 20px; padding-top: 0; }
  .p-message__title { font-size: 22px; line-height: 1.6; }

  .c-prose { gap: 18px; font-size: 14px; line-height: 2; }
}

/* -----------------------------------------------------------------------------
   13. Award（神奈川を代表する企業）
----------------------------------------------------------------------------- */
.p-award {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}
.p-award__emblem { display: block; width: 520px; }
.p-award__text {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
  text-align: center;
  max-width: 800px;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .p-award { gap: 24px; }
  .p-award__emblem { width: 100%; }
  .p-award__text { font-size: 14px; line-height: 2; }
}

/* -----------------------------------------------------------------------------
   14. 募集ポジションカード（採用TOP）
----------------------------------------------------------------------------- */
.p-pos {
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top-left-radius: 56px;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 0 8px 0 rgba(0,0,0,.06);
  background: #ffffff;
}
.p-pos__en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--blue);
}
.p-pos__title { font-size: 30px; line-height: 1.4; color: var(--navy); }
.p-pos__title small { font-size: 20px; font-weight: 700; }
.p-pos__text { font-size: 15px; line-height: 2.05; color: var(--text); }
.p-pos__spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.p-pos__spec li { display: flex; gap: 12px; }
.p-pos__spec dt,
.p-pos__spec .p-pos__key { min-width: 84px; font-weight: 700; color: var(--navy); }
.p-pos__btn { margin-top: 6px; }

@media (max-width: 768px) {
  .p-pos {
    border-radius: 14px;
    border-top-left-radius: 40px;
    padding: 32px 22px 28px;
    gap: 16px;
  }
  .p-pos__en { font-size: 13px; }
  .p-pos__title { font-size: 22px; line-height: 1.5; }
  .p-pos__title small { font-size: 16px; }
  .p-pos__text { font-size: 14px; line-height: 1.95; }
  .p-pos__spec { font-size: 13px; padding-top: 18px; }
  .p-pos__spec li { flex-direction: column; gap: 3px; }
  .p-pos__spec .p-pos__key { min-width: 0; }
  .p-pos__btn { display: flex; width: 100%; margin-top: 4px; }
}

/* -----------------------------------------------------------------------------
   15. 著書セクション
----------------------------------------------------------------------------- */
.p-book {
  max-width: var(--container);
  margin-inline: auto;
  background: var(--bg-pale);
  border-radius: 16px;
  border-top-left-radius: 56px;
  padding: 56px 60px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.p-book__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.p-book__cover {
  display: block;
  width: 220px;
  border-radius: 3px;
  box-shadow: 0 3px 14px rgba(0,0,0,.24);
}
.p-book__info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.p-book__info .c-sec-head { margin-bottom: 10px; }
.p-book__info .c-btn { align-self: flex-start; margin-top: 6px; }
.p-book__title { font-size: 32px; line-height: 1.45; color: var(--navy); }
.p-book__sub { font-size: 16px; line-height: 1.9; color: var(--text); }
.p-book__detail {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-top: 1px solid #d6e3f0;
  padding-top: 36px;
}
.p-book__detail-title { font-size: 19px; color: var(--navy); }
.p-book__lead { font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--navy); }
.p-book__prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--text);
}
.p-book__prose strong { color: var(--navy); font-weight: 700; }
.p-book__quote {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--navy);
  border-left: 3px solid var(--blue);
  padding-left: 22px;
}

@media (max-width: 768px) {
  .p-book {
    border-radius: 14px;
    border-top-left-radius: 40px;
    padding: 36px var(--gutter-sp) 40px;
    gap: 28px;
  }
  .p-book__grid { display: flex; flex-direction: column; gap: 22px; }
  .p-book__cover { width: 180px; margin-inline: auto; }
  .p-book__info { gap: 8px; align-items: stretch; }
  .p-book__info .c-sec-head { margin-bottom: 8px; }
  .p-book__info .c-btn { align-self: stretch; margin-top: 8px; }
  .p-book__title { font-size: 22px; line-height: 1.5; }
  .p-book__sub { font-size: 14px; }
  .p-book__detail { gap: 16px; padding-top: 28px; }
  .p-book__detail-title { font-size: 16px; }
  .p-book__lead { font-size: 20px; line-height: 1.7; }
  .p-book__prose { gap: 18px; font-size: 14px; line-height: 2; }
  .p-book__quote { font-size: 16px; padding-left: 16px; }
}

/* -----------------------------------------------------------------------------
   16. 募集背景のチェックリスト
----------------------------------------------------------------------------- */
.p-checks {
  background: rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.p-checks li { display: flex; align-items: center; gap: 14px; }
.p-checks svg { flex-shrink: 0; }
.p-checks span { font-size: 17px; font-weight: 700; color: #ffffff; line-height: 1.6; }

@media (max-width: 768px) {
  .p-checks { padding: 24px 20px; gap: 16px; }
  .p-checks li { align-items: flex-start; gap: 10px; }
  .p-checks svg { margin-top: 3px; }
  .p-checks span { font-size: 15px; line-height: 1.7; }
}

/* -----------------------------------------------------------------------------
   17. 下層ページヘッド
----------------------------------------------------------------------------- */
.p-pagehead {
  position: relative;
  padding: 76px var(--gutter) 72px;
  background: linear-gradient(118deg, #f2f9ff 0%, #dcecfd 40%, #c6ddf9 72%, #e8f4fe 100%);
  overflow: hidden;
}
.p-pagehead__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.p-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4a5568;
}
.p-breadcrumb a { color: #4a5568; }
.p-breadcrumb__sep { color: #9aa5b1; }
.p-breadcrumb__current { color: var(--navy); font-weight: 700; }
.p-pagehead__en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--blue);
}
.p-pagehead__title { font-size: 42px; line-height: 1.4; color: var(--navy); }

@media (max-width: 768px) {
  .p-pagehead {
    padding: 32px var(--gutter-sp) 36px;
    background: linear-gradient(140deg, #f2f9ff 0%, #dcecfd 40%, #c6ddf9 76%, #e8f4fe 100%);
  }
  .p-pagehead__inner { gap: 14px; }
  .p-breadcrumb { gap: 8px; font-size: 12px; }
  .p-pagehead__en { font-size: 32px; line-height: 1.1; }
  .p-pagehead__title { font-size: 24px; line-height: 1.5; }
}

/* -----------------------------------------------------------------------------
   18. 募集要項テーブル
   PC : 項目名 + 内容（正社員 / 業務委託の2列に分かれる行あり）
   SP : 項目名バー + ラベル付きブロックに縦積み（.c-req__badge を表示）
----------------------------------------------------------------------------- */
.c-req {
  --req-label: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.c-req--split { --req-label: 200px; }

.c-req__head {
  display: grid;
  grid-template-columns: var(--req-label) minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}
.c-req__head > div { padding: 18px 24px; }
.c-req__head > div + div { border-left: 1px solid rgba(255,255,255,.18); }

.c-req__row {
  display: grid;
  grid-template-columns: var(--req-label) minmax(0, 1fr);
  border-top: 1px solid var(--border);
}
.c-req__row--3 { grid-template-columns: var(--req-label) minmax(0, 1fr) minmax(0, 1fr); }
.c-req > .c-req__row:first-child { border-top: 0; }

.c-req__label {
  padding: 22px 24px;
  background: var(--bg-pale);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.c-req__label small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
}
.c-req__cell {
  padding: 22px 24px;
  border-left: 1px solid var(--border);
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.c-req__cell small { font-size: 14px; color: var(--text-mute); }
.c-req__cell .is-empty { color: var(--text-mute); }
.c-req__badge { display: none; }

@media (max-width: 768px) {
  .c-req__head { display: none; }
  .c-req__row,
  .c-req__row--3 { display: block; }
  .c-req__label {
    padding: 14px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
  }
  .c-req__label small { display: inline; margin-left: 6px; }
  .c-req__cell {
    padding: 18px;
    border-left: 0;
    font-size: 14px;
    line-height: 1.95;
  }
  .c-req__cell + .c-req__cell { border-top: 1px dashed var(--border); }
  .c-req__cell small { font-size: 13px; }
  /* display:table で「内容幅のブロック」になり、後続テキストが次の行に落ちる */
  .c-req__badge {
    display: table;
    height: 24px;
    line-height: 24px;
    margin-bottom: 8px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    background: var(--navy);
    color: #ffffff;
  }
  .c-req__badge--contract { background: var(--blue); }
}

/* -----------------------------------------------------------------------------
   19. 選考フロー
----------------------------------------------------------------------------- */
.c-flow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-flow-card--last { background: var(--navy); border-color: var(--navy); }
.c-flow-card__step {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--blue);
}
.c-flow-card--last .c-flow-card__step { color: var(--blue-light); }
.c-flow-card__title { font-size: 18px; color: var(--navy); }
.c-flow-card--last .c-flow-card__title { color: #ffffff; }
.c-flow-card__text { font-size: 14px; line-height: 1.95; color: var(--text); }
.c-flow-card--last .c-flow-card__text { color: rgba(255,255,255,.85); }
.c-flow__arrow { display: none; }

@media (max-width: 768px) {
  .c-flow-card { padding: 22px 20px 24px; gap: 8px; }
  .c-flow-card__step { font-size: 12px; }
  .c-flow-card__title { font-size: 17px; }
  .c-flow__arrow { display: flex; justify-content: center; }
}

.l-section#entry { text-align: left; }

/* -----------------------------------------------------------------------------
   20. 応募フォーム
----------------------------------------------------------------------------- */
.recruit-site .wpcf7 {
  width: 100%;
  text-align: left;
}
.recruit-site .wpcf7-form.c-form,
.c-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  color: #111827;
  text-align: left;
  width: 100%;
}
.recruit-site .wpcf7 form { margin: 0; }
.c-form [hidden] { display: none !important; }
.recruit-site .wpcf7-form > .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.c-form__row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 8px 24px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.c-form__row--top { align-items: start; }
.c-form__label { display: block; text-align: right; font-weight: 600; width: 100%; }
.c-form__row--top .c-form__label { padding-top: 12px; }
.c-form__field { width: 100%; min-width: 0; }
.c-form__required,
.c-form__optional {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .78em;
  vertical-align: middle;
  font-weight: 600;
}
.c-form__required {
  background: var(--required);
  color: #ffffff;
}
.c-form__optional {
  background: #e5e7eb;
  color: #4b5563;
}
.c-input,
.c-select,
.c-textarea,
.recruit-site .wpcf7-form-control-wrap,
.recruit-site .wpcf7-form-control-wrap input[type="text"],
.recruit-site .wpcf7-form-control-wrap input[type="email"],
.recruit-site .wpcf7-form-control-wrap input[type="tel"],
.recruit-site .wpcf7-form-control-wrap select,
.recruit-site .wpcf7-form-control-wrap textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}
.c-input,
.c-select,
.c-textarea {
  font-size: 15px;
  background: #ffffff;
  color: #111827;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.c-textarea { padding: 8px 12px; line-height: 1.9; resize: vertical; }
.c-input:focus,
.c-select:focus,
.c-textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.c-radios,
.recruit-site .c-radios .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  width: 100%;
}
.recruit-site .c-radios .wpcf7-form-control-wrap { display: block; width: 100%; }
.recruit-site .c-radios .wpcf7-list-item { margin: 0; display: block; }
.c-radios label,
.recruit-site .c-radios .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.c-radios input,
.recruit-site .c-radios input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.c-form__submit { display: flex; justify-content: center; padding-top: 8px; margin-top: 28px; }
.c-form__submit button,
.c-form__submit input[type="submit"],
.c-form__submit .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  max-width: 350px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  background: var(--navy);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s;
}
.c-form__submit button:hover,
.c-form__submit input[type="submit"]:hover,
.c-form__submit .wpcf7-submit:hover { opacity: .88; }
.c-form__privacy { text-align: center; font-size: 13px; line-height: 1.9; color: var(--text-mute); }
.c-form__privacy a { text-decoration: underline; }
.recruit-site .wpcf7-spinner { margin-left: 8px; }
.recruit-site .wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; text-align: left; }
.recruit-site .wpcf7-response-output { margin: 0; text-align: left; }

@media (max-width: 768px) {
  .recruit-site .wpcf7-form.c-form,
  .c-form { gap: 20px; text-align: left; align-items: stretch; }
  .c-form__row,
  .c-form__row--top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
  }
  .c-form__label,
  .c-form__field,
  .c-form__row > p,
  .c-form__field > p { text-align: left; width: 100%; margin: 0; }
  .c-form__label { font-size: 14px; }
  .c-form__row--top .c-form__label { padding-top: 0; }
  .c-form__required,
  .c-form__optional { padding: 2px 7px; border-radius: 5px; font-size: 11px; }

  /* font-size は 16px 未満にしないこと（iOSでフォーカス時に自動ズームするため） */
  .c-input,
  .c-select { height: 50px; padding: 0 14px; font-size: 16px; }
  .c-textarea { padding: 12px 14px; font-size: 16px; }

  .c-radios,
  .recruit-site .c-radios .wpcf7-radio { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .c-radios label,
  .recruit-site .c-radios .wpcf7-list-item,
  .recruit-site .c-radios .wpcf7-list-item label {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--form-border);
    border-radius: 8px;
    box-sizing: border-box;
    justify-content: flex-start;
    text-align: left;
  }
  .recruit-site .c-radios .wpcf7-list-item { padding: 0; border: 0; height: auto; }
  .c-radios input,
  .recruit-site .c-radios input { width: 18px; height: 18px; }

  .c-form__submit { margin-top: 8px; padding-top: 0; }
  .c-form__submit button,
  .c-form__submit input[type="submit"],
  .c-form__submit .wpcf7-submit { width: 100%; max-width: none; height: 60px; padding: 0; }
  .c-form__privacy { font-size: 12px; }
}

/* Contact Form 7（既存お問い合わせと同じ form-row 構造） */
#entry .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
  align-items: center;
  text-align: left;
  margin-bottom: 16px;
  width: 100%;
}
#entry .form-row.align-start { align-items: start; }
#entry .form-label {
  display: block;
  font-weight: 600;
  text-align: left;
  width: 100%;
}
#entry .form-label.label-pad { padding-top: 0; }
#entry .badge-required,
#entry .badge-optional {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .9em;
  vertical-align: middle;
  font-weight: 600;
}
#entry .badge-required { background: var(--required); color: #fff; }
#entry .badge-optional { background: #e5e7eb; color: #4b5563; }
#entry .form-field,
#entry .form-field .wpcf7-form-control-wrap,
#entry .form-field input[type="text"],
#entry .form-field input[type="email"],
#entry .form-field input[type="tel"],
#entry .form-field select,
#entry .form-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}
#entry .form-field input[type="text"],
#entry .form-field input[type="email"],
#entry .form-field input[type="tel"],
#entry .form-field select,
#entry .form-field textarea {
  font-size: 16px;
  background: #fff;
  color: #111827;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
#entry .form-field textarea { padding: 8px 12px; line-height: 1.9; resize: vertical; }
#entry .form-field input:focus,
#entry .form-field select:focus,
#entry .form-field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
#entry .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
#entry .wpcf7-radio .wpcf7-list-item { margin: 0; }
#entry .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#entry .wpcf7-radio input { width: 17px; height: 17px; accent-color: var(--blue); flex: 0 0 auto; }
#entry .submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  margin-top: 16px;
}
#entry .submit-wrap .wpcf7-submit,
#entry .submit-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  max-width: 100%;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
#entry .privacy-consent-note,
#entry .c-form__privacy { text-align: center; }

@media (min-width: 1024px) {
  #entry .form-row {
    grid-template-columns: 4fr 8fr;
  }
  #entry .form-row,
  #entry .form-label { text-align: right; }
  #entry .form-label.label-pad { padding-top: 12px; }
}

@media (max-width: 768px) {
  #entry .form-row,
  #entry .form-row.align-start {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  #entry .form-label { text-align: left; font-size: 14px; }
  #entry .form-field input[type="text"],
  #entry .form-field input[type="email"],
  #entry .form-field input[type="tel"],
  #entry .form-field select { height: 50px; padding: 0 14px; }
  #entry .wpcf7-radio { flex-direction: column; gap: 10px; }
  #entry .wpcf7-radio .wpcf7-list-item,
  #entry .wpcf7-radio .wpcf7-list-item label {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  #entry .wpcf7-radio .wpcf7-list-item label {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--form-border);
    border-radius: 8px;
    box-sizing: border-box;
  }
  #entry .submit-wrap .wpcf7-submit,
  #entry .submit-wrap .btn { width: 100%; height: 60px; padding: 0; }
}

/* -----------------------------------------------------------------------------
   21. ユーティリティ
----------------------------------------------------------------------------- */
.u-pc { display: block; }
.u-sp { display: none; }

@media (max-width: 768px) {
  .u-pc { display: none; }
  .u-sp { display: block; }
}
