/* ========================================================================
   Sellpath HP — common stylesheet
   ベース: docs/design_guide.md
   ======================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&display=swap');

/* -----------------------------------------------------------------------
   :root  ─  CSSカスタムプロパティ
   ----------------------------------------------------------------------- */
:root {
  /* color */
  --bg: #FFFFFF;
  --bg-soft: #F7F6F2;
  --text: #1F2933;
  --text-muted: #5A6675;
  --brand: #1B2A4E;
  --brand-hover: #152138;
  --accent: #C8A36B;
  --accent-hover: #B08A52;
  --border: #E5E7EB;
  --warn-bg: #FFF8E1;
  --warn-border: #E0B400;
  --success: #2E7D5B;

  /* font */
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
               'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
               'Yu Gothic', 'Meiryo', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;

  /* spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* layout */
  --container: 1080px;
  --container-narrow: 720px;
  --radius-btn: 6px;
  --radius-card: 8px;
  --header-h: 64px;
}

/* -----------------------------------------------------------------------
   reset / base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background-color: #F4F8FC;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* タイル柄を固定レイヤーで描画（background-attachment: fixed が効かない環境対策）*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #F4F8FC;
  background-image: url('../images/tile-pattern.webp');
  background-repeat: repeat;
  background-size: 320px 36px;
  pointer-events: none;
}
@media (min-width: 768px) {
  body { font-size: 16px; }
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul { padding-left: 1.2em; }
table { border-collapse: collapse; }

/* focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------------
   layout primitives
   ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left));
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--sp-8);
}
@media (min-width: 768px) {
  .section { padding-block: var(--sp-9); }
}
.section--soft {
  background-color: transparent;
}
.section--soft .dual-heading {
  margin-bottom: var(--sp-7);
}
.section--soft .dual-heading__en {
  font-size: 24px;
  letter-spacing: 0.2em;
  margin-bottom: var(--sp-3);
}
.section--soft .dual-heading__ja {
  font-size: 44px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}
.section--soft .dual-heading__ja::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--accent);
  margin: var(--sp-4) auto 0;
}
@media (min-width: 768px) {
  .section--soft .dual-heading__en { font-size: 28px; }
  .section--soft .dual-heading__ja { font-size: 56px; }
}

/* CTA限定ソフトメッシュ（ネイビー→ダークゴールドのみ、輪郭ぼかし）*/
.section--mesh {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--brand);
}
.section--mesh::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(closest-side at 22% 32%, rgba(200,163,107,0.55), rgba(200,163,107,0) 70%),
    radial-gradient(closest-side at 78% 28%, rgba(176,138,82,0.50), rgba(176,138,82,0) 72%),
    radial-gradient(closest-side at 50% 88%, rgba(27,42,78,0.95), rgba(27,42,78,0) 70%),
    radial-gradient(closest-side at 12% 80%, rgba(232,197,147,0.30), rgba(232,197,147,0) 75%);
  filter: blur(120px);
}
.section--mesh > * { position: relative; z-index: 1; }
.section--mesh,
.section--mesh .dual-heading__ja,
.section--mesh p { color: #F5F2EA; }
.section--mesh .dual-heading__ja { color: #FFFFFF; }
.section--mesh .dual-heading__en { color: var(--accent); }

/* index.html: Philosophy ミニセクション（理念抜粋） */
.section--philo-mini {
  position: relative;
  isolation: isolate;
  background: url('../images/philo-collab.jpg') center 30%/cover no-repeat;
  overflow: hidden;
}
.section--philo-mini .section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,247,243,0.92) 0%, rgba(255,255,255,0.86) 50%, rgba(248,247,243,0.95) 100%);
  z-index: 0;
}
.section--philo-mini .section__inner { position: relative; z-index: 1; }
.section--philo-mini::before,
.section--philo-mini::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  z-index: 2;
}
.section--philo-mini::before { top: 28px; }
.section--philo-mini::after  { bottom: 28px; }

/* index.html: Entry CTA セクション（採用導線） */
.section--entry-cta {
  position: relative;
  isolation: isolate;
  background: url('../images/recruit-hero.jpg') center 35%/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.section--entry-cta .section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,15,32,0.78) 0%, rgba(27,42,78,0.82) 100%);
  z-index: 0;
}
.section--entry-cta .section__inner { position: relative; z-index: 1; }
.section--entry-cta .dual-heading__en { color: rgba(255,255,255,0.85); }
.section--entry-cta .dual-heading__ja { color: #fff; }
.section--entry-cta p { color: rgba(255,255,255,0.92); }
.section--quiet { padding-block: 80px; }
@media (min-width: 1024px) {
  .section--quiet { padding-block: 120px; }
}

/* -----------------------------------------------------------------------
   header / nav
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.site-header .site-logo,
.site-header .site-logo:hover {
  color: #fff;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.site-header .site-nav a { color: #fff; }
.site-header .site-nav a:hover { color: var(--accent); }
.site-header .nav-toggle { color: #fff; }
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.site-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Poppins', var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--brand);
  line-height: 1;
}
.site-logo:hover { color: var(--brand); text-decoration: none; }
.site-logo img {
  height: 19px;
  width: auto;
  display: block;
  margin-right: -1px;
  transition: transform .35s ease;
}
.site-logo:hover img {
  transform: scale(1.08);
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
}
.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent-hover); text-decoration: none; }
.site-nav .btn { font-size: 14px; padding: 10px 20px; }

/* hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  color: var(--brand);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(80vw, 320px);
  background: var(--bg);
  box-shadow: -2px 0 8px rgba(0,0,0,.08);
  transform: translateX(100%);
  transition: transform .2s ease;
  z-index: 100;
  padding: var(--sp-7) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  color: var(--text);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.drawer .btn { margin-top: var(--sp-4); }

.drawer-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: transparent; border: 0;
  font-size: 24px; cursor: pointer;
  width: 40px; height: 40px;
}

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 90;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* -----------------------------------------------------------------------
   hero
   ----------------------------------------------------------------------- */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  background:
    linear-gradient(180deg, rgba(8,15,32,0.55) 0%, rgba(8,15,32,0.50) 45%, rgba(8,15,32,0.70) 100%),
    url('../images/hero-top.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,15,32,0.55) 0%, rgba(8,15,32,0.50) 45%, rgba(8,15,32,0.70) 100%);
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { display: none; }
}
.hero__en {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 var(--sp-5);
  letter-spacing: 0.02em;
  color: #fff;
  max-width: 18ch;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
  .hero__en { font-size: 56px; max-width: none; }
}
@media (min-width: 1024px) {
  .hero__en { font-size: 64px; }
}
.hero__ja {
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  margin: 0 0 var(--sp-6);
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
@media (min-width: 768px) {
  .hero__ja { font-size: 16px; }
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.hero__scroll {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #fff;
  opacity: .8;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: .6; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* -----------------------------------------------------------------------
   dual heading (英タイトル＋和文サブ)
   ----------------------------------------------------------------------- */
.dual-heading {
  margin-bottom: var(--sp-6);
}
.dual-heading__en {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}
.dual-heading__ja {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--text);
}
@media (min-width: 768px) {
  .dual-heading__en { font-size: 22px; }
  .dual-heading__ja { font-size: 28px; }
}
.dual-heading--center {
  text-align: center;
}

/* -----------------------------------------------------------------------
   buttons
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}
@media (min-width: 768px) {
  .btn { padding: 14px 28px; font-size: 16px; }
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .arrow { display: inline-block; margin-left: 8px; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

.btn-primary {
  background: var(--accent);
  color: #1F2933;
  border-color: var(--accent);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary:hover {
  background: #1F2933;
  border-color: #1F2933;
  color: var(--accent);
}

.btn-secondary {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-ghost:hover {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}

.hero .btn-ghost {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
  backdrop-filter: blur(2px);
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

/* -----------------------------------------------------------------------
   page header (各下層ページの上部)
   ----------------------------------------------------------------------- */
.page-header {
  background: var(--brand);
  padding: var(--sp-8) 0;
  text-align: center;
  color: #fff;
}
.page-header__en { color: var(--accent) !important; }
.page-header__ja { color: #fff !important; }
.page-header__sub { color: rgba(255,255,255,0.85) !important; }
/* page-header--image は写真背景なので個別に navy オーバーレイ */
.page-header--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,21,46,0.78) 0%, rgba(27,42,78,0.82) 100%);
  z-index: 0;
}
.page-header--image > .container { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .page-header { padding: var(--sp-9) 0; }
}
.page-header__en {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.page-header__ja {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
}
@media (min-width: 768px) {
  .page-header__ja { font-size: 32px; }
}
.page-header__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* page-header に画像背景を敷くバリアント（求人ページ等） */
.page-header--image {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/recruit-hero.jpg') center 38%/cover no-repeat;
  color: #FFFFFF;
}
.page-header--image .page-header__en { color: rgba(255,255,255,0.85); }
.page-header--image .page-header__ja { color: #FFFFFF; }
.page-header--image .page-header__sub { color: rgba(255,255,255,0.92); }

/* business ページ用の背景画像差し替え */
.page-header--business {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/business-hero.jpg') center 55%/cover no-repeat;
}

/* contact ページ用の背景画像差し替え */
.page-header--contact {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/contact-hero.jpg') center 60%/cover no-repeat;
}

/* philosophy ページ用の背景画像差し替え */
.page-header--philosophy {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.60) 0%, rgba(27,42,78,0.55) 100%),
    url('../images/philo-collab.jpg') center 35%/cover no-repeat;
}

/* -----------------------------------------------------------------------
   recruit banner (top page)
   ----------------------------------------------------------------------- */
.recruit-banner {
  background: var(--brand);
  color: #FFFFFF;
  padding: var(--sp-7) var(--sp-5);
  border-radius: var(--radius-card);
  text-align: center;
}
.recruit-banner__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.recruit-banner__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
}
@media (min-width: 768px) {
  .recruit-banner__title { font-size: 26px; }
}
.recruit-banner__lead {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin: 0 0 var(--sp-5);
}
.recruit-banner .btn-primary { box-shadow: 0 1px 0 rgba(0,0,0,.1); }

/* -----------------------------------------------------------------------
   business cards
   ----------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}
.card-business {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  text-decoration: none;
  color: inherit;
}
.card-business:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27,42,78,.08);
  text-decoration: none;
  color: inherit;
}
.card-business__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform .45s ease;
}
.card-business:hover .card-business__media {
  transform: scale(1.06);
}
.card-business__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  flex: 1;
}
.card-business__en {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.card-business__ja {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.card-business__desc {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  margin: 0;
}
.card-business__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

/* -----------------------------------------------------------------------
   business detail sections (business.html)
   ----------------------------------------------------------------------- */
.biz-section {
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--border);
}
.biz-section:last-child { border-bottom: 0; }
.biz-section__media {
  margin-bottom: var(--sp-6);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.biz-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .biz-section {
    padding-block: var(--sp-9);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
  }
  .biz-section__media { margin-bottom: 0; aspect-ratio: 1 / 1; }
  .biz-section--reverse .biz-section__media { order: 2; }
  .biz-section__body > .dual-heading:first-child { margin-top: 0; }
}
.biz-section__lead {
  font-size: 15px;
  color: var(--text);
  margin-bottom: var(--sp-5);
  white-space: pre-line;
}
.biz-section__list {
  margin: 0;
  padding-left: 1.2em;
}
.biz-section__list li { margin-bottom: var(--sp-2); }

/* -----------------------------------------------------------------------
   notice (warning) box
   ----------------------------------------------------------------------- */
.notice-warn {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-border);
  padding: var(--sp-5);
  border-radius: 0 6px 6px 0;
  margin-bottom: var(--sp-7);
}
.notice-warn__title {
  font-weight: 700;
  margin: 0 0 var(--sp-2);
}
.notice-warn ul {
  margin: 0;
  padding-left: 1.2em;
}
.notice-warn li { margin-bottom: 4px; font-size: 14px; }

/* -----------------------------------------------------------------------
   recruit table
   ----------------------------------------------------------------------- */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-6);
}
.recruit-table th,
.recruit-table td {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-3);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
@media (min-width: 768px) {
  .recruit-table th,
  .recruit-table td { font-size: 15px; }
}
.recruit-table th {
  width: 30%;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--brand);
}
@media (max-width: 600px) {
  .recruit-table,
  .recruit-table tbody,
  .recruit-table tr,
  .recruit-table th,
  .recruit-table td { display: block; width: 100%; }
  .recruit-table tr { border-bottom: 1px solid var(--border); padding: var(--sp-3) 0; }
  .recruit-table th { background: transparent; padding: 0; color: var(--text-muted); font-size: 13px; }
  .recruit-table td { padding: 4px 0 0; border: 0; }
}

/* -----------------------------------------------------------------------
   timeline (1日の流れ)
   ----------------------------------------------------------------------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  border-left: 2px solid var(--border);
  padding-left: var(--sp-5);
}
.timeline li {
  position: relative;
  padding-bottom: var(--sp-5);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sp-5) - 6px);
  top: 6px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline__time {
  font-weight: 700;
  color: var(--brand);
  font-size: 14px;
  margin-right: var(--sp-3);
}

/* -----------------------------------------------------------------------
   career path
   ----------------------------------------------------------------------- */
.career-path {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.career-path__step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-3) var(--sp-4);
  text-align: center;
  font-weight: 700;
  position: relative;
}
.career-path__step + .career-path__step::before {
  content: "↓";
  position: absolute;
  top: calc(-1 * var(--sp-3) - 4px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

/* -----------------------------------------------------------------------
   selection flow
   ----------------------------------------------------------------------- */
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: flow;
  display: grid;
  gap: var(--sp-3);
}
.flow li {
  counter-increment: flow;
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  position: relative;
  padding-left: 56px;
  font-size: 14px;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------------------------
   message page (代表メッセージ)
   ----------------------------------------------------------------------- */
.message-lead {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto var(--sp-8);
  max-width: 100%;
  color: var(--text);
}
@media (min-width: 768px) {
  .message-lead { font-size: 28px; }
}
.message-section { margin-bottom: var(--sp-8); }
.message-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--accent);
}
.message-section p { white-space: pre-line; }
.message-sign {
  text-align: right;
  font-weight: 700;
  margin-top: var(--sp-7);
}

/* -----------------------------------------------------------------------
   form embed (entry)
   ----------------------------------------------------------------------- */
.form-embed {
  width: 100%;
  min-height: 1200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-soft);
}

/* -----------------------------------------------------------------------
   contact options
   ----------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-7);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.contact-card h3 {
  margin: 0 0 var(--sp-3);
  font-size: 18px;
  color: var(--brand);
}

.business-info {
  background: #ECEEF1;
  border-radius: var(--radius-card);
  padding: var(--sp-5);
  font-size: 14px;
}
.business-info dt { font-weight: 700; color: var(--text-muted); }
.business-info dd { margin: 0 0 var(--sp-3); }
.business-info dd:last-of-type { margin-bottom: 0; }

/* -----------------------------------------------------------------------
   privacy
   ----------------------------------------------------------------------- */
.privacy h2 {
  font-size: 18px;
  margin: var(--sp-7) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.privacy h2:first-of-type { margin-top: 0; }
.privacy p, .privacy ul { font-size: 14px; line-height: 1.9; }

/* -----------------------------------------------------------------------
   utility
   ----------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-7 { margin-top: var(--sp-7); }
.mb-7 { margin-bottom: var(--sp-7); }

/* Entry section — embedded at bottom of recruit page */
.entry-section {
  background: #ECEEF1;
  padding-block: var(--sp-9);
  margin-top: 0;
}

/* Salary cards — 月収例 */
.salary-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .salary-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
.salary-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-card);
  padding: var(--sp-5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.salary-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--brand);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.salary-card__badge--accent {
  color: #fff;
  background: var(--accent);
}
.salary-card__role {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  color: var(--brand);
}
.salary-card__amount {
  font-family: 'Poppins', var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.salary-card__amount strong {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--brand);
}
.salary-card__unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
}
.salary-card__breakdown {
  list-style: none;
  margin: 0;
  padding: var(--sp-3) 0 0;
  border-top: 1px solid #E5E7EB;
}
.salary-card__breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  color: var(--text);
}
.salary-card__breakdown li span:last-child {
  font-weight: 600;
  color: var(--brand);
}

/* Join banner — full-bleed CTA at end of business page */
.join-banner {
  position: relative;
  margin-top: 0;
  padding-block: var(--sp-9);
  background: url('../images/recruit-hero.jpg') center 35%/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .join-banner { padding-block: 140px; }
}
.join-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.85) 100%);
}
.join-banner__inner { position: relative; z-index: 1; }
.join-banner__kicker {
  display: inline-block;
  font-family: 'Poppins', var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.join-banner__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0 0 var(--sp-5);
  color: #fff;
}
@media (min-width: 768px) {
  .join-banner__title { font-size: 36px; }
}
@media (min-width: 1024px) {
  .join-banner__title { font-size: 44px; }
}
.join-banner__body {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.92);
  margin: 0 0 var(--sp-6);
}
@media (min-width: 768px) {
  .join-banner__body { font-size: 15px; }
}
.join-banner__btn {
  font-size: 15px;
  padding: 14px 32px;
}

.cta-tail {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  margin-top: var(--sp-7);
}
.cta-tail__lead {
  font-size: 16px;
  margin: 0 0 var(--sp-5);
  color: var(--text);
}

/* -----------------------------------------------------------------------
   footer
   ----------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft);
  color: var(--text-muted);
  padding: var(--sp-8) 0 var(--sp-5);
  font-size: 14px;
}
.site-footer__brand {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Poppins', var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.site-footer__brand img {
  height: 14px;
  width: auto;
  display: block;
  margin-right: -1px;
}
.site-footer__addr { margin-bottom: var(--sp-5); }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-5);
  padding: 0;
  list-style: none;
}
.site-footer__nav a { color: var(--brand); }
.site-footer__divider { height: 1px; background: var(--border); margin: var(--sp-4) 0; }
.site-footer__small { font-size: 12px; line-height: 1.6; }

/* -----------------------------------------------------------------------
   philosophy page (message.html)
   ----------------------------------------------------------------------- */
.philo-hero {
  position: relative;
  padding-block: var(--sp-9);
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  overflow: hidden;
}
.philo-hero::before,
.philo-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  z-index: 2;
}
.philo-hero::before { top: 28px; }
.philo-hero::after  { bottom: 28px; }
@media (min-width: 1024px) {
  .philo-hero { padding-block: 120px; }
}
.philo-hero > .container { position: relative; z-index: 1; }

/* 背面の薄いカーシブ装飾 */
.philo-hero__cursive {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-4deg);
  font-family: 'Pinyon Script', 'Brush Script MT', cursive;
  font-size: 110px;
  font-weight: 400;
  color: rgba(27, 42, 78, 0.10);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (min-width: 768px) { .philo-hero__cursive { font-size: 180px; } }
@media (min-width: 1024px) { .philo-hero__cursive { font-size: 240px; } }

.philo-hero__kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.philo-hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0 0 var(--sp-6);
  color: var(--text);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .philo-hero__title { font-size: 40px; }
}
@media (min-width: 1024px) {
  .philo-hero__title { font-size: 48px; }
}
.philo-hero__lead {
  font-size: 14px;
  line-height: 2;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 640px;
  text-align: left;
}
@media (min-width: 768px) {
  .philo-hero__lead { font-size: 15px; }
}

.philo-vision,
.philo-statement {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  color: var(--brand);
  margin: var(--sp-6) 0 var(--sp-5);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .philo-vision,
  .philo-statement { font-size: 28px; }
}

/* shared kicker label "━━ KICKER ━━" pattern */
.philo-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
}
.philo-kicker::before,
.philo-kicker::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.philo-kicker--white { color: rgba(255,255,255,0.85); }
.philo-kicker--center { display: inline-flex; }
/* line-only variant (line on right side, like x-unit) */
.philo-kicker--line::before { display: none; }
.philo-kicker--line::after {
  width: 80px;
}

/* Block 2: Vision — full-bleed image background */
.philo-vision {
  position: relative;
  padding-block: var(--sp-9);
  background: url('../images/recruit-hero.jpg') center/cover no-repeat;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .philo-vision { padding-block: 140px; }
}
.philo-vision__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,78,0.65), rgba(27,42,78,0.7));
}
.philo-vision__inner { position: relative; z-index: 1; }
.philo-vision__title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.7;
  margin: 0 0 var(--sp-5);
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .philo-vision__title { font-size: 36px; }
}
@media (min-width: 1024px) {
  .philo-vision__title { font-size: 42px; }
}
.philo-vision__rule {
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto var(--sp-6);
  background: rgba(255,255,255,0.7);
}
.philo-vision__body {
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
@media (min-width: 768px) {
  .philo-vision__body { font-size: 15px; }
}

/* Block 3: Management Philosophy — image left + panel right */
.philo-mp {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
}
@media (min-width: 1024px) {
  .philo-mp {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.philo-mp__media {
  background: url('../images/card-shop.jpg') center/cover no-repeat;
  min-height: 320px;
}
@media (min-width: 1024px) {
  .philo-mp__media { min-height: 580px; }
}
.philo-mp__panel {
  background: rgba(27,42,78,0.04);
  display: flex;
  align-items: center;
  padding: var(--sp-8) var(--sp-5);
}
@media (min-width: 768px) {
  .philo-mp__panel { padding: var(--sp-9); }
}
.philo-mp__inner {
  max-width: 480px;
  margin-inline: auto;
}
.philo-mp__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  margin: var(--sp-2) 0 var(--sp-5);
  color: var(--text);
}
@media (min-width: 768px) {
  .philo-mp__title { font-size: 32px; }
}
.philo-mp__statement {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 var(--sp-5);
  color: var(--brand);
}
@media (min-width: 768px) {
  .philo-mp__statement { font-size: 22px; }
}
.philo-mp__divider {
  border: 0;
  border-top: 1px solid rgba(27,42,78,0.18);
  margin: 0 0 var(--sp-5);
}
.philo-mp__body {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
  margin: 0;
}
.philo-mp__body + .philo-mp__body { margin-top: var(--sp-4); }
.philo-mp__body strong {
  color: var(--brand);
  font-weight: 700;
}
@media (min-width: 768px) {
  .philo-mp__body { font-size: 15px; }
}

/* Block 4: Goal — FAIR & FAST */
.philo-goal {
  position: relative;
  padding-block: var(--sp-9);
  background: url('../images/hero-top.jpg') center/cover no-repeat;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .philo-goal { padding-block: 140px; }
}
.philo-goal__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(27,42,78,0.7));
}
.philo-goal__inner { position: relative; z-index: 1; }
.philo-goal__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0 0 var(--sp-5);
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .philo-goal__title { font-size: 36px; }
}
@media (min-width: 1024px) {
  .philo-goal__title { font-size: 44px; }
}
.philo-goal__statement {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 var(--sp-5);
}
@media (min-width: 768px) {
  .philo-goal__statement { font-size: 26px; }
}
.philo-goal__body {
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
@media (min-width: 768px) {
  .philo-goal__body { font-size: 15px; }
}

/* Transition image strip between Goal and CREDO */
.philo-strip {
  display: block;
  height: 240px;
  background: url('../images/philo-hands.jpg') center 55%/cover no-repeat;
  position: relative;
}
.philo-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.6) 100%);
}
@media (min-width: 768px) {
  .philo-strip { height: 320px; }
}
@media (min-width: 1024px) {
  .philo-strip { height: 400px; }
}

/* Block 5: CREDO — horizontal banner rows */
.philo-credo {
  padding-block: var(--sp-9);
  background: var(--bg);
}
.philo-credo__header {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.philo-credo__title {
  font-weight: 700;
  font-size: 28px;
  margin: var(--sp-2) 0 0;
  color: var(--text);
  letter-spacing: 0.06em;
}
@media (min-width: 768px) {
  .philo-credo__title { font-size: 36px; }
}

/* CREDO: 3 themed prose blocks */
.credo-axis {
  position: relative;
  padding: var(--sp-7) 0;
  border-bottom: 1px solid rgba(27,42,78,0.12);
}
.credo-axis:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .credo-axis { padding: var(--sp-8) 0; }
}
.credo-axis__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
}
.credo-axis__catch {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 var(--sp-5);
}
@media (min-width: 768px) {
  .credo-axis__catch { font-size: 30px; line-height: 1.55; }
}
.credo-axis__body {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
  margin: 0;
}
@media (min-width: 768px) {
  .credo-axis__body { font-size: 15px; }
}

/* -----------------------------------------------------------------------
   contact form
   ----------------------------------------------------------------------- */
.contact-card--full {
  width: 100%;
  margin-bottom: var(--sp-7);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding: var(--sp-6) var(--sp-5);
  background: #ECEEF1;
  border-radius: var(--radius-card);
}
@media (min-width: 768px) {
  .contact-form { padding: var(--sp-7); }
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-row label {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.form-req {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27,42,78,.12);
}
.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #C0392B;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.form-checks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: var(--sp-4);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--sp-3);
}
@media (max-width: 600px) {
  .form-actions { justify-content: stretch; }
  .form-actions .btn { width: 100%; }
}
.site-footer__small p { margin: 0 0 var(--sp-1); }

/* ボタン内の矢印を全削除 */
.btn .arrow,
.arrow { display: none !important; }

/* スクロール出現アニメ — IntersectionObserver で is-visible が付与される */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* グループ内のスタッガー（順番にディレイ）*/
.card-grid .fade-in:nth-of-type(2),
.salary-grid .fade-in:nth-of-type(2) { transition-delay: .1s; }
.card-grid .fade-in:nth-of-type(3),
.salary-grid .fade-in:nth-of-type(3) { transition-delay: .2s; }
.philo-credo .fade-in:nth-of-type(2) { transition-delay: .08s; }
.philo-credo .fade-in:nth-of-type(3) { transition-delay: .16s; }
.philo-credo .fade-in:nth-of-type(4) { transition-delay: .24s; }
.philo-credo .fade-in:nth-of-type(5) { transition-delay: .32s; }
.flow .fade-in:nth-of-type(2) { transition-delay: .08s; }
.flow .fade-in:nth-of-type(3) { transition-delay: .16s; }
.flow .fade-in:nth-of-type(4) { transition-delay: .24s; }
.flow .fade-in:nth-of-type(5) { transition-delay: .32s; }
.hero__ja.fade-in { transition-delay: .1s; }
.hero__cta.fade-in { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* 理念ミニセクションの「理念を読む」ボタンをネイビー */
.section--philo-mini .btn-ghost {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.section--philo-mini .btn-ghost:hover {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

/* =====================================================================
   Agent-Grow inspired 背景のみ層 — 文字・サイズには触らない
   ・斜め切り替え（clip-path）
   ・コーナーのゴールド三角アクセント
   ・セクション間のネイビーブロック挟み
   ・ダークフッター
   ===================================================================== */

/* Hero: 下端に斜めカット＋右上ゴールド三角アクセント */
.hero {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 320px;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero::after { width: 160px; height: 200px; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
}

/* Business セクション: ヒーローと重ねる＋右上にネイビーブロック斜め */
.section--soft {
  position: relative;
  margin-top: -60px;
  padding-top: calc(var(--sp-8) + 60px);
  overflow: hidden;
  z-index: 1;
}
@media (min-width: 768px) {
  .section--soft { padding-top: calc(var(--sp-9) + 60px); }
}
.section--soft::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--brand);
  /* 上辺はヒーロー下辺の斜めに合わせる、下辺は理念上辺の斜めにピッタリ乗せる */
  clip-path: polygon(35% 22px, 100% 0, 100% calc(100% - 60px), 65% calc(100% - 48px));
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.section--soft::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18%;
  height: 100%;
  background: var(--accent);
  clip-path: polygon(60% 4px, 100% 0, 100% calc(100% - 60px), 80% calc(100% - 56px));
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.section--soft > .container { position: relative; z-index: 1; }

@media (max-width: 600px) {
  .section--soft { margin-top: -32px; padding-top: calc(var(--sp-8) + 32px); }
  .section--soft::before { clip-path: polygon(35% 12px, 100% 0, 100% calc(100% - 32px), 65% calc(100% - 26px)); }
  .section--soft::after { clip-path: polygon(60% 2px, 100% 0, 100% calc(100% - 32px), 80% calc(100% - 30px)); }
}

/* Philosophy セクションに左下ゴールド三角アクセント */
.section--philo-mini {
  clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
  margin-top: -60px;
  padding-top: calc(var(--sp-8) + 80px);
  padding-bottom: calc(var(--sp-8) + 80px);
}
@media (min-width: 768px) {
  .section--philo-mini {
    padding-top: calc(var(--sp-9) + 80px);
    padding-bottom: calc(var(--sp-9) + 80px);
  }
}

/* Entry CTA: 上端で斜めに切り替え＋左下ゴールド三角アクセント */
.section--entry-cta {
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding-top: calc(var(--sp-8) + 60px);
}
@media (min-width: 768px) {
  .section--entry-cta { padding-top: calc(var(--sp-9) + 60px); }
}
.section--entry-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  height: 240px;
  background: var(--accent);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .section--entry-cta::after { width: 180px; height: 160px; }
}

/* page-header --image 系（business/contact/recruit/message）水平で終わる */
.page-header--image {
  position: relative;
  z-index: 1;
}

/* 全コンテンツセクションに section--soft と同じ右側ネイビー大ブロック＋ゴールド斜め
   テキストエリアを白カード化して可読性を確保 */

/* 各 page の本文ラッパー container--narrow に右側ブロックを描画 */
.page-header + .container--narrow,
main > .container--narrow,
body > .container--narrow {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

/* 各セクション/コンテンツに右側ネイビーブロック＋ゴールド斜め */
.philo-credo,
.entry-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.philo-credo::before,
.entry-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--brand);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 65% 100%);
  pointer-events: none;
  z-index: 0;
}
.philo-credo::after,
.entry-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18%;
  height: 100%;
  background: var(--accent);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 80% 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

/* business.html / recruit.html: container--narrow 全体に1枚のネイビーブロックを通す（途切れない） */
.page-header--business + .container--narrow,
.page-header--recruit + .container--narrow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  width: 100vw;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(20px, calc(50vw - 360px));
  padding-right: max(20px, calc(50vw - 360px));
  z-index: 0;
}
.page-header--recruit + .container--narrow {
  overflow: visible;
}
.page-header--recruit + .container--narrow::before,
.page-header--recruit + .container--narrow::after {
  /* container--narrow から entry-section の領域まで navy/gold を引き延ばす */
}
.page-header--recruit + .container--narrow::before { height: calc(100% + 2400px) !important; }
.page-header--recruit + .container--narrow::after { height: calc(100% + 2400px) !important; }
/* entry-section は独自の navy 装飾を持たず、container--narrow から続く navy の上に乗るだけ */
.page-header--recruit ~ .entry-section {
  background: transparent;
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.page-header--recruit ~ .entry-section::before,
.page-header--recruit ~ .entry-section::after {
  display: none;
}
.page-header--business + .container--narrow::before,
.page-header--recruit + .container--narrow::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--brand);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 65% 100%);
  pointer-events: none;
  z-index: 0;
}
.page-header--business + .container--narrow::after,
.page-header--recruit + .container--narrow::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18%;
  height: 100%;
  background: var(--accent);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 80% 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.page-header--business + .container--narrow > .biz-section,
.page-header--recruit + .container--narrow > * {
  position: relative;
  z-index: 1;
}
/* 求人ページの本文ブロックを白カードで読みやすく */
.page-header--recruit + .container--narrow .recruit-table {
  background: var(--bg);
  padding: var(--sp-5);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin-bottom: var(--sp-6);
}
.page-header--recruit + .container--narrow .biz-section__list {
  background: var(--bg);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin: 0 0 var(--sp-6);
}
.page-header--recruit + .container--narrow .salary-grid {
  position: relative;
  z-index: 1;
}
.page-header--recruit + .container--narrow .flow {
  background: var(--bg);
  padding: var(--sp-5);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
/* biz-section__body は白カードで本文部分だけ浮かせて読みやすく */
.biz-section__body {
  background: var(--bg);
  padding: var(--sp-5);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
/* 仕切り線は撤去してネイビー帯を分断しない */
.page-header--business + .container--narrow .biz-section { border-bottom: 0; }
.biz-section > *,
.philo-credo > *,
.entry-section > * {
  position: relative;
  z-index: 1;
}

/* 本文を白カード化してネイビー上でも読めるように */
.credo-axis {
  background: var(--bg);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
}

/* モバイル幅で装飾ネイビーに本文がかぶる箇所に白縁取りを入れて可読性確保 */
@media (max-width: 767px) {
  .section--soft .dual-heading__ja,
  .section--soft .dual-heading__en,
  .philo-credo__title,
  .philo-credo .philo-kicker,
  .credo-axis__label,
  .credo-axis__catch,
  .biz-section__title,
  .biz-section__lead,
  .recruit-table__th,
  .recruit-table__td,
  .flow__step__title,
  .salary-grid__title {
    text-shadow:
      0 0 4px #fff,
      0 0 4px #fff,
      0 0 4px #fff,
      0 0 4px #fff;
  }
}

/* Footer: 黒寄りネイビー（agent-grow の黒フッター相当） */
.site-footer {
  background: #0A0F1F;
  color: rgba(255,255,255,0.78);
  position: relative;
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--accent); }
.site-footer__addr,
.site-footer__small,
.site-footer__nav { color: rgba(255,255,255,0.65); }
.site-footer__divider {
  border-color: rgba(255,255,255,0.15);
}
.site-footer__brand span { color: #fff; }
/* フッター上部にゴールド帯 1px */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 30%, transparent 30%, transparent 100%);
}

/* =====================================================================
   ヘッダーナビ ドロップダウン（料金システム）
   ===================================================================== */
.site-nav .has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 0.75em;
  opacity: 0.7;
  margin-left: 2px;
}
.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  min-width: 180px;
  display: none;
  flex-direction: column;
  padding: var(--sp-2) 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  z-index: 100;
  margin-top: 0;
}
.site-nav .has-dropdown:hover .dropdown,
.site-nav .has-dropdown:focus-within .dropdown {
  display: flex;
}
.site-nav .dropdown a {
  display: block;
  padding: var(--sp-3) var(--sp-5);
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
  border-bottom: none;
}
.site-nav .dropdown a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

/* drawer 内の料金システム小見出し */
.drawer-sub-label {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: var(--sp-3);
  padding: 0 var(--sp-2);
  text-transform: uppercase;
  font-weight: 700;
}
.drawer .drawer-sub {
  padding-left: var(--sp-5);
  font-size: 14px;
}

/* =====================================================================
   サービス個別ページのヘッダー画像
   ===================================================================== */
.page-header--service-buyback {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/card-shop.jpg') center 50%/cover no-repeat;
}
.page-header--service-listing {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/card-listing.jpg') center 50%/cover no-repeat;
}
.page-header--service-benriya {
  background:
    linear-gradient(180deg, rgba(27,42,78,0.55) 0%, rgba(27,42,78,0.50) 100%),
    url('../images/card-next.jpg') center 50%/cover no-repeat;
}

/* =====================================================================
   料金表
   ===================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--sp-6);
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table th {
  background: var(--bg-soft);
  font-weight: 700;
  width: 50%;
}
.pricing-table tr.pricing-table__highlight {
  background: rgba(200, 163, 107, 0.08);
}
.pricing-table tr.pricing-table__highlight td {
  font-weight: 700;
  color: var(--brand);
}

/* 競合比較表（横スクロール対応） */
.pricing-comparison-wrap {
  overflow-x: auto;
  margin-block: var(--sp-6);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: #fff;
}
.pricing-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.pricing-comparison th,
.pricing-comparison td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-2);
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}
.pricing-comparison th:last-child,
.pricing-comparison td:last-child { border-right: 0; }
.pricing-comparison thead th {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: var(--sp-3);
}
.pricing-comparison thead th.col-self {
  background: var(--accent);
  color: #fff;
}
.pricing-comparison tbody td:first-child {
  background: var(--bg-soft);
  font-weight: 700;
  text-align: left;
}
.pricing-comparison .star {
  background: rgba(200, 163, 107, 0.18);
  font-weight: 700;
  color: var(--brand);
}
.pricing-comparison .col-self-cell {
  background: rgba(200, 163, 107, 0.12);
  font-weight: 700;
}
@media (max-width: 600px) {
  .pricing-comparison { font-size: 11px; }
  .pricing-comparison th,
  .pricing-comparison td { padding: var(--sp-1) 4px; }
}
.pricing-comparison-wrap { overflow-x: visible; }

/* =====================================================================
   準備中（Coming Soon）ページ
   ===================================================================== */
.coming-soon {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin-block: var(--sp-7);
}
.coming-soon__kicker {
  display: inline-block;
  font-family: 'Poppins', var(--font-sans);
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.coming-soon__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 var(--sp-5);
  color: var(--brand);
  line-height: 1.4;
}
.coming-soon__body {
  color: var(--text-muted);
  margin-bottom: var(--sp-7);
  font-size: 15px;
  line-height: 1.9;
}

/* =====================================================================
   サービス詳細ページ（service-listing 等）の縦リズムを引き締め
   ===================================================================== */
.page-header--service-listing ~ .container--narrow > .section,
.page-header--service-buyback ~ .container--narrow > .section,
.page-header--service-benriya ~ .container--narrow > .section {
  padding-block: var(--sp-6);
  position: relative;
}
@media (min-width: 768px) {
  .page-header--service-listing ~ .container--narrow > .section,
  .page-header--service-buyback ~ .container--narrow > .section,
  .page-header--service-benriya ~ .container--narrow > .section {
    padding-block: var(--sp-7);
  }
}
/* セクション間に薄いゴールドのアクセント線（短い） */
.page-header--service-listing ~ .container--narrow > .section + .section::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
/* セクション内の見出しを若干コンパクトに */
.page-header--service-listing ~ .container--narrow .dual-heading,
.page-header--service-buyback ~ .container--narrow .dual-heading,
.page-header--service-benriya ~ .container--narrow .dual-heading {
  margin-bottom: var(--sp-5);
}
.page-header--service-listing ~ .container--narrow .dual-heading__ja,
.page-header--service-buyback ~ .container--narrow .dual-heading__ja,
.page-header--service-benriya ~ .container--narrow .dual-heading__ja {
  font-size: 26px;
}
@media (min-width: 768px) {
  .page-header--service-listing ~ .container--narrow .dual-heading__ja,
  .page-header--service-buyback ~ .container--narrow .dual-heading__ja,
  .page-header--service-benriya ~ .container--narrow .dual-heading__ja {
    font-size: 32px;
  }
}
.page-header--service-listing ~ .container--narrow .dual-heading__en,
.page-header--service-buyback ~ .container--narrow .dual-heading__en,
.page-header--service-benriya ~ .container--narrow .dual-heading__en {
  font-size: 11px;
  letter-spacing: 0.25em;
}

/* =====================================================================
   受取金額シミュレーター（STEP式）
   ===================================================================== */
.calc {
  margin-block: var(--sp-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
@media (max-width: 720px) {
  .calc { grid-template-columns: 1fr; }
}
.calc__step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-6);
  position: relative;
  display: flex;
  flex-direction: column;
}
.calc__step--result {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.calc__step-num {
  display: inline-block;
  font-family: 'Poppins', var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.calc__step--result .calc__step-num {
  color: var(--accent);
}
.calc__step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 var(--sp-3);
  line-height: 1.4;
}
.calc__step--result .calc__step-title {
  color: #fff;
}
.calc__step-help {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 var(--sp-4);
  line-height: 1.7;
}
.calc__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-btn);
  padding: var(--sp-2) var(--sp-4);
  background: var(--bg-soft);
  transition: border-color .15s;
  margin-bottom: var(--sp-5);
}
.calc__input-wrap:focus-within {
  border-color: var(--accent);
  background: #fff;
}
.calc__input-wrap input[type="number"] {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  font-family: var(--font-sans);
  padding: var(--sp-3) 0;
  width: 100%;
  text-align: right;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.calc__input-wrap input[type="number"]::-webkit-outer-spin-button,
.calc__input-wrap input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__input-wrap input[type="number"]:focus {
  outline: none;
}
.calc__unit {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}
.calc__btn {
  width: 100%;
  margin-top: auto;
  padding: var(--sp-4) var(--sp-5);
  font-size: 15px;
}

/* 結果ヒーロー（大きい表示） */
.calc__hero {
  text-align: center;
  padding: var(--sp-6) 0 var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: var(--sp-5);
}
.calc__hero-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.05em;
}
.calc__hero-amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  word-break: break-all;
}
.calc__hero-rate {
  display: inline-block;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: var(--sp-2);
  font-weight: 500;
}

/* 内訳 */
.calc__breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: 14px;
}
.calc__row-label {
  color: rgba(255,255,255,0.78);
}
.calc__row-label em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-left: 2px;
}
.calc__row-value {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.calc__row-value--minus {
  color: rgba(255,255,255,0.78);
}
.calc__note {
  margin: var(--sp-5) 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .calc__step { padding: var(--sp-5) var(--sp-4); }
  .calc__step-title { font-size: 20px; }
  .calc__input-wrap input[type="number"] { font-size: 24px; }
  .calc__hero-amount { font-size: 36px; }
}

/* =====================================================================
   利用規約 / 取扱条件
   ===================================================================== */
.terms-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-6) var(--sp-6);
  margin-block: var(--sp-6);
}
.terms-list__heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  margin: var(--sp-6) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.terms-list__heading:first-child { margin-top: 0; }
.terms-list p {
  margin: var(--sp-2) 0 var(--sp-4);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.terms-list ul.biz-section__list {
  margin: var(--sp-2) 0 var(--sp-4);
}
.terms-list ul.biz-section__list li {
  font-size: 14px;
  line-height: 1.9;
}
.terms-list ul.biz-section__list ul {
  margin-top: var(--sp-2);
  padding-left: var(--sp-5);
}
@media (max-width: 600px) {
  .terms-list { padding: var(--sp-5) var(--sp-4); }
  .terms-list__heading { font-size: 16px; }
}

/* =====================================================================
   モバイル可読性：タイル背景上の文字に白フチを付与
   ※ 白文字×濃色背景の領域（ヘッダー/フッター/ヒーロー/CTA等）は除外
   ===================================================================== */
@media (max-width: 767px) {
  body,
  body p,
  body li,
  body h1, body h2, body h3, body h4, body h5, body h6,
  body span,
  body a,
  body dt, body dd,
  body th, body td,
  body label,
  body strong, body em, body small,
  body blockquote, body figcaption {
    text-shadow:
      0 0 3px #fff,
      0 0 3px #fff,
      0 0 3px #fff,
      1px 1px 0 #fff,
      -1px -1px 0 #fff,
      1px -1px 0 #fff,
      -1px 1px 0 #fff;
  }

  /* 白文字×濃色背景の領域は白フチを無効化（ぼやけ防止） */
  .site-header, .site-header *,
  .site-footer, .site-footer *,
  .hero, .hero *,
  .page-header, .page-header *,
  .section--mesh, .section--mesh *,
  .section--entry-cta, .section--entry-cta *,
  .section--philo-mini, .section--philo-mini *,
  .btn, .btn *,
  .site-nav .dropdown, .site-nav .dropdown *,
  .recruit-banner, .recruit-banner *,
  .cta-tail, .cta-tail * {
    text-shadow: none;
  }
}

/* 求人ページ「求める人物像」リスト：ネイビーに被って読みづらいので
   PC・スマホ問わず文字に白フチを強制 */
.who-want-list,
.who-want-list p,
.who-want-list li,
.who-want-list span,
.who-want-list strong,
.who-want-list em {
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0   -1px 0 #fff,
     0    1px 0 #fff,
    -1px  0   0 #fff,
     1px  0   0 #fff,
     0 0 4px #fff,
     0 0 4px #fff !important;
}
