/* ==========================================================
   株式会社山崎産業 — サイト共通スタイル
   スクロール連動の演出は main.js が各セクションに --p (0〜1) を
   書き込み、CSS 側でその値を使って動かす仕組みです。
   ========================================================== */

:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --dark: #0b0f0c;
  --dark-2: #151a16;
  --forest: #1f6b45;
  --forest-light: #3fa36c;
  --river: #2a7fb8;
  --sea: #0d4f8b;
  --accent: #2f9e62;
  --header-h: 56px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --radius: 22px;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; position: relative; z-index: 1; }
.container--narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; }
.section { padding-block: clamp(80px, 14vw, 160px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #f5f5f7; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.section--dark .eyebrow { color: var(--forest-light); }
.headline {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 64px);
  letter-spacing: .04em;
  line-height: 1.25;
}
.headline--xl { font-size: clamp(44px, 9vw, 120px); }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 2; color: var(--ink-soft); }
.section--dark .lead { color: #a1a1a6; }
.center { text-align: center; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 80px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 500; font-size: 15px;
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f0; }
.btn--green { background: var(--forest); }
.btn--green:hover { background: #18573a; }
.btn--ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.12); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { color: var(--accent); font-weight: 500; display: inline-flex; gap: .3em; align-items: center; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(16, 20, 17, .62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
  transition: background .4s;
}
.site-header.is-scrolled { background: rgba(16, 20, 17, .82); }
.site-header__inner {
  height: 100%;
  width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo__ja { font-family: var(--font-serif); font-weight: 800; font-size: 19px; letter-spacing: .12em; }
.logo__en { font-family: var(--font-en); font-size: 9px; letter-spacing: .32em; opacity: .7; margin-top: 3px; }
.gnav ul { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.gnav a { font-size: 13px; opacity: .85; transition: opacity .2s; white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { opacity: 1; }
.gnav a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.gnav .gnav__cta { background: var(--forest); padding: 6px 14px; border-radius: 999px; opacity: 1; border: 0; }
.gnav .gnav__cta:hover { background: var(--forest-light); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 11px; }
.menu-btn span:nth-child(2) { top: 19px; }
/* 線だけではメニューと分かりにくいので、下に文字を添える（開いているあいだは CLOSE） */
.menu-btn::after { content: "MENU"; position: absolute; left: -4px; right: -4px; bottom: 4px; font-family: var(--font-en, sans-serif); font-weight: 700; font-size: 9px; line-height: 1; letter-spacing: .14em; text-align: center; }
.nav-open .menu-btn::after { content: "CLOSE"; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(12, 15, 13, .97);
    padding: 24px var(--gutter);
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility .35s;
    overflow-y: auto;
  }
  .nav-open .gnav { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
  .nav-open .gnav li { transform: none; opacity: 1; }
  .nav-open .gnav li:nth-child(2) { transition-delay: .03s; } .nav-open .gnav li:nth-child(3) { transition-delay: .06s; }
  .nav-open .gnav li:nth-child(4) { transition-delay: .09s; } .nav-open .gnav li:nth-child(5) { transition-delay: .12s; }
  .nav-open .gnav li:nth-child(6) { transition-delay: .15s; } .nav-open .gnav li:nth-child(7) { transition-delay: .18s; }
  .gnav a { display: block; padding: 16px 0; font-size: 20px; font-weight: 500; }
  .gnav a[aria-current="page"] { border: 0; color: var(--forest-light); }
  .gnav .gnav__cta { background: none; padding: 16px 0; border-radius: 0; color: var(--forest-light); }
  .nav-open { overflow: hidden; }
  /* ぼかし（backdrop-filter）があると fixed のメニューがヘッダーの中に閉じ込められるため、開いている間は外す */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { background: var(--bg-alt); color: var(--ink-soft); font-size: 13px; padding: 64px 0 32px; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.site-footer .logo { color: var(--ink); margin-bottom: 18px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer address a { color: var(--ink); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { font-size: 12px; color: var(--ink); margin-bottom: 10px; font-weight: 600; }
.footer-nav li { margin-bottom: 6px; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 12px; }
.site-footer__bottom a:hover { color: var(--ink); }
.site-footer__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__credit { font-family: var(--font-en, inherit); letter-spacing: .06em; opacity: .7; }
@media (max-width: 760px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   スクロール演出の共通部品
   ========================================================== */
/* 画面内に入ったらふわっと出る */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
.reveal--scale { transform: scale(.92); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }

/* 固定（ピン留め）セクション：高さぶんスクロールする間、中身が画面に留まる */
.pin { position: relative; --p: 0; }
.pin__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* 文字を1文字ずつ分割した時の要素 */
.char { display: inline-block; white-space: pre; }

/* ==========================================================
   トップ：ヒーロー
   ========================================================== */
.hero { height: 260vh; background: #000; color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.3 - var(--p) * .3));
  will-change: transform;
}
.hero__shade { position: absolute; inset: 0; background: #000; opacity: calc(.25 + var(--p) * .55); }
.hero__title {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  padding: var(--gutter);
  opacity: clamp(0, calc(1 - var(--p) * 2.6), 1);
  transform: translateY(calc(var(--p) * -24vh)) scale(calc(1 - var(--p) * .15));
}
.hero__title h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(48px, 10vw, 150px); letter-spacing: .1em; line-height: 1.15; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero__title h1 .char { opacity: 0; transform: translateY(.4em); filter: blur(12px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.is-loaded .hero__title h1 .char { opacity: 1; transform: none; filter: blur(0); }
.hero__sub { font-family: var(--font-en); letter-spacing: .4em; font-size: 13px; margin-top: 28px; opacity: 0; transition: opacity 1.6s 1.2s; }
.is-loaded .hero__sub { opacity: .85; }
.hero__second {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--gutter);
  opacity: clamp(0, calc((var(--p) - .42) * 4), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .42) * 4), 1)) * 40px));
}
.hero__second p { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 4.6vw, 60px); line-height: 1.6; letter-spacing: .08em; margin: 0; }
.hero__second small { display: block; font-family: var(--font-sans); font-size: clamp(14px, 1.4vw, 17px); opacity: .8; letter-spacing: .1em; margin-top: 24px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; text-align: center;
  opacity: calc(.8 - var(--p) * 4);
}
.scroll-cue::after { content: ""; display: block; width: 1px; height: 48px; margin: 10px auto 0; background: linear-gradient(#fff, transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================
   一文字ずつ光る文章（スクロールで読み進める）
   ========================================================== */
.words { height: 280vh; background: var(--dark); color: #fff; }
.words .pin__sticky { display: grid; place-items: center; }
.words__text {
  width: min(100% - var(--gutter) * 2, 980px);
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(22px, 3.3vw, 42px); line-height: 1.85; letter-spacing: .06em;
}
.words__text .char { display: inline; color: rgba(255,255,255,.16); transition: color .25s; }
.words__text .char.is-lit { color: #fff; }
.words__text .hl.is-lit, .words__text .char.hl.is-lit { color: var(--forest-light); }

/* ==========================================================
   数字
   ========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 48px) 20px; text-align: center; }
.stat__num { font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stat__num small { font-family: var(--font-sans); font-size: .32em; font-weight: 700; margin-left: .15em; letter-spacing: 0; }
.stat__label { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   トンネル：小さな窓から画面いっぱいへ広がる
   ========================================================== */
.tunnel { height: 320vh; background: #fff; --e: clamp(0, calc(var(--p) * 1.7), 1); }
.tunnel .pin__sticky { background: #fff; }
.tunnel__frame {
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--e)) * 24%) calc((1 - var(--e)) * 28%) round calc((1 - var(--e)) * 36px));
  will-change: clip-path;
}
.tunnel__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--p) * .9)); transform-origin: 50% 52%; }
.tunnel__label {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 3vh); text-align: center;
  font-family: var(--font-serif); font-weight: 800; font-size: clamp(30px, 5vw, 64px); letter-spacing: .12em;
  opacity: clamp(0, calc(1 - var(--p) * 4), 1);
}
.tunnel__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8,14,10,.72), rgba(8,14,10,.45) 70%); opacity: clamp(0, calc((var(--p) - .35) * 4), 1); }
.tunnel__caption {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; padding: var(--gutter);
  opacity: clamp(0, calc((var(--p) - .45) * 5), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .45) * 5), 1)) * 40px));
}
.tunnel__caption > * { position: relative; }
.tunnel__caption::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(94vw, 1100px); height: min(60vh, 380px); transform: translate(-50%, -50%);
  background: rgba(10, 18, 13, .58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 28px; border: 1px solid rgba(255,255,255,.12);
}
.tunnel__caption h2 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(32px, 6vw, 80px); letter-spacing: .1em; }
.tunnel__caption p { font-size: clamp(15px, 1.5vw, 19px); margin-top: 20px; line-height: 2; color: #f1f5f2; }
.tunnel__flash { position: absolute; inset: 0; background: #fff; opacity: clamp(0, calc((var(--p) - .82) * 6), 1); pointer-events: none; }

/* ==========================================================
   横スクロールで流れる事業カード
   ========================================================== */
.hscroll { background: var(--bg-alt); }
.hscroll .pin__sticky { display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { width: min(100% - var(--gutter) * 2, var(--max)); margin: 0 auto 4vh; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.hscroll__track { display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); will-change: transform; }
.biz-card {
  flex: 0 0 auto; width: min(78vw, 520px); height: min(62vh, 560px);
  border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; background: #222;
}
.biz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.biz-card:hover img { transform: scale(1.06); }
.biz-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.biz-card__body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.biz-card__num { font-family: var(--font-en); font-size: 12px; letter-spacing: .25em; opacity: .75; }
.biz-card h3 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); margin: 6px 0 8px; letter-spacing: .08em; }
.biz-card p { font-size: 14px; opacity: .88; margin: 0; line-height: 1.7; }
.hscroll__bar { width: min(100% - var(--gutter) * 2, var(--max)); margin: 4vh auto 0; height: 2px; background: var(--line); position: relative; }
.hscroll__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p)); }

/* ==========================================================
   山・川・海：段階ごとに色と言葉が切り替わる
   ========================================================== */
.stages { height: 360vh; color: #fff; }
.stages__bg { position: absolute; inset: 0; transition: opacity 1.2s var(--ease); opacity: 0; }
.stages__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.stages__bg::after { content: ""; position: absolute; inset: 0; }
.stages__bg--0::after { background: linear-gradient(160deg, rgba(10,40,24,.78), rgba(10,40,24,.35)); }
.stages__bg--1::after { background: linear-gradient(160deg, rgba(10,50,70,.78), rgba(20,90,110,.35)); }
.stages__bg--2::after { background: linear-gradient(160deg, rgba(5,30,70,.8), rgba(13,79,139,.35)); }
.stages[data-stage="0"] .stages__bg--0, .stages[data-stage="1"] .stages__bg--1, .stages[data-stage="2"] .stages__bg--2 { opacity: 1; }
.stages[data-stage="0"] .stages__bg--0 img, .stages[data-stage="1"] .stages__bg--1 img, .stages[data-stage="2"] .stages__bg--2 img { transform: scale(1); }
.stages__inner { position: relative; height: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 6vw, 96px); width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.stages__kanji { display: flex; flex-direction: column; gap: 10px; }
.stages__kanji span {
  font-family: var(--font-serif); font-weight: 800; font-size: clamp(64px, 12vw, 160px); line-height: 1;
  opacity: .22; transition: opacity .8s var(--ease), transform .8s var(--ease); transform: translateX(0);
}
.stages[data-stage="0"] .stages__kanji span:nth-child(1),
.stages[data-stage="1"] .stages__kanji span:nth-child(2),
.stages[data-stage="2"] .stages__kanji span:nth-child(3) { opacity: 1; transform: translateX(12px); }
.stages__texts { position: relative; min-height: 280px; }
.stages__text { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stages[data-stage="0"] .stages__text:nth-child(1),
.stages[data-stage="1"] .stages__text:nth-child(2),
.stages[data-stage="2"] .stages__text:nth-child(3) { opacity: 1; transform: none; }
.stages__text h3 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 46px); letter-spacing: .08em; margin-bottom: 18px; }
.stages__text p { font-size: clamp(15px, 1.5vw, 18px); line-height: 2; opacity: .9; }
@media (max-width: 640px) {
  .stages__inner { grid-template-columns: 1fr; align-content: center; gap: 24px; }
  .stages__kanji { flex-direction: row; gap: 18px; }
  .stages__kanji span { font-size: 64px; }
  .stages[data-stage] .stages__kanji span { transform: none; }
}

/* ==========================================================
   パララックスのギャラリー
   ========================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__col { display: flex; flex-direction: column; gap: 20px; will-change: transform; }
.gallery__col img { border-radius: 16px; width: 100%; object-fit: cover; }
.gallery__col:nth-child(2) { margin-top: 120px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery__col { gap: 12px; }
  .gallery__col:nth-child(3) { display: none; }
  .gallery__col:nth-child(2) { margin-top: 60px; }
}

/* ==========================================================
   お知らせ
   ========================================================== */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 22px 4px; transition: background .3s, padding .3s var(--ease); }
.news-list a:hover { background: var(--bg-alt); padding-inline: 16px; }
.news-list time { font-family: var(--font-en); font-size: 14px; color: var(--ink-soft); }
.news-list .tag { font-size: 11px; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); margin-right: 10px; white-space: nowrap; }
.news-list .tag--new { background: var(--forest); border-color: var(--forest); color: #fff; }
.news-list .chev { color: var(--ink-soft); font-size: 20px; }
@media (max-width: 640px) {
  .news-list a { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .news-list time { grid-column: 1 / -1; }
}

/* ==========================================================
   全面画像のCTA（クリップが広がる）
   ========================================================== */
.expand { height: 220vh; background: #fff; }
.expand__media { position: absolute; inset: 0; clip-path: inset(calc((1 - clamp(0, calc(var(--p) * 2), 1)) * 14%) calc((1 - clamp(0, calc(var(--p) * 2), 1)) * 10%) round calc((1 - clamp(0, calc(var(--p) * 2), 1)) * 32px)); }
.expand__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--p) * .2)); }
.expand__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.15)); }
.expand__body { position: absolute; inset: auto 0 12vh 0; text-align: center; color: #fff; z-index: 1; padding: 0 var(--gutter); opacity: clamp(0, calc((var(--p) - .35) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .35) * 4), 1)) * 40px)); }
.expand__body h2 { font-family: var(--font-serif); font-size: clamp(30px, 5.5vw, 72px); letter-spacing: .08em; margin-bottom: 18px; }
.expand__body p { font-size: clamp(15px, 1.4vw, 18px); opacity: .9; margin-bottom: 30px; }

/* ==========================================================
   下層ページ共通：ページヒーロー
   ========================================================== */
.page-hero { height: 190vh; background: var(--dark); color: #fff; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.15 + var(--p) * .25)); filter: brightness(calc(.62 - var(--p) * .35)); }
.page-hero__title {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--gutter);
  transform: translateY(calc(var(--p) * -14vh));
  opacity: clamp(0, calc(1 - var(--p) * 1.8), 1);
}
.page-hero__title .eyebrow { color: rgba(255,255,255,.75); letter-spacing: .4em; }
.page-hero__title h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(40px, 8vw, 104px); letter-spacing: .12em; }
.page-hero__title h1 .char { opacity: 0; transform: translateY(.3em); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.is-loaded .page-hero__title h1 .char { opacity: 1; transform: none; filter: none; }
.page-hero__lead {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--gutter);
  opacity: clamp(0, calc((var(--p) - .4) * 3.5), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .4) * 3.5), 1)) * 50px));
}
.page-hero__lead p { font-family: var(--font-serif); font-size: clamp(22px, 3.4vw, 42px); line-height: 1.8; letter-spacing: .08em; font-weight: 600; margin: 0; }

/* シンプルなページ見出し（お知らせ詳細・プライバシー等） */
.page-head { padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(40px, 6vw, 72px); background: var(--bg-alt); }
.page-head h1 { font-family: var(--font-serif); font-size: clamp(28px, 4.6vw, 52px); letter-spacing: .06em; }
.breadcrumb { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ==========================================================
   会社概要
   ========================================================== */
.greeting { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.greeting__photo { position: sticky; top: calc(var(--header-h) + 40px); border-radius: var(--radius); overflow: hidden; }
.greeting__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); font-size: 13px; }
.greeting__photo figcaption strong { display: block; font-family: var(--font-serif); font-size: 22px; letter-spacing: .1em; }
.greeting__body p { font-size: 17px; line-height: 2.2; }
.greeting__sign { text-align: right; font-family: var(--font-serif); font-size: 18px; margin-top: 32px; }
@media (max-width: 760px) { .greeting { grid-template-columns: 1fr; } .greeting__photo { position: relative; top: 0; max-width: 360px; } }

.data-table th, .data-table td { padding: 22px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.data-table th { width: 26%; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.data-table tr:first-child th, .data-table tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { border-bottom: 0; padding-bottom: 0; }
  .data-table tr:first-child td { border-top: 0; }
}
.split-photo { border-radius: var(--radius); overflow: hidden; }
.split-photo img { width: 100%; transform: scale(calc(1.15 - var(--t, 0) * .15)); }

/* 沿革のタイムライン：中央の線がスクロールで伸びる */
.timeline { position: relative; padding-left: 0; --t: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--forest); transform-origin: top; transform: scaleY(var(--t)); }
.era { position: relative; z-index: 1; text-align: center; margin: 56px 0 40px; }
.era span { display: inline-block; background: var(--ink); color: #fff; font-family: var(--font-serif); font-size: 18px; letter-spacing: .3em; padding: 8px 20px 8px 26px; border-radius: 99px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 56px; align-items: center; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); z-index: 1; }
.tl-item__year { font-family: var(--font-en); font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -.02em; }
.tl-item__year small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--ink-soft); margin-top: 6px; letter-spacing: .1em; }
.tl-item h3 { font-size: 19px; margin: 12px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.tl-item img { border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.tl-item:nth-of-type(odd) .tl-item__text { order: 2; }
.tl-item:nth-of-type(odd) .tl-item__media { order: 1; }
.tl-item .tl-item__text { text-align: left; }
.tl-item.no-img .tl-item__media { display: none; }
.tl-item.no-img { grid-template-columns: 1fr 1fr; }
.tl-item.no-img .tl-item__text { grid-column: 2; }
.tl-item.no-img:nth-of-type(odd) .tl-item__text { grid-column: 1; text-align: right; }
@media (max-width: 760px) {
  .timeline::before, .timeline::after { left: 8px; }
  .era { text-align: left; padding-left: 28px; }
  .tl-item, .tl-item.no-img { grid-template-columns: 1fr; gap: 14px; padding-left: 36px; }
  .tl-item::before { left: 8px; top: 18px; }
  .tl-item .tl-item__text, .tl-item:nth-of-type(odd) .tl-item__text { order: 1; grid-column: 1; text-align: left !important; }
  .tl-item .tl-item__media { order: 2 !important; }
}

/* 表彰ギャラリー */
.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.award-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.award-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.award-card:hover img { transform: scale(1.05); }
.award-card div { padding: 18px 20px 22px; font-size: 14px; line-height: 1.7; }
.award-card .badge { display: inline-block; font-size: 11px; color: var(--forest); border: 1px solid currentColor; border-radius: 99px; padding: 1px 10px; margin-bottom: 8px; }
.award-group { margin-top: 64px; }
.award-group h3 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 24px; letter-spacing: .08em; }

/* 資格一覧（開閉） */
.quals { display: grid; gap: 12px; }
.quals details { background: #fff; border-radius: 16px; padding: 0 24px; }
.quals summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 17px; }
.quals summary::-webkit-details-marker { display: none; }
.quals summary::after { content: "+"; font-family: var(--font-en); font-weight: 300; font-size: 26px; transition: transform .3s var(--ease); }
.quals details[open] summary::after { transform: rotate(45deg); }
.quals summary small { font-weight: 400; color: var(--ink-soft); font-size: 12px; margin-left: 10px; }
.quals__body { padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 28px; }
.quals__body h4 { font-size: 13px; color: var(--forest); margin-bottom: 6px; }
.quals__body li { font-size: 14px; padding: 4px 0; border-bottom: 1px dashed var(--line); }

/* ==========================================================
   事業内容：左の画像が固定され、本文に合わせて切り替わる
   ========================================================== */
.swap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.swap__media { position: sticky; top: calc(var(--header-h) + 6vh); height: calc(88vh - var(--header-h)); border-radius: var(--radius); overflow: hidden; background: #111; }
.swap__media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.swap__media figure.is-active { opacity: 1; transform: none; }
.swap__media img { width: 100%; height: 100%; object-fit: cover; }
.swap__step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding-block: 8vh; opacity: .28; transition: opacity .6s; }
.swap__step.is-active { opacity: 1; }
.swap__step .num { font-family: var(--font-en); font-weight: 800; font-size: 14px; letter-spacing: .25em; color: var(--accent); }
.swap__step h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 52px); letter-spacing: .06em; margin: 10px 0 24px; }
.swap__step p { font-size: 16px; line-height: 2.1; }
.swap__step .m-img { display: none; }
.machine-list { margin: 8px 0 24px; display: grid; gap: 6px; }
.machine-list li { padding: 10px 16px; background: var(--bg-alt); border-radius: 10px; font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 24px; }
.thumbs img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) {
  .swap { grid-template-columns: 1fr; }
  .swap__media { display: none; }
  .swap__step { min-height: 0; opacity: 1; padding-block: 48px; }
  .swap__step .m-img { display: block; border-radius: 16px; margin-bottom: 24px; aspect-ratio: 16/10; object-fit: cover; }
}

.finance { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.finance__item { background: var(--dark-2); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); }
.finance__item .label { font-size: 14px; color: #a1a1a6; }
.finance__item .val { font-family: var(--font-en); font-weight: 800; font-size: clamp(38px, 6vw, 76px); line-height: 1.1; margin-top: 10px; letter-spacing: -.02em; }
.finance__item .val small { font-family: var(--font-sans); font-size: .28em; font-weight: 500; margin-left: .3em; color: #a1a1a6; letter-spacing: 0; }
@media (max-width: 760px) { .finance { grid-template-columns: 1fr; } }

/* YouTube（クリックで読み込む軽量版） */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.04); }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat; transition: background-color .3s; }
.yt:hover::after { background-color: #e00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after { display: none; }

/* ==========================================================
   2030 VISION
   ========================================================== */
.v-intro { height: 240vh; background: #000; color: #fff; }
.v-intro .pin__sticky { display: grid; place-items: center; }
.v-intro__year {
  font-family: var(--font-en); font-weight: 800; letter-spacing: -.04em; line-height: .85; text-align: center;
  font-size: clamp(120px, 34vw, 520px);
  background: url("../img/hero-forest.jpg") center / cover;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: scale(calc(1 + var(--p) * 6));
  opacity: clamp(0, calc(1.6 - var(--p) * 2), 1);
}
.v-intro__year small { display: block; font-size: .2em; letter-spacing: .4em; line-height: 1.6; }
.v-intro__msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--gutter); opacity: clamp(0, calc((var(--p) - .5) * 4), 1); }
.v-intro__msg h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(40px, 8vw, 110px); letter-spacing: .14em; }
.v-intro__msg p { font-size: clamp(15px, 1.6vw, 20px); line-height: 2.1; margin-top: 28px; opacity: .85; }

/* 一滴の水が山から海へ */
.drop-story { height: 520vh; background: linear-gradient(#eaf4ee, #e6f1f8 55%, #d6e8f5); }
.drop-story svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; overflow: visible; }
.drop-story .river-path { fill: none; stroke: var(--river); stroke-width: 10; stroke-linecap: round; }
.drop-story .river-base { fill: none; stroke: rgba(42,127,184,.15); stroke-width: 10; stroke-linecap: round; }
.drop-story__copy { position: absolute; top: calc(var(--header-h) + 5vh); left: 0; right: 0; width: min(100% - var(--gutter) * 2, var(--max)); margin: 0 auto; }
.drop-story__copy > div { position: absolute; left: 0; top: 0; max-width: 680px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.drop-story__copy > div.is-active { opacity: 1; transform: none; }
.drop-story__copy h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 52px); letter-spacing: .08em; line-height: 1.45; margin-bottom: 16px; }
.drop-story__copy p { color: #3a4a40; font-size: clamp(14px, 1.3vw, 17px); line-height: 2; }

.cycle { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cycle__ring { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; --t: 0; }
.cycle__ring svg { width: 100%; height: 100%; transform: rotate(calc(var(--t) * 360deg)); }
.cycle__ring .lbl { position: absolute; font-family: var(--font-serif); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .1em; }
.cycle__ring .lbl:nth-of-type(1) { top: 2%; left: 50%; transform: translateX(-50%); }
.cycle__ring .lbl:nth-of-type(2) { bottom: 14%; right: 0; }
.cycle__ring .lbl:nth-of-type(3) { bottom: 14%; left: 0; }
.cycle__ring .core { position: absolute; inset: 30%; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-content: center; text-align: center; font-family: var(--font-serif); font-size: clamp(16px, 1.8vw, 22px); line-height: 1.5; }
@media (max-width: 760px) { .cycle { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover img { transform: scale(1.06); }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0) 60%); }
.pillar div { position: relative; z-index: 1; padding: 28px; }
.pillar .k { font-family: var(--font-serif); font-weight: 800; font-size: 64px; line-height: 1; }
.pillar p { margin: 12px 0 0; font-size: 15px; line-height: 1.9; opacity: .92; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 340px; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 10vw, 120px); }
.feature--rev .feature__media { order: 2; }
.feature__media { border-radius: var(--radius); overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature h3 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); letter-spacing: .06em; margin-bottom: 20px; line-height: 1.5; }
.feature p { font-size: 16px; line-height: 2.1; }
.feature .partners { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature--rev .feature__media { order: 0; } }

/* ==========================================================
   SDGs
   ========================================================== */
.sdg-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sdg-icons img { border-radius: 6px; width: 100%; opacity: 0; transform: translateY(30px) rotate(-6deg); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sdg-icons.is-in img { opacity: 1; transform: none; }
.sdg-icons .wheel { grid-column: span 1; }
@media (max-width: 640px) { .sdg-icons { grid-template-columns: repeat(4, 1fr); } }
.sdg-wheel { width: min(60vw, 360px); margin-inline: auto; transform: rotate(calc(var(--t, 0) * 540deg)); }
.initiative { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.initiative:last-child { border-bottom: 1px solid var(--line); }
.initiative__icons { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.initiative__icons img { width: 92px; border-radius: 6px; }
.initiative h3 { font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 18px; letter-spacing: .06em; }
.initiative p { font-size: 16px; line-height: 2; }
.initiative ul.dots li { padding-left: 1em; text-indent: -1em; font-size: 15px; }
.initiative ul.dots li::before { content: "・"; }
@media (max-width: 640px) { .initiative { grid-template-columns: 1fr; } .initiative__icons img { width: 64px; } }

/* ==========================================================
   採用情報
   ========================================================== */
.ext-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ext-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: var(--radius); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.ext-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.ext-card .tag { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.ext-card h3 { font-size: 22px; }
.ext-card p { color: var(--ink-soft); margin: 0; font-size: 14px; }
.ext-card .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .ext-links { grid-template-columns: 1fr; } }
.jobs { display: flex; flex-wrap: wrap; gap: 10px; }
.jobs li { padding: 10px 20px; background: #fff; border-radius: 99px; font-size: 15px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.point { background: #fff; border-radius: var(--radius); padding: 36px 24px; text-align: center; }
.point .stat__num { font-size: clamp(48px, 6vw, 72px); }
.point p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }
.day { position: relative; padding-left: 40px; list-style: none; }
.day::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--forest-light), var(--river)); }
.day li { position: relative; padding: 0 0 30px; }
.day li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); }
.day time { font-family: var(--font-en); font-weight: 700; font-size: 18px; }
.day p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.profile-card { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.profile-card img { border-radius: var(--radius); background: var(--bg-alt); }
@media (max-width: 760px) { .profile-card { grid-template-columns: 1fr; } .profile-card img { max-width: 220px; } }
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.scroller img { flex: 0 0 auto; width: min(80vw, 560px); border-radius: 16px; scroll-snap-align: start; }

/* ==========================================================
   お問い合わせ
   ========================================================== */
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.office { background: #fff; border-radius: 18px; padding: 28px; }
.office .dept { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.office h3 { font-size: 20px; margin: 4px 0 10px; }
.office address { font-style: normal; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.office .tel { display: inline-block; margin-top: 12px; font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.office .tel::before { content: "TEL "; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.line-box { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: #06c755; color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.line-box img { width: 140px; border-radius: 12px; background: #fff; padding: 8px; }
.line-box h3 { font-size: 24px; margin-bottom: 10px; }
.line-box .btn { background: #fff; color: #06c755; margin-top: 12px; }
@media (max-width: 640px) { .line-box { grid-template-columns: 1fr; } .line-box .qr { display: none; } }
.form { display: grid; gap: 22px; }
.form label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.form .req { font-size: 11px; color: #fff; background: #d33; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(47,158,98,.15); }
.form textarea { min-height: 180px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.form .note { font-size: 13px; color: var(--ink-soft); }
.form [hidden] { display: none !important; }
.form :is(input, select, textarea) { scroll-margin-top: 140px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 18px 22px; border-radius: 14px; background: #eaf6ee; color: #1f5b3a; font-weight: 500; text-align: center; }
.form-status.is-error { background: #fdeceb; color: #a1281d; }
.form button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.policy-box { max-height: 240px; overflow-y: auto; padding: 20px 24px; background: var(--bg-alt); border-radius: 12px; font-size: 13px; color: var(--ink-soft); }
.policy-box h4 { font-size: 14px; color: var(--ink); margin: 14px 0 6px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/7; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map { aspect-ratio: 4/3; } }

/* ==========================================================
   記事（お知らせ詳細・プライバシー）
   ========================================================== */
.article { font-size: 16px; line-height: 2.1; }
.article h2 { font-size: 22px; margin: 48px 0 16px; padding-left: 14px; border-left: 4px solid var(--forest); }
.article h3 { font-size: 18px; margin: 32px 0 12px; }
.article figure { margin: 32px 0; }
.article figure img { border-radius: 16px; margin-inline: auto; }
.article figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.article ol, .article ul { padding-left: 1.5em; margin: 0 0 1em; }
.article ul { list-style: disc; }
.article .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article .grid-2 figure { margin: 0; }
.article .notice { background: #fff4f2; border: 1px solid #f3c6bd; border-radius: 14px; padding: 20px 24px; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.article-meta .tag { border: 1px solid var(--line); border-radius: 99px; padding: 1px 12px; font-size: 12px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.pager a { color: var(--ink-soft); max-width: 45%; }
.pager a:hover { color: var(--ink); }
@media (max-width: 640px) { .article .grid-2 { grid-template-columns: 1fr; } }

.price-table { font-size: 14px; text-align: center; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 12px 8px; }
.price-table thead th { background: var(--bg-alt); }
.price-table th[scope=row] { background: var(--bg-alt); text-align: left; font-weight: 500; white-space: nowrap; }
.price-table .total td { font-weight: 700; color: var(--forest); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 680px; }

/* ==========================================================
   動きを減らす設定のユーザーにはピン留め演出を解除
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .sdg-icons img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero, .words, .tunnel, .stages, .expand, .page-hero, .v-intro, .drop-story { height: auto !important; }
  .pin__sticky { position: relative; height: 100vh; }
  .hscroll .pin__sticky { height: auto; padding: 80px 0; }
  .hscroll__track { overflow-x: auto; transform: none !important; }
  .words .char { color: #fff !important; }
  .hero__title h1 .char, .page-hero__title h1 .char, .ihero__copy h1 .char, .ihero__art img { opacity: 1; transform: none; filter: none; }
}

/* スマートフォンでの見出しの折り返し調整 */
@media (max-width: 480px) {
  .hero__second p { font-size: 21px; letter-spacing: .04em; }
  .hero__sub { letter-spacing: .25em; font-size: 11px; }
  .drop-story__copy h2 { font-size: 24px; }
}

/* ==========================================================
   トップ：山のイラストが描かれ、森の写真へ入っていくヒーロー
   ========================================================== */
.ihero { height: 330vh; background: #fff; }
.ihero__photo { position: absolute; inset: 0; opacity: clamp(0, calc((var(--p) - .22) * 3.2), 1); }
.ihero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.35 - var(--p) * .35)); }
.ihero__photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, calc(.15 + var(--p) * .4)); }
.ihero__stage {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 2vh, 24px); padding: var(--header-h) var(--gutter) 0;
}
.ihero__art {
  width: min(92vw, calc((100svh - 360px) * 1.575), 1000px);
  transform-origin: 50% 64%;
  transform: scale(calc(1 + var(--p) * var(--p) * 14));
  opacity: clamp(0, calc(1 - (var(--p) - .2) * 3.6), 1);
}
.ihero__art img {
  width: 100%; height: auto; mix-blend-mode: multiply;
  opacity: 0; transform: scale(1.08); filter: blur(14px);
  transition: opacity 1.8s var(--ease), transform 2.4s var(--ease), filter 1.8s var(--ease);
  /* イラスト画像の下端が直線でスパッと切れているため、下端だけ自然にフェードアウトさせ、
     山水画のように背景へ溶け込ませる（液体の塊のように見えてしまう主因だったため）。 */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}
.is-loaded .ihero__art img { opacity: 1; transform: none; filter: none; }
.ihero__copy { text-align: center; opacity: clamp(0, calc(1 - var(--p) * 6), 1); transform: translateY(calc(var(--p) * -80px)); }
.ihero__copy h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(34px, 6vw, 80px); letter-spacing: .12em; color: #1b4d2e; }
.ihero__copy h1 .char { opacity: 0; transform: translateY(.4em); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.is-loaded .ihero__copy h1 .char { opacity: 1; transform: none; filter: none; }
.ihero__copy p { font-family: var(--font-en); font-size: 12px; letter-spacing: .4em; color: var(--ink-soft); margin: 18px 0 0; opacity: 0; transition: opacity 1.4s 3.4s; }
.is-loaded .ihero__copy p { opacity: 1; }
.ihero__second {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; padding: var(--gutter);
  opacity: clamp(0, calc((var(--p) - .5) * 4), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .5) * 4), 1)) * 40px));
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.ihero__second p { font-family: var(--font-serif); font-weight: 600; font-size: clamp(24px, 4.6vw, 60px); line-height: 1.6; letter-spacing: .08em; margin: 0; }
.ihero__second small { display: block; font-size: clamp(14px, 1.4vw, 17px); opacity: .85; letter-spacing: .1em; margin-top: 24px; }
.ihero .scroll-cue { position: static; transform: none; color: var(--ink-soft); }
.ihero .scroll-cue::after { height: 32px; }
.ihero .scroll-cue::after { background: linear-gradient(var(--ink-soft), transparent); }
@media (max-width: 480px) { .ihero__second p { font-size: 21px; letter-spacing: .04em; } }

/* ==========================================================
   トップ：各ページへの入口
   ========================================================== */
.entry { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.entry--rev { grid-template-columns: 5fr 7fr; }
.entry--rev .entry__media { order: 2; }
.entry__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.entry__media img { width: 100%; height: 120%; object-fit: cover; }
.entry__num { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .25em; color: var(--accent); }
.entry h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 40px); letter-spacing: .08em; margin: 10px 0 24px; line-height: 1.35; }
.entry p { font-size: 16px; line-height: 2.1; color: var(--ink-soft); }
.entry .btn { margin-top: 16px; }
@media (max-width: 760px) {
  .entry, .entry--rev { grid-template-columns: 1fr; }
  .entry--rev .entry__media { order: 0; }
}
.contact-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; text-align: left; }
.contact-cta > div { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; }
.contact-cta h3 { font-size: 14px; color: var(--ink-soft); font-weight: 500; margin-bottom: 8px; }
.contact-cta .big { font-family: var(--font-en); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); }
@media (max-width: 760px) { .contact-cta { grid-template-columns: 1fr; } }

/* 役員紹介 */
.execs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.exec { text-align: center; }
.exec img { border-radius: var(--radius); background: #fff; aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.exec:hover img { transform: translateY(-6px); }
.exec .role { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.exec .name { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .2em; }
@media (max-width: 640px) { .execs { grid-template-columns: repeat(2, 1fr); } }

/* 事業内容（会社概要内のコンパクト版） */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.biz-item { background: #fff; border-radius: var(--radius); overflow: hidden; }
.biz-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.biz-item:hover img { transform: scale(1.04); }
.biz-item > div { padding: 28px 30px 32px; }
.biz-item .num { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .25em; color: var(--accent); }
.biz-item h3 { font-family: var(--font-serif); font-size: 26px; letter-spacing: .08em; margin: 6px 0 14px; }
.biz-item p { font-size: 15px; line-height: 2; margin-bottom: .6em; }
@media (max-width: 760px) { .biz-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .ihero__copy h1 { font-size: 30px; letter-spacing: .06em; }
  .ihero__art { width: 100vw; }
  .ihero__copy p { letter-spacing: .25em; font-size: 11px; }
}
.tl-item img.is-logo { object-fit: contain; background: #fff; padding: 12px; border: 1px solid var(--line); }

/* ==========================================================
   スクロールを楽しくする演出（共通）
   ========================================================== */
:root { --v: 0; }

/* 画面上部の読み進みバー */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--forest-light), var(--river), var(--sea));
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}

/* 下にスクロールするとヘッダーが隠れ、上に戻すと出てくる */
.site-header { transition: background .4s, transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }

/* 見出し：1文字ずつ、くるっと立ち上がる */
.split-in .char {
  display: inline-block; opacity: 0;
  transform: translateY(.6em) rotate(8deg) scale(.9); transform-origin: left bottom;
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform .9s cubic-bezier(.2, 1.4, .4, 1), filter .8s var(--ease);
}
.split-in.is-in .char { opacity: 1; transform: none; filter: none; }

/* 写真：幕が上がるように現れ、中の写真がすっと引く */
.img-reveal { clip-path: inset(calc(100% - 1px) 0 0 0 round var(--radius)); /* 1px残してブラウザに「画面内」と認識させる（読み込み・出現の判定のため） */ transition: clip-path 1.4s cubic-bezier(.77, 0, .18, 1); }
.img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.img-reveal img, img.img-reveal { transition: transform 2s var(--ease), clip-path 1.4s cubic-bezier(.77, 0, .18, 1); }
.img-reveal:not(.is-in) img, img.img-reveal:not(.is-in) { transform: scale(1.3); }

/* スクロールの速さに合わせて、写真がしなる */
.gallery__col img { transform: skewY(calc(var(--v) * 3deg)); transition: transform .1s linear; }

/* 流れる大きな文字の帯 */
.marquee { overflow: hidden; padding: clamp(28px, 5vw, 64px) 0; --t: 0; background: var(--bg); }
.marquee__track {
  display: flex; gap: .5em; white-space: nowrap; width: max-content;
  font-family: var(--font-serif); font-weight: 800; font-size: clamp(56px, 11vw, 180px); line-height: 1.1; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1.5px #b9cfc0;
  transform: translateX(calc((var(--t) - .5) * -45vw * var(--dir, 1) - 25%)) skewX(calc(var(--v) * -10deg));
}
.marquee__track span:nth-child(even) { color: #e3efe7; -webkit-text-stroke: 0; }
.marquee--rev { --dir: -1; }

/* 沿革・一日の流れ：通り過ぎた点が灯り、今の項目が浮かび上がる */
.tl-item::before { transition: background .4s, transform .5s cubic-bezier(.2, 1.6, .4, 1), box-shadow .5s; }
.tl-item.is-passed::before { background: var(--forest); }
.tl-item.is-current::before { transform: scale(1.6); box-shadow: 0 0 0 8px rgba(47, 158, 98, .18); }
.tl-item__year { transition: color .5s, transform .6s var(--ease); transform-origin: left center; }
.tl-item.is-current .tl-item__year { color: var(--forest); }
.day li::before { transition: background .4s, transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.day li.is-passed::before { background: var(--forest); }
.day li.is-current::before { transform: scale(1.5); }
.day li.is-current time { color: var(--forest); }

/* SDGsアイコンがスクロールで波打つ */
.sdg-icons.is-in img { transform: translateY(calc(sin((var(--t, 0) * 10 + var(--i, 0) * .55) * 1rad) * 12px)); transition: opacity .7s var(--ease); }

/* トップ：イラストの上を雲が流れる */
.ihero__clouds { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: clamp(120px, 16vw, 260px); opacity: calc(.9 - var(--p) * 2); }
.cloud svg { width: 100%; height: auto; display: block; animation: drift 9s ease-in-out infinite alternate; }
.cloud--1 { top: 16%; left: 6%; transform: translateX(calc(var(--p) * -60vw)); }
.cloud--2 { top: 24%; right: 4%; transform: translateX(calc(var(--p) * 70vw)) scale(.8); }
.cloud--3 { top: 46%; left: -2%; transform: translateX(calc(var(--p) * -40vw)) scale(.6); }
.cloud--2 svg { animation-delay: -3s; } .cloud--3 svg { animation-delay: -6s; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes drift-y { from { transform: translateY(-10px) rotate(-4deg); } to { transform: translateY(10px) rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }

/* ==========================================================
   セクションの有機的な区切り（ブロブ）
   四角い境界線ではなく、波形のSVGで次のセクションへ自然に溶け込ませる。
   JS（injectSectionDividers）が main > section の並びを見て、現在の
   セクションの末尾に「次のセクションの背景色」で塗った波形を差し込む。
   ========================================================== */
.section-divider { position: relative; display: block; width: 100%; line-height: 0; margin-bottom: -1px; pointer-events: none; }
.section-divider svg { width: 100%; height: clamp(44px, 7vw, 96px); display: block; }

/* ==========================================================
   漂う装飾要素（雲・葉・光の粒）
   常時ゆらゆら動く(drift/drift-y)アニメーションに加え、data-speed属性で
   既存のスクロール連動パララックス（main.js）にも反応する。
   ========================================================== */
.floaty-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floaty { position: absolute; pointer-events: none; opacity: .8; will-change: transform; }
.floaty svg { display: block; width: 100%; height: 100%; }
.floaty--leaf { width: clamp(26px, 3vw, 44px); animation: drift-y 6.5s ease-in-out infinite alternate; }
.floaty--spark { width: clamp(6px, .9vw, 10px); animation: twinkle 3.2s ease-in-out infinite; }
.floaty--cloud-sm { width: clamp(70px, 9vw, 140px); opacity: .55; animation: drift 11s ease-in-out infinite alternate; }

/* ==========================================================
   固定サイド目次ナビ
   各ページの main > section[id] から自動生成し、現在地のセクションを
   ハイライトする。スペースが限られるモバイル・タブレットでは非表示。
   ========================================================== */
.side-index {
  position: fixed; right: clamp(10px, 2vw, 26px); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.side-index.is-visible { opacity: 1; pointer-events: auto; }
.side-index__item {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .08em; color: var(--ink-soft);
}
.side-index__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width .35s var(--ease), opacity .3s var(--ease);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 0;
}
.side-index__item:hover .side-index__label, .side-index__item.is-active .side-index__label {
  max-width: 160px; opacity: 1; padding: 4px 12px;
}
.side-index__dot {
  width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  transition: background .35s, border-color .35s, transform .35s var(--ease); flex-shrink: 0;
}
.side-index__item.is-active .side-index__dot { background: var(--forest); border-color: var(--forest); transform: scale(1.3); }
@media (max-width: 1080px) { .side-index { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .split-in .char { opacity: 1; transform: none; filter: none; }
  .img-reveal { clip-path: none; }
  .img-reveal img, img.img-reveal { transform: none !important; }
  .marquee__track, .gallery__col img { transform: none; }
  .cloud svg { animation: none; }
  .site-header.is-hidden { transform: none; }
  .floaty { animation: none !important; transform: none !important; }
}
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* ==========================================================
   画像の拡大表示（main.js：data-zoom）
   ========================================================== */
img[data-zoom] { cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s; }
img[data-zoom]:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.zoom-hint { display: inline-block; margin-top: 6px; font-size: 12px; opacity: .8; }
.zoombox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(8, 14, 20, .88); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.zoombox.is-open { opacity: 1; visibility: visible; }
.zoombox__fig { grid-column: 2; margin: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 0 24px; }
.zoombox__fig img { max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transform: scale(.94); transition: transform .4s cubic-bezier(.2, 1.3, .4, 1); }
.zoombox.is-open .zoombox__fig img { transform: none; }
.zoombox__fig figcaption { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 13px; text-align: center; }
.zoombox button { border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 50%; transition: background .2s; font-family: var(--font-en); }
.zoombox button:hover { background: rgba(255, 255, 255, .28); }
.zoombox__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
.zoombox__prev, .zoombox__next { width: 48px; height: 48px; font-size: 30px; line-height: 1; justify-self: center; }
.zoombox.is-single .zoombox__prev, .zoombox.is-single .zoombox__next { visibility: hidden; }
.zoom-open { overflow: hidden; }
@media (max-width: 640px) {
  .zoombox { grid-template-columns: 0 1fr 0; }
  .zoombox__fig { padding: 64px 8px 80px; }
  .zoombox__prev, .zoombox__next { position: absolute; bottom: 18px; }
  .zoombox__prev { left: calc(50% - 64px); } .zoombox__next { right: calc(50% - 64px); }
}

/* ==========================================================
   ロゴ（マーク＋社名）
   ========================================================== */
.logo { flex-direction: row; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; flex: 0 0 auto; transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.logo:hover .logo__mark { transform: rotate(120deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-header .logo__en { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .06em; opacity: 1; margin: 0; }
.site-header .logo__ja { font-family: var(--font-sans); font-weight: 500; font-size: 10px; letter-spacing: .2em; opacity: .75; margin-top: 3px; }
.logo--footer { gap: 14px; }
.logo--footer .logo__mark { width: 48px; height: 48px; }
@media (max-width: 480px) {
  .logo__mark { width: 34px; height: 34px; }
  .site-header .logo__en { font-size: 13px; letter-spacing: .03em; }
  .site-header .logo__ja { font-size: 9px; }
}

/* ==========================================================
   サイト整理（2026-10-27）：メニューの採用ボタン・常に出る採用ボタン・見出しの補足行
   ========================================================== */
.gnav .gnav__recruit { border: 1px solid currentColor; padding: 5px 13px; border-radius: 999px; opacity: 1; }
.gnav .gnav__recruit[aria-current="page"] { border-bottom: 1px solid currentColor; }
@media (min-width: 961px) and (max-width: 1180px) {
  .gnav ul { gap: 12px; }
  .gnav a { font-size: 12px; }
}
@media (max-width: 960px) {
  .gnav .gnav__recruit { border: 0; padding: 16px 0; border-radius: 0; color: #ffe27a; }
}

/* 画面左下の採用ボタン（ページ最上部では隠す） */
.recruit-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: #f2a83b; color: #fff; font-weight: 700; font-size: 13px; line-height: 1.2;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .4s cubic-bezier(.2, 1.6, .4, 1), opacity .4s, visibility .4s;
}
.recruit-fab small { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 9px; letter-spacing: .14em; opacity: .9; }
.recruit-fab:hover { transform: translateY(-4px) rotate(-4deg); }
.recruit-fab.is-off { opacity: 0; visibility: hidden; transform: translateY(20px); }
@media (max-width: 600px) { .recruit-fab { width: 68px; height: 68px; font-size: 11px; left: 10px; bottom: 10px; } }

/* 1行目に小さい補足をつけた h1（会社概要・採用情報） */
.uv-kv h1 .h1-sm { font-size: .34em; letter-spacing: .08em; }
@media (max-width: 600px) { .uv-kv h1:has(.h1-sm) { font-size: 22px; letter-spacing: .04em; } .uv-kv h1 .h1-sm { font-size: .5em; } }
