/* ===========================
   ALL IN HOLDINGS — style.css
   カラー: スチールネイビー
   =========================== */

/* ---------- CSS変数 ---------- */
:root {
  /* メタリック・ダークテーマ（グレー/シルバー主体・差し色レッド・金は据え置き） */
  --accent:        #6B7178;   /* メタリックグレー（主役アクセント） */
  --accent-light:  #9AA0A8;   /* ライトグレー */
  --accent-dark:   #2B2E33;   /* チャコール（強調・ホバーで濃く） */
  --steel-panel:   #E6E9EC;
  --steel-panel-2: #DDE1E5;
  --steel-line:    rgba(40, 46, 54, 0.14);
  --accent-muted:  rgba(40, 46, 54, 0.05);
  --white:      #FFFFFF;       /* 白（面・アクセント上の文字） */
  --bg:         #ECEEF1;       /* ページ背景（メタリックホワイト） */
  --surface:    #FFFFFF;       /* カード・パネル背景 */
  --surface-2:  #F4F6F8;       /* ひとつ沈めた面 */
  --line:       rgba(40, 46, 54, 0.12);
  --red:        #C8313A;       /* 差し色レッド（※問い合わせフォームの「必須」バッジ専用） */
  --red-soft:   rgba(200, 49, 58, 0.5);
  --navy:       #1f3a5f;       /* ネイビー（旧レッドの置き換え） */
  --navy-light: #4f72a6;       /* ネイビーライト（メタリック用ハイライト） */
  --off-white:  #F4F6F8;
  --gray-light: #E7EAED;
  --gray:       #8A9098;
  --text:       #2B2E33;       /* 本文（チャコール／黒は不使用） */
  --text-sub:   #5C636B;       /* 補助テキスト（グレー） */

  --font-en: 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-display: 'Shippori Mincho B1', serif;
  --font-fr: 'Cormorant Garamond', serif;

  --header-h: 72px;
  --radius:   6px;
  --shadow:   0 8px 32px rgba(0,0,0,0.10);
  --transition: 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
/* レスポンシブ改行用 <br>（sp=スマホのみ / pc=PCのみ） */
.sp-br { display: none; }
.pc-br { display: inline; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  text-shadow: none;
  isolation: isolate;
}
.btn:hover {
  color: var(--accent-dark);
  border-color: rgba(40, 46, 54, 0.3);
}
/* フッターロゴ風シャインアニメーション */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(43,46,51,0.03) 30%,
    rgba(43,46,51,0.10) 48%,
    rgba(43,46,51,0.16) 50%,
    rgba(43,46,51,0.10) 52%,
    rgba(43,46,51,0.03) 70%,
    transparent 80%
  );
  animation: btn-shine 8s ease-in-out infinite;
}
.btn--outline-red::before {
  animation-delay: 4s;
}
@keyframes btn-shine {
  0%, 85% { left: -100%; }
  95%     { left: 200%; }
  100%    { left: 200%; }
}
/* variant overrides — 白背景統一のため上書きなし */
.btn--primary,
.btn--metallic {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  text-shadow: none;
  transition: color 1s ease, border-color 1s ease;
}
.btn--metallic::after,
.btn--outline-red::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #C8D6E0 0%, #E8EEF2 30%, #F5F7F9 50%, #E8EEF2 70%, #C8D6E0 100%);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -1;
}
.btn--metallic:hover::after,
.btn--outline-red:hover::after {
  opacity: 1;
}
.btn--primary:hover,
.btn--metallic:hover {
  color: #16161A;
  border-color: rgba(43, 46, 51, 0.3);
}
.btn--outline {
  background: rgba(43,46,51,0.04);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: none;
}
.btn--outline:hover {
  background: var(--surface-2);
  border-color: rgba(43, 46, 51, 0.3);
  transform: none;
  box-shadow: none;
}

.btn--large { padding: 20px 60px; font-size: 1.05rem; }
.btn--outline-red {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  transition: color 1s ease, border-color 1s ease;
}
.btn--outline-red::after {
  background: linear-gradient(90deg, #C8CDD2 0%, #E8EEF2 30%, #F5F7F9 50%, #E8EEF2 70%, #C8CDD2 100%);
}
.btn--outline-red:hover {
  color: #16161A;
  border-color: rgba(43, 46, 51, 0.3);
}

/* メタリックな枠線（TOPヒーロー2ボタン／careersヒーローのENTRY） */
.hero__btns .btn,
.r-hero .btn--entry {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #AEB5BD 0%, #6B7178 30%, #9AA0A7 52%, #565C64 74%, #8A9098 100%) border-box;
}
.hero__btns .btn:hover,
.r-hero .btn--entry:hover {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #B8BEC6 0%, #7A8088 35%, #9AA0A7 55%, #50555C 100%) border-box;
}
/* TOPヒーローのSERVICE/CONTACTボタン：フッターCONTACTと同じ英字フォント */
.hero__btns .btn {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.18em;
}
/* シャインを送信ボタンと同じ（4秒周期・流れ0.8秒）に。2ボタンは半周期ずらして交互に */
.hero__btns .btn::before { animation-name: btn-shine-contact; animation-duration: 4s; }
.hero__btns .btn--outline-red::before { animation-delay: 2s; }
/* careersヒーローのENTRYボタンも同じ（4秒周期・流れ0.8秒） */
.btn--entry::before { animation-name: btn-shine-contact; animation-duration: 4s; }

/* TOPヒーロー（OG）のSERVICE/CONTACT：流れる光を強めに（PC・モバイル共通） */
.hero-og__btns .btn::before {
  width: 74%;
  background: linear-gradient(
    105deg,
    transparent 10%,
    rgba(40,44,50,0.06) 26%,
    rgba(38,42,48,0.22) 43%,
    rgba(28,32,38,0.36) 50%,
    rgba(38,42,48,0.22) 57%,
    rgba(40,44,50,0.06) 74%,
    transparent 90%
  );
  animation-name: btn-shine-contact;
  animation-duration: 4.2s;
}
.hero-og__btns .btn--outline-red::before { animation-delay: 2.1s; }

/* ---------- Section 共通 ---------- */
.section { padding: 120px 0; }
.section--gray { background: var(--gray-light); }

.section__head { text-align: center; margin-bottom: 72px; }
.section__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  background: linear-gradient(90deg, #4A4F57 0%, #6B7178 50%, #9AA0A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section__label--white { color: rgba(43,46,51,0.7); }
.section__title {
  font-family: var(--font-fr);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #3C4046 0%, #5C636B 52%, #2B2E33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section__title--white { color: var(--white); }
.section__title--display {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.section__desc {
  margin-top: 24px;
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 2;
}

/* ---------- JS Fade In ---------- */
.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* 遅延クラス */
.js-fadein:nth-child(2) { transition-delay: 0.1s; }
.js-fadein:nth-child(3) { transition-delay: 0.2s; }
.js-fadein:nth-child(4) { transition-delay: 0.3s; }


/* ===========================
   デカロゴ（通常フロー）
   =========================== */
.logo-hero {
  position: sticky;
  top: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 20px 132px 14px;
  background-image:
    linear-gradient(rgba(43,46,51,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,46,51,0.04) 1px, transparent 1px),
    linear-gradient(118deg, #FFFFFF 0%, #F4F6F8 16%, #E4E7EA 40%, #ECEEF1 70%, #ECEEF1 100%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-attachment: fixed, fixed, fixed;
  border-bottom: none;
  box-shadow: none;
  margin: 0 auto;
}
.logo-hero__img {
  height: 80px;
  width: auto;
}
.logo-hero__hamburger {
  position: absolute;
  top: 50%;
  right: 132px;
  transform: translateY(-50%);
}


/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 160px;
  transition: background var(--transition), box-shadow var(--transition), height 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.header.is-scrolled {
  height: var(--header-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(40,46,54,0.10);
}

/* ヘッダーロゴ：最初は非表示、スクロールで出現 */
.header__logo--swap {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.header__logo--swap.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo-img {
  height: 44px;
  width: auto;
}

/* Nav - サイドパネル（PC・SP共通） */
/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.header__nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 90vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF1F4 100%);
  padding: 0 48px 40px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  transform: translateX(110%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 121;
  overflow-y: auto;
}
.header__nav.is-open { transform: translateX(0); opacity: 1; }

/* ナビ上部（ロゴ＋閉じるボタン） */
.header__nav-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--header-h);
  margin-top: 20px;
  margin-bottom: 32px;
  padding: 12px 16px;
}
.header__nav-logo {
  display: flex;
  align-items: center;
}
.header__nav-logo-img {
  height: 60px;
  width: auto;
}
.header__nav-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  gap: 0;
}
.header__nav-close span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, #4A4F57 0%, #2B2E33 45%, #4A4F57 100%);
  position: absolute;
  top: 10px;
  border-radius: 2px;
}
.header__nav-close span:nth-child(1) { transform: rotate(45deg); }
.header__nav-close span:nth-child(2) { transform: rotate(-45deg); }
.header__nav-close-label {
  position: absolute;
  bottom: 0;
  font-family: var(--font-en);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #4A4F57 0%, #2B2E33 45%, #4A4F57 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header__nav-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  text-align: center;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header__nav-list li {
  border-bottom: none;
  position: relative;
}
.header__nav-list li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: var(--line);
}
.header__nav-list a {
  display: block;
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text);
  text-align: center;
  position: relative;
  transition: color 0.4s ease;
}
.header__nav-list a::before,
.header__nav-list a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.8s ease;
}
.header__nav-list a::before { left: 15%; }
.header__nav-list a::after { right: 15%; }
.header__nav-list a:hover::before,
.header__nav-list a:hover::after {
  width: 35%;
}
.header__nav-list a:hover {
  color: var(--accent-dark);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 32px;
}
.header__hamburger span {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #C8CDD2 0%, #8A9098 40%, #B8BEC6 70%, #8A9098 100%);
  border-radius: 2px;
  transition: var(--transition);
}
/* ヘッダーハンバーガー：スクロールで出現（ロゴと同じ挙動） */
.header__hamburger--swap {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.header__hamburger--swap.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.header__hamburger.is-open { opacity: 0; pointer-events: none; }


/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background-image:
    linear-gradient(rgba(43,46,51,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,46,51,0.04) 1px, transparent 1px),
    linear-gradient(118deg, #FFFFFF 0%, #F4F6F8 16%, #E4E7EA 40%, #ECEEF1 70%, #ECEEF1 100%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-attachment: fixed, fixed, fixed;
  overflow: hidden;
}

/* BG */
.hero__bg { position: absolute; inset: 0; }
.hero__bg-grid {
  display: none;
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43,46,51,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,46,51,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__bg-circle { display: none; }
.hero__bg-ribbon { display: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: 0.7; }
}

/* Hero Content */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 104px 24px 80px;
}
.hero__accent {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}
.hero__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.65em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.11rem, 4vw, 3.56rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  /* keep headline within 70% of viewport and leave room for header controls */
  width: calc(70vw - 96px);
  max-width: calc(70vw - 96px);
  margin: 0 0 28px 0;
  text-align: left;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: currentcolor;
  background-clip: unset;
  color: #1F1F1F;
}
.hero__title em {
  display: block;
  font-style: normal;
  font-size: 1.08em;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hero__title-line1,
.hero__title-line2,
.hero__title-line3 {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: inherit;
}
.hero__catch {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 5.4vw, 3.66rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--accent-dark);
  margin: 0 0 88px 0;
  padding-bottom: 26px;
}
.hero__catch::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #868D95 60%, var(--navy) 100%);
}
.hero__catch::after {
  content: "";
  position: absolute;
  left: 84px;
  bottom: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #868D95;
  transform: translateY(50%);
}
.hero__title-line2 {
  font-size: 0.9em;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.hero__title-line3 {
  font-size: 0.9em;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #5C636B 0%, #2B2E33 50%, #5C636B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}
.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-sub);
  margin-bottom: 48px;
  line-height: 1.9;
}
.hero__en {
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  font-style: normal;
  color: #888;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  background: linear-gradient(90deg, #5C636B 0%, #2B2E33 50%, #5C636B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__scroll--section {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  padding: 64px 0;
}
.hero__scroll-line {
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(43,46,51,0.75), rgba(43,46,51,0.08));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ===========================
   ABOUT
   =========================== */
.about__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about__texts {
  text-align: left;
  margin-top: 48px;
}
.about__body {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.about__visual { display: flex; justify-content: center; }
.about__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
}
.about__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.about__card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 16px rgba(43,46,51,0.5));
  transition: filter var(--transition), transform var(--transition);
}
.about__card:hover .about__card-icon {
  filter: drop-shadow(0 6px 24px rgba(43,46,51,0.75));
  transform: translateY(-4px) scale(1.04);
}
.about__card-text {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.about__card-sub { color: var(--text-sub); font-size: 0.9rem; line-height: 1.7; }


/* ===========================
   SERVICE
   =========================== */
.section--dark {
  background: linear-gradient(160deg, #0D1520 0%, #1A2A3C 100%);
}
.service__en {
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: 0.15em;
  display: inline-block;
  padding-bottom: 0;
  border-bottom: none;
  border-image: none;
}
.service .section__head::after {
  content: '';
  display: block;
  width: 320px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  margin: 24px auto 0;
}
.service__lead {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 2.4;
  letter-spacing: 0.05em;
  max-width: 680px;
  margin: 0 auto 72px;
  text-align: left;
  color: var(--text-sub);
  background: linear-gradient(90deg, #4A4F56 0%, #2B2E33 50%, #4A4F56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service__lead strong {
  font-weight: 700;
  font-size: 1.05rem;
  -webkit-text-fill-color: transparent;
}
/* -- Skill-set Style 大項目 01-03 -- */
.service__set {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 64px 32px 64px 8px;
  transition: background var(--transition);
}
/* ホバーで左に金のラインがスッと現れる */
.service__set::before {
  content: '';
  position: absolute;
  left: 0;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(180deg, #CFD5DB 0%, #9AA0A7 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.service__set:hover,
.service__set.is-hovered {
  background: none;
}
.service__set:hover::before,
.service__set.is-hovered::before {
  transform: scaleY(1);
}
.service__set-index {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}
.service__set-num {
  font-family: var(--font-en);
  font-size: 5.4rem;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #C8CDD2 0%, #9AA0A7 55%, #CFD5DB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform var(--transition);
}
.service__set:hover .service__set-num,
.service__set.is-hovered .service__set-num {
  transform: translateY(-4px);
}
.service__set-en {
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-sub);
}
.service__set-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.service__set-catch {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  margin-bottom: 26px;
}
.service__set-body {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 2.15;
  max-width: 640px;
  margin-bottom: 28px;
}
.service__set-tags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
.service__set-tags li {
  font-family: var(--font-ja);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text);
  padding: 8px 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.service__set:hover .service__set-tags li,
.service__set.is-hovered .service__set-tags li {
  border-color: rgba(154, 160, 167, 0.45);
}
.service__set-tags li:hover {
  color: var(--accent-dark);
  background: rgba(154, 160, 167, 0.08);
  border-color: rgba(154, 160, 167, 0.7);
}
.service__set-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(154, 160, 167, 0.5);
  transition: gap var(--transition), border-color var(--transition);
}
.service__set-link:hover {
  gap: 14px;
  border-bottom-color: #9AA0A7;
}
.service__set-arrow {
  font-family: var(--font-en);
  transition: transform var(--transition);
}
.service__set-link:hover .service__set-arrow {
  transform: translateX(4px);
}


/* ===========================
   MERIT & SYNERGY（ダーク・ジグザグ）
   =========================== */
.synergy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F4F6F8 0%, #E8EBEF 52%, #DCE0E5 100%);
  color: var(--text);
}
.synergy__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40,46,54,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,46,54,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.synergy__bg::after {
  content: '';
  position: absolute;
  bottom: -12%;
  left: 50%;
  width: 660px;
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(31, 58, 95,0.22) 0%, rgba(31, 58, 95,0.08) 40%, transparent 60%);
}

/* --- 見出し --- */
.synergy__head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 84px;
}
.synergy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #1f3a5f;
  margin-bottom: 26px;
}
.synergy__eyebrow::before,
.synergy__eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 58, 95,0.8));
}
.synergy__eyebrow::after {
  background: linear-gradient(90deg, rgba(31, 58, 95,0.8), transparent);
}
.synergy__title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
  margin-bottom: 28px;
}
.synergy__lead {
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 2.15;
  letter-spacing: 0.03em;
  color: var(--text-sub);
}

/* --- ジグザグ・タイムライン --- */
.synergy__timeline {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}
.synergy__timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(31, 58, 95,0.95) 50%, transparent 100%),
    linear-gradient(180deg, transparent, rgba(31, 58, 95,0.4) 8%, rgba(31, 58, 95,0.4) 92%, transparent);
  background-size: 100% 28%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 -28%, 0 0;
  animation: synergy-flow 3s linear infinite;
}
/* 01〜06をつなぐ一本の線が下へ流れる */
@keyframes synergy-flow {
  0%   { background-position: 0 -120%, 0 0; }
  100% { background-position: 0 220%, 0 0; }
}
.synergy__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 150px;
  align-items: center;
  min-height: 104px;
  margin-bottom: 30px;
}
.synergy__item:last-child {
  margin-bottom: 0;
}
.synergy__panel {
  grid-column: 1;
  text-align: left;
  padding: 26px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.synergy__item:nth-child(even) .synergy__panel {
  grid-column: 2;
  text-align: left;
}

/* 数字ノード：中心線の上に配置（01〜06を1本の線でつなぐ） */
.synergy__node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.synergy__node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-family: var(--font-fr);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: linear-gradient(135deg, #FFFFFF 0%, #DDE2E7 100%);
  border: 1px solid rgba(31, 58, 95,0.55);
  box-shadow: 0 0 0 6px #EAEDF0, 0 10px 24px rgba(40,46,54,0.16);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.synergy__item:hover .synergy__panel {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: rgba(31, 58, 95,0.4);
  box-shadow: 0 18px 40px rgba(40,46,54,0.16);
}
.synergy__item:hover .synergy__node-num {
  transform: scale(1.06);
  border-color: #1f3a5f;
  box-shadow: 0 0 0 6px #EAEDF0, 0 0 24px rgba(31, 58, 95,0.32);
}
.synergy__panel-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-bottom: 14px;
  padding-bottom: 14px;
}
.synergy__panel-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #1f3a5f, transparent);
}
.synergy__panel-body {
  font-size: 0.94rem;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--text-sub);
}

/* --- 締めメッセージ --- */
.synergy__message {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 92px auto 0;
  text-align: center;
}
.synergy__message::before {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  margin: 0 auto 44px;
  background: linear-gradient(90deg, transparent, #1f3a5f, transparent);
}
.synergy__message p {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 2.5;
  letter-spacing: 0.05em;
  color: var(--text);
}


/* ===========================
   MVV
   =========================== */
.mvv {
  position: relative;
  background: linear-gradient(145deg, #0D1520 0%, #1A2A3C 55%, #1f3a5f 100%);
  overflow: hidden;
}
.mvv__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(43,46,51,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(43,46,51,0.04) 0%, transparent 60%);
}
.mvv .container { position: relative; z-index: 1; }

.mvv__mission,
.mvv__vision {
  text-align: center;
  margin-bottom: 56px;
  padding: 48px 40px;
  background: rgba(43,46,51,0.04);
  border: 1px solid rgba(43,46,51,0.08);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.mvv__type {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.mvv__statement {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

/* Values */
.mvv__values { margin-top: 16px; }
.mvv__values .mvv__type { text-align: center; margin-bottom: 32px; }
.mvv__value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mvv__value-card {
  background: rgba(43,46,51,0.05);
  border: 1px solid rgba(43,46,51,0.1);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
}
.mvv__value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.mvv__value-card:hover {
  background: rgba(43,46,51,0.08);
  border-color: rgba(43,46,51,0.3);
}
.mvv__value-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}
.mvv__value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.mvv__value-body {
  font-size: 0.82rem;
  color: rgba(43,46,51,0.6);
  line-height: 1.8;
}


/* ===========================
   NUMBERS
   =========================== */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.numbers__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 20px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  min-height: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.numbers__item:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(36,52,64,0.08); }
.numbers__item::after { display: none; }
.numbers__value {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.numbers__count {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  opacity: 1;
  line-height: 1;
}
.numbers__unit {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
  opacity: 0.85;
  margin-bottom: 6px;
}
.numbers__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 大型ナンバー・エディトリアル（囲いなし＋区切り線） */
.numbers__item--dark {
  position: relative;
  overflow: visible;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 28px 24px;
  min-height: 0;
}
.numbers__item--dark::before { display: none; }
.numbers__item--dark:hover { transform: none; box-shadow: none; }
/* 項目間の縦区切り線 */
.numbers__item--dark:not(:last-child)::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(43,46,51,0.2), transparent);
}
.numbers__item--dark .numbers__value {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 18px;
}
/* 数値下のアクセント（ネイビーメタリック） */
.numbers__item--dark .numbers__value::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1f3a5f 28%, #4f72a6 50%, #1f3a5f 72%, transparent);
}
.numbers__item--dark .numbers__count {
  font-family: var(--font-en);
  font-size: clamp(3.8rem, 8.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #C0C6CD 0%, #9AA0A8 45%, #7B818A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  opacity: 1;
}
.numbers__item--dark .numbers__unit {
  margin-top: 0;
  font-size: 1.1rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--accent);
  opacity: 0.9;
}
.numbers__item--dark .numbers__label {
  margin-top: 2px;
  font-size: 0.95rem;
  color: var(--text-sub);
}
.numbers__note {
  max-width: 980px;
  margin: 24px auto 0;
  font-size: 0.83rem;
  color: var(--text-sub);
  text-align: right;
  letter-spacing: 0.05em;
}


/* ===========================
   RECRUIT
   =========================== */
.recruit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.recruit__text .section__label {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.recruit__text .section__title {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: 24px;
  white-space: nowrap;
}
.recruit__body { color: var(--text-sub); margin-bottom: 28px; }
.recruit__list { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.recruit__list li {
  font-size: 0.95rem;
  color: var(--text);
}
.recruit__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9AA0A7;
  background: linear-gradient(90deg, #9AA0A7 0%, #CFD5DB 50%, #9AA0A7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: color var(--transition);
}
.recruit__link::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.recruit__link:hover {
  color: #6B7178;
}
.recruit__link:hover::after {
  width: 40px;
}

.recruit__visual { display: flex; justify-content: center; }
.recruit__quote {
  background: linear-gradient(145deg, #0D1520, #1A2A3C);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}
.recruit__quote::before {
  content: '"';
  position: absolute;
  top: -20px; left: 20px;
  font-family: var(--font-en);
  font-size: 10rem;
  color: rgba(43,46,51,0.12);
  line-height: 1;
  font-weight: 900;
}
/* 流れ星 — 右下に落下、尾は左上に伸びる直線 */
.shooting-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  box-shadow: 0 0 2px 1px rgba(43,46,51,0.85);
}
.shooting-star::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  width: 100px;
  height: 3px;
  transform-origin: 100% 50%;
  transform: translateY(-50%) rotate(41deg);
  background: linear-gradient(to right, transparent 0%, rgba(43,46,51,0.7) 100%);
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0); }
  5%   { opacity: 1; }
  70%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(160px, 140px); }
}
.ss-1 { top: 5%;   left: 5%;  animation: shoot 1.6s ease-out 0.5s infinite; }
.ss-2 { top: 12%;  left: 20%; animation: shoot 2.0s ease-out 2.0s infinite; }
.ss-3 { top: 2%;   left: 35%; animation: shoot 1.4s ease-out 3.5s infinite; }
.ss-4 { top: 18%;  left: 10%; animation: shoot 1.8s ease-out 1.2s infinite; }
.ss-5 { top: 8%;   left: 45%; animation: shoot 1.5s ease-out 4.8s infinite; }
.ss-6 { top: 22%;  left: 25%; animation: shoot 2.2s ease-out 6.0s infinite; }
.ss-7 { top: 3%;   left: 15%; animation: shoot 1.3s ease-out 7.5s infinite; }
.ss-8 { top: 15%;  left: 40%; animation: shoot 1.9s ease-out 5.2s infinite; }

/* ギラン */
.recruit__quote::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(43,46,51,0.02) 30%,
    rgba(43,46,51,0.12) 48%,
    rgba(43,46,51,0.2) 50%,
    rgba(43,46,51,0.12) 52%,
    rgba(43,46,51,0.02) 70%,
    transparent 80%
  );
  animation: quote-glint 8s ease-in-out infinite;
}
@keyframes quote-glint {
  0%, 80% { left: -100%; }
  92%     { left: 200%; }
  100%    { left: 200%; }
}
.recruit__quote-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.recruit__quote-from {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent-light);
  letter-spacing: 0.2em;
}


/* ===========================
   CONTACT
   =========================== */
.contact .container { max-width: 1160px; }
.contact__form {
  background: var(--surface);
  border-radius: 16px;
  padding: 56px 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form__group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.form__group:not(.form__row .form__group) { margin-bottom: 24px; }
.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form__required {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,46,51,0.12);
}
.form__select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form__textarea { resize: vertical; }
.form__submit { text-align: center; margin-top: 18px; }
.form__submit .btn { padding-left: 72px; padding-right: 72px; letter-spacing: 0.24em; }
/* 送信ボタンのシャイン：4秒に1回、流れる速さは0.8秒のまま（他ボタンは8秒） */
.form__submit .btn::before { animation-name: btn-shine-contact; animation-duration: 4s; }
@keyframes btn-shine-contact {
  0%, 80% { left: -100%; }
  100%    { left: 200%; }
}

/* Agree checkbox */
.form__agree {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 8px;
}
.form__agree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}
.form__agree-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.form__agree-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
.form__agree-link:hover { opacity: 0.7; }


/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #E7EAED;
  color: rgba(40,46,54,0.7);
  position: relative;
}
.footer__accent-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(43,46,51,0.4) 50%, transparent 100%);
}
.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px 0 56px;
  border-bottom: 1px solid rgba(43,46,51,0.06);
}
.footer__brand {
  margin-bottom: 48px;
}
.footer__logo {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.22em;
  margin-bottom: 20px;
}
/* ALL IN / HOLDINGS 共通 */
.footer__logo-allin,
.footer__logo-holdings {
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ALL IN — 金色 */
.footer__logo-allin {
  background-image: linear-gradient(
    90deg,
    rgba(43,46,51,0.85) 0%,
    rgba(43,46,51,0.85) 38%,
    #B8922A 44%,
    #E8D48A 50%,
    #B8922A 56%,
    rgba(43,46,51,0.85) 62%,
    rgba(43,46,51,0.85) 100%
  );
  animation: shine-allin 5s ease-in-out infinite;
}
/* HOLDINGS — 銀色 */
.footer__logo-holdings {
  background-image: linear-gradient(
    90deg,
    rgba(43,46,51,0.85) 0%,
    rgba(43,46,51,0.85) 38%,
    #B8BEC6 44%,
    #E8EEF2 50%,
    #B8BEC6 56%,
    rgba(43,46,51,0.85) 62%,
    rgba(43,46,51,0.85) 100%
  );
  animation: shine-holdings 5s ease-in-out infinite;
}
/*
  タイムライン (9s):
  → 右へ: ALL IN 0-1.5s → HOLDINGS 0.4-1.9s
  → 1秒停止
  ← 左へ: HOLDINGS 2.9-4.4s → ALL IN 3.3-4.8s
  → 4秒クールタイム
*/
@keyframes shine-allin {
  0%     { background-position: 100% 0; }
  16.7%  { background-position: 0% 0; }
  36.7%  { background-position: 0% 0; }
  53.3%  { background-position: 100% 0; }
  100%   { background-position: 100% 0; }
}
@keyframes shine-holdings {
  0%     { background-position: 100% 0; }
  4.4%   { background-position: 100% 0; }
  21.1%  { background-position: 0% 0; }
  32.2%  { background-position: 0% 0; }
  48.9%  { background-position: 100% 0; }
  100%   { background-position: 100% 0; }
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 2.2;
  color: rgba(43,46,51,0.35);
  letter-spacing: 0.08em;
}
.footer__info {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(43,46,51,0.35);
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer__info-addr {
  text-decoration: none;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.footer__nav-list li {
  position: relative;
}
.footer__nav-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background: rgba(43,46,51,0.12);
}
.footer__nav-list a {
  display: block;
  padding: 8px 28px;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(43,46,51,0.4);
  transition: color var(--transition);
}
.footer__nav-list a:hover { color: rgba(43,46,51,0.85); }

.footer__btns {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}
.footer__btn {
  padding: 12px 36px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  border-color: rgba(43,46,51,0.25);
  color: rgba(43,46,51,0.6);
}
.footer__btn:hover {
  border-color: rgba(43,46,51,0.6);
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(43,46,51,0.2);
}
.footer__policy {
  margin-left: auto;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(43,46,51,0.2);
  transition: color var(--transition);
}
.footer__policy:hover { color: rgba(43,46,51,0.55); }


/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .mvv__value-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .sp-br { display: inline; }
  .pc-br { display: none; }
  .section { padding: 72px 0; }

  /* Header */
  .header { height: 96px; }
  .header.is-scrolled { height: 60px; }
  .logo-hero { padding: 16px 66px 12px; }
  .logo-hero__img { height: 60px; }
  .logo-hero__hamburger { right: 66px; }
  .header__logo-img { height: 36px; }
  .header__nav { padding: 0 28px 32px; }
  .header__nav-logo-img { height: 48px; }

  /* Hero */
  .hero { min-height: auto; }
  .hero__inner { padding: 100px 20px 64px; }
  .hero__label { font-size: 0.65rem; letter-spacing: 0.4em; margin-bottom: 20px; }
  .hero__title {
    font-size: clamp(1.18rem, 4vw, 1.70rem);
    letter-spacing: 0.1em;
    line-height: 1.12;
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
  }
  .hero__title em { font-size: 1.04em; }
  .hero__catch { font-size: clamp(1.56rem, 5.4vw, 2.88rem); letter-spacing: 0.06em; margin-bottom: 64px; }
  .hero__title-line2,
  .hero__title-line3 { white-space: normal; word-break: normal; line-height: 1.5; }
  .hero__title-line2 { font-size: 0.94em; margin: 0 0 12px 0; }
  .hero__title-line3 { font-size: 0.94em; }
  .hero__en { font-size: 0.9rem; margin-bottom: 36px; line-height: 1.8; }
  .hero__btns { gap: 12px; }
  .hero__inner { padding-bottom: 168px; }
  .hero__scroll { bottom: 24px; }

  /* Section共通 */
  .section__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section__head { margin-bottom: 48px; }
  .section__desc { font-size: 0.95rem; }

  /* Synergy: スマホは1列カード＋スクロールで左右交互フェードイン */
  .synergy__head { margin-bottom: 56px; }
  .synergy__timeline { display: flex; flex-direction: column; gap: 14px; max-width: 480px; margin: 0 auto; overflow: hidden; }
  .synergy__timeline::before { display: none; }
  .synergy__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    min-height: 0;
    margin: 0;
    padding: 20px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    /* 横からのスライドフェードイン（is-visibleで0へ戻る） */
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .synergy__item:nth-child(even) { transform: translateX(-48px); }
  .synergy__item.is-visible { opacity: 1; transform: translateX(0); }
  .synergy__node,
  .synergy__item:nth-child(odd) .synergy__node,
  .synergy__item:nth-child(even) .synergy__node {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
    flex-shrink: 0;
    display: block;
  }
  .synergy__node-num {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    box-shadow: none;
    border: 1px solid rgba(31, 58, 95,0.5);
  }
  /* タイムラインの横木・中心点は非表示 */
  .synergy__node::before,
  .synergy__node::after,
  .synergy__item:nth-child(odd) .synergy__node::before,
  .synergy__item:nth-child(even) .synergy__node::before,
  .synergy__item:nth-child(odd) .synergy__node::after,
  .synergy__item:nth-child(even) .synergy__node::after { display: none; }
  .synergy__panel,
  .synergy__item:nth-child(even) .synergy__panel {
    grid-column: auto;
    text-align: left;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    flex: 1;
    min-width: 0;
  }
  .synergy__panel-title { font-size: 1.12rem; margin-bottom: 10px; padding-bottom: 10px; }
  .synergy__panel-title::after,
  .synergy__item:nth-child(even) .synergy__panel-title::after { right: auto; left: 0; background: linear-gradient(90deg, #1f3a5f, transparent); }
  .synergy__panel-body { font-size: 0.8rem; line-height: 1.8; }
  .synergy__message { margin-top: 64px; }
  /* スマホは4行に。長い行（約20字）が1行に収まる上限まで拡大 */
  .synergy__message p { font-size: 0.94rem; line-height: 2.0; letter-spacing: 0; }

  /* Buttons */
  .btn { padding: 13px 32px; font-size: 0.85rem; }
  .btn--large { padding: 16px 40px; font-size: 0.95rem; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__body { font-size: 0.95rem; }
  .about__card { padding: 36px 28px; }

  /* Service */
  .service__set { grid-template-columns: 180px 1fr; gap: 36px; padding: 52px 24px 52px 8px; }
  .service__set-num { font-size: 4.2rem; }
  .service__set-title { font-size: 1.6rem; }
  .service__set-body { font-size: 0.9rem; max-width: 100%; }
  /* スマホはタグを内容幅のpill（1行）にして自然に折り返す */
  .service__set-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .service__set-tags li { white-space: nowrap; text-align: left; font-size: 0.75rem; padding: 7px 13px; }

  /* MVV */
  .mvv__mission, .mvv__vision { padding: 28px 20px; margin-bottom: 40px; }
  .mvv__statement { font-size: clamp(1.1rem, 3.5vw, 1.6rem); }
  .mvv__value-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mvv__value-card { padding: 24px 16px; }
  .mvv__value-num { font-size: 1.6rem; }
  .mvv__value-title { font-size: 0.9rem; }
  .mvv__value-body { font-size: 0.78rem; }

  /* Numbers */
  /* グループ目標数値: 2×2グリッド（4項目） */
  .numbers { padding-bottom: 44px; } /* New Next との間の余白を詰める */
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 10px 6px; }
  .numbers__item--dark { padding: 14px 6px; }
  .numbers__item--dark .numbers__value { padding-bottom: 12px; margin-bottom: 10px; gap: 3px; }
  .numbers__item--dark .numbers__value::after { width: 30px; }
  .numbers__item--dark .numbers__count { font-size: clamp(1.9rem, 9vw, 3rem); }
  .numbers__item--dark .numbers__unit { font-size: 0.82rem; }
  .numbers__item--dark .numbers__label { font-size: 0.76rem; line-height: 1.4; }

  /* Recruit */
  .recruit__grid { grid-template-columns: 1fr; gap: 36px; }
  .recruit__body { font-size: 0.95rem; }

  /* Contact */
  .contact__form { padding: 32px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__label { font-size: 0.85rem; }

  /* Footer */
  .footer__inner { padding: 0 20px; }
  .footer__top { padding: 56px 0 40px; }
  .footer__brand { margin-bottom: 36px; }
  .footer__logo { font-size: 1.5rem; }
  .footer__nav-list { gap: 0; }
  .footer__nav-list li:not(:last-child)::after { display: none; }
  .footer__nav-list a { padding: 10px 16px; font-size: 0.75rem; }
  .footer__info { display: flex; flex-direction: column; gap: 0; line-height: 1.4; }
  .footer__info-sep { display: none; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; padding: 24px 0; }

  /* Hamburger touch target (44px minimum) */
  .header__hamburger { padding: 6px; margin: -6px; }

  /* Prevent iOS zoom on input focus */
  .form__input,
  .form__select,
  .form__textarea { font-size: 1rem; }
}

@media (max-width: 480px) {
  .logo-hero { padding: 10px 36px 8px; }
  .logo-hero__img { height: 43px; }
  .logo-hero__hamburger { right: 36px; transform: translateY(calc(-50% + 6px)); }
  .hero__inner { padding: 64px 16px 56px; }
  .hero__title {
    font-size: clamp(1.13rem, 5vw, 1.45rem);
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
  }
  .hero__title em { font-size: 1.04em; }
  .hero__catch { font-size: clamp(1.2rem, 5.52vw, 2.28rem); letter-spacing: 0.04em; margin-bottom: 48px; }
  .hero__catch::before { width: 56px; height: 2px; }
  .hero__catch::after { left: 66px; width: 4px; height: 4px; }
  .hero__title-line2 { font-size: 0.94em; margin: 0 0 12px 0; }
  .hero__title-line3 { font-size: 0.94em; }
  .hero__en { font-size: 0.82rem; }
  .hero__btns { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 12px; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero__btns .btn { flex: 1; min-width: 0; padding: 13px 12px; border-width: 1.8px; }
  .hero__inner { padding-bottom: 168px; }

  .section__title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  /* 1列カード: 狭い幅向けの微調整 */
  .synergy__timeline { gap: 12px; }
  .synergy__item { padding: 16px 14px; gap: 12px; }
  .synergy__node-num { width: 38px; height: 38px; font-size: 1rem; }
  .synergy__panel-title { font-size: 1.06rem; margin-bottom: 8px; padding-bottom: 8px; }
  .synergy__panel-body { font-size: 0.82rem; line-height: 1.8; }

  .btn { padding: 12px 28px; }

  .mvv__value-grid { grid-template-columns: 1fr; }
  .mvv__value-card { padding: 24px 20px; }

  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 10px 4px; }
  .numbers__item--dark { padding: 12px 4px; }
  .numbers__item--dark .numbers__count { font-size: clamp(1.5rem, 8.5vw, 2.3rem); }
  .numbers__item--dark .numbers__unit { font-size: 0.72rem; }
  .numbers__item--dark .numbers__label { font-size: 0.68rem; }

  /* スマホ: タイムライン型（番号ノードを縦線で連結） */
  .service__sets { display: flex; flex-direction: column; gap: 30px; }
  .service__set {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 0 44px;
  }
  /* 縦線：このノードから次のノードへ連結（最後の項目は非表示） */
  .service__set::before {
    left: 13px;
    top: 22px;
    bottom: auto;
    height: calc(100% + 30px);
    width: 2px;
    transform: scaleY(1);
    background: linear-gradient(180deg, #CFD5DB 0%, #9AA0A7 100%);
  }
  .service__set:last-child::before { display: none; }
  /* ノード（丸） */
  .service__set::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px #EAEDF0;
    z-index: 2;
  }
  .service__set-index { flex-direction: row; align-items: baseline; gap: 12px; }
  .service__set-num { font-size: 2.2rem; }
  .service__set-title { font-size: 1.35rem; }
  .service__set-catch { font-size: 0.92rem; }
  .service__set-body { font-size: 0.85rem; }

  .recruit__list { font-size: 0.9rem; }
  .recruit__quote-text { font-size: clamp(1rem, 4vw, 1.3rem); }

  .contact__form { padding: 24px 16px; }

  .recruit__quote { padding: 40px 28px; }
}

@media (max-width: 360px) {
  .header { height: 80px; }
  .header.is-scrolled { height: 56px; }
  .logo-hero { padding: 8px 36px 6px; }
  .logo-hero__img { height: 38px; }
  .logo-hero__hamburger { right: 36px; transform: translateY(calc(-50% + 6px)); }
  .hero__inner { padding: 52px 14px 150px; }
  .hero__title {
    font-size: clamp(0.93rem, 4.6vw, 1.3rem);
    line-height: 1.32;
    width: 100%;
    max-width: 100%;
  }
  .hero__catch { font-size: clamp(1.08rem, 5.28vw, 1.8rem); letter-spacing: 0.02em; margin-bottom: 40px; }
  .hero__title-line2 { font-size: 0.94em; margin: 0 0 12px 0; }
  .hero__title-line3 { font-size: 0.94em; }
  .hero__label { font-size: 0.6rem; letter-spacing: 0.3em; }
  .section__title { font-size: 1.25rem; }
  .header__logo-img { height: 32px; }

  .numbers__item--dark .numbers__count { font-size: clamp(1.3rem, 8vw, 1.9rem); }
  .numbers__value { gap: 2px; }
  .numbers__item--dark .numbers__unit { font-size: 0.66rem; }
  .numbers__item--dark .numbers__label { font-size: 0.62rem; }
}

/* ==============================
   トップへ戻るボタン（全ページ共通・ネイビーメタリック）
   ============================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* ホークと同じネイビーメタリック */
  background: linear-gradient(135deg, #1f3a5f 0%, #4f72a6 24%, #2c4f7c 48%, #5e82b6 68%, #1f3a5f 100%);
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(31,58,95,0.3);
  /* 既定は非表示。スクロール時(.is-visible)に表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(31,58,95,0.4);
}
@media (max-width: 600px) {
  .back-to-top { bottom: 20px; right: 16px; width: 44px; height: 44px; }
}
