/* =============================================
   FIKS Corporate Site  |  Figma忠実再現
   fileKey: 9tbs6avCq5YfCZPuuN73ty / TOP: 137:1901
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;500;600&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Old+Mincho:wght@400;500;600;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-navy: #002954;
  --c-sky: #5EADD8;
  --c-blue: #13569C;
  --c-text: #000000;
  --c-sub: rgba(0,0,0,0.6);
  --c-line: rgba(0,0,0,0.3);
  --font-en: 'Vollkorn', serif;
  --font-mincho: 'Zen Old Mincho', serif;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;
  --font-noto: 'Noto Sans JP', sans-serif;
  --container: 1240px;
  --pad: 40px;   /* コンテンツ左右余白（画面をなるべくフルに使う） */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x: clip はスクロール領域を作らずはみ出しだけ隠す（二重スクロールバー回避） */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* モバイルメニュー展開中はページスクロールを固定（スクロール位置は保持） */
html.nav-locked, html.nav-locked body { overflow: hidden; }

/* スクロール表示（セクション単位・共通）。JSが .reveal を付与、画面内で .is-visible */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
body {
  font-family: var(--font-jp);
  background: var(--c-white);
  color: var(--c-text);
  line-height: 1.8;
  min-width: 320px;
}
/* 巨大英字のはみ出しは画面端でクリップ（Figma同様に見切れる） */
.mission, .message { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }

/* コンテンツ幅（画面を広く使う：max1240 / 左右pad40） */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ===== 共通：セクションラベル（_Business 形式） ===== */
.sec-label {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--c-black);
  margin-bottom: 24px;
}
.sec-label::before {
  content: '_';
  margin-right: 4px;
}
.sec-label.light { color: var(--c-white); }

/* ===== 共通：セクション見出し（Zen Old Mincho） ===== */
.sec-heading {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--c-black);
  margin-bottom: 34px;
}
.sec-heading.light { color: var(--c-white); }

/* ===== 共通：本文（Figma: Zen Kaku Gothic Medium 16px / 2em / 両端揃え） ===== */
.sec-body {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--c-text);
  text-align: justify;
}
.sec-body.light { color: var(--c-white); }

/* ===== 共通：巨大英字（画面幅を超えてはみ出す） ===== */
.big-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(56px, 9.7vw, 150px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-black);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}

/* ===== 共通：ピルボタン（Figma btn02） ===== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 34px;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14px;
  border-radius: 30px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s, transform 0.3s;
}
.btn-pill:hover { opacity: 0.82; }
.btn-pill.dark { background: var(--c-black); color: var(--c-white); }

/* =============================================
   ページTOPへ戻る（右下固定の丸ボタン）
============================================= */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-navy); color: var(--c-white);
  box-shadow: 0 6px 20px rgba(0, 41, 84, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-sky); transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; display: block; }
@media (max-width: 768px) {
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .to-top svg { width: 20px; height: 20px; }
}

/* =============================================
   Header
============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  padding: 16px 60px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.logo { display: block; line-height: 0; }
.logo-wordmark {
  width: 118px; height: auto;
  color: var(--c-white);
  transition: color 0.35s ease;
}
.site-header.scrolled .logo-wordmark { color: var(--c-navy); }

.site-nav {
  display: flex;
  align-items: center;
}
.sp-menu-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-menu-cta { display: none; }
.nav-sp-only { display: none; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  color: var(--c-white);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.site-header.scrolled .nav-btn {
  border-color: rgba(0,0,0,0.35);
  color: var(--c-black);
}
.nav-btn:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.site-header.scrolled .nav-btn:hover { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
/* 現在ページのナビ（アクティブ = 水色） */
.nav-btn.active,
.site-header.scrolled .nav-btn.active { background: var(--c-sky); color: var(--c-white); border-color: var(--c-sky); }

.hamburger { display: none; }

/* =============================================
   Hero (動画スライドショー)
============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #000;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(1.1);
}
.hero-video.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 2;
}
.hero-content {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: var(--c-white);
  width: min(92%, 900px);
}
/* BUILT ON TRUST（常時 / スライド4で隠す） */
.hero-en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 34px;
  transition: opacity 0.6s ease;
}
.hero-en.hide { opacity: 0; }

.hero-slides {
  position: relative;
  height: 190px;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-jp {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 4px rgba(0,0,0,0.25);
}
/* スライド4：ロゴ（大きく・中央） */
.hero-slide-logo { align-items: center; }
.hero-logo {
  width: clamp(220px, 26vw, 380px);
  filter: brightness(0) invert(1);   /* 白 */
}

/* 左下：4本線インジケーター */
.hero-indicators {
  position: absolute;
  left: 100px; bottom: 46px;
  z-index: 4;
  display: flex; gap: 10px;
}
.hero-indicators span {
  width: 50px; height: 3px;
  background: rgba(255,255,255,0.55);
  transition: background 0.4s;
  cursor: pointer;
}
.hero-indicators span.active { background: var(--c-sky); }

/* 右下：SCROLL */
.hero-scroll {
  position: absolute;
  right: 60px; bottom: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
}
.hero-scroll span:first-child {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: var(--c-white);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   01_Mission （写真の下端に巨大英字が重なる）
============================================= */
.mission { padding: 130px 0 120px; }
.mission-photo {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}
.mission-photo img {
  width: 100%;
  aspect-ratio: 1240 / 720;
  object-fit: cover;
}
.mission-en {
  position: relative;
  z-index: 2;
  margin-top: -0.55em;   /* 写真下端に重ねる */
  margin-bottom: 70px;
  text-transform: uppercase;
}
.mission-text {
  text-align: left;
  max-width: calc(1000px + var(--pad) * 2);
}

/* =============================================
   02_Numbers （白カード shadow）
============================================= */
.numbers { padding: 20px 0 90px; }
.numbers-card {
  background: var(--c-white);
  box-shadow: 0 0 90px rgba(0,0,0,0.15);
  padding: 56px 70px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.numbers-heading {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.numbers-list {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-around;
  gap: 10px;
}
.num-item {
  position: relative;
  padding: 0 26px;
  text-align: left;
}
.num-item + .num-item::before {
  content: '';
  position: absolute;
  left: -8px; top: 50%;
  transform: translateY(-50%) rotate(20deg);
  width: 1px; height: 56px;
  background: var(--c-line);
}
.num-value {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-black);
  white-space: nowrap;
}
.num-caption {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 13px;
  color: var(--c-sub);
  margin-top: 4px;
  white-space: nowrap;
}

/* =============================================
   03_Business （白背景・黒文字・左寄せ / FUTURE道路画像）
============================================= */
.business {
  position: relative;
  padding-top: 120px;
  overflow: hidden;
}
.business-text {
  position: relative;
  z-index: 2;
  text-align: left;
}
.business-text .btn-pill { margin-top: 44px; }
.business-road {
  margin-top: -200px;
  width: 100%;
}
.business-road img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =============================================
   04_Strength （フルブリード画像 + リード + 3カード）
============================================= */
.strength { position: relative; padding-bottom: 60px; }
.strength-hero {
  width: 100%;
  height: 780px;
  overflow: hidden;
}
.strength-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* リードとカードを写真の上に重ねる（Figma: image上にlead、cardsが下端に半分被り） */
.strength-body {
  position: relative;
  z-index: 2;
  margin-top: -780px;
  padding-top: 56px;
}
.strength-lead { text-align: left; max-width: 1000px; margin-bottom: 470px; }

/* 3カード共通 */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.card { display: flex; flex-direction: column; text-align: center; }
.card-img {
  width: 100%;
  aspect-ratio: 380 / 240;
  overflow: hidden;
  margin-bottom: 30px;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
/* ラベル（Figma: 10px CENTER・ボーダー無し。Strength=Vollkorn / Case=Zen Old Mincho） */
.card-label {
  font-weight: 700;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin-bottom: 10px;
}
.strength .card-label { font-family: var(--font-en); }
.case .card-label { font-family: var(--font-mincho); }
.card-label-no { display: block; }
.card-label-sub { display: block; margin-top: 2px; }
.card-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}
.card-desc {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-black);
  letter-spacing: 0.02em;
}

/* =============================================
   05_Case （上部黒線 + リード + 3カード + ボタン）
============================================= */
.case { padding: 45px 0 110px; }
.case-topline {
  width: 100%;
  height: 4px;
  background: var(--c-black);
  margin-bottom: 70px;
}
.case-lead { text-align: left; margin-bottom: 70px; }
.case-more { text-align: center; margin-top: 70px; }

/* =============================================
   06_Message （都市写真 + BEYOND TRANSACTIONS + 代表）
============================================= */
.message { padding-bottom: 130px; }
.message-photo {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}
.message-photo img {
  width: 100%;
  aspect-ratio: 1240 / 720;
  object-fit: cover;
}
.message-en {
  position: relative;
  z-index: 2;
  margin-top: -0.55em;
  margin-bottom: 90px;
}
.message-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}
.message-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 28px 0;
}
.message-role { font-family: var(--font-jp); font-weight: 500; font-size: 15px; color: var(--c-black); letter-spacing: 0.04em; }
.message-person { font-family: var(--font-jp); font-weight: 700; font-size: 16px; color: var(--c-black); letter-spacing: 0.05em; }
.message-text .btn-pill { margin-top: 28px; }
.message-portrait { aspect-ratio: 360 / 470; overflow: hidden; }
.message-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   07_Recruit （navy blur banner）
============================================= */
.recruit { padding: 20px 0 120px; }
.recruit-banner {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.recruit-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.06);
  z-index: 1;
}
.recruit-card {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: var(--c-black);
  width: 100%;
  padding: 0 20px;
}
/* Recruitラベルは「_」接頭ではなく、語の下に短い罫線（Figma準拠） */
.recruit-card .sec-label { margin-bottom: 18px; }
.recruit-card .sec-label::before { content: none; }
.recruit-card .sec-label::after {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: currentColor;
  margin: 8px auto 0;
}
.recruit-heading {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-black);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.recruit-sub {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  color: var(--c-black);
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}
.recruit-card .btn-pill { background: var(--c-black); color: var(--c-white); }

/* =============================================
   Footer
============================================= */
.site-footer {
  padding: 70px 20px 44px;
  text-align: center;
}
.footer-cta { max-width: 900px; margin: 0 auto 64px; }
.footer-cta-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-cta-line { width: 20px; height: 1px; background: var(--c-black); }
.footer-cta-desc { font-size: 13px; line-height: 1.8; }
.footer-cta-note { font-size: 11px; color: var(--c-sub); margin-bottom: 26px; }
.footer-cta-btn { margin-bottom: 26px; }
.footer-cta-tel { font-size: 13px; margin-bottom: 6px; }
.footer-cta-tel strong { font-weight: 700; }
.footer-cta-addr {
  font-family: var(--font-noto);
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-black);
}
.footer-cta-addr strong { font-weight: 700; }

.footer-nav {
  max-width: 1000px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
/* カテゴリ見出しpill（Figma btn03 disabled: グレー #D7D8DA） */
.footer-cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 20px 6px;
  background: #D7D8DA;
  border-radius: 18px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-black);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
/* リンクpill（Figma btn03 default: 白・黒枠） */
.footer-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 20px 6px;
  background: var(--c-white);
  border: 1px solid var(--c-black);
  border-radius: 18px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-black);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.footer-link:hover { background: var(--c-black); color: var(--c-white); }
.footer-copyright {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-sub);
}

/* =============================================
   下層ページ共通ヒーロー
============================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 2;
}
.page-hero-inner { position: relative; z-index: 3; color: var(--c-white); padding-top: 40px; }
.page-hero-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero-en::before { content: '_'; margin-right: 2px; }
.page-hero-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* =============================================
   About: イントロ（GROW TOGETHER）
============================================= */
.about-intro {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.grow-together {
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(66px, 11.2vw, 168px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.06);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
.about-intro-inner { position: relative; z-index: 2; }
.about-intro-heading {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--c-blue);
  margin-bottom: 30px;
}
.about-intro-body {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text);
}

/* ラベルのブルー版 */
.sec-label.blue { color: var(--c-blue); }

/* =============================================
   Strength: 当社の強みページ
============================================= */
.str-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.str-img img { width: 100%; aspect-ratio: 485 / 310; object-fit: cover; }
/* 数値ボックス（Speed） */
.stat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.stat-box { background: var(--c-white); box-shadow: 0 0 45px rgba(0,0,0,0.15); padding: 24px 22px; }
.stat-box-en { font-family: var(--font-en); font-weight: 500; font-size: 14px; color: var(--c-sky); margin-bottom: 8px; }
.stat-box-en::before { content: '_'; margin-right: 3px; }
.stat-box-value { font-family: var(--font-mincho); font-weight: 700; font-size: 24px; color: var(--c-blue); margin-bottom: 6px; }
.stat-box-caption { font-family: var(--font-jp); font-weight: 500; font-size: 16px; color: var(--c-black); }
.str-body-after { margin-top: 26px; }
/* チェックリスト（説明部分は通常ウェイト） */
.str-check { margin-top: 26px; }
.str-check li span { font-weight: 500; }
.str-note { margin-top: 22px; }

/* フォントサイズ1段階アップの共通ブロックは @media 直前にまとめて定義 */

/* =============================================
   Business: 事業内容ページ
============================================= */
/* イントロ下の横長写真 */
.biz-photo { width: 100%; max-width: var(--container); margin: 0 auto 20px; padding: 0 var(--pad); }
.biz-photo img { width: 100%; aspect-ratio: 1240 / 349; object-fit: cover; }

/* Service01: テキスト＋図解 2カラム */
.biz-svc01 { display: grid; grid-template-columns: 1fr 485px; gap: 60px; align-items: center; }
.biz-svc01-img img { width: 100%; border-radius: 2px; }

/* Service02: サービスカード */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.svc-card { background: var(--c-white); box-shadow: 0 0 45px rgba(0,0,0,0.12); padding: 40px; }
.svc-card-en {
  font-family: var(--font-en); font-weight: 500; font-size: 14px;
  color: var(--c-sky); margin-bottom: 8px;
}
.svc-card-en::before { content: '_'; margin-right: 3px; }
.svc-card-title {
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px;
  color: var(--c-blue); margin-bottom: 18px;
}
.svc-card-desc {
  font-family: var(--font-jp); font-weight: 500; font-size: 15px;
  line-height: 2; color: var(--c-black); margin-bottom: 22px;
}
.svc-check { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-check li {
  position: relative; padding-left: 34px;
  font-family: var(--font-jp); font-weight: 700; font-size: 16px; color: var(--c-black);
}
.svc-check li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--c-blue);
}
.svc-check li::after {
  content: ''; position: absolute; left: 7px; top: 8px;
  width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Service03: 対応業種カード */
.ind-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ind-card { text-align: center; }
.ind-card-img { aspect-ratio: 227 / 143; overflow: hidden; margin-bottom: 16px; }
.ind-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ind-card-en {
  font-family: var(--font-en); font-weight: 500; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-black); margin-bottom: 4px;
}
.ind-card-name { font-family: var(--font-mincho); font-weight: 700; font-size: 22px; color: var(--c-black); }
.ind-note { font-family: var(--font-jp); font-size: 14px; color: var(--c-black); margin-top: 28px; }

/* Flow: ご利用の流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.flow-card {
  position: relative; background: var(--c-white); box-shadow: 0 0 45px rgba(0,0,0,0.15);
  padding: 26px 20px 24px; min-height: 240px; display: flex; flex-direction: column;
}
.flow-card:not(:last-child)::after {
  content: '❯'; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
  font-size: 30px; line-height: 1; color: var(--c-blue); z-index: 2;
}
.flow-step {
  font-family: var(--font-en); font-weight: 500; font-size: 11px;
  letter-spacing: 0.1em; color: var(--c-sky); margin-bottom: 6px;
}
.flow-step::before { content: '_'; margin-right: 2px; }
.flow-title { font-family: var(--font-mincho); font-weight: 700; font-size: 18px; color: var(--c-blue); margin-bottom: 14px; }
.flow-text { font-family: var(--font-jp); font-weight: 500; font-size: 14px; line-height: 1.9; color: var(--c-black); }
.flow-icon { height: 46px; width: auto; margin-top: auto; align-self: flex-start; }

/* Fee: インフォグラフィック */
.fee-graphic { margin-top: 40px; }
.fee-graphic img { width: 100%; max-width: 1000px; display: block; margin: 0 auto; }

/* 会社概要ページはコンテンツ幅を1000pxに（Figma準拠） */
.page-company .about-block .container { max-width: calc(1000px + var(--pad) * 2); }

/* =============================================
   Company: 会社情報テーブル / 沿革 / アクセス
============================================= */
.info-table { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; }
.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 40px; align-items: start; }
.info-row dt {
  font-family: var(--font-mincho); font-weight: 500; font-size: 14px;
  color: var(--c-sky); line-height: 2;
}
.info-row dd {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-black);
}

/* 沿革タイムライン */
.history { max-width: 1000px; }
.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 60px;
  align-items: start;
  padding: 0 0 34px 30px;
  border-left: 1px solid var(--c-line);
}
.history-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.history-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-blue);
}
.history-year {
  font-family: var(--font-mincho); font-weight: 500; font-size: 14px;
  color: var(--c-blue); line-height: 2;
}
.history-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-black);
}

/* アクセス */
.access { display: grid; grid-template-columns: 485px 1fr; gap: 60px; align-items: start; }
.access-map { aspect-ratio: 485 / 310; overflow: hidden; }
.access-map img { width: 100%; height: 100%; object-fit: cover; }
.access-map iframe { width: 100%; height: 100%; display: block; border: 0; }
.access-label {
  font-family: var(--font-mincho); font-weight: 500; font-size: 14px;
  color: var(--c-sky); margin-bottom: 10px;
}
.access-label::before { content: '_'; margin-right: 3px; }
.access-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-black); margin-bottom: 28px;
}
.access-text:last-child { margin-bottom: 0; }

/* =============================================
   Message: 署名 / プロフィール
============================================= */
.msg-sign { text-align: right; margin-top: 34px; }
.msg-sign-role { font-family: var(--font-mincho); font-weight: 700; font-size: 14px; color: var(--c-sky); }
.msg-sign-name { font-family: var(--font-mincho); font-weight: 700; font-size: 20px; color: var(--c-blue); margin-top: 8px; }

.msg-profile {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
.msg-profile-img { /*aspect-ratio: 485 / 508; overflow: hidden;*/ }
.msg-profile-img img { width: 100%; height: 100%; object-fit: cover; }
.msg-profile-role { font-family: var(--font-mincho); font-weight: 700; font-size: 14px; color: var(--c-sky); }
.msg-profile-name {
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px;
  color: var(--c-blue); margin: 8px 0 26px;
}
.msg-profile-item { margin-bottom: 22px; }
.msg-profile-label {
  font-family: var(--font-mincho); font-weight: 500; font-size: 14px;
  color: var(--c-sky); margin-bottom: 8px;
}
.msg-profile-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-black);
}

/* =============================================
   About: 汎用ブロック / Vision 2カラム
============================================= */
.about-block { padding: 70px 0; }
.about-two {
  display: grid;
  grid-template-columns: 1fr 485px;
  gap: 70px;
  align-items: center;
}
.about-two-img { aspect-ratio: 485 / 300; overflow: hidden; }
.about-two-img img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   About: Value 行動指針
============================================= */
.about-value { padding: 40px 0 70px; }
.about-value-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 60px;
  overflow: hidden;
}
.about-value-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 1;
}
.about-value-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}
.about-value-content { position: relative; z-index: 3; }
.about-value-lead { margin-bottom: 40px; }
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card {
  background: var(--c-white);
  box-shadow: 0 0 45px rgba(0,0,0,0.15);
  padding: 28px 26px;
}
.value-card-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--c-sky);
  margin-bottom: 8px;
}
.value-card-en::before { content: '_'; margin-right: 3px; }
.value-card-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-blue);
  margin-bottom: 16px;
}
.value-card-desc {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
}

/* =============================================
   Case: 導入事例カード
============================================= */
.page-case .about-block .container { max-width: calc(1000px + var(--pad) * 2); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
  margin-top: 40px;
}
.case-card-img {
  aspect-ratio: 300 / 189;
  overflow: hidden;
  margin-bottom: 15px;
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card-label {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-blue);
  margin-bottom: 8px;
}
.case-card-meta {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-sky);
  margin-bottom: 8px;
}
.case-card-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 12px;
}
.case-card-desc {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
}

/* =============================================
   Case: お客様の声
============================================= */
.voice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.voice-card {
  position: relative;
  background: var(--c-white);
  box-shadow: 0 0 70px rgba(0,0,0,0.15);
  padding: 40px;
}
.voice-card-icon {
  position: absolute;
  top: 40px; right: 40px;
  width: 40px; height: auto;
  color: var(--c-sky);
}
.voice-card-en {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-sky);
  margin-bottom: 8px;
}
.voice-card-en::before { content: '_'; margin-right: 2px; }
.voice-card-name {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-blue);
}
.voice-card-text {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-top: 30px;
}

/* =============================================
   Case: 提案バンド（Tailored Solutions）
============================================= */
.solutions-band {
  position: relative;
  text-align: center;
  padding: 100px 0 80px;
  overflow: hidden;
}
.solutions-band-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 140px);
  line-height: 1;
  text-transform: uppercase;
  color: rgba(0,0,0,0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.solutions-band-heading {
  position: relative;
  z-index: 2;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--c-blue);
}

/* =============================================
   Recruit: 求める人物像（写真オーバーレイ）
============================================= */
.page-recruit .about-block .container { max-width: calc(1000px + var(--pad) * 2); }
.recruit-ideal { position: relative; padding: 150px 0; overflow: hidden; }
.recruit-ideal-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.recruit-ideal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1; }
.recruit-ideal-inner { position: relative; z-index: 2; max-width: calc(1000px + var(--pad) * 2); }
.recruit-ideal .sec-label { color: var(--c-white); }
.recruit-ideal .sec-heading { color: var(--c-white); margin-bottom: 36px; }
.ideal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ideal-card { background: var(--c-white); box-shadow: 0 0 45px rgba(0,0,0,0.15); padding: 24px 22px; }
.ideal-card-num {
  font-family: var(--font-en); font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; color: var(--c-sky); margin-bottom: 8px;
}
.ideal-card-num::before { content: '_'; margin-right: 2px; }
.ideal-card-title {
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px;
  line-height: 1.5; color: var(--c-blue); margin-bottom: 14px;
}
.ideal-card-desc {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text);
}

/* Recruit: 募集職種（case-cardを流用 + 雇用条件） */
.job-meta {
  margin-top: 16px;
  font-family: var(--font-jp); font-weight: 700; font-size: 14px;
  line-height: 1.9; color: var(--c-text);
}

/* Recruit: 働く環境 */
.env-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; margin-top: 40px; }
.env-card-img { aspect-ratio: 485 / 306; overflow: hidden; margin-bottom: 18px; }
.env-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.env-card-num {
  font-family: var(--font-mincho); font-weight: 700; font-size: 13px;
  color: var(--c-blue); margin-bottom: 4px;
}
.env-card-title {
  font-family: var(--font-mincho); font-weight: 700; font-size: 24px;
  line-height: 1.4; color: var(--c-text);
}

/* Recruit: 採用フロー（businessのflowを流用・アイコン右下） */
.flow.flow-recruit .flow-card { min-height: 160px; }
.flow.flow-recruit .flow-icon { align-self: flex-end; height: 42px; }

/* =============================================
   FAQ: よくあるご質問
============================================= */
.faq-section { padding: 90px 0 0; }
.faq-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 30px; margin-bottom: 44px; padding: 0 var(--pad);
}
.faq-tab {
  font-family: var(--font-jp); font-weight: 700; font-size: 14px;
  padding: 7px 24px; border: 1px solid #000; border-radius: 18px;
  background: var(--c-white); color: #000; cursor: pointer;
  transition: background .2s, color .2s;
}
.faq-tab.active, .faq-tab:hover { background: #000; color: var(--c-white); }

.faq-list {
  max-width: calc(1000px + var(--pad) * 2);
  margin: 0 auto; padding: 0 var(--pad);
  display: flex; flex-direction: column; gap: 20px;
}
.faq-item { background: var(--c-white); box-shadow: 0 0 20px rgba(0,0,0,0.15); }
.faq-q {
  display: flex; align-items: stretch; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  text-align: left; font: inherit;
}
.faq-badge {
  flex: 0 0 60px; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px;
  color: var(--c-white);
}
.faq-badge-q { background: var(--c-sky); }
.faq-badge-a { background: var(--c-blue); }
.faq-question {
  flex: 1; display: flex; align-items: center;
  min-height: 60px; padding: 14px 20px;
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 1.7; color: var(--c-text);
}
.faq-toggle { flex: 0 0 56px; position: relative; align-self: stretch; }
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 2px; background: #000;
  transform: translate(-50%, -50%); transition: opacity .2s, transform .2s;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-toggle::after { opacity: 0; }
.faq-a { display: none; align-items: stretch; border-top: 1px solid #D7D8DA; }
.faq-item.open .faq-a { display: flex; }
.faq-answer {
  flex: 1; padding: 16px 20px;
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 1.9; color: var(--c-text);
}
.faq-empty { text-align: center; padding: 30px 0; font-family: var(--font-jp); font-size: 16px; color: var(--c-text); }

.faq-support { text-align: center; padding: 70px var(--pad) 90px; }
.faq-support-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text); margin-bottom: 36px;
}

/* =============================================
   Contact: 案内カード（Tel / FAQ）
============================================= */
.contact-cards-sec { padding: 80px 0 30px; }
.contact-cards {
  max-width: calc(1210px + var(--pad) * 2);
  margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.contact-card {
  position: relative; overflow: hidden;
  aspect-ratio: 605 / 360;
  box-shadow: 0 0 70px rgba(0,0,0,0.15);
}
.contact-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.contact-card-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--c-white); padding: 20px;
}
.contact-card-en {
  font-family: var(--font-en); font-weight: 500; font-size: 14px;
  letter-spacing: 0.08em; line-height: 1.2;
}
.contact-card-en span { display: block; margin-top: 2px; }
.contact-card-value {
  font-family: var(--font-mincho); font-weight: 700; font-size: 26px;
  line-height: 1.5; margin: 14px 0;
}
.contact-card-tel { letter-spacing: 0.05em; }
.contact-card-note { font-family: var(--font-jp); font-weight: 500; font-size: 16px; line-height: 2; }
.btn-faq {
  display: inline-block; margin-top: 6px;
  background: #000; color: var(--c-white);
  font-family: var(--font-jp); font-weight: 700; font-size: 14px;
  padding: 8px 26px; border-radius: 18px; transition: opacity .2s;
}
.btn-faq:hover { opacity: 0.8; }

/* =============================================
   Contact: お問い合わせフォーム
============================================= */
.page-contact .about-block .container.contact-form-wrap { max-width: calc(1000px + var(--pad) * 2); }
.contact-form { margin-top: 40px; }
.form-group { margin-bottom: 30px; }
.form-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px; color: var(--c-blue);
}
.form-req { font-family: var(--font-mincho); font-weight: 700; font-size: 14px; color: #e0201b; }
.form-control {
  width: 100%; height: 60px; box-sizing: border-box;
  background: var(--c-white); border: 0; box-shadow: 0 0 15px rgba(0,0,0,0.15);
  padding: 0 30px; font-family: var(--font-jp); font-weight: 500; font-size: 16px; color: var(--c-text);
}
.form-control:focus { outline: 2px solid var(--c-sky); outline-offset: -2px; }
.form-control::placeholder { color: #D7D8DA; }
.form-textarea { height: 180px; padding: 18px 30px; line-height: 1.9; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 30px; top: 50%; transform: translateY(-25%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 9px solid #000; pointer-events: none;
}
select.form-control { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-agree {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin: 30px 0; font-family: var(--font-jp); font-weight: 500; font-size: 16px; color: var(--c-text);
}
.form-agree input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--c-blue); cursor: pointer; }
.form-agree-link { color: var(--c-blue); text-decoration: underline; }
/* reCAPTCHA v3：右下バッジは表示（お問い合わせページのTOPボタンは重ならないよう上へ）*/
.page-contact .to-top { bottom: 92px; }
.form-recaptcha-note {
  margin-top: 20px; text-align: center;
  font-family: var(--font-jp); font-size: 12px; line-height: 1.7; color: #888;
}
.form-recaptcha-note a { color: #888; text-decoration: underline; }
.form-submit-wrap { text-align: center; padding-top: 10px; }
.btn-outline {
  display: inline-block; background: var(--c-white); color: var(--c-black);
  border: 1px solid var(--c-black); border-radius: 30px; cursor: pointer;
  font-family: var(--font-jp); font-weight: 500; font-size: 14px;
  letter-spacing: 0.05em; padding: 13px 48px;
  transition: background .3s, color .3s;
}
.btn-outline:hover { background: var(--c-black); color: var(--c-white); }

/* ハニーポット（視覚的に隠す・レイアウトに影響させない） */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* =============================================
   Contact: 確認画面 / 完了画面（mail.php）
============================================= */
.page-hero-sm { height: 300px; min-height: 0; }
.confirm-lead {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text); margin-top: 16px;
}
.confirm-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.confirm-table th, .confirm-table td {
  text-align: left; vertical-align: top; padding: 20px 22px;
  border-bottom: 1px solid #D7D8DA;
  font-family: var(--font-jp); font-size: 16px; line-height: 1.9; color: var(--c-text);
}
.confirm-table th {
  width: 34%; white-space: nowrap;
  font-family: var(--font-mincho); font-weight: 700; color: var(--c-blue);
  background: #f6f9fb;
}
.confirm-table tr:first-child th, .confirm-table tr:first-child td { border-top: 1px solid #D7D8DA; }
.confirm-actions {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-top: 44px;
}
.confirm-send { border: 1px solid var(--c-black); }
.form-error {
  margin-top: 24px; padding: 20px 24px;
  background: #fdf0ef; border: 1px solid #e0201b;
  font-family: var(--font-jp); font-size: 15px; line-height: 1.9;
}
.form-error .error_messe { color: #e0201b; margin: 4px 0; }
.thanks-wrap { text-align: center; }
.thanks-label { text-align: center; }
.thanks-heading { margin-bottom: 24px; }
.thanks-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text); margin-bottom: 40px;
}
@media (max-width: 768px) {
  .page-hero-sm { height: 220px; }
  .confirm-table th, .confirm-table td { display: block; width: auto; white-space: normal; }
  .confirm-table th { border-bottom: 0; padding-bottom: 6px; background: #fff; }
  .confirm-table td { padding-top: 6px; }
  .confirm-actions { flex-direction: column-reverse; gap: 14px; }
  .confirm-actions .btn-outline, .confirm-actions .btn-pill { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
}

/* =============================================
   Legal: プライバシーポリシー等
============================================= */
.legal { padding: 90px 0 100px; }
.page-privacy .legal .container { max-width: calc(1000px + var(--pad) * 2); }
.legal-intro {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text); margin-bottom: 48px;
}
.legal-section { margin-bottom: 40px; }
.legal-heading {
  font-family: var(--font-mincho); font-weight: 700; font-size: 20px;
  line-height: 1.5; color: var(--c-blue);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid #D7D8DA;
}
.legal-text {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 2; color: var(--c-text);
}
.legal-list { margin: 12px 0 0; padding-left: 1.4em; list-style: disc; }
.legal-list li {
  font-family: var(--font-jp); font-weight: 500; font-size: 16px;
  line-height: 1.9; color: var(--c-text); margin-bottom: 6px;
}
.legal-date {
  margin-top: 48px; text-align: right;
  font-family: var(--font-jp); font-weight: 500; font-size: 14px; color: var(--c-text);
}

/* =============================================
   About: 関連ページカード（Business / Message）
============================================= */
.about-links { padding: 40px 0 110px; }
.about-links > .container { max-width: calc(1400px + var(--pad) * 2); }
.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.link-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.link-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 1;
  transition: transform 0.7s ease;
}
.link-card:hover .link-card-bg { transform: scale(1.05); }
.link-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,41,84,0.55);
  z-index: 2;
}
.link-card-body { position: relative; z-index: 3; color: var(--c-white); }
.link-card-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.link-card-en::after { content: '_'; display: block; }
.link-card-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* =============================================
   フォントサイズ 1段階アップ（全ページ共通・デスクトップ）
   ※baseより後・@mediaより前に置くことでモバイル指定は維持
============================================= */
.sec-heading { font-size: 30px; }
.sec-body { font-size: 18px; }
.about-intro-heading { font-size: clamp(26px, 3.1vw, 44px); }
.about-intro-body { font-size: 18px; }
.svc-card-title { font-size: 22px; }
.svc-card-desc { font-size: 17px; }
.svc-check li { font-size: 18px; }
.ind-card-name { font-size: 24px; }
.ind-note { font-size: 16px; }
.flow-title { font-size: 20px; }
.flow-text { font-size: 16px; }
.msg-profile-text, .info-row dd, .history-text, .access-text { font-size: 18px; }
.nav-btn { font-size: 13px; }
.footer-cta-heading { font-size: 19px; }
.footer-cta-desc { font-size: 14px; }
.footer-cta-addr, .footer-cta-tel { font-size: 13px; }
.footer-copyright { font-size: 13px; }
/* ラベル・サブ見出し・氏名・数値なども1段階（強弱は維持） */
.sec-label,
.svc-card-en, .value-card-en,
.msg-sign-role, .msg-profile-role, .msg-profile-label,
.info-row dt, .history-year, .access-label { font-size: 15px; }
.card-label, .ind-card-en { font-size: 12px; }
.flow-step { font-size: 12px; }
.value-card-title, .msg-sign-name, .msg-profile-name { font-size: 22px; }
.message-role { font-size: 15px; }
.message-person { font-size: 20px; }
.card-title { font-size: 26px; }
.card-desc { font-size: 14px; }
.numbers-heading { font-size: 28px; }
.num-value { font-size: 24px; }
.num-caption { font-size: 14px; }
.recruit-heading { font-size: 28px; }
.recruit-sub { font-size: 18px; }
.page-hero-en { font-size: 22px; }
/* フッターpillも1段階（幅を広げて折返し崩れを防止） */
.footer-nav { max-width: 1200px; }
.footer-cat, .footer-link { font-size: 13px; }
/* ボタン・注記・関連カードEN */
.btn-pill { font-size: 15px; }
.footer-cta-note { font-size: 12px; }
.link-card-en { font-size: 15px; }

/* =============================================
   レスポンシブ
============================================= */
@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .site-header { padding: 22px 28px; }
  .site-header.scrolled { padding: 14px 28px; }
  .numbers-card { flex-direction: column; align-items: flex-start; gap: 30px; padding: 44px 40px; }
  .numbers-list { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 24px 0; }
  .num-item { flex: 0 0 50%; }
  .num-item:nth-child(3)::before, .num-item + .num-item::before { display: none; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }

  /* Header → ハンバーガー */
  .site-header { padding: 16px 20px; z-index: 200; }
  .site-header.scrolled { padding: 12px 20px; }
  .logo { position: relative; z-index: 210; }
  .logo-wordmark { width: 92px; }
  /* メニューを開いている間はロゴをネイビーに（白背景オーバーレイ上で見えるように） */
  .site-header:has(.site-nav.open) .logo-wordmark,
  .site-header.nav-open .logo-wordmark { color: var(--c-navy); }
  /* メニュー展開中はbackdrop-filterを解除（fixedオーバーレイの含有ブロック化を防ぐ） */
  .site-header.nav-open,
  .site-header.nav-open.scrolled {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  /* 全画面メニューオーバーレイ（Figma SP-メニュー） */
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 180;
    flex-direction: column;
    justify-content: safe center;
    gap: 30px;
    padding: 90px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.open { display: flex; }
  .nav-sp-only { display: block; }
  .sp-menu-links {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
  }
  /* リンクはプレーンな黒太字テキスト（ピル解除） */
  .site-nav .nav-btn {
    border: none;
    border-radius: 0;
    background: none !important;
    color: var(--c-black) !important;
    font-weight: 700;
    font-size: 18px;
    padding: 13px 0;
    width: auto; max-width: none;
  }
  /* メニュー内CTAブロック */
  .sp-menu-cta { display: block; text-align: center; }
  .sp-cta-heading {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    font-family: var(--font-jp); font-weight: 500; font-size: 15px; color: var(--c-black);
    margin-bottom: 14px;
  }
  .sp-cta-line { width: 18px; height: 1px; background: var(--c-black); display: block; }
  .sp-cta-desc { font-size: 12px; line-height: 1.8; margin-bottom: 4px; }
  .sp-cta-note { font-size: 10px; color: var(--c-sub); margin-bottom: 20px; }
  .sp-menu-cta .btn-pill { margin-bottom: 22px; }
  .sp-cta-company { font-family: var(--font-jp); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
  .sp-cta-addr { font-size: 11px; line-height: 1.6; }
  .sp-cta-tel { font-size: 11px; line-height: 1.6; }

  /* ハンバーガー（閉=3本線 / 開=水色丸のX） */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    border-radius: 50%;
    z-index: 210;
    transition: background 0.3s;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--c-white);
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
  }
  .site-header.scrolled .hamburger span { background: var(--c-black); }
  .hamburger.open { background: var(--c-sky); }
  .hamburger.open span { background: var(--c-white); width: 20px; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero { min-height: 560px; }
  .hero-en { font-size: 13px; letter-spacing: 0.08em; margin-bottom: 24px; }
  .hero-slides { height: 150px; }
  .hero-jp { font-size: 30px; }
  .hero-indicators { left: 20px; bottom: 30px; }
  .hero-indicators span { width: 34px; }
  .hero-scroll { right: 20px; bottom: 26px; }

  /* 巨大英字 */
  .big-en { font-size: clamp(44px, 13vw, 80px); }
  .mission-en { margin-bottom: 44px; }
  .message-en { margin-bottom: 56px; }

  /* Mission */
  .mission { padding: 80px 0 80px; }
  .sec-body br { display: none; }

  /* ボタンをスマホ向けに小さく */
  .btn-pill { padding: 10px 26px; font-size: 13px; }

  /* Numbers（1列・中央揃え・横罫線） */
  .numbers-card { flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; }
  .numbers-heading { text-align: center; margin-bottom: 6px; }
  .numbers-list { flex-direction: column; width: 100%; gap: 0; }
  .num-item { flex: 0 0 auto; width: 100%; padding: 20px 0; text-align: center; }
  .num-item::before { display: none !important; }
  .num-item:not(:last-child)::after {
    content: ''; display: block;
    width: 56px; height: 1px;
    background: var(--c-line);
    margin: 20px auto 0;
  }
  .num-value { font-size: 20px; }

  /* Business（画像は下に配置・ボタンと重ねない） */
  .business { padding-top: 80px; }
  .business-text .btn-pill { margin-top: 32px; }
  .business-road { margin-top: 28px; }

  /* Strength（リードは白地→写真→カードが写真下端に重なる / 1列） */
  .strength { display: flex; flex-direction: column; padding: 80px 0 50px; }
  .strength-body { display: contents; }
  .strength-lead { order: 1; max-width: none; padding: 0 20px; margin: 0 0 26px; }
  .strength-hero { order: 2; height: 300px; position: relative; z-index: 1; }
  .strength-hero img { object-position: center 42%; }
  /* カードは共通で1列（Case含む） */
  .cards { grid-template-columns: 1fr; gap: 44px; }
  /* 重ね演出はStrengthのカードだけに限定 */
  .strength .cards { order: 3; position: relative; z-index: 2; padding: 0 20px; margin-top: -48px; }

  /* Case（罫線は短く中央・余白を詰める） */
  .case { padding: 45px 0 60px; }
  .case-topline { width: 240px; margin: 0 auto 40px; }
  .case-lead { margin-bottom: 44px; }
  .case-more { margin-top: 44px; }

  /* Message */
  .message { padding-bottom: 80px; }
  .message-body { grid-template-columns: 1fr; gap: 40px; }
  .message-portrait { max-width: 300px; margin: 0 auto; order: -1; }

  /* Recruit */
  .recruit { padding: 10px 0 80px; }
  .recruit-banner { height: 300px; }

  /* Footer（pillを左寄せで連続折返し・SP準拠） */
  .site-footer { padding: 56px 20px 32px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 8px; }
  .footer-nav-row { display: contents; }

  /* 下層ページ（About等） */
  .page-hero { height: 300px; }
  .page-hero-en { font-size: 15px; }
  .about-intro { padding: 70px 0 60px; }
  .grow-together { font-size: clamp(40px, 13vw, 70px); top: 40px; }
  .about-block { padding: 50px 0; }
  .about-two { grid-template-columns: 1fr; gap: 30px; }
  .about-two-img { max-width: 420px; }
  .msg-profile { grid-template-columns: 1fr; gap: 30px; }
  .msg-profile-img { max-width: 420px; }
  /* Company */
  .info-row { grid-template-columns: 100px 1fr; gap: 16px; }
  .info-row dd { font-size: 15px; }
  .history-item { grid-template-columns: 90px 1fr; gap: 16px; padding-left: 24px; }
  .history-text { font-size: 15px; }
  .access { grid-template-columns: 1fr; gap: 28px; }
  .access-map { max-width: 100%; }
  /* Business */
  .biz-svc01 { grid-template-columns: 1fr; gap: 28px; }
  .svc-cards { grid-template-columns: 1fr; gap: 24px; }
  .svc-card { padding: 30px 24px; }
  .ind-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow-card:not(:last-child)::after { display: none; }
  .flow-card { min-height: 0; }
  /* Strength */
  .str-row { grid-template-columns: 1fr; gap: 24px; }
  .str-img { max-width: 480px; }
  .stat-boxes { gap: 14px; }
  .stat-box { padding: 20px 18px; }
  .about-value-inner { padding: 40px 24px; }
  .value-cards { grid-template-columns: 1fr; gap: 20px; }
  .link-cards { grid-template-columns: 1fr; gap: 20px; }
  .link-card { height: 240px; }
  .about-links { padding: 30px 0 70px; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .voice-cards { grid-template-columns: 1fr; gap: 20px; }
  .voice-card { padding: 32px 26px; }
  .solutions-band { padding: 70px 0 50px; }
  .recruit-ideal { padding: 100px 0; }
  .ideal-cards { grid-template-columns: 1fr; gap: 20px; }
  .env-cards { grid-template-columns: 1fr; gap: 32px; }
  .faq-section { padding: 60px 0 0; }
  .faq-tabs { gap: 12px; margin-bottom: 32px; }
  .faq-tab { font-size: 13px; padding: 6px 16px; }
  .faq-badge { flex: 0 0 48px; font-size: 18px; }
  .faq-question { min-height: 56px; padding: 14px 12px; font-size: 15px; }
  .faq-toggle { flex: 0 0 44px; }
  .faq-answer { padding: 14px 12px; font-size: 15px; }
  .contact-cards { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
  .contact-card { aspect-ratio: 16 / 9; }
  .contact-cards-sec { padding: 50px 0 20px; }
  .form-label { font-size: 18px; }
  .form-control { height: 54px; padding: 0 20px; }
  .form-textarea { height: 160px; padding: 16px 20px; }
  .select-wrap::after { right: 20px; }
}

@media (max-width: 420px) {
  .hero-jp { font-size: 25px; }
  .big-en { font-size: clamp(38px, 13vw, 60px); }
  .sec-body { font-size: 14px; }
  .case-grid { grid-template-columns: 1fr; gap: 32px; }
}
