@charset "UTF-8";
/* =========================================================
   菱和テクノサービス コーポレートサイト
   共通スタイルシート
   仕様書 4章「デザイン方針」準拠
   ========================================================= */

/* ---------------------------------------------------------
   1. 変数
   --------------------------------------------------------- */
:root {
  /* ブランドカラー ※ロゴデータ(ryowa_logo_RGB.svg)からの実測値 */
  --navy:        #003986;  /* RYOWAロゴの濃紺 */
  --navy-dark:   #002a63;
  --navy-light:  #1b56a8;
  --red:         #e4002b;  /* アクセント。点で使う */
  --logo-red:    #ff5757;  /* ロゴ内の赤。ロゴ以外では使わない */

  --black:       #1a1a1a;  /* 本文 */
  --gray-900:    #333333;
  --gray-600:    #6b6b6b;
  --gray-400:    #a8a8a8;
  --gray-200:    #e2e2e2;
  --gray-100:    #ededed;
  --gray:        #f5f5f5;  /* 背景の面 */
  --white:       #ffffff;

  /* レイアウト */
  --wrap:        1200px;
  --wrap-narrow: 880px;
  --sec-pad:     120px;    /* セクション間の縦余白(デスクトップ) */
  --header-h:    88px;

  /* タイポ */
  --font-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-en:    "Inter", "Noto Sans JP", sans-serif;
  --font-num:   "Oswald", "Inter", sans-serif;   /* 数字専用 */
}

/* ---------------------------------------------------------
   2. リセット / ベース
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .7; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

/* 商標表示。装飾ではないので色を継承する(仕様書 7.5) */
.rm { font-size: .5em; vertical-align: super; line-height: 0; color: inherit; }

/* ---------------------------------------------------------
   3. レイアウト部品
   --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec-pad); }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a { color: var(--white); }
.section--tight { padding-block: 80px; }

/* セクション見出し(バイリンガル階層) */
.sec-head { margin-bottom: 56px; }
.sec-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.sec-head__ja {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}
.sec-head__lead { margin-top: 20px; color: var(--gray-900); max-width: 880px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.section--navy .sec-head__en { color: rgba(255,255,255,.72); }
.section--navy .sec-head__lead { color: rgba(255,255,255,.86); }
.section--navy .video-cap { color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------
   4. ボタン
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { opacity: 1; background: var(--navy); color: var(--white); }
.btn::after { content: "→"; font-family: var(--font-en); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--ghost { border-color: rgba(255,255,255,.5); background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--lg { min-height: 64px; padding: 0 44px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ラベル(赤は点で使う) */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.8;
}
.tag--red   { background: var(--red);  color: var(--white); }
.tag--navy  { background: var(--navy); color: var(--white); }
.tag--line  { border: 1px solid var(--gray-400); color: var(--gray-600); }

/* ---------------------------------------------------------
   5. ヘッダー
   --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}
.header__brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header__brand:hover { opacity: 1; }
.header__logo { width: 96px; height: auto; }
.header__name {
  padding-left: 14px;
  border-left: 1px solid var(--gray-200);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  color: var(--navy);
  white-space: nowrap;
}
.gnav { margin-left: auto; }
.gnav__foot { display: none; }
.gnav__list { display: flex; align-items: center; gap: 26px; }
.gnav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  padding-block: 6px;
  white-space: nowrap;
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform .25s;
}
.gnav__link:hover { opacity: 1; }
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__tel { display: block; line-height: 1.25; }
.header__tel:hover { opacity: 1; }
.header__tel-num {
  display: block;
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.header__tel-note { display: block; font-size: 10px; color: var(--gray-600); }
.header__contact {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
}
.header__contact:hover { opacity: 1; background: var(--navy-dark); }

/* ハンバーガー */
.burger {
  display: none;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  margin: 6px auto;
  background: var(--black);
  transition: transform .3s, opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------------------------------------------------
   6. ヒーロー(トップ)
   全面に映像を敷き、その上にキャッチを重ねる
   --------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* 横長モニタで上下が切れすぎないよう、幅からも高さを取る(16:9に近づける)。
     画面高さは超えない。狭い画面では従来どおり 560px を下限にする */
  min-height: max(560px, min(calc(100svh - var(--header-h)), 54vw));
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* 架台とパネルは映像の下端にある。上下が切れるときは必ず「下」を残す
     (中央寄せにすると製品が消え、ただの風景になる) */
  object-position: center bottom;
  filter: saturate(1.45) contrast(1.06) brightness(.94);  /* 彩度を上げて発色を保ちつつ、全体をわずかに沈める */
}
.hero__media video { z-index: 1; }
/* ループ直前・直後の白フェード中は、暗いグレーディングを外して白く抜けさせる
   (外さないと、白いコマがオーバーレイでグレーに沈む) */
.hero__media img,
.hero__media video { transition: filter .4s linear; }
/* 末尾のホワイトアウト用レイヤー。映像そのものにはフェードを焼いていない */
.hero__wash {
  position: absolute; inset: 0; z-index: 3;
  background: #fff; opacity: 0; pointer-events: none;
}
/* 文字の可読性を確保するオーバーレイ。映像の明度が変わっても白文字が飛ばないようにする */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  /* 全面を暗くせず、文字が乗る範囲だけ落として映像の色を残す */
  /* 文字の背後に黒を敷かない。映像の発色を活かし、可読性は文字側の影で確保する */
  transition: opacity .4s linear;
  background:
    /* 文字の後ろだけを黒くせず、全面に均一なグレーディングをかける */
    linear-gradient(180deg, rgba(0,10,28,.30) 0%, rgba(0,10,28,.26) 40%, rgba(0,10,28,.30) 74%, rgba(0,10,28,.42) 100%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 24px 40px;
  text-align: right;
}
.hero__copy-inner { display: inline-block; text-align: left; }
/* 理念の一行。キャッチと同じ明朝で、製品名(ゴシック)と声色を変える */
.hero__lead {
  margin-top: 34px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.1vw, 24px);
  font-weight: 400;
  letter-spacing: .12em;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 2px rgba(0,10,28,.7), 0 1px 10px rgba(0,10,28,.6), 0 0 30px rgba(0,10,28,.45);
}
/* 創業からの年数。理念の一行に添える小さな署名として置く */
.hero__since {
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  text-shadow: 0 1px 2px rgba(0,10,28,.7), 0 1px 10px rgba(0,10,28,.5);
}
.hero__since::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  margin-right: 12px; vertical-align: middle;
  background: rgba(255,255,255,.5);
}
.hero__catch {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7.6vw, 92px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: .12em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,10,28,.55), 0 2px 12px rgba(0,10,28,.55), 0 0 44px rgba(0,10,28,.40);
  /* 末尾の「。」は字面の右に余白を持つため、その分ぶら下げてサブコピーと右端を揃える
     (字間 .12em + 句点の右アキ約 .62em) */
  margin-right: -.74em;
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 2px rgba(0,10,28,.7), 0 1px 10px rgba(0,10,28,.6), 0 0 30px rgba(0,10,28,.45);
}
.hero__badges {
  position: absolute;
  z-index: 3;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; max-width: var(--wrap);
  padding: 0 24px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 20px;
}
/* バッジ群の頭に置く製品名。ここから数字が並ぶ */
.hero__badges-head {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.38);
  text-shadow: 0 1px 2px rgba(0,10,28,.85), 0 1px 8px rgba(0,10,28,.7), 0 0 24px rgba(0,10,28,.5);
}
.hero__badge {
  position: relative;
  color: rgba(255,255,255,.94);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: 0 1px 2px rgba(0,10,28,.85), 0 1px 8px rgba(0,10,28,.7), 0 0 24px rgba(0,10,28,.5);
}
/* 数字を持たないバッジ。四角の罫で囲って数字バッジと見分ける */
.hero__badge--box {
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.55);
  font-size: 11.5px;
}
/* バッジに添える極小の注記(出典・条件)。
   数字の下にぶら下げる。位置を絶対指定にして、行の並びは崩さない */
.bnote {
  position: absolute;
  right: 0; top: 100%;
  margin-top: -1px;
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: .02em;
  opacity: .6;
  white-space: nowrap;
}
.hero__badge b {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  margin-right: 5px;
  font-variant-numeric: tabular-nums;
}

/* スクロールサイン(モバイルのみ。バッジを外に出した位置に出す) */
.hero__scroll { display: none; }
@keyframes heroScrollLine {
  0%   { transform: translateY(0);    opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(92px); opacity: 0; }
}

/* ---------------------------------------------------------
   7. 下層ページヘッダー
   --------------------------------------------------------- */
.page-head {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.page-head__bg {
  position: absolute; inset: 0;
  opacity: .32;
}
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head__inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 88px 24px 72px;
}
.page-head__en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.page-head__ja {
  margin-top: 14px;
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
}
.page-head__lead { margin-top: 20px; max-width: 680px; color: rgba(255,255,255,.9); font-size: 15px; }

/* パンくず */
.crumbs { border-bottom: 1px solid var(--gray-200); }
.crumbs__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px 24px;
  font-size: 12px;
  color: var(--gray-600);
}
.crumbs__list li + li::before { content: "／"; margin-right: 8px; color: var(--gray-400); }
.crumbs a { color: var(--gray-600); }

/* ---------------------------------------------------------
   8. イントロ(文字のみ・余白大)
   --------------------------------------------------------- */
/* モバイルでだけ効かせる改行 */
.br-sp { display: none; }
/* PCでだけ効かせる改行 */
.br-pc { display: inline; }

.intro { text-align: center; }
.intro__title {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.3vw, 35px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--navy);
}
.intro__body {
  margin-top: 32px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.4;
  color: var(--gray-900);
}

/* ---------------------------------------------------------
   9. 製品(1つ大 + 2つ小)
   --------------------------------------------------------- */
.products { display: grid; gap: 24px; }
.products__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.prod {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray);
  border-radius: 2px;
  color: var(--black);
}
.prod:hover { opacity: 1; }
.prod__media { position: relative; overflow: hidden; background: var(--gray-100); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod:hover .prod__media img { transform: scale(1.04); }
.prod--main .prod__media { aspect-ratio: 21 / 8; }
/* 21:8 に切り抜くと写真の上下が落ちる。下寄りだが、上の空も少し見せる位置に */
.prod--main .prod__media img { object-position: 50% 72%; }
.prod--sub .prod__media { aspect-ratio: 16 / 10; }
.prod__body { padding: 32px 28px 36px; background: var(--white); border: 1px solid var(--gray-200); border-top: 0; }
.prod--main .prod__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: center; padding: 40px 40px 44px; }
.prod--main .prod__catch { margin-top: 0; }   /* サブカード(未来ハウス等)と同じ 16px に揃える */
.prod__en {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
}
.prod__name {
  margin-top: 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
}
.prod__catch { margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--navy); }
.prod__text { margin-top: 10px; font-size: 14px; color: var(--gray-900); line-height: 2; }
.prod__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--navy);
}
.prod__more::after { content: "→"; font-family: var(--font-en); }

/* 写真未手配のプレースホルダ(レイアウトを崩さないため常に面で埋める) */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(-45deg, #f0f2f5 0 10px, #e9ecf1 10px 20px);
  color: var(--gray-400);
  font-size: 11px;
  letter-spacing: .18em;
  text-align: center;
}
.ph--dark {
  background: repeating-linear-gradient(-45deg, #10254a 0 10px, #0d1f3f 10px 20px);
  color: rgba(255,255,255,.45);
}

/* ---------------------------------------------------------
   10. 特徴リスト
   --------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.features--2col { grid-template-columns: repeat(2, 1fr); }
.feature { background: var(--white); padding: 36px 28px 40px; }
/* アイコン定義(グラデーションとシンボル)。描画はしない */
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.feature__head { display: flex; align-items: center; gap: 12px; }
.feature__icon {
  flex: none;
  width: 30px; height: 30px;
  fill: none;
  stroke: url(#featGrad);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature__no {
  font-family: var(--font-num);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em;
  color: var(--navy);
}
.feature__title {
  margin-top: 12px;
  font-size: 18px; font-weight: 700; line-height: 1.6;
  letter-spacing: .02em;
}
.feature__text { margin-top: 14px; font-size: 14px; line-height: 2; color: var(--gray-900); }

/* ---------------------------------------------------------
   11. 数字で見る
   --------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 36px 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2px;
  display: flex; flex-direction: column;
}
.stat__label {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.stat__num {
  margin-top: 14px;
  font-family: var(--font-num);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat__num span { font-size: .42em; font-weight: 500; margin-left: 4px; letter-spacing: .04em; }

/* 「約」は数字本体より小さく添える(単位と同じ扱い) */
.approx {
  font-family: var(--font-sans);
  font-size: .5em;
  font-weight: 500;
  letter-spacing: .04em;
  margin-right: .14em;
}
.stat__num .approx { font-size: .34em; margin-left: 0; margin-right: 5px; }
.stat__note { margin-top: auto; padding-top: 16px; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.75); }

/* 風速は実験値と計算値を書き分ける(仕様書 5.7) */
.wind {
  margin-top: 20px;
  padding: 28px 32px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  /* 数字と本文を横並びにすると、カウントアップで数字の幅が変わるたびに
     本文の折り返しが動いてしまう。縦積みにして互いに影響させない */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 0;
  align-items: start;
}
.wind__num {
  font-family: var(--font-num);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wind__num span { font-size: .38em; font-weight: 500; margin-left: 4px; }
.wind__body { font-size: 13px; line-height: 1.95; color: rgba(255,255,255,.86); }
.wind__body b { font-weight: 700; color: var(--white); }
.wind__foot {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 11.5px;
  color: rgba(255,255,255,.62);
  line-height: 1.9;
}

/* ---------------------------------------------------------
   12. テーブル
   --------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* モバイルは1行=1カードに積み替えるため、表に最低幅は持たせない
   (狭いカラムに置いた表が PC で横スクロールしてしまうのを防ぐ) */
/* 表中の補足かっこは一回り小さく、主文と差をつける */
.paren { font-size: .86em; opacity: .82; }
.tbl { min-width: 0; width: 100%; font-size: 14px; table-layout: fixed; }
.tbl th, .tbl td { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; line-height: 1.9; }
.tbl thead th { background: var(--navy); color: var(--white); font-weight: 700; letter-spacing: .04em; border-bottom: 0; }
.tbl tbody th { width: 26%; font-weight: 500; color: var(--gray-900); background: var(--gray); }
.tbl .is-ryowa { color: var(--navy); font-weight: 700; background: rgba(0,57,134,.045); }
.tbl tbody tr:hover td { background: rgba(0,57,134,.02); }
/* 2カラム・3カラムの中に置いた表は文字と余白を詰める */
.cols2 .tbl th, .cols2 .tbl td,
.cols2--media .tbl th, .cols2--media .tbl td,
.cards3 .tbl th, .cards3 .tbl td { padding: 12px 14px; font-size: 13px; line-height: 1.8; }
.cols2 .tbl, .cols2--media .tbl, .cards3 .tbl { word-break: normal; overflow-wrap: anywhere; }
/* 表の上に置く小見出し */
.tbl-head {
  margin-bottom: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  color: var(--navy);
}
.tbl-note { margin-top: 14px; font-size: 12px; color: var(--gray-600); line-height: 1.9; }

/* 定義リスト(会社概要など) */
.deflist { border-top: 1px solid var(--gray-200); }
.deflist__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--gray-200); }
.deflist__row > dt { padding: 20px 24px; background: var(--gray); font-weight: 500; font-size: 14px; }
.deflist__row > dd { padding: 20px 24px; font-size: 15px; line-height: 2; }

/* ---------------------------------------------------------
   13. ステップ(施工の流れ / 導入の流れ)
   --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step {
  padding: 28px 24px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy);
  border-radius: 2px;
}
.step__no {
  font-family: var(--font-num);
  font-size: 28px; font-weight: 700; line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.step__title { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.step__text { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: var(--gray-900); }

/* 縦並びの詳細ステップ */
.flowlist { border-top: 1px solid var(--gray-200); }
.flowitem { display: grid; grid-template-columns: 96px 1fr; gap: 0 28px; padding: 32px 0; border-bottom: 1px solid var(--gray-200); }
.flowitem__no {
  font-family: var(--font-num);
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--navy);
  padding-top: 6px;
}
.flowitem__title { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.flowitem__text { margin-top: 12px; font-size: 14.5px; line-height: 2.05; color: var(--gray-900); }

/* 施工工程(写真付き) */
.flowsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
.flowstep { margin: 0; }
.flowstep__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); border-radius: 2px; }
.flowstep__media img { width: 100%; height: 100%; object-fit: cover; }
.flowstep__cap { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.flowstep__no {
  font-family: var(--font-num);
  font-size: 13px; font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.flowstep__name { font-size: 13.5px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; }

/* 対応する屋根の写真(設置可否) */
.roofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.roof { margin: 0; }
.roof__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-100); border-radius: 2px; }
.roof__media img { width: 100%; height: 100%; object-fit: cover; }
.roof__cap { margin-top: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; }
/* 設置できる屋根にはチェック、できない条件には×。ぱっと見で可否が分かるように。
   チェックは字形依存を避けるため、罫線で描く */
.roofs .roof__cap { display: flex; align-items: center; gap: 10px; }
.roofs .roof__cap::before {
  content: "";
  flex: none;
  width: 6px; height: 11px;
  margin-top: -3px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}

/* 設置できない条件 */
.nglist { display: grid; gap: 12px; }
.ngitem {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0 14px;
  align-items: start;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--red);
  border-radius: 2px;
}
.ngitem__mark {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(228,0,43,.10);
  color: var(--red);
  font-size: 14px; font-weight: 700; line-height: 1;
}
.ngitem__title { font-size: 16px; font-weight: 700; letter-spacing: .02em; line-height: 1.6; }
.ngitem__note { margin-top: 6px; font-size: 13.5px; line-height: 1.85; color: var(--gray-600); }

/* 12工程チップ */
.procs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.procs--2 { grid-template-columns: repeat(2, 1fr); }
.procs--6 { grid-template-columns: repeat(6, 1fr); }
.procs--6 .proc { padding: 16px 14px; font-size: 13.5px; line-height: 1.7; }
.proc {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-size: 14px; font-weight: 500;
}
.proc__no { font-family: var(--font-num); font-size: 12px; font-weight: 700; color: var(--navy); }

/* ---------------------------------------------------------
   14. 導入事例
   --------------------------------------------------------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { border: 1px solid var(--gray-200); border-radius: 2px; overflow: hidden; background: var(--white); }
.work__media { aspect-ratio: 4 / 3; background: var(--gray-100); overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover .work__media img { transform: scale(1.04); }
.works--photo .work__media { aspect-ratio: 16 / 10; }
/* 写真が2枚のときは2カラムにして、空きマスを作らない */
.works--2 { grid-template-columns: repeat(2, 1fr); }
.work__body { padding: 24px 24px 28px; }
.work__type { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--navy); }
.work__name { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.6; }
/* 見出しとして使うカード(コンテナ架台の特徴)。事例カードのカテゴリ表記より大きく */
.works--titled .work__type { font-size: 16px; letter-spacing: .04em; line-height: 1.6; }
.work__meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-900); line-height: 1.9; }
.work__kw {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--font-num);
  font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.work__kw span { font-size: .42em; font-weight: 500; margin-left: 3px; }

/* カウントアップは数字を span.cnt で包む。単位用の縮小指定が
   その span にも当たってしまうため、cnt だけ元の字送りに戻す */
.stat__num .cnt,
.wind__num .cnt,
.work__kw .cnt,
.card__num .cnt {
  font-size: 1em; font-weight: inherit; margin-left: 0; letter-spacing: inherit;
}

/* ---------------------------------------------------------
   15. お知らせ
   --------------------------------------------------------- */
.news { border-top: 1px solid var(--gray-200); }
.news__item {
  display: grid;
  grid-template-columns: 128px 104px 1fr;
  gap: 0 20px;
  align-items: baseline;
  padding: 24px 4px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--black);
}
.news__item:hover { opacity: 1; background: rgba(0,57,134,.02); }
.news__date {
  font-family: var(--font-num);
  font-size: 14px; font-weight: 500;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.news__cat { justify-self: start; }
.news__title { font-size: 15.5px; font-weight: 500; line-height: 1.8; }

/* トップのお知らせ。イントロと製品のあいだに細い帯として置く。
   主役は製品なので、行を詰めて文字も一段落とす */
.newsband { padding-block: 30px; border-top: 1px solid var(--gray-200); }
.newsband__inner {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 0 32px;
  align-items: center;
}
.newsband__head {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
}
.newsband__head span {
  display: block; margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--black);
}
.newsband__more {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--navy); white-space: nowrap;
}
.newsband__more::after { content: " →"; }
.news--slim { border-top: 0; }
.news--slim .news__item {
  grid-template-columns: 108px 92px 1fr;
  padding: 9px 4px;
  border-bottom: 0;
}
.news--slim .news__item + .news__item { border-top: 1px solid var(--gray-200); }
.news--slim .news__date { font-size: 12.5px; }
.news--slim .news__title { font-size: 14px; line-height: 1.7; color: var(--gray-900); }
.news--slim .news__item:hover .news__title { color: var(--navy); }
.news--slim .tag { font-size: 10px; padding: 2px 8px; }

/* 記事本文 */
.article { font-size: 15.5px; line-height: 2.1; }
.article h3 { margin-top: 48px; margin-bottom: 16px; font-size: 20px; font-weight: 700; border-left: 3px solid var(--navy); padding-left: 16px; }
.article p + p { margin-top: 24px; }
.article ul { margin-top: 16px; }
.article ul li { position: relative; padding-left: 20px; margin-top: 8px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 5px; height: 5px; background: var(--navy); border-radius: 50%; }
/* リスト項目に添える補足。本文より小さく、薄いグレーで */
.li-note { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.9; color: var(--gray-600); }
/* お見積りに必要な情報。項目名と補足を左右に分ける(PCのみ) */
.reqlist__name { display: inline-flex; align-items: center; gap: 10px; }
@media (min-width: 901px) {
  .reqlist li { display: grid; grid-template-columns: 300px 1fr; gap: 0 28px; align-items: baseline; }
  .reqlist .li-note { margin-top: 0; }
}

/* ---------------------------------------------------------
   16. 汎用ブロック
   --------------------------------------------------------- */
.lede { font-size: clamp(17px, 2vw, 21px); font-weight: 500; line-height: 2.1; letter-spacing: .02em; color: var(--navy); }
.body-text { font-size: 15.5px; line-height: 2.15; color: var(--gray-900); }
.body-text + .body-text { margin-top: 26px; }
.note { font-size: 12.5px; line-height: 1.95; color: var(--gray-600); }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; } .mt-80 { margin-top: 80px; }

/* 小見出し */
.subhead {
  /* 英語サブラベルは日本語の下に置く(sec-head と同じ二段構成) */
  display: block;
  margin-bottom: 28px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: .03em;
  border-left: 4px solid var(--navy);
  padding-left: 16px;
  line-height: 1.5;
}
.subhead__en {
  display: block;
  margin-top: 11px;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray-400);
}

/* 引用・注意ブロック */
.callout {
  padding: 28px 32px;
  background: var(--gray);
  border-left: 3px solid var(--navy);
  border-radius: 2px;
  font-size: 14.5px;
  line-height: 2.05;
}
.callout--red { border-left-color: var(--red); }
.callout__title { font-weight: 700; margin-bottom: 10px; font-size: 16px; }

/* カード3枚組 */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 36px 32px 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}
.card__title { font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: .06em; color: var(--navy); }
.card__text { margin-top: 16px; font-size: 14px; line-height: 2.05; color: var(--gray-900); }
/* カード内で数字を主役にする(期間の目安など) */
.card__num {
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.card__num span { font-size: .42em; font-weight: 500; margin-left: 4px; letter-spacing: .04em; }

/* よくある質問。開閉は details/summary の標準機能で行う(JS不要) */
.faq { border-top: 1px solid var(--gray-200); }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__q {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; line-height: 1.7;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q"; flex: none;
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
  color: var(--navy); line-height: 1.9;
}
.faq__q::after {
  content: "+"; margin-left: auto; padding-left: 16px;
  font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--gray-400);
}
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__q:hover { color: var(--navy); }
.faq__a {
  display: flex; gap: 14px;
  padding: 0 4px 26px;
  font-size: 14.5px; line-height: 2.05; color: var(--gray-900);
}
.faq__a::before {
  content: "A"; flex: none;
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
  color: var(--red); line-height: 2;
}

/* 動画 */
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: var(--black); border-radius: 2px; overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin-top: 14px; font-size: 12.5px; color: var(--gray-600); }
.video-cap--done { text-align: center; font-weight: 700; color: var(--black); }

/* 2カラム */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cols2--media { grid-template-columns: 1.05fr .95fr; gap: 64px; }
/* グリッド項目の既定は min-width:auto。中に min-width を持つ表(.tbl)が入ると
   カラムが縮まず、モバイルでページごと横にはみ出すため 0 に落とす */
.cols2 > *, .cols2--media > * { min-width: 0; }

/* ダウンフォース図解 */
.downforce {
  position: relative;
  background: linear-gradient(180deg, #f2f6fb 0%, #e6edf6 100%);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.downforce svg { width: 100%; height: auto; display: block; }
.downforce .video-cap { padding: 0 20px 18px; margin-top: 0; }
.df-flow, .df-rev, .df-down { stroke-dasharray: 13 9; }
.df-flow { animation: dfDash 1.1s linear infinite; }
/* 後面からの風のパスは右→左に引いてあるので、前面と同じ向きの送りで
   矢印(右→左)と破線の流れが一致する */
.df-rev  { animation: dfDash 1.1s linear infinite; }
.df-down { animation: dfDash 1.3s linear infinite; }
@keyframes dfDash { to { stroke-dashoffset: -22; } }
.df-pulse { animation: dfPulse 2s ease-in-out infinite; transform-origin: 630px 90px; }
@keyframes dfPulse { 0%, 100% { opacity: .75; transform: translateY(-4px); } 50% { opacity: 1; transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) {
  .df-flow, .df-rev, .df-down, .df-pulse { animation: none; }
  .hero__scroll-line::after { animation: none; opacity: .8; }
}

/* 工法の比較写真(アンカー打ち / 低重心架台) */
.cmp-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.cmp-photo { margin: 0; }
.cmp-photo__media { aspect-ratio: 875 / 363; overflow: hidden; border-radius: 2px; background: var(--gray-100); border: 1px solid var(--gray-200); }
.cmp-photo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-photo__cap { margin-top: 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--gray-600); }
.cmp-photo__cap--ryowa { color: var(--navy); }

/* 黒 -kuro- (型式RX-96) セクション
   製品名のとおり、この節だけ黒地に反転させる。「黒」はここでしか使わない色 */
.kuro {
  position: relative;
  color: rgba(255,255,255,.92);
  background: #0c0c0c url("/img/kuro-silk.jpg") center center / cover no-repeat;
  background-blend-mode: normal;
}
.kuro::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.70) 0%, rgba(8,8,8,.40) 45%, rgba(8,8,8,.76) 100%);
}
.kuro > * { position: relative; }
.kuro__title { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 36px); font-weight: 500; letter-spacing: .08em; line-height: 1.45; color: var(--white); }
.kuro__type { font-family: var(--font-num); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.48); }
.kuro__catch { font-family: var(--font-serif); font-size: clamp(21px, 2.8vw, 30px); letter-spacing: .08em; color: var(--white); }
.kuro .body-text { color: rgba(255,255,255,.80); }
.kuro .note { color: rgba(255,255,255,.55); }
.kuro .tag--line { border-color: rgba(255,255,255,.34); color: rgba(255,255,255,.72); }
.kuro .card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.14); }
.kuro .card__title { color: var(--white); }
.kuro .card__text { color: rgba(255,255,255,.74); }
.kuro img { box-shadow: 0 18px 48px rgba(0,0,0,.55); }

/* CTA帯 */
.cta { background: var(--navy); color: var(--white); text-align: center; }
.cta__catch { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; letter-spacing: .05em; line-height: 1.5; }
.cta__text { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.86); line-height: 2; }
.cta__tel { margin-top: 40px; }
.cta__tel-num {
  display: inline-block;
  font-family: var(--font-num);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.cta__tel-num:hover { opacity: .8; }
.cta__tel-note { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.7); }

/* フォーム */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field__label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.field__req { font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 3px 8px; background: var(--red); color: var(--white); border-radius: 2px; }
.field__opt { font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 3px 8px; border: 1px solid var(--gray-400); color: var(--gray-600); border-radius: 2px; }
/* 個人のお客様チェック(会社名の必須を外す) */
.field--check { gap: 0; }
.check {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex: none;
  accent-color: var(--navy);
  cursor: pointer;
}
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-400);
  border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23003986' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.9; }
/* 「個人のお客様」チェック時、会社名をグレーアウトする */
.field.is-off .field__label { color: var(--gray-400); }
.field.is-off input {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-200);
  cursor: not-allowed;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,57,134,.12);
}
.field ::placeholder { color: var(--gray-400); }

/* ---------------------------------------------------------
   17. フッター
   --------------------------------------------------------- */
.footer { background: var(--gray); padding-top: 88px; }
.footer__catch {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--navy);
  line-height: 1.45;
}
.footer__catch small { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--gray-900); }
.footer__main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.footer__logo { width: 116px; }
.footer__company { margin-top: 16px; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.footer__addr { margin-top: 16px; font-size: 13px; line-height: 2; color: var(--gray-900); }
.footer__tel { margin-top: 20px; }
.footer__tel-num {
  display: block;
  font-family: var(--font-num);
  font-size: 30px; font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.footer__tel-note { display: block; margin-top: 6px; font-size: 12px; color: var(--gray-600); }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.footer__col-title { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { font-size: 14px; color: var(--gray-900); }
.footer__links .ext { margin-left: 6px; font-size: 11px; color: var(--gray-400); }
.footer__bottom {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  font-size: 11.5px;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer__bottom a { color: var(--gray-600); }

/* ---------------------------------------------------------
   18. レスポンシブ
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .gnav__list { gap: 18px; }
  .gnav__link { font-size: 13px; }
  .header__tel { display: none; }
}

@media (max-width: 900px) {
  :root { --sec-pad: 72px; --header-h: 68px; }

  /* ヘッダー
     backdrop-filter は position:fixed の子要素の包含ブロックを作ってしまい、
     ドロワーが header の高さに収まってしまうため、モバイルでは無効にする */
  .header { backdrop-filter: none; background: var(--white); }
  .header__inner { gap: 16px; }
  .header__logo { width: 84px; }
  .header__name { padding-left: 10px; font-size: 13px; letter-spacing: .04em; }
    .burger { display: block; }
  .header__cta { display: none; }
  /* 画面を覆い切らない右側ドロワー(幅は画面の6割ほど)。
     後ろのページが見えているので、外側をタップして閉じられる */
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(62vw, 320px);
    margin: 0;
    background: var(--white);
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    visibility: hidden;
    box-shadow: -18px 0 44px rgba(0,10,28,.20);
  }
  .gnav.is-open { transform: translateX(0); visibility: visible; z-index: 41; }
  /* ドロワーの外側を覆う受け皿(タップで閉じる) */
  .nav-veil {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(8,16,32,.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 40;
  }
  body.is-navopen .nav-veil { opacity: 1; visibility: visible; }
  .gnav__link { padding-right: 0; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list li { border-bottom: 1px solid var(--gray-200); }
  .gnav__link { display: block; padding: 18px 4px; font-size: 15px; }
  .gnav__link::after { display: none; }
  .gnav__foot { margin-top: 28px; display: grid; gap: 14px; }
  .gnav__foot .btn { justify-content: center; }
  .gnav__foot .header__tel { display: block; text-align: center; }
  body.is-navopen { overflow: hidden; }

  /* グリッドの折り返し */
  .products__sub { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr 1fr; }
  .procs, .procs--2, .procs--6 { grid-template-columns: 1fr 1fr; }
  .flowsteps { grid-template-columns: repeat(3, 1fr); }
  .roofs { grid-template-columns: 1fr 1fr; }
  /* スマホでは写真をトリミングせず、元画像そのままの比率で全体を見せる */
  .prod--main .prod__media { aspect-ratio: 1824 / 791; }
  .prod--main .prod__media img { object-position: 50% 50%; }
  /* お知らせの帯は、見出し→一覧→リンクの縦積みに */
  .newsband__inner { grid-template-columns: 1fr; gap: 16px; }
  .newsband__head span { display: inline; margin-left: 12px; }
  .newsband__more { justify-self: start; }
  .news--slim .news__item { grid-template-columns: 96px 1fr; gap: 0 14px; }
  .news--slim .news__cat { display: none; }
  .prod--main .prod__body { grid-template-columns: 1fr; gap: 14px; align-items: start; padding: 32px 28px 36px; }

  /* 特許証・商標登録証は中央に置く */
  .cert { text-align: center; }
  .cert img { margin-inline: auto; }

  /* 背景テクスチャは左端を見せる(中央だと絵柄が寄って見えないため) */
  .kuro { background-position: left center; }

  /* 表は横スクロールさせず、一覧のまま文字と余白を詰めて収める */
  .tbl { font-size: 11.5px; table-layout: fixed; overflow-wrap: anywhere; }
  .tbl th, .tbl td { padding: 9px 8px; line-height: 1.7; }
  .tbl thead th { font-size: 11px; letter-spacing: .02em; }
  .tbl tbody th { width: 27%; }
  .tbl-note { font-size: 11px; }

  .works { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .cols2, .cols2--media { grid-template-columns: 1fr; gap: 40px; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .deflist__row { grid-template-columns: 1fr; }
  .deflist__row > dt { padding: 14px 16px; }
  .deflist__row > dd { padding: 16px 16px 20px; }

  .hero { min-height: clamp(480px, calc(100svh - var(--header-h)), 720px); }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 72%, rgba(0,0,0,.30) 100%);
  }
  /* モバイルはメインキャッチ・サブキャッチともセンター寄せ。
     キャッチの margin-right(句点の右アキ分)は、中央寄せの光学補正としても効く */
  .hero__copy { padding: 0 24px 64px; text-align: center; }
  /* 中央寄せになるスマホでは、頭の罫線は中心線を崩すので外す */
  .hero__since::before { display: none; }
  .hero__since { letter-spacing: .28em; }
  .hero__copy-inner { text-align: center; }

  /* ヒーロー下端はスクロールサインに譲る */
  .hero.is-scrollhint .hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: rgba(255,255,255,.9);
    text-decoration: none;
  }
  .hero__scroll-label {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,10,28,.75);
  }
  .hero__scroll-line {
    position: relative;
    width: 1px; height: 46px;
    background: rgba(255,255,255,.28);
    overflow: hidden;
  }
  .hero__scroll-line::after {
    content: "";
    position: absolute; left: 0; top: -46px;
    width: 1px; height: 46px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
    animation: heroScrollLine 1.9s cubic-bezier(.4,0,.2,1) infinite;
  }

  /* イントロ下へ移したバッジは、白地に合わせて色を戻す */
  .br-sp { display: inline; }
  .br-pc { display: none; }

  .intro .hero__badges {
    position: static;
    transform: none;
    width: auto; max-width: none;
    padding: 0;
    margin-top: 36px;
    justify-content: center;
    text-align: center;
    gap: 14px 0;
  }
  /* 製品名は見出しとして1行使う */
  .intro .hero__badges-head {
    flex: 0 0 100%;
    margin-bottom: 6px;
    padding-right: 0;
    border-right: 0;
    color: var(--navy);
    font-size: 16px;
    text-shadow: none;
  }
  /* 1項目ずつ改行して中央に。ヒーローから外に出したぶん文字は大きく */
  .intro .hero__badge { flex: 0 0 100%; font-size: 14.5px; }
  .intro .hero__badge b { font-size: 24px; }
  .intro .bnote { position: static; display: block; margin-top: 1px; font-size: 10.5px; opacity: .75; }
  .intro .hero__badge--box { width: fit-content; margin-inline: auto; font-size: 13px; }
  .intro .hero__badge { color: var(--gray-900); text-shadow: none; }
  .intro .hero__badge b { color: var(--navy); }
  .intro .hero__badge--box { border-color: var(--gray-400); color: var(--gray-600); }
  .wind { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .flowitem { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .news__item { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .news__cat { margin-block: 2px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .features { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .cmp-photos { grid-template-columns: 1fr; gap: 20px; }
  .procs, .procs--2, .procs--6 { grid-template-columns: 1fr; }
  .flowsteps { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .roofs { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .flowstep__name { font-size: 12.5px; }
  .stats { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; padding-inline: 20px; }
  .btn-row { flex-direction: column; }
  .hero__badges { gap: 6px 18px; }
  .hero__badge { font-size: 11.5px; }
  .hero__badge b { font-size: 16px; }
  .callout { padding: 22px 20px; }
  .card { padding: 28px 24px 32px; }
  .feature { padding: 28px 22px 32px; }
}

/* =========================================================
   資料ダウンロード
   表紙のサムネイルを出す。文字リンクだけでは存在に気づかれない。
   ファイル形式・ページ数・容量を必ず添える ─ 押す前に何が起きるかわかるように。
   ========================================================= */
.dl { text-align: left; margin-top: 36px; }
.dl--section { margin-top: 32px; }

/* 見出しの無い本文中に置くとき用の小見出し */
.dl__label {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gray-600);
}
.dl__label-en {
  font-family: var(--font-en); font-weight: 500; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gray-400);
  margin-left: 8px;
}

.dl__card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl__card + .dl__card { margin-top: 14px; }
.dl__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 57, 134, .14);
  border-color: var(--navy);
}

.dl__body { display: block; min-width: 0; }
.dl__name {
  display: block; font-size: 16px; font-weight: 700; color: var(--black);
  line-height: 1.55; letter-spacing: .01em;
}
.dl__desc {
  display: block; margin-top: 6px; font-size: 13px; color: var(--gray-600); line-height: 1.8;
}
.dl__meta {
  display: block; margin-top: 8px;
  font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .06em;
  color: var(--gray-600); font-variant-numeric: tabular-nums;
}

/* 押せることをはっきり示す。アイコンだけにせず必ずラベルを添える */
.dl__go {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  border-radius: 2px; white-space: nowrap;
  transition: background .2s ease;
}
.dl__go::after { content: "↓"; font-size: 14px; }
.dl__card:hover .dl__go { background: var(--navy-light); }

@media (max-width: 700px) {
  .dl__card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .dl__go   { justify-content: center; padding: 13px 22px; }
  .dl__name { font-size: 15px; }
  .dl__desc { font-size: 12.5px; }
}
