/* =========================================================
   パターンG｜明るい・元気
   青×黄×紺／三角形と斜めの面／ピル型ボタン／互い違いのカード
   参考: shine-gr.co.jp（見せ方のみ。素材・文章・イラスト・コードは不使用）
   数値の根拠は ../design-guideline-g.md。ここに無い数値を足すときは先にガイドラインを直す。
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --- 色（ガイドライン3章。これ以外の色は使わない） --- */
  --c-blue: #00659F;
  --c-navy: #002767;
  --c-yellow: #FFEE54;
  --c-band: #1F78B0;
  --c-sky: #44A6D9;
  --c-pale: #DBEBF5;
  --c-bg-alt: #F4F7F9;
  --c-white: #FFFFFF;
  --c-text: #333333;
  --c-muted: #666666;
  --c-line: #D5DEE6;
  --shadow-card: 0 8px 24px rgba(0, 39, 103, .08);
  /* 白の半透明：左端92% → 画面幅60%で85% → 80%で0%（紺文字 8.98〜10.50:1 実測） */
  --hero-veil: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,0) 80%);

  /* --- 文字（ガイドライン4章） --- */
  --font-en: 'Montserrat', 'Noto Sans JP', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --fs-h1: 72px;   /* 10/22 Uiさん指摘：88pxはPCで大きすぎ → 72px（スマホの44pxはそのまま） */
  --fs-h2: 36px;
  --fs-h3: 22px;
  --fs-lead: 20px;
  --fs-body: 16px;
  --fs-en-heading: 64px;
  --fs-tag: 14px;
  --fs-fine: 13px;

  /* --- 余白・幅（ガイドライン2章） --- */
  --max-width: 1200px;
  --max-text: 720px;
  --max-list: 800px;
  --gutter: 24px;
  --sp-section: 160px;
  --sp-head: 48px;
  --header-h: 88px;

  /* --- 動き（main.js が読む） --- */
  --motion-stagger: 0.1s;
  --header-transparent: 0;
}

@media (max-width: 1023px) {
  :root {
    --sp-section: 112px;
    --sp-head: 40px;
    --header-h: 72px;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 44px;
    --fs-h2: 28px;
    --fs-h3: 19px;
    --fs-lead: 16px;
    --fs-body: 15px;
    --fs-en-heading: 40px;
    --gutter: 16px;
    --sp-section: 80px;
    --sp-head: 32px;
    --header-h: 64px;
  }
}

/* =========================================================
   ベース
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  line-height: 2.0;
  letter-spacing: 0.06em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* hidden だと body がスクロール領域になり、ヘッダーの sticky が効かなくなる */
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: var(--c-blue); }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  padding: 12px 20px; background: var(--c-navy); color: var(--c-white);
}
.skip-link:focus { top: 16px; }

.container,
.container-list,
.container-form {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container      { max-width: calc(var(--max-width) + var(--gutter) * 2); }
.container-list { max-width: calc(var(--max-list) + var(--gutter) * 2); }
.container-form { max-width: calc(var(--max-text) + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--sp-section); }

/* =========================================================
   三角形（ガイドライン9章）：clip-path で描く。文字には重ねない
   ========================================================= */
.tri { position: absolute; z-index: 0; pointer-events: none; display: block; }
.tri-blue   { background: var(--c-blue); }
.tri-yellow { background: var(--c-yellow); }
.tri-sky    { background: var(--c-sky); opacity: .5; }
.tri-white  { background: var(--c-white); opacity: .25; }
.tri { clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* =========================================================
   見出しの型（ガイドライン5章）
   ========================================================= */
.section-header,
.section-header-b { position: relative; z-index: 1; margin-bottom: var(--sp-head); }
.en-label {
  display: inline-block; padding-bottom: 6px; margin-bottom: 24px;
  border-bottom: 2px solid currentColor;
  font-family: var(--font-en); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.1em;
  color: var(--c-blue);
}
.section-title {
  max-width: 960px;
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.6; letter-spacing: 0.12em;
  color: var(--c-blue);
}
.lead { margin-top: 16px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.6; letter-spacing: 0.1em; color: var(--c-blue); }
.section-desc { max-width: var(--max-text); margin-top: 24px; }

.en-heading {
  display: inline-block;
  font-family: var(--font-en); font-size: var(--fs-en-heading); font-weight: 800; line-height: 1; letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--c-navy) 0%, var(--c-blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.en-heading-sub { margin: 12px 0 20px; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; color: var(--c-blue); }

.box-heading { position: relative; z-index: 1; margin: 96px 0 40px; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; }
.box-heading span { display: inline-block; padding: 4px 12px; background: var(--c-navy); color: var(--c-white); }

/* =========================================================
   ボタン（ガイドライン6章）
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 280px; min-height: 60px;
  padding: 14px 64px 14px 40px;
  border: 2px solid var(--c-blue); border-radius: 999px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: 0.1em;
  text-decoration: none;
  transition: filter .2s ease, background-color .2s ease;
}
.btn-lg { min-width: 320px; min-height: 72px; }
.btn-arrow { position: absolute; right: 28px; top: 50%; margin-top: -5px; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--c-blue); color: var(--c-white); }
.btn-primary:hover { filter: brightness(.9); }
.btn-secondary { background: var(--c-white); color: var(--c-blue); }
.btn-secondary:hover { background: var(--c-pale); }

/* =========================================================
   ヘッダー（白地・固定。右端のお問い合わせは高さいっぱいの四角）
   ========================================================= */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: stretch; justify-content: space-between; gap: 24px;
  height: var(--header-h); padding-left: 40px;
  background: var(--c-white);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-logo { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-name { font-size: 20px; font-weight: 900; line-height: 1.3; letter-spacing: 0.08em; color: var(--c-blue); }
.logo-tag  { font-size: var(--fs-fine); line-height: 1.3; letter-spacing: 0.04em; color: var(--c-muted); }

.main-nav { display: flex; align-items: stretch; gap: 32px; }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--c-navy); }
.main-nav .nav-en { font-family: var(--font-en); font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0.1em; }
.main-nav .nav-ja { font-size: 11px; line-height: 1.2; letter-spacing: 0.06em; }
.main-nav ul a:hover .nav-en { color: var(--c-blue); }
.main-nav .nav-cta {
  justify-content: center; width: 140px;
  background: var(--c-blue); color: var(--c-white);
  transition: filter .2s ease;
}
.main-nav .nav-cta:hover { filter: brightness(.9); }
.main-nav .nav-cta:focus-visible { outline-color: var(--c-yellow); outline-offset: -5px; }

.hamburger {
  display: none; align-self: center;
  width: 48px; height: 48px; margin-right: var(--gutter);
  background: var(--c-blue); border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--c-white); transition: transform .25s ease, opacity .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hamburger:focus-visible { outline-color: var(--c-navy); }

.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; width: 100%; z-index: 999;
  padding: 8px var(--gutter) 24px;
  background: var(--c-white); border-bottom: 1px solid var(--c-line);
}
.mobile-nav.open { display: block; }
.mobile-nav ul a {
  display: block; padding: 16px 0;
  font-size: 16px; font-weight: 700; color: var(--c-navy); text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.mobile-nav .nav-cta {
  display: block; margin-top: 20px; padding: 16px;
  border-radius: 999px; background: var(--c-blue); color: var(--c-white);
  text-align: center; font-weight: 700; text-decoration: none;
}

/* =========================================================
   ヒーロー（PC：写真の左側に白の半透明＋紺の文字）
   ========================================================= */
#hero {
  position: relative; overflow: hidden;
  min-height: clamp(760px, calc(100svh - var(--header-h)), 900px);
  display: flex; align-items: center;
  padding-block: 48px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-veil); }
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 620px; color: var(--c-navy); }

.hero-sample-note {
  display: inline-block; margin-bottom: 20px; padding: 4px 10px;
  border: 1px solid var(--c-line); background: var(--c-white);
  font-size: var(--fs-tag); line-height: 1.6; letter-spacing: 0.04em; color: var(--c-text);
}
.hero-eyebrow { margin-bottom: 24px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: 0.15em; }
.marker { position: relative; z-index: 0; }
.marker::before {
  content: ""; position: absolute; z-index: -1;
  left: -4px; right: -4px; bottom: 0; height: .45em;
  background: var(--c-yellow);
  transform: skewX(-12deg) scaleX(var(--marker-scale, 1)); transform-origin: left;
}
.hero-title { font-size: var(--fs-h1); font-weight: 900; line-height: 1.25; letter-spacing: 0.12em; }
.hero-line { display: inline-block; }
.hero-sub { margin-top: 24px; font-size: 18px; line-height: 1.8; letter-spacing: 0.12em; color: var(--c-text); }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-tri-1 { width: 120px; height: 104px; right: 6%; bottom: 8%; z-index: 1; transform: rotate(-18deg); }
.hero-tri-2 { width: 160px; height: 140px; right: 30%; top: 6%; z-index: 1; transform: rotate(160deg); }

/* =========================================================
   左右分割（組合概要＝写真が左・事業内容＝写真が右）
   ========================================================= */
.split {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 45% minmax(0, 1fr);
  column-gap: 80px; align-items: center;
}
.split > .split-photo { padding-left: 24px; }
.split > .split-body { padding-right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter))); }
.split-photo { position: relative; }
.split-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.split-reverse { grid-template-columns: minmax(0, 1fr) 50%; }
.split-reverse > .split-body {
  padding-right: 0;
  padding-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
}
.split-reverse > .split-photo { padding-left: 0; }
.split-reverse .split-photo img { aspect-ratio: 4 / 3; }
.split-body .section-header,
.split-body .section-header-b { margin-bottom: 0; }

.profile-table { margin-top: 64px; max-width: 960px; }
.profile-tri-1 { width: 150px; height: 130px; right: 4%; top: 80px; transform: rotate(-30deg); }
.profile-tri-2 { width: 90px; height: 78px; right: 14%; top: 230px; transform: rotate(150deg); }

/* =========================================================
   表
   ========================================================= */
.data-table { width: 100%; border-collapse: collapse; position: relative; z-index: 1; background: var(--c-white); }
.data-table th,
.data-table td {
  padding: 20px 16px; border-bottom: 1px solid var(--c-line);
  text-align: left; vertical-align: top;
  font-size: var(--fs-body); line-height: 1.9; letter-spacing: 0.04em;
}
.data-table tr:first-child th,
.data-table tr:first-child td { border-top: 2px solid var(--c-blue); }
.data-table th { width: 8em; font-weight: 700; color: var(--c-blue); }
.services-table { margin-top: 64px; }
.services-table th { width: 200px; }
.inline-list { display: flex; flex-wrap: wrap; }
.inline-list li + li::before { content: "／"; margin-inline: 8px; color: var(--c-muted); }

/* =========================================================
   事業内容（灰青の地＋斜めの面）
   ========================================================= */
.section-services { background: var(--c-bg-alt); overflow: hidden; }
.section-services::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--c-pale);
  clip-path: polygon(0 18%, 100% 0, 100% 46%, 0 64%);   /* 約15°の斜めの帯 */
}
.section-services > * { position: relative; z-index: 1; }
.services-tri { width: 120px; height: 104px; left: -40px; bottom: -40px; z-index: 2; transform: rotate(-90deg); }

.system-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  align-items: start;
}
.system-card:nth-child(1) { margin-top: 80px; }   /* 互い違い：1枚目が一番下 */
.system-card:nth-child(2) { margin-top: 40px; }
.system-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  min-height: 300px; padding: 48px 32px 40px;
  background: var(--c-white); box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.system-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 39, 103, .12); }
.num-tab {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px;
  padding: 14px 0 0 12px;
  background: var(--c-blue); color: var(--c-white);
  border-bottom-right-radius: 100%;   /* 10/22 Uiさん指摘：直角三角形 → 角を丸めた扇形（四分円） */
  font-family: var(--font-en); font-size: var(--fs-tag); font-weight: 700; line-height: 1; letter-spacing: 0.06em;
}
.system-icon { color: var(--c-blue); flex-shrink: 0; }
.system-name { font-size: var(--fs-h3); font-weight: 700; line-height: 1.6; letter-spacing: 0.1em; color: var(--c-blue); }
.system-note { display: block; margin-top: 4px; font-size: var(--fs-tag); font-weight: 400; letter-spacing: 0.02em; color: var(--c-muted); }
.system-desc { margin-top: -8px; text-align: left; font-size: 15px; line-height: 1.9; letter-spacing: 0.04em; }

.job-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }   /* 10/22 Uiさん指摘：PCは2列×2行 */
.job-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.job-name {
  margin-top: 12px; padding-bottom: 8px;
  font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; color: var(--c-blue);
  position: relative;
}
.job-name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--c-blue); }

/* =========================================================
   受け入れの流れ（縦1列・丸を点線でつなぐ）
   ========================================================= */
.flow-list { position: relative; }
.flow-step { position: relative; display: flex; gap: 32px; padding-bottom: 40px; }
.flow-step:last-child { padding-bottom: 0; }
/* 丸と丸の間の点線 */
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 39px; top: 80px; bottom: 0;
  border-left: 2px dotted var(--c-blue);
}
.flow-num {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-blue);
  font-family: var(--font-en); font-size: 24px; font-weight: 700; letter-spacing: 0.04em; color: var(--c-blue);
}
.flow-step h3 { padding-top: 18px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.6; letter-spacing: 0.1em; color: var(--c-navy); }
.flow-step p { margin-top: 4px; }

/* =========================================================
   情報公開（薄い水色の箱）
   ========================================================= */
.section-disclosure { padding-top: 0; }
.disclosure-box { position: relative; overflow: hidden; padding: 64px; background: var(--c-pale); }
.disclosure-tri-1 { width: 120px; height: 104px; right: -24px; top: -20px; transform: rotate(130deg); }
.disclosure-tri-2 { width: 72px; height: 62px; right: 96px; top: 36px; transform: rotate(-20deg); }
.doc-list { position: relative; z-index: 1; display: grid; gap: 12px; }
.doc-list li {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 24px; background: var(--c-white);
}
.doc-tag {
  flex-shrink: 0; padding: 4px 16px; border-radius: 999px;
  background: var(--c-blue); color: var(--c-white);
  font-family: var(--font-en); font-size: var(--fs-tag); font-weight: 700; line-height: 1.4; letter-spacing: 0.06em;
}
.doc-title { flex: 1; font-weight: 700; color: var(--c-navy); }
.doc-note { font-size: var(--fs-tag); color: var(--c-muted); letter-spacing: 0.04em; }

/* =========================================================
   お問い合わせ（青の帯＋フォーム）
   ========================================================= */
.contact-band { position: relative; overflow: hidden; padding-block: 96px; background: var(--c-band); color: var(--c-white); }
.contact-band .en-label,
.contact-band .section-title,
.contact-band .lead { color: var(--c-white); }
.contact-band :focus-visible { outline-color: var(--c-yellow); }
.contact-band-inner { position: relative; z-index: 1; }
.contact-text { max-width: var(--max-text); }
.contact-info { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .5); max-width: var(--max-text); }
.contact-info h3 { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.contact-phone {
  display: flex; align-items: center; gap: 12px; margin-top: 8px;
  font-family: var(--font-en); font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: 0.04em;
}
.contact-hours { margin-top: 8px; font-size: var(--fs-tag); letter-spacing: 0.04em; }
.band-tri-1 { width: 140px; height: 122px; right: 8%; top: 40px; transform: rotate(-24deg); }
.band-tri-2 { width: 220px; height: 190px; right: -40px; bottom: -60px; transform: rotate(200deg); }
.band-tri-3 { width: 160px; height: 140px; left: 52%; bottom: -50px; transform: rotate(-80deg); }

.contact-form-area { padding-block: 96px var(--sp-section); }
.form-mock-notice {
  margin-bottom: 32px; padding: 12px 16px;
  background: var(--c-bg-alt);
  font-size: var(--fs-tag); line-height: 1.7; letter-spacing: 0.04em;
}
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: 0; color: var(--c-navy); }
.required { margin-left: 8px; font-size: var(--fs-tag); font-weight: 400; color: var(--c-muted); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 16px; line-height: 1.6; letter-spacing: 0;
  color: var(--c-text); background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: 6px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group input:disabled,
.form-group textarea:disabled { cursor: not-allowed; opacity: 1; background: var(--c-white); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 32px; font-size: var(--fs-tag); line-height: 1.7; }
.form-consent input { margin-top: 5px; }
.btn-submit { padding-right: 40px; cursor: not-allowed; }
.btn-submit:hover { filter: none; }

/* =========================================================
   フッター（白地）
   ========================================================= */
#site-footer { border-top: 1px solid var(--c-line); padding-block: 72px 48px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-org-name { font-size: 22px; font-weight: 900; letter-spacing: 0.08em; color: var(--c-blue); word-break: keep-all; }
.footer-org-detail { margin-top: 16px; font-size: var(--fs-tag); line-height: 1.9; letter-spacing: 0.04em; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.06em; color: var(--c-navy); }
.footer-col li { position: relative; padding-left: 14px; font-size: var(--fs-tag); line-height: 2; letter-spacing: 0.04em; }
.footer-col li::before {
  content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 8px;
  background: var(--c-blue); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-fine); color: var(--c-muted); letter-spacing: 0.04em;
}
.footer-copyright { margin-left: auto; }
.footer-demo-note { margin-top: 24px; font-size: var(--fs-fine); line-height: 1.7; color: var(--c-muted); letter-spacing: 0.04em; }

/* =========================================================
   フェードイン（JSが動く環境だけ初期状態を透明に）
   ========================================================= */
.js .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.js .fade-in.visible { opacity: 1; transform: none; }
/* GSAPが動くときは animation.js が動きを担当する（CSSの遷移と二重にならないよう止める） */
.gsap-on .fade-in { opacity: 1; transform: none; transition: none; }

/* =========================================================
   タブレット以下（〜1023px）：ヒーローは写真が上・文字が下
   ========================================================= */
@media (max-width: 1023px) {
  #site-header { padding-left: var(--gutter); }
  .main-nav { display: none; }
  .hamburger { display: flex; }

  #hero { display: block; min-height: 0; padding-block: 0 72px; }
  .hero-media { position: relative; height: 360px; }
  .hero-media::after { display: none; }
  .hero-media img { object-position: center; }
  .hero-inner { padding-top: 48px; }
  .hero-text { max-width: none; }
  .hero-tri-1 { top: 300px; bottom: auto; right: 24px; width: 90px; height: 78px; }
  .hero-tri-2 { display: none; }

  .split,
  .split-reverse { display: block; }
  .split > .split-photo,
  .split-reverse > .split-photo { padding: 0 var(--gutter); margin-bottom: 40px; }
  .split-reverse > .split-photo { margin: 40px 0 0; }
  .split > .split-body,
  .split-reverse > .split-body { padding-inline: var(--gutter); }
  .split-photo img,
  .split-reverse .split-photo img { aspect-ratio: 3 / 2; }
  .profile-table { margin-top: 48px; }
  .services-tri { left: 0; transform: rotate(-65deg); }   /* 直立（-90°）だと不自然なので少し傾ける */

  .system-card:nth-child(1),
  .system-card:nth-child(2) { margin-top: 0; }
  .system-cards { gap: 20px; }
  .system-card { padding: 48px 16px 32px; }
  .job-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .disclosure-box { padding: 48px 32px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

/* =========================================================
   スマホ（〜767px）
   ========================================================= */
@media (max-width: 767px) {
  .logo-tag { display: none; }
  .logo-name { font-size: 18px; }

  .hero-media { height: 260px; }
  .hero-inner { padding-top: 32px; }
  .hero-tri-1 { top: 210px; width: 72px; height: 62px; }
  .hero-eyebrow { font-size: 16px; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-top: 20px; }
  .hero-cta-group { flex-direction: column; gap: 12px; margin-top: 32px; }
  .hero-cta-group .btn { width: 100%; min-width: 0; min-height: 60px; font-size: 16px; }

  .btn { font-size: 16px; }

  .profile-tri-1 { width: 90px; height: 78px; top: 24px; }
  .profile-tri-2 { display: none; }

  .data-table th,
  .data-table td { display: block; width: auto; padding: 0 4px; border: 0; }
  .data-table th { padding-top: 16px; border-top: 1px solid var(--c-line); }
  .data-table td { padding-block: 4px 16px; }
  .data-table tr:first-child th { border-top: 2px solid var(--c-blue); }
  .data-table tr:first-child td { border-top: 0; }
  .data-table tr:last-child td { border-bottom: 1px solid var(--c-line); }
  .services-table th { width: auto; }

  .box-heading { margin: 64px 0 24px; font-size: 20px; }
  .system-cards { grid-template-columns: 1fr; }
  .system-card { min-height: 0; padding: 40px 24px 32px; }
  .system-icon { width: 64px; height: 64px; }
  .num-tab { width: 56px; height: 56px; }
  .job-cards { grid-template-columns: 1fr; gap: 32px; }   /* スマホは縦1列 */
  .job-name { font-size: 17px; }

  .flow-step { gap: 20px; }
  .flow-num { width: 64px; height: 64px; font-size: 20px; }
  .flow-step:not(:last-child)::before { left: 31px; top: 64px; }
  .flow-step h3 { padding-top: 12px; }

  .disclosure-box { padding: 40px 20px; }
  .doc-list li { flex-wrap: wrap; gap: 8px 16px; padding: 16px; }
  .doc-title { flex-basis: calc(100% - 90px); }
  .doc-note { flex-basis: 100%; }

  .contact-band { padding-block: 72px; }
  /* 黄色の三角が見出しの白文字に重なって読めないため、スマホでは帯の右上の角へ逃がす */
  .band-tri-1 { top: -36px; right: -28px; width: 110px; height: 96px; }
  .contact-phone { font-size: 30px; }
  .contact-form-area { padding-block: 64px var(--sp-section); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-copyright { margin-left: 0; }
}

/* =========================================================
   動きを減らす設定：すべて停止
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .fade-in { opacity: 1; transform: none; }
}
