@charset "utf-8";

/* =========================================================
   ベース設定
   ========================================================= */
/* =========================================================
   配色
   ---------------------------------------------------------
   ロゴから採取したブランドカラーを基調にしています。
     深緑   #004c3f （ロゴの緑）
     ゴールド #dbb400 （ロゴの金 #c9a600 を少し明るくしたもの）
   変数名は用途で統一しているので、ここを変えるだけで
   サイト全体の色が切り替わります。
   ========================================================= */
:root {
  /* ブランドカラー */
  --green:     #075a4b;   /* 主役の深緑（ボタン・見出し・下線） */
  --green-dk:  #044639;   /* ホバー時 */
  --green-lt:  #127a64;
  --gold:      #f5d02e;   /* 主役のゴールド（CTA・強調） */
  --gold-dk:   #a88a00;   /* 白背景で文字に使う濃いめの金 */
  --gold-lt:   #f0d271;   /* 濃い背景の上で使う明るい金 */

  /* 濃い背景 */
  --deep:      #093c31;
  --deep-2:    #114b3f;
  --deep-3:    #185f50;

  /* 文字・罫線・背景 */
  --text:      #172a25;
  --text-2:    #53665f;
  --line:      #dde5e1;
  --bg:        #ffffff;
  --bg-soft:   #f2f7f5;

  --header-h:  76px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  /* 読み込み中は body を overflow:hidden にしているため、
     解除した瞬間にスクロールバーが現れて画面が横にずれる。
     常に同じ幅を確保しておくことでガタつきを防ぐ。 */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
main { overflow-x: clip; }   /* 横から出てくる演出（.reveal--right）で横スクロールが出ないように */

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .7; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 48px, 880px); }

.sp-only { display: none; }

/* =========================================================
   オープニング演出（ローダー）
   ========================================================= */
body.is-loading { overflow: hidden; }

/* inset:0 だと「可変ビューポート」に追従してしまい、
   スマホでアドレスバーが引っ込んで画面の高さが変わった瞬間に
   中央揃えの基準がずれ、ロゴがガクッと動く。
   高さを固定値（lvh＝アドレスバーを除いた最大の高さ）で持たせて、
   画面サイズが変わっても中身が動かないようにする。 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100lvh;
  z-index: 500;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* 5分割パネル：下から順にせり上がって消える */
.loader__panels {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.loader__panels span {
  background: var(--deep);
  transform-origin: bottom;
  /* ワイプと同じ理由で1px重ねる */
  width: calc(100% + 2px);
  backface-visibility: hidden;
  transition: transform .85s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done .loader__panels span { transform: scaleY(0); }
.loader.is-done .loader__panels span:nth-child(1) { transition-delay: .00s; }
.loader.is-done .loader__panels span:nth-child(2) { transition-delay: .07s; }
.loader.is-done .loader__panels span:nth-child(3) { transition-delay: .14s; }
.loader.is-done .loader__panels span:nth-child(4) { transition-delay: .21s; }
.loader.is-done .loader__panels span:nth-child(5) { transition-delay: .28s; }

/* ローダー内は Webフォントを使わない。
   読み込み途中でフォントが差し替わると文字の幅と高さが変わり、
   中央揃えの基準がずれてロゴがガクッと動くため。
   各要素の高さも固定して、一切レイアウトが動かないようにする。 */
.loader__inner {
  position: relative;
  z-index: 2;
  width: 260px;
  text-align: center;
  color: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  transition: opacity .4s ease, transform .6s var(--ease);
}
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-14px); }

.loader__mark {
  /* 幅も明示して、画像の読み込み前後で位置がずれないようにする */
  width: 152px;
  height: 74px;
  margin: 0 auto 22px;
  will-change: transform;
  animation: loaderFloat 2.6s ease-in-out infinite;
}
/* ドローンが浮いているような、ゆるやかな上下 */
@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.loader__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
  height: 28px;          /* 高さを固定してレイアウトを動かさない */
  line-height: 28px;
  opacity: 0;
  animation: loaderUp .7s var(--ease) .15s forwards;
}
.loader__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: rgba(255,255,255,.55);
  height: 16px;
  line-height: 16px;
  margin-top: 6px;
  opacity: 0;
  animation: loaderUp .7s var(--ease) .3s forwards;
}
@keyframes loaderUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.loader__bar {
  width: 180px;
  height: 2px;
  margin: 26px auto 0;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  animation: loaderProgress 1.5s cubic-bezier(.2, .8, .3, 1) forwards;
}
@keyframes loaderProgress { to { width: 86%; } }
/* 読み込み完了時は一気に100%へ */
.loader.is-ready .loader__bar span {
  animation: none;
  width: 100%;
  transition: width .28s ease;
}

/* =========================================================
   ページ内遷移ワイプ（メニュー選択時）
   ========================================================= */
.wipe {
  position: fixed;
  overflow: hidden;   /* 1px重ねたぶんがはみ出さないように */
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100lvh;   /* ローダーと同じ理由で固定値にする */
  z-index: 400;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.wipe span {
  background: var(--deep);
  transform: scaleY(0);
  transform-origin: top;      /* 上から降りてくる */
  /* Androidなど画素密度が小数の端末では、5分割の境界が
     サブピクセルにかかって隙間（白い線）が見えることがある。
     1px ずつ重ねて塞ぐ。 */
  width: calc(100% + 2px);
  backface-visibility: hidden;
  will-change: transform;
}
/* 覆う：上端を起点に下へ伸びる */
.wipe.is-in span {
  animation: wipeIn .5s cubic-bezier(.76, 0, .24, 1) forwards;
}
/* 開く：下端へ向かって縮み、下へ抜けていく
   .wipe--enter はページ読み込み直後に自動再生（JSが動かなくても開く） */
.wipe.is-out span,
.wipe--enter span {
  transform: scaleY(1);
  transform-origin: bottom;
  animation: wipeOut .55s cubic-bezier(.76, 0, .24, 1) forwards;
}
.wipe span:nth-child(1) { animation-delay: .00s; }
.wipe span:nth-child(2) { animation-delay: .05s; }
.wipe span:nth-child(3) { animation-delay: .10s; }
.wipe span:nth-child(4) { animation-delay: .15s; }
.wipe span:nth-child(5) { animation-delay: .20s; }

@keyframes wipeIn  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wipeOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* =========================================================
   共通パーツ
   ========================================================= */
.label {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.label span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-2);
  position: relative;
  padding-left: 16px;
}
.label span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 1px;
  background: currentColor;
}
.label--light { color: var(--gold-lt); }
.label--light span { color: rgba(255,255,255,.65); }

.heading {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
}
.heading--light { color: #fff; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.section__lead {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 15px;
}
.heading--light + .section__lead,
.section--contact .section__lead,
.section--works .section__lead { color: rgba(255,255,255,.75); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--gold); color: var(--deep); }
.btn--primary:hover { background: #e3bd14; }

.btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--deep); }

.btn--ghost { border-color: var(--line); color: var(--text); font-family: "Barlow", sans-serif; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.btn--text { color: #fff; padding-inline: 8px; text-decoration: underline; text-underline-offset: 6px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  /* 常に白背景・濃い文字（スクロール位置で色を変えない）
     ※backdrop-filter は position:fixed の基準を作ってしまい、
       スマホのメニューが閉じ込められるため使わない */
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 2px 20px rgba(1,47,38,.09); }

/* 下スクロールで隠れ、上スクロールで戻る
   ※ transform で隠すと、ヘッダーが position:fixed の基準（包含ブロック）に
     なってしまい、中のスマホ用メニューがヘッダーの高さに閉じ込められる。
     そのため top を動かして隠す。 */
.header {
  transition: background .3s, box-shadow .3s, top .45s var(--ease);
}
.header.is-hidden { top: calc(var(--header-h) * -1); }

/* スクロール進捗バー */
.header__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(1,47,38,.08);
}
.header__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

/* 現在地のメニューを強調 */
.gnav__list a {
  position: relative;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.gnav__list a:hover::after,
.gnav__list a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.gnav__list a.is-current { color: var(--green) !important; }

.header__inner {
  position: relative;
  height: 100%;
  /* ロゴは画面の左端、メニューとボタンは右端に寄せる（中央の最大幅で囲まない） */
  width: 100%;
  padding-inline: clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ロゴの社名はロゴ画像に合わせるため、明るくした --deep ではなく従来の濃さを維持 */
.logo { display: flex; align-items: center; gap: 13px; color: #012f26; }

/* ロゴ画像：濃い背景では白版、白背景ではカラー版に切り替える */
.logo__img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.logo__img--white { display: none; }
.logo__img--color { display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__text strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;   /* 「株式会社」で折り返さない */
}
.logo__text small {
  font-family: "Barlow", sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  opacity: .7;
}

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; align-items: center; gap: 22px; }
.gnav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.gnav__cta { display: flex; align-items: center; gap: 10px; }
.gnav__cta .btn { white-space: nowrap; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--deep);
  transition: transform .3s var(--ease), opacity .2s;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   1. ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: -8% 0 0;      /* パララックス移動分の余白 */
  height: 116%;
  will-change: transform;
}
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 緑のデュオトーンは画像ファイル側に焼き込み済み。
     CSSのfilterは描画が重くスマホでカクつくため使わない。 */
  /* ゆっくり寄っていくケンバーンズ効果 */
  animation: kenBurns 22s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.16); }
  to   { transform: scale(1); }
}

/* 上空を横切る光のライン */
.hero__beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__beams span {
  position: absolute;
  left: -30%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,208,245,.75), transparent);
  animation: beam 7s linear infinite;
  opacity: 0;
}
.hero__beams span:nth-child(1) { top: 26%; animation-delay: 1.2s; }
.hero__beams span:nth-child(2) { top: 58%; animation-delay: 3.6s; width: 30%; }
.hero__beams span:nth-child(3) { top: 78%; animation-delay: 5.4s; width: 55%; }
@keyframes beam {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: .9; }
  70%  { opacity: .5; }
  100% { transform: translateX(320%); opacity: 0; }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(1,32,26,.88) 0%, rgba(1,32,26,.6) 48%, rgba(1,32,26,.25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-top: var(--header-h);
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-lt);
  margin-bottom: 22px;
  padding-left: 46px;
  position: relative;
}
.hero__eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 34px; height: 1px; background: var(--gold-lt);
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
/* 1行ずつマスクの下からせり上がる */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(.22, .78, .27, 1);
}
.is-hero-in .hero__title .line > span { transform: none; }
.hero__lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 2;
}
.hero__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,.75);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.7);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 46px;
  margin: 10px auto 0;
  background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- ヒーロー要素の登場（順番にフェードアップ） ---------- */
.hero [data-hero] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
/* タイトル行はマスク演出を使うので位置移動なし */
.hero__title .line[data-hero] { transform: none; }

.is-hero-in .hero [data-hero] { opacity: 1; transform: none; }

.is-hero-in .hero [data-hero="1"] { transition-delay: .05s; }
.is-hero-in .hero [data-hero="2"] { transition-delay: .18s; }
.is-hero-in .hero [data-hero="3"] { transition-delay: .26s; }
.is-hero-in .hero [data-hero="4"] { transition-delay: .55s; }
.is-hero-in .hero [data-hero="5"] { transition-delay: .66s; }
.is-hero-in .hero [data-hero="6"] { transition-delay: .78s; }
.is-hero-in .hero [data-hero="7"] { transition-delay: .95s; }

/* タイトル行のマスク演出にも同じ間合いを与える */
.is-hero-in .hero__title .line:nth-child(1) > span { transition-delay: .18s; }
.is-hero-in .hero__title .line:nth-child(2) > span { transition-delay: .30s; }

/* =========================================================
   2. 会社紹介
   ========================================================= */
.section--about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(0, 5.2fr);
  gap: clamp(32px, 4vw, 64px);
}
/* 「現場で使えるデータを、」が途中で折り返さない大きさに抑える */
.about__head .heading {
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.45;
  letter-spacing: .01em;
}
.about__body p + p { margin-top: 22px; }
.about__body p { color: var(--text-2); }
.about__points {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.about__points li {
  flex: 1 1 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg-soft);
}
.about__points strong {
  display: block;
  font-size: 17px;
  color: var(--deep);
  margin-bottom: 4px;
}

/* =========================================================
   実績・事例
   ========================================================= */
.section--works {
  background: var(--deep);
  color: #fff;
  background-image:
    radial-gradient(900px 420px at 12% -10%, rgba(13,83,70,.5), transparent 70%),
    radial-gradient(700px 380px at 92% 108%, rgba(201,166,0,.16), transparent 70%);
}

.works__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.chip {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--deep); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}

.work {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: #fff;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.work:hover {
  transform: translateY(-6px);
  border-color: rgba(227,196,83,.65);
  background: rgba(255,255,255,.07);
}
.work__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-2), var(--deep-3));
}
.work__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.work:hover .work__thumb img { transform: scale(1.06); }

/* 素材未設定時のプレースホルダー */
.work__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  letter-spacing: .1em;
  text-align: center;
  padding: 20px;
}

.work__badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(1,47,38,.72);
  backdrop-filter: blur(4px);
  font-size: 11px;
  letter-spacing: .06em;
}
.work__badge--movie { background: rgba(201,166,0,.92); }

.work__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.work__play span {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background .3s;
}
.work__play span::before {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 17px solid var(--deep);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.work:hover .work__play span { transform: scale(1.1); background: #fff; }

.work__body { padding: 20px 22px 24px; }
.work__cat {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-lt);
  margin-bottom: 8px;
}
.work__title { font-size: 17px; font-weight: 700; line-height: 1.6; }
.work__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.68);
}
.work__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.work__tags li {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.75);
}

.works__note {
  margin-top: 36px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
}

/* モーダル */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,26,21,.9);
  backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  width: min(100%, 1000px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #06342a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #fff;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 3;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(1,47,38,.7);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.modal__close:hover { background: var(--green); }
.modal__media { background: #000; }
.modal__media video,
.modal__media img { width: 100%; max-height: 68vh; object-fit: contain; }
.modal__media .placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  line-height: 2;
}
.modal__info { padding: 24px 28px 30px; }
.modal__cat { font-size: 12px; letter-spacing: .1em; color: var(--gold-lt); }
.modal__title { margin-top: 8px; font-size: 22px; font-weight: 700; }
.modal__desc { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); }

/* =========================================================
   3. サービス
   ========================================================= */
.section--service { background: var(--bg-soft); }
.service__list { display: flex; flex-direction: column; gap: 28px; }
.service {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 2px 24px rgba(1,47,38,.05);
  border: 1px solid var(--line);
}
.service__num {
  font-family: "Barlow", sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--green);
}
.service__title {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
}
.service__catch {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}
.service__text { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.service__uses {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.service__uses h3,
.service__uses h4 {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--deep);
  margin-bottom: 12px;
}
.service__uses ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px 20px;
}
.service__uses li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}
.service__uses li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.service__phrase {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--deep);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.7;
}
.service__caution {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.9;
}

/* =========================================================
   4. 選ばれる理由
   ========================================================= */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.reason__card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 12px;
  padding: 32px 30px 34px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.reason__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(1,47,38,.08);
}
.reason__num {
  font-family: "Barlow", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  opacity: .35;
}
.reason__card h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
.reason__card p:not(.reason__num) {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}
.reason__note { font-size: 12px !important; opacity: .85; }

/* =========================================================
   5. 課題
   ========================================================= */
.section--problem {
  background: var(--deep-2);
  color: #fff;
  background-image: radial-gradient(800px 400px at 80% 0%, rgba(13,83,70,.45), transparent 70%);
}
.problem__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 12px;
}
.problem__list li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}
.problem__list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px; height: 16px;
  border-right: 2.5px solid var(--gold-lt);
  border-bottom: 2.5px solid var(--gold-lt);
  margin-top: -3px;
}
.problem__closing {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2.1;
  color: rgba(255,255,255,.9);
}

/* =========================================================
   6. 納品物
   ========================================================= */
.section--deliverables { background: var(--bg-soft); }
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.deliverables__card {
  background: #fff;
  border-radius: 12px;
  padding: 34px 32px 38px;
  border: 1px solid var(--line);
}
.deliverables__card h3 {
  font-size: 19px;
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.deliverables__card li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.2;
}
.deliverables__card li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 12px; height: 1px;
  background: var(--green);
}
.deliverables__note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-2);
}

/* =========================================================
   7. ご依頼の流れ
   ========================================================= */
.flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow__item {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.flow__step {
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #fff;
  background: var(--deep);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
}
.flow__item h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}
.flow__item p:not(.flow__step) {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

/* =========================================================
   8. 料金
   ========================================================= */
.section--price { background: var(--bg); }
.price__box {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.price__head p { margin-top: 18px; color: var(--text-2); font-size: 15px; }
.price__items {
  background: #fff;
  border-radius: 12px;
  padding: 30px 30px 34px;
  border: 1px solid var(--line);
}
.price__items h3 {
  font-size: 15px;
  letter-spacing: .06em;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price__items li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2.1;
}
.price__items li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.price__cta {
  margin: 22px 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--deep);
  text-align: center;
}

/* =========================================================
   9. FAQ
   ========================================================= */
.section--faq { background: var(--bg-soft); }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 62px 22px 58px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q";
  position: absolute;
  left: 24px; top: 21px;
  font-family: "Barlow", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 28px; top: 30px;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq__answer {
  padding: 0 30px 26px 58px;
  position: relative;
}
.faq__answer::before {
  content: "A";
  position: absolute;
  left: 24px; top: 0;
  font-family: "Barlow", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-dk);
}
.faq__answer p { font-size: 15px; color: var(--text-2); }

/* =========================================================
   10. お問い合わせ
   ========================================================= */
/* 緑が続いてくどくならないよう、本文側は明るい背景にする */
.section--contact {
  background: var(--bg-soft);
  color: var(--text);
}
.section--contact .heading--light { color: var(--text); }
.section--contact .label--light { color: var(--green); }
.section--contact .label--light span { color: var(--text-2); }
.section--contact .section__lead { color: var(--text-2); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.contact__direct {
  background: var(--deep);
  color: #fff;
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 40px);
}
.contact__direct h3 {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--gold-lt);
  margin-bottom: 8px;
}
.contact__direct h3 + * { margin-bottom: 6px; }
.contact__tel {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: .02em;
}
.contact__hours { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 34px !important; }
.contact__mail { font-size: 18px; font-weight: 500; word-break: break-all; }
.contact__addr {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 2;
}

/* フォームは白いカードにして、入力欄を読みやすくする */
.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 20px 50px rgba(1,47,38,.2);
  color: var(--text);
}
.field { margin-bottom: 20px; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green);
}
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background: #fdeceb;
  color: #b23227;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #c9d6d0;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #90a29b; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,76,63,.12);
}
.field input.is-error,
.field textarea.is-error { border-color: #e05b4a; }
.field select option { color: #111; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 22px;
  cursor: pointer;
  color: var(--text);
}
.check input { width: 18px; height: 18px; accent-color: var(--green); }

.form__status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  min-height: 1.8em;
}
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: var(--green); font-weight: 700; }

/* =========================================================
   下層ページの見出し帯
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(38px, 4.6vw, 66px)) 0 clamp(36px, 4.4vw, 58px);
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: .32;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9,60,49,.88) 10%, rgba(9,60,49,.5) 100%),
    radial-gradient(700px 340px at 88% 110%, rgba(24,95,80,.55), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 2; }

.page-hero__en {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--gold-lt);
  margin-bottom: 10px;
  opacity: 0;
  animation: phUp .8s var(--ease) .15s forwards;
}
.page-hero__title {
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  animation: phUp .9s var(--ease) .25s forwards;
}
.page-hero__lead {
  margin-top: 13px;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.95;
  color: rgba(255,255,255,.76);
  max-width: 720px;
  opacity: 0;
  animation: phUp .9s var(--ease) .4s forwards;
}
@keyframes phUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* パンくず */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  color: var(--text-2);
}
.breadcrumb li:not(:last-child)::after {
  content: "／";
  margin-left: 8px;
  opacity: .5;
}
.breadcrumb a:hover { color: var(--green); }

/* =========================================================
   トップページ：サービス概要カード
   ========================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.svc-card {
  display: block;
  position: relative;
  padding: 34px 30px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover {
  opacity: 1;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(1,47,38,.12);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card__num {
  font-family: "Barlow", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--green);
}
.svc-card__title {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
}
.svc-card__text {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.95;
}
.svc-card__more {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-card__more::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.svc-card:hover .svc-card__more::after { width: 30px; }

/* セクション下の「もっと見る」ボタン */
.section__more {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}

/* =========================================================
   CTA帯
   ========================================================= */
.cta-band {
  position: relative;
  padding: clamp(70px, 8vw, 112px) 0;
  background: var(--bg);
}
/* 前後のセクションと切り離して見せるため、濃い色のカードとして置く */
.cta-band__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(46px, 6vw, 80px) clamp(26px, 5vw, 72px);
  border-radius: 18px;
  background: var(--deep);
  color: #fff;
  background-image:
    radial-gradient(760px 380px at 12% -20%, rgba(13,83,70,.55), transparent 68%),
    radial-gradient(600px 320px at 92% 120%, rgba(201,166,0,.2), transparent 70%);
  box-shadow: 0 24px 60px rgba(1,47,38,.16);
}
.cta-band__title {
  font-size: clamp(23px, 3.1vw, 36px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .02em;
}
.cta-band__text {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 15px;
  color: rgba(255,255,255,.76);
  line-height: 2.1;
}
.cta-band__actions {
  margin-top: clamp(32px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cta-band__text strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}
.cta-band__actions .btn { min-width: 244px; }

/* =========================================================
   会社概要ページ
   ========================================================= */
.profile__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.profile__table th,
.profile__table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
  vertical-align: top;
  line-height: 1.9;
}
.profile__table th {
  width: 220px;
  font-weight: 700;
  color: var(--deep);
  background: var(--bg-soft);
}
.profile__table td { color: var(--text-2); }

.spec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.spec__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 28px 34px;
}
.spec__card h3 {
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.spec__card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2.1;
}
.spec__card li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 1px;
  background: var(--green);
}
.spec__note {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--text-2);
}

/* =========================================================
   フッター
   ========================================================= */
.footer {
  background: #07332a;
  color: rgba(255,255,255,.8);
  padding: 68px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer__name { font-size: 21px; font-weight: 700; color: #fff; }
.footer__catch { margin-top: 8px; font-size: 14px; color: var(--gold-lt); }
.footer__addr { margin-top: 22px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.6); }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.footer__nav h4 {
  font-size: 13px;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 14px;
}
.footer__nav li { font-size: 13px; line-height: 2.2; color: rgba(255,255,255,.6); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
}
.copyright {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
}

/* =========================================================
   追従CTA（スマホのみ）
   ========================================================= */
.fixed-cta { display: none; }

/* =========================================================
   スクロールアニメーション
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  /* opacity と transform だけを動かす（GPUで処理され、カクつきにくい） */
  transition:
    opacity  .9s var(--ease),
    transform 1s  var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 左右から差し込むバリエーション */
.reveal--left  { transform: translate(-42px, 16px); }
.reveal--right { transform: translate( 42px, 16px); }

/* 拡大しながら現れるカード */
.reveal--zoom { transform: translateY(30px) scale(.965); }

/* 見出しはマスクで下からせり上がる
   ※ clip-path を監視対象そのものに掛けると、面積ゼロと判定されて
     IntersectionObserver が発火しなくなるため、必ず子要素側に掛ける */
.reveal--mask {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
.reveal--mask > * {
  clip-path: inset(0 0 105% 0);
  transition: clip-path 1s cubic-bezier(.22, .78, .27, 1);
}
.reveal--mask.is-visible > * {
  clip-path: inset(-.2em -.6em -.25em -.6em);
}
.reveal--mask.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal--mask.is-visible > *:nth-child(3) { transition-delay: .22s; }

/* JSが付与する連続表示のずらし */
.reveal { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal--mask > * { clip-path: none; transition: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__media { inset: 0; height: 100%; }
  .hero__media img { animation: none; }

  .hero__beams,
  .hero__scroll::after,
  .loader__mark { animation: none; }

  .loader { display: none; }
  .wipe { display: none; }

  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .gnav__list { gap: 16px; }
  .gnav__list a { font-size: 13px; }
  .gnav__cta .btn--ghost { display: none; }
}

@media (max-width: 1024px) {
  .about__grid,
  .price__box,
  .contact__grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .sp-only { display: inline; }
  .container, .container--narrow { width: calc(100% - 40px); }

  .hamburger { display: block; }

  .gnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 20px) 28px 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(1,47,38,.15);
  }
  .gnav.is-open { transform: none; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list li { border-bottom: 1px solid var(--line); }
  .gnav__list a,
  .header.is-scrolled .gnav__list a {
    display: block;
    padding: 16px 4px;
    color: var(--text);
    font-size: 15px;
  }
  .gnav__cta { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .gnav__cta .btn { width: 100%; }
  /* ヘッダー未スクロール時の白文字指定を上書きする
     （メニューは白背景なので、そのままだと文字が見えなくなる） */
  .header .gnav__cta .btn--ghost {
    display: inline-flex;
    border-color: var(--line);
    color: var(--text);
  }

  /* ファーストビューを1画面に収める
     （下部の追従CTAぶんの余白を確保したうえで中央に配置） */
  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 16px) 0 76px;
    align-items: center;
  }
  .hero__inner { padding-top: 0; }   /* .hero 側で確保済み */
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }

  .field--half { grid-template-columns: 1fr; }

  .footer { padding-bottom: 76px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  /* 「サービス」と「サイトマップ」は2列のまま並べて縦を短く */
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__nav li { line-height: 2; font-size: 12.5px; }

  /* 社名が2行に折り返さないよう、ロゴまわりを少し詰める */
  .logo { gap: 9px; }
  .logo__img { height: 36px; }
  .logo__text strong { font-size: 15px; letter-spacing: .02em; }
  .logo__text small { font-size: 9px; letter-spacing: .12em; }

  .fixed-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: #fff;
    box-shadow: 0 -2px 18px rgba(1,47,38,.14);
  }
  .fixed-cta a {
    padding: 15px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
  }
  .fixed-cta__tel { color: var(--deep); border-right: 1px solid var(--line); }
  .fixed-cta__form { background: var(--gold); color: var(--deep); }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  /* 会社情報は項目名が幅を取りすぎるため、縦に積んで本文を広く使う */
  .profile__table,
  .profile__table tbody,
  .profile__table tr,
  .profile__table th,
  .profile__table td { display: block; width: 100%; }
  .profile__table { border-top: none; }
  .profile__table tr { border-bottom: 1px solid var(--line); padding: 6px 0 14px; }
  .profile__table th {
    padding: 10px 12px;
    border-bottom: none;
    border-radius: 6px;
    font-size: 13px;
  }
  .profile__table td {
    padding: 10px 12px 0;
    border-bottom: none;
    font-size: 14.5px;
  }

  /* 見出しが「ご覧くださ」「い。」のように途中で切れないよう、
     画面幅に追従させて1行に収める */
  .heading { font-size: clamp(18px, 5.2vw, 26px); line-height: 1.6; letter-spacing: 0; }

  /* ファーストビューを1画面に収めるための圧縮
     （「る。」だけが次行に落ちないよう画面幅にも追従させる） */
  .hero__eyebrow {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 32px;
  }
  .hero__eyebrow::before { width: 22px; }
  .hero__title { font-size: clamp(26px, 7.6vw, 36px); line-height: 1.28; }
  .hero__lead  { margin-top: 16px; font-size: 14px; line-height: 1.85; }
  .hero__note  { margin-top: 10px; font-size: 12px; line-height: 1.8; }
  .hero__actions { margin-top: 30px; gap: 13px; }
  .hero__actions .btn--lg { padding: 16px 22px; font-size: 15px; }
  .works__grid { grid-template-columns: 1fr; }
  .service__uses ul { grid-template-columns: 1fr; }
  .faq__item summary { padding: 18px 48px 18px 50px; font-size: 15px; }
  .faq__answer { padding: 0 22px 22px 50px; }
  .modal { padding: 0; }
  .modal__box { max-height: 100vh; border-radius: 0; height: 100%; }
}

/* =========================================================
   お問い合わせ送信完了（/contact/thanks/）
   ========================================================= */
.thanks { max-width: 720px; margin: 0 auto; text-align: center; }
.thanks .label { justify-content: center; }
.thanks__text { margin: 28px 0 0; color: var(--text); font-size: 16px; line-height: 2; }
.thanks__text strong { color: var(--green); }
.thanks__note {
  margin: 36px 0 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}
.thanks__note p { margin: 0; }
.thanks__contact { margin-top: 8px !important; color: var(--text); }
.thanks__contact a { color: var(--green); font-weight: 700; }
@media (max-width: 600px) {
  .thanks__text { font-size: 15px; text-align: left; }
  .thanks__text br { display: none; }
  .thanks__note { padding: 20px; text-align: left; }
}
