/* ============================================================
   SUNTECH LIFE — style.css
   太陽光 / エコをテーマにした明るく信頼感のある配色
   ============================================================ */

:root {
  /* ブランドカラー */
  --sun:        #ffb300;   /* 太陽の橙黄 */
  --sun-deep:   #ff8a00;
  --sky:        #2a9df4;   /* 空の青 */
  --sky-deep:   #1565c0;
  --leaf:       #2eb872;   /* 環境のグリーン */
  --leaf-deep:  #1f9d63;

  --ink:        #15202b;   /* 文字 */
  --ink-soft:   #46586a;
  --line:       #e3e9f0;
  --bg:         #ffffff;
  --bg-soft:    #f4f8fc;
  --bg-alt:     #eef5fb;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -22px rgba(20,40,70,.28);
  --shadow-sm:  0 8px 24px -12px rgba(20,40,70,.25);
  --container:  1160px;
  --ease:       cubic-bezier(.22,.61,.36,1);

  /* ---------- フォント（太めでオシャレに統一） ---------- */
  --font-jp:    "Zen Kaku Gothic New", system-ui, -apple-system, sans-serif;  /* 本文・UI */
  --font-head:  "Zen Kaku Gothic New", system-ui, -apple-system, sans-serif;  /* 見出し（太いゴシック） */
  --font-en:    "Outfit", "Zen Kaku Gothic New", sans-serif;                   /* 英字・ロゴ・ラベル */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 見出しは太めのゴシックで統一 */
.hero__title, .sec-title, .about-copy h2, .message-lead, .message-name__ja,
.mission__title, .page-hero__title, .biz-card__title, .biz-detail__title,
.recruit-card__title, .link-card__title, .contact-info h3, .flow__step h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .03em;
}

/* ビジネス見出しは1行（1段）で表示。狭い画面では折り返す */
#business .sec-head { max-width: 100%; }
#business .sec-title { white-space: nowrap; font-size: clamp(1.25rem, 3vw, 2.45rem); }
@media (max-width: 760px) {
  #business .sec-title { white-space: normal; font-size: clamp(1.5rem, 6vw, 2rem); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--sun); color: #fff; }

/* ---------- 共通: 見出し・ボタン ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  margin-bottom: 20px;
}

.sec-head { margin-bottom: 52px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .01em;
}
.sec-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.02rem; }

.grad {
  background: linear-gradient(100deg, var(--sun-deep), var(--sun) 45%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent { color: var(--sun-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--sun {
  background: linear-gradient(100deg, var(--sun-deep), var(--sun));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(255,138,0,.6);
}
.btn--sun:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(255,138,0,.7); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sky); color: var(--sky-deep); transform: translateY(-3px); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-weight: 700; color: var(--sky-deep);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color .3s, gap .3s;
}
.textlink:hover { border-color: var(--sky); gap: 14px; }

/* ---------- セクション余白 ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--alt { background: var(--bg-soft); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-en); }
.brand__logo { height: 46px; width: auto; display: block; transition: opacity .25s; }
.brand:hover .brand__logo { opacity: .85; }
/* 濃い背景（ホームのヒーロー上ヘッダー・フッター）ではロゴ背面に白い下地を敷いて視認性を確保 */
body[data-page="home"] .site-header:not(.scrolled) .brand,
.site-footer .footer-brand .brand {
  background: #fff; border-radius: 12px; padding: 5px 12px;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.4);
}
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: #fff; border-radius: 11px;
  background: linear-gradient(135deg, var(--sun), var(--sun-deep));
  box-shadow: 0 8px 18px -8px rgba(255,138,0,.8);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.02; }
.brand__en {
  font-family: var(--font-en); font-weight: 900; font-size: 1.5rem;
  letter-spacing: .03em; color: #0d1620; white-space: nowrap;
}
/* LIFE は周囲の文字色に追従（ヘッダー=黒／フッター=白） */
.brand__life { color: inherit; -webkit-text-fill-color: currentColor; background: none; }
.brand__jp {
  font-family: var(--font-jp); font-weight: 700; font-size: .68rem;
  letter-spacing: .3em; color: #333; margin-top: 5px;
}
.brand:hover .brand__en { opacity: .82; transition: opacity .25s; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .25s; position: relative; }
.nav a:not(.nav-cta a)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--sun); transition: width .3s var(--ease);
}
.nav a:not(.nav-cta a):hover { color: var(--ink); }
.nav a:not(.nav-cta a):hover::after, .nav a.active::after { width: 100%; }
.nav-cta a {
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700;
  transition: background .25s, transform .25s;
}
.nav-cta a:hover { background: var(--sky-deep); transform: translateY(-2px); }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(15,32,43,.4); opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s; z-index: 90; backdrop-filter: blur(2px);
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding: 120px 0 70px;
  background: #0d1620 url('../img/hero.jpg') center center / cover no-repeat;
}
.hero__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sun {
  position: absolute; top: 14%; right: 12%; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff3cf 0%, var(--sun) 55%, var(--sun-deep) 100%);
  box-shadow: 0 0 120px 40px rgba(255,179,0,.45);
  animation: floaty 9s ease-in-out infinite;
}
.cloud { position: absolute; background: #fff; border-radius: 999px; filter: blur(2px); opacity: .85; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud--1 { width: 130px; height: 32px; top: 24%; left: 12%; animation: drift 26s linear infinite; }
.cloud--1::before { width: 56px; height: 56px; top: -26px; left: 24px; }
.cloud--1::after  { width: 40px; height: 40px; top: -18px; left: 64px; }
.cloud--2 { width: 90px; height: 24px; top: 40%; left: 30%; opacity: .7; animation: drift 34s linear infinite; }
.cloud--2::before { width: 40px; height: 40px; top: -20px; left: 18px; }
.cloud--3 { width: 110px; height: 28px; top: 16%; left: 48%; opacity: .6; animation: drift 30s linear infinite; }
.cloud--3::before { width: 48px; height: 48px; top: -22px; left: 22px; }

.hero__hills {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 0;
  background:
    radial-gradient(120% 100% at 20% 100%, var(--leaf) 0%, transparent 60%),
    radial-gradient(120% 100% at 80% 100%, var(--leaf-deep) 0%, transparent 60%);
  opacity: .18;
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; margin-top: -9vh; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(46,184,114,.25); }

.hero__en {
  font-family: var(--font-en); font-weight: 600; letter-spacing: .12em;
  color: var(--sun-deep); text-transform: uppercase; font-size: 1rem; margin-bottom: 8px;
}
.hero__title {
  font-size: clamp(2.7rem, 8vw, 5.4rem); font-weight: 900; line-height: 1.12; letter-spacing: .02em;
  background: linear-gradient(115deg, var(--ink) 30%, var(--sky-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 26px; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 640px; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 56px; color: var(--ink-soft);
}
.hero__scroll { font-family: var(--font-en); font-size: .72rem; letter-spacing: .22em; display: flex; align-items: center; gap: 12px; }
.hero__scroll .bar { width: 46px; height: 2px; background: var(--ink-soft); position: relative; overflow: hidden; }
.hero__scroll .bar::after { content: ""; position: absolute; inset: 0; background: var(--sun-deep); animation: scrollbar 2.2s var(--ease) infinite; }
.hero__coords { font-family: var(--font-en); font-size: .74rem; letter-spacing: .1em; text-align: right; line-height: 1.7; }
.hero__coords b { color: var(--ink); }

/* ===== ヒーロー: 実写真背景＋可読性オーバーレイ（左側を強めて白文字を見やすく） ===== */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,16,28,.80) 0%, rgba(6,16,28,.52) 42%, rgba(6,16,28,.16) 78%, rgba(6,16,28,0) 100%),
    linear-gradient(0deg, rgba(6,16,28,.5) 0%, rgba(6,16,28,0) 34%);
}
.hero > .container { position: relative; z-index: 2; }
.hero__tag { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); color: #fff; }
.hero__tag .dot { background: #58e08f; box-shadow: 0 0 0 4px rgba(88,224,143,.3); }
.hero__en { color: #ffd36b; }
.hero__title { background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero__sub { color: rgba(255,255,255,.95); text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero__meta { color: rgba(255,255,255,.85); }
/* SCROLL表示は画面下端に固定し、メイン見出しは中央でバランスを取る */
.hero .container.hero__meta { position: absolute; left: 0; right: 0; bottom: 24px; margin-top: 0; }
.hero__coords b { color: #fff; }
.hero__scroll .bar { background: rgba(255,255,255,.6); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

/* ===== ヘッダー: ヒーロー上（ホーム・未スクロール）は白、スクロールで通常色へ ===== */
body[data-page="home"] .site-header:not(.scrolled) .brand__en,
body[data-page="home"] .site-header:not(.scrolled) .brand__jp { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.92); }
body[data-page="home"] .site-header:not(.scrolled) .nav a:not(.nav-cta a):hover { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) .nav-cta a { background: #fff; color: #0d1620; }
body[data-page="home"] .site-header:not(.scrolled) .nav-toggle span,
body[data-page="home"] .site-header:not(.scrolled) .nav-toggle span::before,
body[data-page="home"] .site-header:not(.scrolled) .nav-toggle span::after { background: #fff; }
/* モバイルメニュー展開時は白パネルなのでリンクとXを濃色に戻す */
.nav.open a { color: var(--ink-soft) !important; }
.nav.open a.active, .nav.open a:hover { color: var(--ink) !important; }
.nav.open .nav-cta a { background: var(--ink) !important; color: #fff !important; }
.nav-toggle.open span::before, .nav-toggle.open span::after { background: #0d1620 !important; }

/* ============ MARQUEE ============ */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__track { display: inline-flex; gap: 38px; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.marquee__track span[aria-hidden] { color: var(--sun); }

/* ============ ABOUT ============ */
.about-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.45; margin-bottom: 22px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }

.about-visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.panel-card {
  position: relative; width: 86%; aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(150deg, #0d2a4a, #16548c);
  box-shadow: var(--shadow); padding: 18px; overflow: hidden;
  transform: rotate(-4deg);
}
.panel-grid { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.panel-grid span {
  border-radius: 4px; background: linear-gradient(160deg, #2e6fb0, #0e3a66);
  border: 1px solid rgba(255,255,255,.12);
}
.panel-sun {
  position: absolute; top: 12%; right: 10%; width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(circle, #fff4d2, var(--sun) 60%, var(--sun-deep));
  box-shadow: 0 0 50px 12px rgba(255,179,0,.6);
  animation: floaty 7s ease-in-out infinite;
}

/* ============ BUSINESS ============ */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px 34px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.biz-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--sun), var(--sky)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card__no {
  font-family: var(--font-en); font-weight: 800; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--line); line-height: 1; margin-bottom: 6px;
}
.biz-card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--sky-deep); background: linear-gradient(150deg, #eaf4ff, #fff3df); border: 1px solid var(--line);
}
.biz-card__icon svg { width: 28px; height: 28px; }
.biz-card__title { font-size: 1.22rem; font-weight: 800; margin-bottom: 4px; }
.biz-card__en { display: block; font-family: var(--font-en); font-size: .7rem; letter-spacing: .08em; color: var(--sky); text-transform: uppercase; margin-bottom: 16px; }
.biz-card__lead { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.biz-card__text { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }
.biz-card__tags { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.biz-card__tags li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--ink-soft); }
.biz-card__tags li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--leaf); font-weight: 800;
}

/* ============ MESSAGE ============ */
.message { background: linear-gradient(165deg, #0d2a4a 0%, #123a63 100%); color: #fff; }
.message-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.message .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #ffd680; }
.message-name { margin-top: 28px; }
.message-name__role { display: block; font-size: .85rem; letter-spacing: .12em; color: #9fc4ea; margin-bottom: 6px; }
.message-name__ja { font-size: 1.9rem; font-weight: 900; letter-spacing: .08em; }
.message-lead {
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 900; line-height: 1.5; margin-bottom: 26px;
}
.message-body p { color: #cfe0f0; margin-bottom: 16px; }

/* ============ MISSION ============ */
.mission { background: var(--bg-soft); text-align: center; }
.mission__title { line-height: 1.45; }
.mission__text { max-width: 820px; margin: 0 auto 18px; color: var(--ink-soft); font-size: 1.05rem; }

/* ============ COMPANY / OUTLINE ============ */
.outline {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg);
  box-shadow: var(--shadow-sm); max-width: 880px;
}
.outline__row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.outline__row:first-child { border-top: none; }
.outline__row dt { padding: 22px 26px; font-weight: 700; background: var(--bg-soft); color: var(--ink); font-size: .94rem; }
.outline__row dd { padding: 22px 26px; color: var(--ink-soft); }
.outline__row dd a { color: var(--sky-deep); font-weight: 600; }
.outline__row dd a:hover { text-decoration: underline; }

/* ============ RECRUIT ============ */
.recruit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.recruit-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.recruit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.recruit-card__title {
  font-size: 1.16rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 2px solid var(--line); position: relative;
}
.recruit-card__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--sun); }
.recruit-card p { font-size: .92rem; color: var(--ink-soft); }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; counter-reset: step; }
.flow__step {
  position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 24px;
}
.flow__no { font-family: var(--font-en); font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: var(--sun-deep); }
.flow__step h4 { font-size: 1.1rem; margin: 8px 0 8px; }
.flow__step p { font-size: .88rem; color: var(--ink-soft); }
.recruit-cta { text-align: center; }

/* ============ NEWS ============ */
.news-list { list-style: none; border-top: 1px solid var(--line); max-width: 880px; }
.news-item {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.news-item:hover { background: var(--bg-soft); }
.news-item time { font-family: var(--font-en); font-size: .86rem; color: var(--ink-soft); min-width: 92px; }
.news-item__cat { font-size: .74rem; font-weight: 700; color: #fff; background: var(--sky); padding: 3px 12px; border-radius: 999px; }
.news-item a { font-weight: 500; }
.news-item a:hover { color: var(--sky-deep); }
.news-item__body { display: flex; flex-direction: column; gap: 5px; }
.news-item__body a { font-weight: 700; }
.news-item__desc { font-size: .88rem; color: var(--ink-soft); font-weight: 400; line-height: 1.7; }
.news-note { margin-top: 18px; font-size: .84rem; color: var(--ink-soft); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info {
  background: linear-gradient(160deg, #0d2a4a, #16548c); color: #fff; border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow);
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 26px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.info-row:first-of-type { border-top: none; }
.info-row__ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--sun); }
.info-row__ic svg { width: 20px; height: 20px; }
.info-row__lbl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9fc4ea; }
.info-row__val { font-weight: 600; margin-top: 3px; line-height: 1.6; }
.info-row__val a { color: #fff; }
.info-row__val a:hover { color: var(--sun); }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.form-msg {
  display: none; background: rgba(46,184,114,.12); border: 1px solid rgba(46,184,114,.4); color: var(--leaf-deep);
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 600; font-size: .92rem;
}
.form-msg.show { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .88rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.req { font-size: .66rem; font-weight: 700; color: #fff; background: var(--sun-deep); padding: 2px 8px; border-radius: 4px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(42,157,244,.14);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form-note { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }

/* ============ FOOTER ============ */
.site-footer { background: #0c1b27; color: #c4d4e2; padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__en { color: #fff; }
.footer-brand .brand__jp { color: #93a8b8; }
.footer-brand p { margin-top: 18px; font-size: .9rem; color: #93a8b8; max-width: 320px; }
.footer-sns { display: flex; gap: 12px; margin-top: 20px; }
.footer-sns a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s; }
.footer-sns a svg { width: 18px; height: 18px; }
.footer-sns a:hover { background: var(--sun-deep); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-en); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .9rem; color: #93a8b8; transition: color .25s; }
.footer-col a:hover { color: var(--sun); }
.footer-col--contact p { font-size: .9rem; color: #93a8b8; margin-bottom: 12px; line-height: 1.7; }
.footer-col--contact a { color: #c4d4e2; }
.footer-col--contact a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer-bottom small { color: #7b91a3; font-size: .82rem; }
.footer-bottom .en { font-family: var(--font-en); font-size: .78rem; letter-spacing: .1em; color: var(--sun); }

/* ============ サブページ共通: PAGE HERO / 余白 ============ */
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.sec-foot { margin-top: 44px; }
.sec-foot.center { text-align: center; }

.page-hero {
  position: relative; padding: 150px 0 56px; overflow: hidden;
  background: linear-gradient(180deg, #eaf6ff 0%, #fff7e8 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; top: -60px; right: -40px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, #fff3cf, var(--sun) 60%, var(--sun-deep));
  box-shadow: 0 0 120px 36px rgba(255,179,0,.4); opacity: .85;
}
.page-hero__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); font-size: .82rem; margin-bottom: 8px; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: .02em; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: .82rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--sky-deep); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink-soft); }

/* ============ HOME: link cards (Message/Mission/Company) ============ */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.link-card {
  display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.link-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.link-card__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; color: var(--sky); }
.link-card__title { font-size: 1.3rem; font-weight: 800; margin: 8px 0 12px; }
.link-card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }
.link-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sun-deep); transition: gap .3s; }
.link-card:hover .link-card__go { gap: 14px; }
.link-card__go .arw { transition: transform .3s var(--ease); }

/* ============ CTA BAND ============ */
.cta-band { background: linear-gradient(120deg, var(--sun-deep), var(--sun)); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; opacity: .9; margin-bottom: 8px; }
.cta-band__title { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 900; line-height: 1.5; }
.cta-band .btn--sun { background: #fff; color: var(--sun-deep); box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); }
.cta-band .btn--sun:hover { background: #0c1b27; color: #fff; }

/* ============ BUSINESS: detail rows ============ */
.biz-detail {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.biz-detail:first-of-type { border-top: none; padding-top: 8px; }
/* 反転行は列幅を入れ替え、写真は常に同じ .8fr 列に置く（01/02/03で同サイズ） */
.biz-detail--rev { grid-template-columns: 1.2fr .8fr; }
.biz-detail--rev .biz-detail__media { order: 2; }
.biz-detail__media {
  position: relative; margin: 0; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, #0d2a4a, #16548c); display: grid; place-items: center; box-shadow: var(--shadow);
}
.biz-detail__no {
  position: absolute; top: 18px; left: 22px; font-family: var(--font-en); font-weight: 800; font-size: 2.6rem;
  color: rgba(255,255,255,.18);
}
.biz-detail__icon { width: 96px; height: 96px; color: #fff; }
.biz-detail__icon svg { width: 100%; height: 100%; }
.biz-detail__en { font-family: var(--font-en); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.biz-detail__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin: 6px 0 14px; }
.biz-detail__lead { font-weight: 700; margin-bottom: 12px; }
.biz-detail__body > p { color: var(--ink-soft); margin-bottom: 18px; }
.biz-detail__tags { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.biz-detail__tags li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.biz-detail__tags li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--leaf); font-weight: 800; }

/* ============ 実写真コンポーネント ============ */
/* About: 写真フレーム */
.photo-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 3/2;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame__badge {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px); color: var(--ink);
  font-family: var(--font-en); font-weight: 700; font-size: .76rem; letter-spacing: .08em;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.photo-frame__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(46,184,114,.25); }

/* Business teaser: カード上部の写真 */
.biz-card { padding-top: 0; }
.biz-card__img {
  position: relative; margin: 0 -30px 22px; aspect-ratio: 16/10; overflow: hidden;
}
.biz-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.biz-card:hover .biz-card__img img { transform: scale(1.06); }
.biz-card__img .biz-card__no {
  position: absolute; top: 12px; left: 16px; margin: 0;
  font-family: var(--font-en); font-weight: 800; font-size: 1.7rem; line-height: 1;
  color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

/* Business detail: 写真メディア */
.biz-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.biz-detail__media .biz-detail__no {
  position: absolute; top: 16px; left: 20px; z-index: 1;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

/* Page hero: 背景写真バリアント */
.page-hero .container { position: relative; z-index: 2; }
.page-hero--img { background-size: cover; background-position: center; }
.page-hero--img::after { display: none; }
.page-hero--img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(244,248,252,.95) 22%, rgba(244,248,252,.7) 60%, rgba(244,248,252,.4) 100%);
}

/* ============ REVEAL アニメ ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============ keyframes ============ */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollbar { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }

/* ============ レスポンシブ ============ */
@media (max-width: 980px) {
  .about-split, .message-split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .biz-grid, .recruit-grid, .flow { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .message-side { order: -1; }
  .link-grid { grid-template-columns: 1fr; }
  .biz-detail, .biz-detail--rev { grid-template-columns: 1fr; gap: 28px; }
  .biz-detail--rev .biz-detail__media { order: 0; }
  .biz-detail__media { max-width: 480px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 0; right: 0; height: 100svh; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    background: #fff; padding: 40px 36px; box-shadow: -20px 0 60px -30px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 95;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.05rem; }
  .nav-cta a { width: 100%; text-align: center; }
  .nav-toggle { display: block; z-index: 96; }
  .brand__en { font-size: 1.3rem; }
  .row2 { grid-template-columns: 1fr; }
  .outline__row { grid-template-columns: 1fr; }
  .outline__row dt { background: var(--bg-soft); padding-bottom: 6px; }
  .outline__row dd { padding-top: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__coords { text-align: left; }
  .sun { width: 130px; height: 130px; top: 8%; right: 6%; }
  /* 長いラベルのボタンは折り返して画面幅に収める（横スクロール防止） */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .btn--lg { padding: 15px 22px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* カード内の余白を少し詰めて読みやすく */
  .contact-info, .form-card { padding: 28px 22px; }
  .page-hero { padding-top: 120px; }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
