@charset "UTF-8";
/* =========================================================
   v3  参考サイトの構成・アニメーションを再現したトップページ
   ---------------------------------------------------------
   アニメーション一覧（後で差し替えやすいよう印を付けています）
   [ANIM-1] MV背景の固定（position:fixed）
   [ANIM-2] 斜め(skewY 27.1deg)にせり上がるイントロ層
   [ANIM-3] 斜めに流れるマーキー「LIVE WITH THE SUN!」
   [ANIM-4] SCROLL の縦線アニメーション
   [ANIM-5] 下スクロールでヘッダーが隠れる / 上スクロールで戻る
   [ANIM-6] ハンバーガー → メニューのフェード / サブメニュー開閉
   [ANIM-7] .scroll_up 画面に入るとフェードアップ
   [ANIM-8] ホバー（画像ズーム・不透明度）
   [ANIM-9] 5秒後のポップアップ / お問い合わせ選択モーダル
   ========================================================= */

:root {
  --green: #8a6b3e;
  --green-d: #6b5230;
  --dark: #1e2521;
  --black: #111;
  --gray: #f4f2ed;
  --gray2: #e9e5dd;
  --line: #e1ddd4;
  --text: #232724;
  --muted: #6f716b;
  --en: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --skew: 27.1deg;
  /* tan(27.1deg) / 2 ≒ 0.2558 → 画面幅に対する斜辺の上下ずれ */
  --slope: 25.6vw;
  --intro-mt: -500px;
  --intro-pt: calc(21.5vw - 40px);
  --hero-mt: 220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ja);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

#wrapper { position: relative; overflow: hidden; }

.inner { width: min(1200px, calc(100% - 64px)); margin: 0 auto; position: relative; }

/* ---------- 共通見出し ---------- */
.eyebrow {
  font-family: var(--en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--green);
  line-height: 1;
}
.ttl {
  margin-top: 18px;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.32;
  letter-spacing: .02em;
}
.lead { margin-top: 28px; font-size: 15px; line-height: 2; color: #3c4248; }
.sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.note { margin-top: 18px; font-size: 11px; color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.viewall {
  font-family: var(--en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: opacity .2s;               /* [ANIM-8] */
}
.viewall span { margin-left: 8px; }
.viewall:hover { opacity: .6; }

/* 透かし文字 */
.wm {
  position: absolute;
  font-family: var(--en);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 写真が読み込まれたときの共通スタイル（JSで .has-photo を付与） */
.has-photo { background-image: var(--photo) !important; background-size: cover !important; background-position: center !important; }

/* =========================================================
   ヘッダー（固定ロゴ・ハンバーガー）
   ========================================================= */
.h-logo {
  position: fixed;
  top: 36px;
  left: 44px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .5s;             /* [ANIM-5] */
}
.h-logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  font-family: var(--en);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}
.h-logo__name { font-family: var(--en); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: .22em; }

.h-ham {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: 76px;
  height: 76px;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .5s;             /* [ANIM-5] */
}
.h-ham__line,
.h-ham__line::before,
.h-ham__line::after {
  position: absolute;
  left: calc(50% - 15px);
  width: 30px;
  height: 2px;
  background: currentColor;
  transition: .4s;                        /* [ANIM-6] */
}
.h-ham__line { top: 30px; }
.h-ham__line::before, .h-ham__line::after { content: ""; left: 0; }
.h-ham__line::before { top: -9px; }
.h-ham__line::after { top: 9px; }
.h-ham__text {
  position: absolute;
  left: 0; right: 0;
  bottom: 12px;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 2px;
}
#header.open .h-ham { mix-blend-mode: normal; color: #fff; }
#header.open .h-ham__line { background: transparent; }
#header.open .h-ham__line::before { top: 0; transform: rotate(45deg); }
#header.open .h-ham__line::after { top: 0; transform: rotate(-45deg); }

/* [ANIM-5] 下スクロールで隠す */
.js-head.header-hidden { transform: translateY(-180%); }

/* [ANIM-6] メニューパネル（JSでフェードイン/アウト 400ms） */
.h-content {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: rgba(22,24,27, .97);
  color: #fff;
  display: none;
  opacity: 0;
  transition: opacity .4s;
}
.h-content.is-show { opacity: 1; }
.h-content__inner { padding: 90px 36px 48px; }
.h-content__ttl { font-family: var(--en); font-size: 13px; letter-spacing: 4px; color: var(--green); }
.h-menu { margin-top: 20px; }
.h-menu > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.h-menu__main {
  display: block;
  width: 100%;
  padding: 16px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.js-sub::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s;
}
.js-sub.open::after { transform: translateY(-30%) rotate(-135deg); }
.h-menu__sub { display: none; padding: 0 0 14px 12px; }
.h-menu__sub a { display: block; padding: 6px 0; font-size: 13px; color: rgba(255,255,255,.75); }
.h-menu__sub a:hover, .h-menu__main:hover { color: var(--green); }
.h-sns { display: flex; gap: 14px; margin-top: 28px; }
.h-sns a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  font-family: var(--en);
  font-size: 11px;
}

/* =========================================================
   MV  [ANIM-1] 背景は position:fixed で固定
   ========================================================= */
.top-mv {
  position: relative;
  /* 1440px幅で約1404px、1024px幅で約1250px */
  height: clamp(1100px, 860px + 38vw, 1500px);
}
.top-mv__bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 110vh;
  z-index: 0;
  /* 開いた直後から塗り替え前の写真を表示（古いイラストが一瞬見えないように） */
  background: #dfe6e8 url(../img/hero-before.jpg) center / cover no-repeat;
  will-change: transform;
}
.top-mv__scene { width: 100%; height: 100%; display: block; }
.top-mv__bg.has-photo .top-mv__scene { display: none; }
/* 写真があるとき：::before に写真を敷き、読み込み時にゆっくり引いていく（[ANIM-1b]） */
.top-mv__bg { overflow: hidden; }
.top-mv__bg.has-photo { background: #dfe6e8 url(../img/hero-before.jpg) center / cover no-repeat !important; }
.top-mv__bg.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo) center 55% / cover no-repeat;
  animation: mv-zoom 2.8s cubic-bezier(.2, .7, .2, 1) both;
}
/* 上側をほんのり明るくして、斜めストライプとなじませる */
.top-mv__bg.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
@keyframes mv-zoom {
  0%   { transform: scale(1.12); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.top-mv__stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.top-mv__stripes i {
  position: absolute;
  left: -50%;
  width: 200%;
  background: rgba(255, 255, 255, .38);
  transform: rotate(var(--skew));
  transform-origin: center;
}
.top-mv__stripes i:nth-child(1) { top: 2%;  height: 70px; }
.top-mv__stripes i:nth-child(2) { top: 18%; height: 26px; background: rgba(255,255,255,.55); }
.top-mv__stripes i:nth-child(3) { top: 34%; height: 110px; background: rgba(255,255,255,.25); }
.top-mv__stripes i:nth-child(4) { top: 56%; height: 40px; }

/* ---------------------------------------------------------
   [ANIM-1c] 背景の家：塗り替え前 → 塗り替え → 太陽光パネルの設置
   （index.html の .mv-anim。3枚の写真がそろったら main.js が .is-anim を付ける）
   0.5s〜 塗り替え前／1.6s〜4.6s 左から塗り替え／5.0s〜 パネルを1列ずつ設置／7.2s〜 完成
   --------------------------------------------------------- */
.mv-anim, .mv-steps { display: none; }
.top-mv__bg.will-anim::before { opacity: 0; animation: none; }      /* 完成写真が先に一瞬見えないように */
.top-mv__bg.is-anim::before, .top-mv__bg.is-anim .top-mv__scene { display: none; }
.top-mv__bg.is-anim .mv-anim {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 50% 55%;
  animation: mv-fade 1s ease both, mv-settle 9s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes mv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mv-settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* 塗り替え：塗った部分が左から右へ広がる（マスクの帯を動かす） */
.mv-paint-band, .mv-paint-edge { transform: translateX(-2700px); }
.is-anim .mv-paint-band { animation: mv-paint 3s cubic-bezier(.55, .05, .35, 1) 1.6s both; }
.is-anim .mv-paint-edge { animation: mv-paint-edge 3s cubic-bezier(.55, .05, .35, 1) 1.6s both; }
@keyframes mv-paint { from { transform: translateX(-2700px); } to { transform: translateX(0); } }
@keyframes mv-paint-edge {
  0%   { transform: translateX(-2700px); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

/* 太陽光パネル：左の列から順に載る */
.mv-s, .mv-s-all, .mv-flash polygon { opacity: 0; }
.is-anim .mv-s1 { animation: mv-on .7s ease 5.0s both; }
.is-anim .mv-s2 { animation: mv-on .7s ease 5.45s both; }
.is-anim .mv-s3 { animation: mv-on .7s ease 5.9s both; }
.is-anim .mv-s4 { animation: mv-on .7s ease 6.35s both; }
.is-anim .mv-s-all { animation: mv-on .8s ease 7.1s both; }
.is-anim .mv-f1 { animation: mv-flash 1s ease-out 5.0s both; }
.is-anim .mv-f2 { animation: mv-flash 1s ease-out 5.45s both; }
.is-anim .mv-f3 { animation: mv-flash 1s ease-out 5.9s both; }
.is-anim .mv-f4 { animation: mv-flash 1s ease-out 6.35s both; }
@keyframes mv-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes mv-flash { 0% { opacity: 0; } 25% { opacity: .45; } 100% { opacity: 0; } }

/* 完成：パネルの上を光が流れる */
.mv-shine { opacity: 0; }
.is-anim .mv-shine { animation: mv-shine 1.8s ease-in-out 7.4s both; }
@keyframes mv-shine {
  0%   { transform: translateX(0); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(3400px); opacity: 0; }
}

/* 今の工程の表示（左下） */
.is-anim .mv-steps {
  display: block;
  position: absolute;
  left: max(24px, 4vw);
  bottom: calc(10vh + 56px);
  z-index: 2;
  width: min(420px, calc(100vw - 48px));
  height: 62px;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.mv-step {
  position: absolute;
  left: 0;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(22,24,27, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
}
.mv-step b { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: #9cc7ab; }
.is-anim .mv-step--1 { animation: mv-step 1.6s ease .5s both; }
.is-anim .mv-step--2 { animation: mv-step 2.9s ease 2.1s both; }
.is-anim .mv-step--3 { animation: mv-step 2.2s ease 5.0s both; }
.is-anim .mv-step--4 { animation: mv-step-in .7s ease 7.2s both; }
@keyframes mv-step {
  0%   { opacity: 0; transform: translateX(-10px); }
  15%  { opacity: 1; transform: none; }
  85%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes mv-step-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.mv-steps__bar { position: absolute; left: 20px; bottom: 0; width: 220px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.mv-steps__bar i { display: block; width: 100%; height: 100%; background: #8a6b3e; transform: scaleX(0); transform-origin: 0 50%; }
.is-anim .mv-steps__bar i { animation: mv-bar 7.4s linear .4s both; }
@keyframes mv-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 斜めの写真の帯をやめたあとの並び：背景を1画面見せてから、HEROが続く */
/* （下にある元の .top-mv / .top-intro の指定より優先させるため、クラスを2つ重ねています） */
.top-mv.top-mv--anim { height: 100vh; height: 100svh; min-height: 560px; }
.top-mv--anim ~ .scrolln { top: calc(100svh - 190px); bottom: auto; }
.top-intro.top-intro--flat { margin-top: 0; padding-top: 0; transform: none; }
.top-intro--flat .top-intro__content { transform: none; }
.top-intro--flat .hero { margin-top: 0; }
@media (max-width: 767px) {
  .top-mv.top-mv--anim { height: 100svh; }
  .mv-step { font-size: 13px; padding: 8px 16px; gap: 10px; }
  .mv-step b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .top-mv__bg.is-anim .mv-anim, .is-anim .mv-steps { display: none; }
  .top-mv__bg.is-anim::before { display: block; }
}

/* [ANIM-4] SCROLL 表示 */
.scrolln {
  position: absolute;
  top: 560px;
  right: 40px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--dark);
}
.scrolln span { display: block; padding-bottom: 76px; position: relative; }
.scrolln span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: var(--dark);
  animation: scroll 2s ease infinite;
}
@keyframes scroll {
  0%   { transform: scale(1, 0); transform-origin: 0 0; }
  50%  { transform: scale(1, 1); transform-origin: 0 0; }
  51%  { transform: scale(1, 1); transform-origin: 0 100%; }
  100% { transform: scale(1, 0); transform-origin: 0 100%; }
}

/* =========================================================
   イントロ  [ANIM-2] skewY で斜めにせり上がる層
   ========================================================= */
.top-intro {
  position: relative;
  z-index: 2;
  margin-top: var(--intro-mt);
  padding-top: var(--intro-pt);
  transform: skewY(var(--skew));
}
/* 太陽光パネル面（斜めの平行四辺形。下端はHEROの下に隠れる） */
.top-intro__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--intro-pt) + var(--hero-mt) + var(--slope) * 2 + 120px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,.10) 55%, rgba(255,255,255,0) 75%),
    repeating-linear-gradient(90deg, #d9dee2 0 9px, transparent 9px 286px),
    repeating-linear-gradient(0deg, #d9dee2 0 9px, transparent 9px 196px),
    repeating-linear-gradient(90deg, rgba(225,232,238,.85) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(0deg, rgba(225,232,238,.85) 0 2px, transparent 2px 48px),
    linear-gradient(180deg, #1a201d, #1f2622 60%, #18201c);
}
.top-intro__panel { overflow: hidden; }
/* 写真は親の skewY を打ち消して、歪まずに斜めの枠で切り抜かれて見えるようにする */
.top-intro__photo {
  position: absolute;
  /* 見えている範囲（斜辺の一番上 〜 HEROの上端）だけを覆う高さにして、写真を寄りすぎにしない */
  top: calc(var(--slope) * -1);
  left: 0;
  right: 0;
  height: calc(var(--slope) + var(--intro-pt) + var(--hero-mt) + 40px);
  overflow: hidden;
  transform: skewY(calc(var(--skew) * -1));
}
/* 写真本体：[ANIM-2b] JSで --zoom / --py を更新（ズームアウト＋パララックス） */
.top-intro__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo) center 40% / cover no-repeat;
  transform: translateY(var(--py, 0px)) scale(var(--zoom, 1));
  transform-origin: 50% 60%;
  will-change: transform;
  filter: brightness(1.15) saturate(1.08);   /* 写真を少し明るく */
}
/* 下端をHEROの黒へなじませるグラデーション */
.top-intro__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,24,27,0) 70%, rgba(22,24,27,.45) 90%, var(--dark) 100%),
    linear-gradient(90deg, rgba(22,24,27,.08), rgba(22,24,27,0) 40%);
}
/* 写真があるときは .has-photo の共通背景を使わず ::before に任せる */
.top-intro__photo.has-photo { background: none !important; }
.top-intro__panel:has(.has-photo) { background: var(--dark); }

/* [ANIM-3] 斜めマーキー（パネル上端の斜辺に沿わせる） */
.top-intro__marquee {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 260vw;
  transform-origin: 0 0;
  /* 親の skewY を打ち消して rotate だけ残す → 斜辺と同じ角度になる */
  transform: skewY(calc(var(--skew) * -1)) rotate(var(--skew)) translate(-12%, -50%);
  /* すりガラス風の帯 */
  background: rgba(22,24,27, .26);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  pointer-events: none;
}
.marquee-right ul {
  display: flex;
  width: max-content;
  animation: marquee-right 20s linear infinite;
}
@keyframes marquee-right {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.marquee-right li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 28px;
  white-space: nowrap;
  color: #fff;
}
.marquee-right li::after {           /* 区切りのグリーンの点 */
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.marquee-right b {
  font-family: var(--ja);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: .1em;
}
/* 3つに1つを白抜き文字にしてリズムを出す（ループの継ぎ目がずれないよう 6個中 2・5番目） */
.marquee-right li:nth-child(3n+2) b {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .85);
}
.marquee-right small { font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: .14em; opacity: .75; }

/* 中身は skew を打ち消して水平に戻す */
.top-intro__content { position: relative; z-index: 3; transform: skewY(calc(var(--skew) * -1)); }

/* ---------- HERO（ダーク） ---------- */
.hero {
  position: relative;
  margin-top: var(--hero-mt);
  min-height: 480px;
  padding: 43px max(32px, calc((100% - 1200px) / 2)) 60px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero__wm {
  position: absolute;
  top: 123px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .04;
  font-family: var(--en);
  font-weight: 700;
  font-size: 220px;
  letter-spacing: -4px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.hero__eyebrow { position: relative; font-size: 13px; font-weight: 500; letter-spacing: 3px; color: var(--green); }
.hero__title {
  position: relative;
  margin-top: 26px;
  font-family: var(--en);
  font-weight: 700;
  font-size: 108px;
  line-height: 110px;
  letter-spacing: 0;
}
.hero__title span { display: block; white-space: nowrap; }
/* 日本語のキャッチコピーを大見出しにする */
.hero__title--ja { font-family: var(--ja); font-weight: 900; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.3; letter-spacing: .04em; }
.hero__sub { position: relative; margin-top: 28px; text-align: center; font-weight: 700; font-size: 20px; opacity: .85; }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }
.hero__text { position: relative; margin-top: 4px; text-align: center; font-size: 16px; opacity: .7; }
.hero__kpi {
  position: relative;
  margin: 26px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgb(255 255 255 / 6%);
  border-radius: 12px;
  overflow: hidden;
}
.hero__kpi li { padding: 18px 24px 22px; text-align: center; }
.kpi__line { display: flex; justify-content: center; align-items: baseline; gap: 7px; min-height: 64px; }
.kpi__num { font-family: var(--en); font-weight: 700; font-size: 56px; line-height: 64px; }
.kpi__unit { font-weight: 700; font-size: 18px; transform: translateY(-4px); }
.kpi__label { margin-top: 9px; font-size: 12px; opacity: .7; }

/* =========================================================
   本文セクション
   ========================================================= */
.main, .choose, .flow, .line-banner, .faq, .news, .area, .contact, .bann, .cont, .foot { position: relative; z-index: 3; }
.main > section { position: relative; }

/* CONCEPT */
.concept { background: var(--gray); padding: 72px 0 80px; overflow: hidden; min-height: 480px; }
.wm--concept { right: -20px; bottom: -36px; font-size: 230px; color: rgba(22,24,27, .05); }

/* DATA */
.data { background: var(--dark); color: #fff; padding: 72px 0 90px; overflow: hidden; }
.data .lead { color: rgba(255,255,255,.75); }
.wm--data { left: -10px; top: 300px; font-size: 300px; color: rgba(255,255,255,.04); }
.data__stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.data__num { font-family: var(--en); font-weight: 700; font-size: 110px; line-height: 1; letter-spacing: -1px; }
.data__num span { margin-left: 8px; font-size: 30px; font-weight: 500; }
.data__num.is-green { color: var(--green); }
.data__label { margin-top: 14px; font-size: 14px; font-weight: 700; }
.data__note { margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.55); }
.data__chart { margin-top: 56px; position: relative; }
.data__chart-ttl { font-size: 12px; color: rgba(255,255,255,.6); }
.data__chart dl { margin-top: 14px; display: grid; gap: 14px; }
.data__chart dl > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 16px; font-size: 12px; }
.data__chart dd { display: grid; grid-template-columns: 1fr 64px; align-items: center; gap: 16px; }
.data__chart dd i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--w), rgba(255,255,255,.08) var(--w));
}
.data__chart dd span { font-family: var(--en); text-align: right; }

/* PERFORMANCE */
.performance { background: #fff; padding: 72px 0 80px; }
.perf { margin-top: 40px; display: grid; gap: 12px; }
.perf__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 200px;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 18px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.perf__city { font-size: 11px; color: var(--green); font-weight: 700; }
.perf__name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.perf__spec { font-size: 11px; color: var(--muted); }
.perf__val { display: flex; align-items: baseline; gap: 8px; }
.perf__val span { font-size: 11px; color: var(--muted); }
.perf__val b { font-family: var(--en); font-size: 30px; font-weight: 700; }
.perf__val small { font-size: 11px; color: var(--muted); }
.perf__rate {
  display: grid; place-items: center;
  height: 52px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: var(--en);
  font-weight: 700;
  font-size: 26px;
}

/* WORKS */
.works { background: #fff; padding: 40px 0 90px; }
.works__list { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card { display: block; transition: opacity .3s; }
.work-card__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; }
.work-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(10,14,20,.55), rgba(10,14,20,.55)),
    repeating-linear-gradient(115deg, #2c3a4e 0 40px, #233044 40px 80px);
  color: #fff;
  text-align: center;
  transition: transform .4s;             /* [ANIM-8] */
}
.work-img span { font-family: var(--en); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: 2px; }
.work-img small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 4px; font-weight: 500; }
.work-img.has-photo span { display: none; }
.work-card:hover .work-img { transform: scale(1.05); }
.work-card__body { margin-top: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.work-card__ttl { font-size: 14px; font-weight: 700; line-height: 1.6; }
.work-card__tag { flex-shrink: 0; padding: 4px 12px; background: var(--black); color: #fff; font-size: 10px; border-radius: 2px; }
.work-card__date { margin-top: 6px; font-family: var(--en); font-size: 12px; color: var(--muted); }

/* WHY CHOOSE US */
.why { position: relative; padding: 72px 0 90px; color: #fff; background: var(--dark); overflow: hidden; }
.why__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(22,24,27,.82), rgba(22,24,27,.9)),
    repeating-linear-gradient(115deg, #1d2836 0 60px, #18212d 60px 120px);
}
.why__bg.has-photo { background-image: linear-gradient(rgba(22,24,27,.8), rgba(22,24,27,.88)), var(--photo) !important; }
.why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.why__lead { max-width: 560px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.8); }
.why__list { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 24px 28px;
  background: #fff;
  color: var(--text);
  border-radius: 8px;
}
.why-card__num { font-family: var(--en); font-weight: 700; font-size: 44px; line-height: 1; color: var(--green); }
.why-card__ttl { font-size: 18px; font-weight: 700; line-height: 1.4; }
.why-card__sub { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--green); }
.why-card__txt { margin-top: 8px; font-size: 13px; line-height: 1.8; color: #5f5b55; }
.why-card--wide { grid-column: 1 / -1; grid-template-columns: 64px 1fr 1fr; align-items: center; }
.why-card__check { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; font-size: 13px; font-weight: 500; }
.why-card__check li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 700; }

/* VOICE */
.voice { background: #fff; padding: 72px 0 90px; }
.voice__list { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.v-card { border-radius: 8px; overflow: hidden; background: var(--gray); transition: opacity .3s; }
.v-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #5d6670, #2b3036);
}
.v-card__play {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  background: rgba(0,0,0,.6);
}
.v-card__play::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-35%, -50%);
  border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.v-card__body { padding: 18px 22px 22px; }
.v-card__name { font-size: 14px; font-weight: 700; }
.v-card__name span { margin-right: 6px; font-family: var(--en); font-size: 28px; line-height: 0; color: var(--green); vertical-align: -8px; }
.v-card__name small { margin-left: 6px; font-family: var(--en); font-weight: 400; font-size: 11px; color: var(--muted); }
.v-card__txt { margin-top: 8px; font-size: 13px; line-height: 1.8; color: #5f5b55; }

/* TALK SESSION（スライダー） */
.talk { background: var(--gray); padding: 72px 0 80px; }
.talk__slider { position: relative; margin-top: 40px; }
.talk__viewport { overflow: hidden; }
.talk__track { display: flex; gap: 28px; transition: transform .3s ease; }   /* [ANIM-8] スライド */
.t-card { flex: 0 0 calc((100% - 28px) / 2); }
.t-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  display: grid; align-items: center; justify-items: start;
  padding: 0 7%;
  background: linear-gradient(120deg, #e8eef3 0 58%, #1f3c63 58% 100%);
}
.t-card__img p { font-size: clamp(26px, 3vw, 44px); font-weight: 900; line-height: 1.3; color: var(--dark); letter-spacing: .05em; }
.t-card__img b { color: #1f3c63; }
.t-card__img.has-photo p { display: none; }
.t-card__ttl { margin-top: 16px; font-size: 15px; font-weight: 700; }
.t-card__who { margin-top: 2px; font-size: 12px; color: var(--muted); }
.talk__arrow {
  position: absolute; top: calc((100% - 70px) * 9 / 32 + 0px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  font-size: 26px; line-height: 1;
  display: grid; place-items: center;
  transition: opacity .2s;
}
.talk__arrow:hover { opacity: .7; }
.talk__arrow--prev { left: -22px; }
.talk__arrow--next { right: -22px; }
.talk__dots { margin-top: 28px; display: flex; justify-content: center; gap: 10px; }
.talk__dots button { width: 8px; height: 8px; border-radius: 50%; background: #c7cbcf; transition: background .3s; }
.talk__dots button.is-active { background: var(--green); }

/* HOW TO CHOOSE */
.choose { background: #fff; padding: 72px 0 84px; overflow: hidden; }
.choose__accent { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: var(--gray); }
.choose__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.choose .ttl span { display: block; }
.choose .ttl span + span { color: var(--dark); }
.choose__line { margin-top: 28px; width: 64px; height: 4px; background: var(--green); }
.choose .lead { font-size: 14px; }
.choose__foot { margin-top: 28px; display: flex; gap: 6px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.choose__list { display: grid; gap: 12px; align-content: start; }
.choose-item {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.choose-item__num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--green); color: #fff;
  font-family: var(--en); font-weight: 700; font-size: 18px;
  border-radius: 4px;
}
.choose-item h3 { font-size: 15px; font-weight: 700; line-height: 1.5; }
.choose-item p { margin-top: 2px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.choose-item__check { font-size: 26px; font-weight: 700; color: var(--green); text-align: center; }

/* FLOW */
.flow { padding: 72px 0 110px; color: #fff; background: var(--dark); overflow: hidden; }
.flow__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(22,24,27,.84), rgba(22,24,27,.9)),
    repeating-linear-gradient(65deg, #202b38 0 70px, #1a232f 70px 140px);
}
.flow__bg.has-photo { background-image: linear-gradient(rgba(22,24,27,.82), rgba(22,24,27,.9)), var(--photo) !important; }
.flow .ttl { font-size: 36px; }
.flow .sub { color: rgba(255,255,255,.75); }
.flow__note { margin-top: 18px; display: inline-block; padding: 4px 14px; border: 1px solid var(--green); color: var(--green); font-size: 13px; font-weight: 700; border-radius: 999px; }
.flow__list { position: relative; z-index: 1; margin-top: 44px; display: flex; align-items: stretch; gap: 10px; }
.flow-card {
  flex: 1;
  padding: 22px 18px 24px;
  background: #fff;
  color: var(--text);
  border-top: 4px solid var(--green);
  border-radius: 6px;
}
.flow-card__num { font-family: var(--en); font-weight: 700; font-size: 34px; line-height: 1; color: var(--green); }
.flow-card__term { margin-top: 10px; display: inline-block; padding: 2px 10px; background: var(--black); color: #fff; font-size: 10px; border-radius: 2px; }
.flow-card h3 { margin-top: 10px; font-size: 16px; font-weight: 700; }
.flow-card p:last-child { margin-top: 6px; font-size: 12px; line-height: 1.8; color: #5f5b55; }
.flow__arrow { flex: 0 0 14px; align-self: center; width: 14px; height: 14px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.wm--flow { right: -10px; bottom: -150px; font-size: 220px; color: rgba(255,255,255,.06); }

/* LINE / 相談バナー（背景は透過気味にして固定MVを少し見せる） */
.line-banner { padding: 90px 20px; background: rgba(255,255,255,.88); }
.line-banner__box {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: opacity .3s;
}
.line-banner__box:hover { opacity: .9; }
.line-banner__ttl { font-size: 28px; font-weight: 900; }
.line-banner__sub { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.line-banner__sub b { font-size: 20px; }
.line-banner__imgs { margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; height: 150px; }
.line-banner__imgs > div { background: linear-gradient(135deg, #8aa0b2, #4c6176); }
.line-banner__imgs > div:last-child { background: linear-gradient(135deg, #6f8a5f, #3d5233); }
.line-banner__logo { display: grid !important; place-content: center; background: var(--dark) !important; color: #fff; font-family: var(--en); }
.line-banner__logo span { font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: .15em; }
.line-banner__logo small { margin-top: 4px; font-size: 10px; letter-spacing: 2px; }
.line-banner__cta { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.line-banner__badge {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: #ffd400; color: var(--dark);
  font-size: 12px; font-weight: 900; line-height: 1.25;
  transform: rotate(-8deg);
}
.line-banner__btn {
  display: block;
  padding: 10px 46px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  box-shadow: 0 5px 0 var(--green-d);
}
.line-banner__btn small { display: block; font-size: 12px; font-weight: 700; }

/* FAQ */
.faq { background: #fff; padding: 72px 0 80px; }
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq__item { background: var(--gray); border-radius: 6px; }
.faq__item summary {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 60px 22px 24px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--en); font-size: 24px; font-weight: 300;
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__q { font-family: var(--en); font-weight: 700; font-size: 22px; color: var(--green); line-height: 1; }
.faq__a { display: flex; gap: 16px; padding: 0 24px 22px; font-size: 14px; line-height: 1.9; color: #5f5b55; }
.faq__a span { font-family: var(--en); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--dark); }
.faq__viewall { display: table; margin: 28px 0 0 auto; }

/* NEWS */
.news { background: var(--gray); padding: 72px 0 80px; }
.news__list { margin-top: 40px; border-top: 1px solid var(--line); }
.news__item {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: opacity .2s;               /* [ANIM-8] */
}
.news__item:hover { opacity: .65; }
.news__item time { font-family: var(--en); font-size: 13px; color: var(--muted); }
.news__cat { font-size: 12px; font-weight: 700; color: var(--green); }

/* AREA */
.area { background: var(--dark); color: #fff; padding: 56px 0 64px; overflow: hidden; }
.area__wm {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -45%);
  font-family: var(--en); font-weight: 700; font-size: 250px; line-height: 1;
  color: rgba(255,255,255,.05);
  pointer-events: none; white-space: nowrap;
}
.area__inner { text-align: center; }
.area__ttl { margin-top: 14px; font-size: 44px; font-weight: 900; line-height: 1.4; }
.area__line { margin: 18px auto 0; width: 64px; height: 4px; background: var(--green); }
.area__sub { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.8); }
.area__list { margin: 28px auto 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.area__list li { padding: 5px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 12px; }

/* CONTACT */
.contact { background: var(--gray); padding: 70px 0 80px; }
.contact__inner { text-align: center; }
.contact__btns { margin-top: 28px; display: flex; justify-content: center; gap: 16px; }
.contact__btn {
  display: grid; place-items: center;
  width: 220px; height: 52px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: opacity .2s, transform .2s;  /* [ANIM-8] */
}
.contact__btn:hover { opacity: .86; transform: translateY(-1px); }
.contact__btn--green { background: var(--green); color: #fff; }
.contact__btn--line { border: 1.5px solid var(--black); background: #fff; }
.contact__tel { margin-top: 28px; }
.contact__tel a { display: block; font-family: var(--en); font-weight: 700; font-size: 38px; line-height: 1.2; }
.contact__tel small { font-size: 12px; color: var(--muted); }

/* =========================================================
   下部バナー・フッター  [ANIM-7] .scroll_up
   ========================================================= */
.scroll_up { transition: .8s ease-in-out; transform: translateY(30px); opacity: 0; }
.scroll_up.on { transform: translateY(0); opacity: 1; }

.bottom { position: relative; z-index: 3; background: #fff; }
.bann { background: var(--gray2); padding: 92px 0; }
.bann__inner { width: min(1000px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.bann__col { text-align: center; padding: 0 20px; }
.bann__col + .bann__col { border-left: 1px solid #b9bdc1; }
.bann__ttl { font-size: 15px; font-weight: 500; }
.bann__btn {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 26px;
  padding: 14px 34px;
  background: var(--black); color: #fff;
  font-family: var(--en); font-size: 12px; letter-spacing: 2px;
  transition: opacity .3s;
}
.bann__btn::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.bann__btn:hover { opacity: .7; }

.cont { background: #fff; padding: 110px 0 120px; text-align: center; }
.cont__ttl { font-family: var(--en); font-weight: 300; font-size: 44px; letter-spacing: 6px; line-height: 1; }
.cont__ttl span { font-weight: 500; }
.cont__sub { margin-top: 18px; font-size: 16px; font-weight: 500; }
.cont__cols { width: min(1100px, calc(100% - 64px)); margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.cont__col { padding: 0 20px; }
.cont__col + .cont__col { border-left: 1px solid var(--line); }
.cont__label { font-size: 14px; }
.cont__label--s { font-size: 12px; color: var(--muted); }
.cont__tel { margin-top: 8px; font-family: var(--en); font-size: 34px; font-weight: 700; line-height: 1.3; }
.cont__tel span { font-weight: 300; }

.foot { background: #000; color: #fff; padding: 62px 0 24px; }
.foot__inner { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.foot__logo { font-family: var(--en); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .22em; }
.foot__nav { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot__nav li + li { margin-top: 10px; }
.foot__nav a { font-size: 12px; color: rgba(255,255,255,.85); transition: color .2s; }
.foot__nav a:hover { color: var(--green); }
.foot__sns { margin-top: 48px; display: flex; gap: 16px; justify-content: flex-end; }
.foot__sns a { font-family: var(--en); font-size: 12px; letter-spacing: 1px; }
.foot__line { margin-top: 16px; height: 1px; background: rgba(255,255,255,.3); }
.foot__copy { margin-top: 24px; text-align: center; font-family: var(--en); font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.7); }

/* =========================================================
   モーダル・ポップアップ  [ANIM-9]
   ========================================================= */
.choice-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.choice-modal {
  position: fixed; left: 50%; top: 50%; z-index: 91;
  width: min(400px, calc(100% - 40px));
  padding: 40px 30px 32px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  transform: translate(-50%, -46%);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
}
.is-modal-open .choice-overlay,
.is-modal-open .choice-modal { opacity: 1; visibility: visible; }
.is-modal-open .choice-modal { transform: translate(-50%, -50%); }
.choice-modal__close { position: absolute; right: 14px; top: 10px; font-size: 18px; color: #999; }
.choice-modal__close:hover { color: #333; }
.choice-modal__ttl { font-size: 16px; font-weight: 700; }
.choice-modal__rec { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--green); }
.choice-modal__btn {
  display: block; margin-top: 8px; padding: 14px;
  border-radius: 999px; border: 1.5px solid var(--black);
  font-weight: 700; transition: opacity .2s;
}
.choice-modal__btn--line { background: var(--green); border-color: var(--green); color: #fff; }
.choice-modal__btn:hover { opacity: .8; }
.choice-modal__or { margin-top: 10px; font-size: 12px; color: var(--muted); }

.popup {
  position: fixed; inset: 0; z-index: 95;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .4s;
}
.popup.is-hidden { display: none; }
.popup.is-visible { opacity: 1; }
.popup__box {
  position: relative;
  width: min(460px, 100%);
  padding: 26px 22px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #13202b, #0b1218);
  color: #fff;
  text-align: center;
  transform: translateY(14px);
  transition: transform .4s;
}
.popup.is-visible .popup__box { transform: none; }
.popup__close {
  position: absolute; right: -14px; top: -14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #111; font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: background .2s, color .2s;
}
.popup__close:hover { background: var(--green); color: #fff; }
.popup__ttl { font-size: 28px; font-weight: 900; line-height: 1.35; }
.popup__sub { margin-top: 8px; font-size: 15px; font-weight: 700; }
.popup__body { margin-top: 14px; padding: 16px 14px 0; background: #fff; color: var(--text); border-radius: 8px; overflow: hidden; }
.popup__tag { font-size: 17px; font-weight: 900; color: var(--green); }
.popup__txt { font-size: 15px; font-weight: 700; }
.popup__img { margin: 12px -14px 0; height: 130px; background: linear-gradient(135deg, #1b2433, #3c5068); }
.popup__btn {
  display: block; margin-top: 16px; padding: 10px 12px 12px;
  border-radius: 999px;
  background: var(--green); color: #fff;
  font-size: 20px; font-weight: 900; line-height: 1.3;
  box-shadow: 0 4px 0 var(--green-d);
}
.popup__btn small { display: block; font-size: 12px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1320px) {
  .hero__wm { font-size: clamp(150px, 17vw, 220px); }
}

@media (max-width: 1100px) {
  .flow__list { flex-direction: column; }
  .flow__arrow { transform: rotate(135deg); margin: 2px 0; }
  .perf__row { grid-template-columns: 1.4fr 1fr 1fr 150px; gap: 16px; }
  .choose__inner { grid-template-columns: 1fr; gap: 40px; }
  .choose__accent { display: none; }
  .choose { background: var(--gray); }
}

@media (max-width: 900px) {
  :root { --hero-mt: 0px; --intro-pt: 260px; }
  .hero { min-height: 0; padding: 48px 24px 40px; }
  .hero__wm { top: 158px; left: -72px; transform: none; font-size: 116px; letter-spacing: 0; line-height: .95; white-space: normal; }
  .hero__eyebrow { font-size: 12px; letter-spacing: 2.4px; }
  .hero__title { margin-top: 28px; font-size: clamp(62px, 17vw, 94px); line-height: .98; }
  .hero__title span { white-space: normal; }
  .hero__title--ja { font-size: clamp(30px, 8.6vw, 56px); line-height: 1.35; }
  .hero__sub { margin-top: 28px; text-align: left; font-size: 20px; }
  .hero__text { text-align: left; font-size: 14px; }
  .hero__kpi { margin-top: 36px; grid-template-columns: repeat(2, 1fr); }
  .kpi__num { font-size: clamp(38px, 12vw, 52px); line-height: 1.05; }
  .data__stats { grid-template-columns: 1fr; gap: 36px; }
  .works__list, .voice__list { grid-template-columns: 1fr; gap: 32px; }
  .why__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .why__list { grid-template-columns: 1fr; }
  .why-card--wide { grid-template-columns: 64px 1fr; }
  .why-card__check { grid-column: 1 / -1; }
  .t-card { flex-basis: 100%; }
  .perf__row { grid-template-columns: 1fr 1fr; }
  .perf__who { grid-column: 1 / -1; }
  .perf__rate { grid-column: 1 / -1; }
  .foot__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --intro-mt: -36vw; }
  .top-mv { height: calc(100svh + 30vw); min-height: 640px; }
  .top-mv__bg { height: 110lvh; }
  .scrolln { top: auto; bottom: 40vw; right: 16px; }
  .marquee-right b { font-size: 22px; }
  .marquee-right small { font-size: 9px; }
  .h-logo { top: 16px; left: 16px; }
  .h-logo__mark { width: 38px; height: 38px; font-size: 16px; }
  .h-logo__name { font-size: 18px; letter-spacing: .18em; }
  .h-ham { width: 64px; height: 64px; }
  .h-ham__line { top: 24px; }
  .h-ham__text { bottom: 8px; }
  .inner { width: calc(100% - 40px); }
  .ttl { font-size: 30px; }
  .lead { font-size: 14px; }
  .lead br { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .wm--concept { font-size: 110px; bottom: -14px; }
  .wm--data { font-size: 150px; }
  .data__num { font-size: 80px; }
  .why-card { padding: 20px; grid-template-columns: 48px 1fr; }
  .why-card__num { font-size: 34px; }
  .why-card--wide { grid-template-columns: 48px 1fr; }
  .flow .ttl { font-size: 26px; }
  .line-banner { padding: 56px 16px; }
  .line-banner__box { padding: 26px 16px 24px; }
  .line-banner__ttl { font-size: 21px; }
  .line-banner__sub { font-size: 14px; }
  .line-banner__sub b { font-size: 16px; }
  .line-banner__imgs { height: 96px; }
  .line-banner__logo span { font-size: 15px; }
  .line-banner__btn { padding: 8px 22px 10px; font-size: 18px; }
  .line-banner__badge { width: 66px; height: 66px; font-size: 10px; flex-shrink: 0; }
  .faq__item summary { font-size: 14px; padding: 18px 48px 18px 18px; }
  .news__item { grid-template-columns: auto 1fr; gap: 4px 14px; }
  .news__item p { grid-column: 1 / -1; }
  .area__wm { font-size: 120px; }
  .area__ttl { font-size: 26px; }
  .contact__btns { flex-direction: column; align-items: center; }
  .bann__inner, .cont__cols { grid-template-columns: 1fr; gap: 40px; }
  .bann__col + .bann__col, .cont__col + .cont__col { border-left: 0; border-top: 1px solid #c9cdd1; padding-top: 40px; }
  .cont__ttl { font-size: 32px; }
  .talk__arrow--prev { left: -8px; }
  .talk__arrow--next { right: -8px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 20px 32px; }
  .hero__kpi li { padding: 22px 12px 18px; }
  .kpi__label { font-size: 11px; }
  .t-card__img p { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-right ul, .scrolln span::before, .top-mv__bg.has-photo::before { animation: none; }
  .scroll_up { transition: none; transform: none; opacity: 1; }
}

/* =========================================================
   追加セクション（提案どおりの並び）
   [ANIM-10] .reveal 画面に入ると順番にふわっと表示（JSで .is-in を付与）
   [ANIM-11] 数字のカウントアップ（data-count）
   [ANIM-12] 日照時間・シミュレーションのバーが伸びる
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* DATA のバー：0 から伸びる */
.data__chart dd i { position: relative; background: rgba(255,255,255,.08); overflow: hidden; }
.data__chart dd i::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: 0; border-radius: inherit; background: var(--green);
  transition: width 1.6s cubic-bezier(.2,.7,.2,1) .2s;
}
.data__chart.is-in dd i::before { width: var(--w); }

/* PROBLEM（お悩み） */
.problem { background: var(--gray); padding: 80px 0 90px; }
.problem .ttl { text-align: center; }
.problem .eyebrow { text-align: center; }
.problem__list { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  position: relative;
  padding: 40px 28px 32px;
  background: #fff;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(22,24,27,.06);
}
.problem-card__icon {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin: 0 auto;
  border-radius: 50%;
  background: rgba(138,107,62,.1);
}
.problem-card__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.problem-card__ttl { margin-top: 20px; font-size: 18px; font-weight: 900; }
.problem-card__txt { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.problem__answer {
  position: relative;
  margin: 56px auto 0;
  width: fit-content;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.problem__answer::before {
  content: ""; position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  border: 8px solid transparent; border-bottom: 8px solid var(--dark);
}
.problem__answer b { color: var(--green); }

/* SERVICE（サービス3つ） */
.service { background: #fff; padding: 80px 0 90px; }
.service__list { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { display: block; height: 100%; border-radius: 14px; overflow: hidden; background: var(--gray); transition: transform .4s, box-shadow .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,24,27,.12); }
.service-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: end start;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2a3a4f, #121a24);
  overflow: hidden;
}
.service-card__img.has-photo { background: #121a24 !important; }
.service-card__img.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,24,27,0) 40%, rgba(22,24,27,.7)), var(--photo) center / cover;
  transition: transform .6s;
}
.service-card:hover .service-card__img::before { transform: scale(1.06); }
.service-card__en { position: relative; font-family: var(--en); font-weight: 700; font-size: 26px; letter-spacing: .08em; color: #fff; }
.service-card__badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
}
.service-card__body { padding: 22px 24px 26px; }
.service-card__no { font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--green); letter-spacing: .1em; }
.service-card__ttl { margin-top: 2px; font-size: 21px; font-weight: 900; }
.service-card__txt { margin-top: 8px; font-size: 13px; line-height: 1.9; color: #5f5b55; }
.service-card__more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; }
.service-card__more i { display: inline-block; font-style: normal; color: var(--green); transition: transform .3s; }
.service-card:hover .service-card__more i { transform: translateX(6px); }
.service-card--rec { background: rgba(138,107,62,.08); outline: 2px solid var(--green); outline-offset: -2px; }

/* SIMULATION */
.sim { background: var(--dark); color: #fff; padding: 84px 0 90px; overflow: hidden; }
.sim .lead { color: rgba(255,255,255,.75); }
.sim__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sim__field { margin-top: 32px; }
.sim__label { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); }
.sim__bill { margin-top: 4px; font-family: var(--en); font-weight: 700; font-size: 48px; line-height: 1.1; }
.sim__bill span { margin-left: 8px; font-family: var(--ja); font-size: 15px; font-weight: 500; }
.sim__range { width: 100%; margin-top: 14px; accent-color: var(--green); height: 6px; cursor: pointer; }
.sim__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.5); }
.sim__plans { margin-top: 10px; display: flex; gap: 10px; }
.sim__plans label { flex: 1; cursor: pointer; position: relative; }
.sim__plans input { position: absolute; opacity: 0; pointer-events: none; }
.sim__plans span {
  display: block; padding: 14px 10px; text-align: center;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px;
  font-size: 14px; font-weight: 700; transition: .25s;
}
.sim__plans input:checked + span { border-color: var(--green); background: rgba(138,107,62,.15); color: var(--green); }
.sim__plans input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.sim__result {
  padding: 36px 36px 32px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.sim__result-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.sim__result-num { margin-top: 4px; font-size: 18px; font-weight: 700; }
.sim__result-num b { font-family: var(--en); font-size: 64px; line-height: 1.1; color: var(--green); letter-spacing: -1px; }
.sim__bars { margin-top: 22px; display: grid; gap: 14px; }
.sim__bar { display: grid; grid-template-columns: 72px 1fr 78px; align-items: center; gap: 12px; font-size: 12px; }
.sim__bar-track { height: 16px; border-radius: 999px; background: var(--gray2); overflow: hidden; }
.sim__bar-track i { display: block; height: 100%; border-radius: inherit; background: #9aa3ab; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.sim__bar--after .sim__bar-track i { background: var(--green); }
.sim__bar-val { font-family: var(--en); font-size: 15px; text-align: right; }
.sim__note { margin-top: 18px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.sim__btn {
  display: block; margin-top: 20px; padding: 16px;
  border-radius: 999px; background: var(--green); color: #fff;
  text-align: center; font-size: 16px; font-weight: 900;
  box-shadow: 0 5px 0 var(--green-d);
  transition: transform .2s, box-shadow .2s;
}
.sim__btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-d); }

/* COLUMN（お役立ちコラム） */
.column { background: #fff; padding: 80px 0 90px; }
.column__cats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.column__cats button {
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 700; transition: .25s;
}
.column__cats button:hover { border-color: var(--green); color: var(--green); }
.column__cats button.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.column__list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.col-card a { display: block; }
.col-card.is-hide { display: none; }
.col-card__img {
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--en); font-weight: 700; font-size: 34px; letter-spacing: .12em; color: rgba(255,255,255,.9);
  transition: transform .5s;
}
.col-card a:hover .col-card__img { transform: scale(1.03); }
.col-card__img--cost    { background: linear-gradient(135deg, #8a6b3e, #6b5230); }
.col-card__img--basic   { background: linear-gradient(135deg, #4f6f8c, #33495e); }
.col-card__img--snow    { background: linear-gradient(135deg, #8fb3cc, #4d6f87); }
.col-card__img--bousai  { background: linear-gradient(135deg, #f0a43a, #b8661c); }
.col-card__img--compare { background: linear-gradient(135deg, #5b6470, #262c33); }
.col-card__meta { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.col-card__cat { padding: 2px 10px; border-radius: 999px; background: rgba(138,107,62,.12); color: var(--green-d); font-weight: 700; }
.col-card__meta time { font-family: var(--en); color: var(--muted); }
.col-card__ttl { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.col-card a:hover .col-card__ttl { color: var(--green-d); }

/* スマホ下部の固定ボタン */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .problem__list, .service__list, .column__list { grid-template-columns: 1fr; }
  .sim__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .problem__answer { font-size: 16px; padding: 16px 24px; border-radius: 16px; }
  .sim__result { padding: 26px 20px; }
  .sim__result-num b { font-size: 48px; }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    transform: translateY(110%);
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .sticky-cta.is-show { transform: none; }
  .sticky-cta__btn {
    display: grid; place-items: center; height: 48px; border-radius: 999px;
    background: var(--green); color: #fff; font-weight: 900; font-size: 15px;
  }
  .sticky-cta__btn--line { background: #fff; color: var(--green-d); border: 2px solid var(--green); }
  .foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .data__chart dd i::before { width: var(--w); transition: none; }
}

/* =========================================================
   ① 紹介（私たちについて・会社概要）
   ========================================================= */
.about { background: #fff; padding: 96px 0 90px; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about__text .lead { margin-top: 18px; }
.about__text .ttl + .lead { margin-top: 28px; }
.about__sign { margin-top: 28px; font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.about__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  display: grid; place-items: end start;
  padding: 24px;
  background: linear-gradient(160deg, #2a3a4f, #1e2521);
}
.about__img span { position: relative; font-family: var(--en); font-weight: 600; font-size: 28px; letter-spacing: .22em; color: #fff; }
.about__img.has-photo span { display: none; }

.company { margin-top: 80px; padding: 48px 56px; border-radius: 18px; background: var(--gray); scroll-margin-top: 20px; }
.company__ttl { font-size: 22px; font-weight: 900; }
.company__ttl::before { content: ""; display: inline-block; width: 6px; height: 22px; margin-right: 12px; background: var(--green); vertical-align: -3px; }
.company__list { margin-top: 24px; border-top: 1px solid var(--line); }
.company__list > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.9; }
.company__list dt { font-weight: 700; color: var(--muted); }

/* =========================================================
   ④ YouTube
   ========================================================= */
.yt { background: var(--dark); color: #fff; padding: 84px 0 90px; }
.yt .sub { color: rgba(255,255,255,.7); }
.yt__grid { margin-top: 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.yt-card--main { grid-row: span 2; }
.yt-card__thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #2b3542, #151b22);
  cursor: pointer;
}
.yt-card--main .yt-card__thumb { aspect-ratio: auto; height: calc(100% - 40px); min-height: 280px; }
.yt-card__thumb.has-photo { background: #151b22 center / cover no-repeat !important; background-image: var(--photo) !important; }
.yt-card__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-card__label { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 11px; font-weight: 700; }
.yt-play {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 44px; margin: -22px 0 0 -32px;
  border-radius: 12px; background: #ff0033;
  transition: transform .3s;
}
.yt-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt-card__thumb:hover .yt-play { transform: scale(1.1); }
.yt-card__ttl { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.yt-card--main .yt-card__ttl { font-size: 17px; }
.yt__cta { margin-top: 40px; text-align: center; }
.yt__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px; border-radius: 999px;
  background: #ff0033; color: #fff; font-weight: 900;
  transition: transform .2s, opacity .2s;
}
.yt__btn:hover { transform: translateY(-2px); opacity: .9; }
.yt__btn-icon { position: relative; width: 26px; height: 18px; border-radius: 5px; background: #fff; }
.yt__btn-icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 8px solid #ff0033; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__img { aspect-ratio: 16 / 10; }
  .yt__grid { grid-template-columns: 1fr 1fr; }
  .yt-card--main { grid-column: 1 / -1; grid-row: auto; }
  .yt-card--main .yt-card__thumb { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .about { padding: 64px 0; }
  .company { margin-top: 56px; padding: 28px 20px; }
  .company__list > div { grid-template-columns: 1fr; gap: 2px; }
  .yt__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ① 私たちREGOLITHの強み
   業界の“闇”（暗いカード）→ REGOLITHの答え（緑の帯）の順に見せる
   ========================================================= */
.strength__head { text-align: center; }
.strength__lead { margin-top: 28px; font-size: 22px; font-weight: 700; }
.strength__lead b { font-size: 30px; font-weight: 900; color: var(--dark); background: linear-gradient(transparent 60%, rgba(22,24,27,.12) 60%); padding: 0 4px; }
.strength__dark { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dark-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px;
  padding: 28px 30px 28px 26px;
  border-radius: 14px;
  background: var(--dark);
  color: rgba(255,255,255,.9);
  overflow: hidden;
}
.dark-card__no { position: absolute; right: 18px; bottom: -14px; font-family: var(--en); font-weight: 700; font-size: 72px; line-height: 1; color: rgba(255,255,255,.05); }
.dark-card__x { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #a9564b; }
.dark-card__x::before, .dark-card__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: #a9564b; }
.dark-card__x::before { transform: translate(-50%, -50%) rotate(45deg); }
.dark-card__x::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.dark-card p { position: relative; font-size: 16px; font-weight: 700; line-height: 1.7; }
.strength__answer {
  position: relative;
  margin-top: 56px;
  padding: 48px 40px;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.strength__answer::before {           /* 上向きの三角（闇 → 答え） */
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  border: 16px solid transparent; border-top-color: #fff;
}
.strength__answer-txt { font-size: 22px; font-weight: 700; line-height: 1.8; }
.strength__answer-txt b { font-size: 26px; font-weight: 900; border-bottom: 3px solid rgba(255,255,255,.7); }
.strength__answer-brand { margin-top: 18px; font-size: 26px; font-weight: 900; }
.strength__answer-brand span { margin: 0 6px; font-family: var(--en); font-weight: 600; font-size: 36px; letter-spacing: .18em; }
.strength__answer.reveal { transform: translateY(28px) scale(.97); }
.strength__answer.reveal.is-in { transform: none; }

@media (max-width: 900px) {
  .strength__dark { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .strength__lead { font-size: 18px; }
  .strength__lead b { font-size: 24px; }
  .dark-card { padding: 22px 20px; gap: 16px; }
  .dark-card p { font-size: 14px; }
  .dark-card p br { display: none; }
  .dark-card__x { width: 36px; height: 36px; }
  .strength__answer { margin-top: 40px; padding: 36px 20px; }
  .strength__answer-txt { font-size: 16px; }
  .strength__answer-txt br { display: none; }
  .strength__answer-txt b { font-size: 19px; }
  .strength__answer-brand { font-size: 19px; }
  .strength__answer-brand span { font-size: 26px; }
}

/* =========================================================
   あなたに合うプラン診断（[ANIM-13] 質問の切り替え・結果のポップ）
   ========================================================= */
.hero__cta { position: relative; margin-top: 30px; text-align: center; }
.hero__diag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: rgba(138,107,62,.12);
  color: #fff; font-size: 14px;
  transition: background .3s, transform .3s;
}
.hero__diag b { color: var(--green); font-size: 17px; font-weight: 900; }
.hero__diag span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; transition: transform .3s; }
.hero__diag:hover { background: rgba(138,107,62,.22); transform: translateY(-2px); }
.hero__diag:hover span { transform: translateX(4px); }

.diag { background: var(--gray); padding: 84px 0 90px; }
.diag__box { max-width: 900px; margin: 0 auto; padding: 48px 56px 44px; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(22,24,27,.08); }
.diag__head { text-align: center; }
.diag__progress { margin-top: 32px; display: flex; align-items: center; gap: 14px; }
.diag__bar { flex: 1; height: 8px; border-radius: 999px; background: var(--gray2); overflow: hidden; }
.diag__bar i { display: block; height: 100%; width: 33.3%; border-radius: inherit; background: var(--green); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.diag__count { min-width: 44px; text-align: right; font-family: var(--en); font-weight: 600; font-size: 15px; color: var(--muted); }
.diag__stage { margin-top: 28px; }
.diag__q { display: none; }
.diag__q.is-active { display: block; animation: diagIn .5s cubic-bezier(.2,.7,.2,1) both; }
.diag__q.is-active.is-back { animation-name: diagInBack; }
@keyframes diagIn     { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes diagInBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.diag__qttl { font-size: 22px; font-weight: 900; text-align: center; }
.diag__qttl span { display: inline-block; margin-right: 10px; padding: 2px 12px; border-radius: 8px; background: var(--green); color: #fff; font-family: var(--en); font-size: 16px; vertical-align: 2px; }
.diag__opts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diag__opts--4 { grid-template-columns: repeat(2, 1fr); }
.diag__opt {
  position: relative;
  display: grid; gap: 4px;
  padding: 22px 20px;
  border: 2px solid var(--line); border-radius: 14px;
  background: #fff; text-align: left;
  transition: border-color .25s, transform .25s, box-shadow .25s, background .25s;
}
.diag__opt b { font-size: 16px; font-weight: 900; }
.diag__opt small { font-size: 12px; color: var(--muted); }
.diag__opt::after {
  content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--green); font-weight: 900; opacity: 0; transition: opacity .25s, transform .25s;
}
.diag__opt:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(138,107,62,.15); }
.diag__opt:hover::after { opacity: 1; transform: translate(4px, -50%); }
.diag__opt.is-selected { border-color: var(--green); background: rgba(138,107,62,.08); }
.diag__opt.is-selected::after { content: "✓"; opacity: 1; }
.diag__back { display: block; margin: 20px auto 0; font-size: 13px; color: var(--muted); }
.diag__back:hover { color: var(--text); text-decoration: underline; }

.diag__result { text-align: center; }
.diag__rlabel { font-size: 14px; font-weight: 700; color: var(--muted); }
.diag__rplan {
  display: inline-block; margin-top: 10px; padding: 10px 28px;
  border-radius: 999px; background: var(--green); color: #fff;
  font-size: 26px; font-weight: 900;
  animation: diagPop .7s cubic-bezier(.2,1.4,.4,1) .15s both;
}
@keyframes diagPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.diag__rttl { margin-top: 18px; font-size: 20px; font-weight: 900; line-height: 1.6; }
.diag__rpoints { margin: 20px auto 0; max-width: 560px; display: grid; gap: 8px; text-align: left; }
.diag__rpoints li { position: relative; padding: 12px 16px 12px 44px; border-radius: 10px; background: var(--gray); font-size: 14px; font-weight: 500; }
.diag__rpoints li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--green); font-weight: 900; }
.diag__rnote { margin: 16px auto 0; max-width: 560px; font-size: 13px; line-height: 1.9; color: #5f5b55; }
.diag__ractions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.diag__btn { display: inline-grid; place-items: center; min-width: 240px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 900; font-size: 15px; transition: transform .2s, box-shadow .2s, opacity .2s; }
.diag__btn--green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-d); }
.diag__btn--green:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-d); }
.diag__btn--line { border: 2px solid var(--green); color: var(--green-d); background: #fff; }
.diag__btn--line:hover { opacity: .8; }
.diag__btn--line.is-primary { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 5px 0 var(--green-d); }
.diag__rcols { margin: 32px auto 0; max-width: 560px; padding-top: 24px; border-top: 1px solid var(--line); text-align: left; }
.diag__rcols-ttl { font-size: 14px; font-weight: 900; }
.diag__rcols ul { margin-top: 10px; display: grid; gap: 8px; }
.diag__rcols a { display: block; padding: 12px 40px 12px 16px; position: relative; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: border-color .2s, color .2s; }
.diag__rcols a::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--green); }
.diag__rcols a:hover { border-color: var(--green); color: var(--green-d); }
.diag__retry { margin-top: 24px; font-size: 13px; font-weight: 700; color: var(--muted); }
.diag__retry:hover { color: var(--text); }

@media (max-width: 768px) {
  .hero__diag { padding: 10px 10px 10px 18px; font-size: 12px; gap: 8px; }
  .hero__diag b { font-size: 14px; }
  .hero__cta { text-align: left; }
  .diag { padding: 56px 0 64px; }
  .diag__box { padding: 32px 18px 28px; border-radius: 16px; }
  .diag__opts, .diag__opts--4 { grid-template-columns: 1fr; gap: 10px; }
  .diag__opt { padding: 16px 44px 16px 16px; }
  .diag__opt::after { opacity: 1; }
  .diag__qttl { font-size: 19px; }
  .diag__rplan { font-size: 19px; padding: 10px 20px; }
  .diag__rttl { font-size: 17px; }
  .diag__btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .diag__q.is-active, .diag__rplan { animation: none; }
}
.diag__btn[hidden] { display: none; }

/* 悩みから探す → 迷ったら診断へ */
.entry-diag{margin-top:28px;text-align:center}
.entry-diag a{display:inline-block;white-space:nowrap;padding:12px 22px;border:2px solid var(--green);border-radius:999px;color:var(--dark);font-size:14px;font-weight:700;background:#fff;transition:background .25s,color .25s}
.entry-diag a b{color:#6b5230}
.entry-diag a span{display:inline-block;margin-left:6px;color:var(--green);transition:transform .25s}
.entry-diag a:hover{background:var(--green);color:#fff}
.entry-diag a:hover b,.entry-diag a:hover span{color:#fff}
.entry-diag a:hover span{transform:translateY(3px)}
@media (max-width:767px){.entry-diag a{font-size:13px;padding:12px 18px}}

/* =========================================================
   塗装・太陽光・蓄電池のプラン診断（追加分）
   ========================================================= */
.diag__qsub { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.diag__opts--5 { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.diag__opts--5 .diag__opt { padding: 18px 12px; text-align: center; align-content: center; }
.diag__opts--5 .diag__opt::after { display: none; }
.diag__opts--5 .diag__opt b { font-size: 15px; line-height: 1.4; }
.diag__opts--5 .diag__opt small { font-size: 11px; }
.diag__opt[hidden] { display: none; }
.diag__opt--icon { position: relative; text-align: center; padding-top: 26px; }
.diag__opt--icon::after { display: none; }
.diag__opt--icon i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: rgba(138,107,62,.1); color: #6b5230; transition: background .25s, color .25s; }
.diag__opt--icon:hover i, .diag__opt--icon.is-selected i { background: var(--green); color: #fff; }
.diag__opt--rec { border-color: var(--green); }
.diag__opt--rec em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 12px; border-radius: 999px; background: var(--green); color: #fff; font-style: normal; font-size: 11px; font-weight: 900; white-space: nowrap; }

/* 結果のブロック */
#diagOut { display: grid; gap: 18px; margin-top: 14px; text-align: left; }
.dres { padding: 28px 30px; border-radius: 16px; border: 1px solid var(--line); background: #fff; animation: diagIn .6s cubic-bezier(.2,.7,.2,1) both; }
.dres + .dres, .dres__link + .dres { animation-delay: .15s; }
.dres__kind { font-size: 12px; font-weight: 900; color: var(--muted); letter-spacing: .05em; }
.dres__tag { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #fff; animation: diagPop .6s .2s cubic-bezier(.2,.7,.2,1.4) both; }
.dres__tag--ok { background: #8a6b3e; }
.dres__tag--soon { background: #b8953f; }
.dres__tag--need { background: #b8703f; }
.dres__tag--urgent { background: #a9564b; }
.dres__tag--unknown { background: #7a7d76; }
.dres__ttl { margin-top: 10px; font-size: 20px; font-weight: 900; line-height: 1.55; }
.dres__txt { margin-top: 14px; font-size: 14px; line-height: 1.9; color: #3b4148; }
.dres--plan { text-align: center; }
.dres--plan .diag__rplan { margin-top: 12px; }

/* 塗り替えメーター */
.pgauge { position: relative; margin-top: 46px; }
.pgauge__track { display: grid; grid-template-columns: 10fr 5fr 5fr 5fr; gap: 3px; height: 12px; }
.pgauge__track span { border-radius: 3px; }
.pgauge__track span:nth-child(1) { background: #cfe0d4; border-radius: 999px 3px 3px 999px; }
.pgauge__track span:nth-child(2) { background: #e8d8a8; }
.pgauge__track span:nth-child(3) { background: #e5bf9a; }
.pgauge__track span:nth-child(4) { background: #d9a299; border-radius: 3px 999px 999px 3px; }
.pgauge__scale { display: grid; grid-template-columns: 10fr 5fr 5fr 5fr; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.pgauge__mark { position: absolute; bottom: 30px; left: 0; width: 0; transition: left 1.1s cubic-bezier(.2,.7,.2,1); animation: gaugeIn 1.1s .25s cubic-bezier(.2,.7,.2,1) both; left: var(--x); }
.pgauge__mark i { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: var(--dark); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pgauge__mark i::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--dark); }
.pgauge__mark--q { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -15px; bottom: 28px; border-radius: 50%; background: #7a7d76; color: #fff; font-weight: 900; font-size: 14px; animation: diagPop .6s .2s both; }
@keyframes gaugeIn { from { left: 0; opacity: 0; } 20% { opacity: 1; } to { left: var(--x); } }

/* 両方まとめて：屋根と太陽光の順番 */
.dres__link { position: relative; padding: 20px 24px 20px 64px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 13px; line-height: 1.8; animation: diagIn .6s .1s cubic-bezier(.2,.7,.2,1) both; }
.dres__link::before { content: "!"; position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); font-weight: 900; }
.dres__link-ttl { margin-bottom: 4px; font-size: 16px; font-weight: 900; color: var(--green); }
.dres__link p { color: rgba(255,255,255,.85); }

/* 電気代の試算 */
.dres--sim { text-align: center; background: linear-gradient(180deg, #f3f6f2, #fff 60%); border-color: #d6e4da; }
.sim2__lead { margin-top: 14px; font-size: 15px; font-weight: 700; }
.sim2__lead b { font-family: var(--en); font-size: 20px; color: #6b5230; margin: 0 2px; }
.sim2__big { margin-top: 4px; font-family: var(--en); font-weight: 700; font-size: 58px; line-height: 1.1; letter-spacing: .01em; }
.sim2__big small { margin-left: 4px; font-family: inherit; font-size: 20px; font-weight: 900; }
.sim2__tabs { display: inline-flex; margin-top: 14px; padding: 4px; border-radius: 999px; background: var(--gray2); }
.sim2__tab { padding: 6px 20px; border-radius: 999px; font-size: 13px; font-weight: 900; color: var(--muted); transition: background .25s, color .25s; }
.sim2__tab.is-on { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(22,24,27,.1); }
.sim2__bars { margin: 24px auto 0; max-width: 620px; display: grid; gap: 12px; text-align: left; }
.sim2__bars li { display: grid; grid-template-columns: 120px 1fr 92px; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.sim2__bar { height: 22px; border-radius: 6px; background: var(--gray); overflow: hidden; }
.sim2__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #a6a9a2; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.sim2__bars li:nth-child(2) .sim2__bar i { transition-delay: .12s; background: #9dbfaa; }
.sim2__bars li.is-best .sim2__bar i { transition-delay: .24s; background: var(--green); }
.sim2__bars li.is-best .sim2__lbl, .sim2__bars li.is-best .sim2__val { color: #6b5230; }
.sim2__val { text-align: right; font-family: var(--en); font-size: 15px; }
.sim2__save { margin: 26px auto 0; max-width: 620px; padding: 20px; border-radius: 14px; background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(138,107,62,.3); }
.sim2__save p { font-size: 14px; font-weight: 700; }
.sim2__save b { font-family: var(--en); font-size: 18px; margin: 0 2px; }
.sim2__save-num { margin-top: 2px; font-family: var(--en); font-size: 44px !important; line-height: 1.15; }
.sim2__save-num small { margin-left: 4px; font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 900; }
.sim2__save-month { margin-top: 4px; font-size: 13px !important; opacity: .92; }
.sim2__note { margin: 16px auto 0; max-width: 620px; text-align: left; font-size: 11px; line-height: 1.8; color: var(--muted); }

.diag__rcols a small { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--gray2); font-size: 10px; color: var(--muted); vertical-align: 1px; }
.diag__rcols[hidden] { display: none; }

@media (max-width: 767px) {
  .diag__opts--5 { grid-template-columns: 1fr 1fr; }
  .diag__opts--5 .diag__opt:last-child { grid-column: 1 / -1; }
  .diag__opts--5 .diag__opt b br { display: none; }
  .diag__opt--icon { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; text-align: left; padding: 16px; }
  .diag__opt--icon i { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .diag__opt--rec em { left: auto; right: 14px; transform: none; }
  .dres { padding: 22px 18px; }
  .dres__ttl { font-size: 17px; }
  .sim2__big { font-size: 44px; }
  .sim2__bars li { grid-template-columns: 1fr 76px; gap: 6px 10px; }
  .sim2__lbl { grid-column: 1 / -1; }
  .sim2__save-num { font-size: 36px !important; }
  .dres__link { padding: 18px 18px 18px 56px; }
  .dres__link::before { left: 16px; top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .dres, .dres__link, .dres__tag, .pgauge__mark { animation: none; }
}

/* 電気代の試算：1年目 → 最後の年（毎年上がる様子） */
.sim2__grow { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin: 10px auto 0; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid #d6e4da; font-size: 13px; font-weight: 700; color: #5f5b55; }
.sim2__grow b { font-family: var(--en); font-size: 16px; color: var(--text); }
.sim2__grow span:last-of-type b:last-child { color: #a9564b; }
.sim2__grow i { font-style: normal; color: #a9564b; font-weight: 900; }
.sim2__grow small { flex-basis: 100%; font-size: 11px; color: var(--muted); }
@media (max-width: 767px) { .sim2__grow { border-radius: 14px; } }

/* =========================================================
   全ページ共通の動き（js/motion.js）＋落ち着いた配色の仕上げ
   ========================================================= */
/* 1 スクロールの進み具合バー */
.m-progress { position: fixed; left: 0; top: 0; z-index: 9999; width: 100%; height: 3px; background: linear-gradient(90deg, var(--green), #8fb39c); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* 2 見出し：下からせり上がる */
.m-on .m-ttl { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1s cubic-bezier(.2,.7,.2,1) .1s, transform 1s cubic-bezier(.2,.7,.2,1) .1s; }
.m-on .m-ttl.m-in { clip-path: inset(-40% -10% -40% -10%); transform: none; }
/* 英字の小見出し：左から線が伸びる */
.m-eye::before { content: ""; display: inline-block; width: 0; height: 1.5px; margin-right: 0; vertical-align: middle; background: currentColor; transition: width .8s cubic-bezier(.2,.7,.2,1), margin-right .8s cubic-bezier(.2,.7,.2,1); }
.m-eye.m-in::before { width: 26px; margin-right: 10px; }
.m-on .m-eye { opacity: 0; transform: translateX(-12px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.m-on .m-eye.m-in { opacity: 1; transform: none; }

/* 3 写真：左からワイプ＋少し寄りから引く */
.m-on .m-img { clip-path: inset(0 100% 0 0); transform: scale(1.08); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), transform 1.6s cubic-bezier(.2,.7,.2,1); }
.m-on .m-img.m-in { clip-path: inset(0 0 0 0); transform: none; }

/* 4 セクション背景の大きな英字 */
.m-has-word { position: relative; overflow: hidden; overflow: clip; }
.m-has-word > .inner { position: relative; z-index: 1; }
.m-word { position: absolute; top: 18px; left: 50%; z-index: 0; margin-left: -60vw; width: 120vw; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--en); font-weight: 700; font-size: clamp(90px, 15vw, 240px); line-height: 1; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1.2px var(--green); opacity: .16; will-change: transform; }
.lp-sec--dark .m-word, .sec--dark .m-word, .final-cta .m-word, .page-hero .m-word { -webkit-text-stroke-color: #fff; opacity: .12; }

/* 5 申し込みボタン：ときどき光が走る／触れると光る */
.btn--green, .sub-head__cta, .hero__diag, .diag__btn--green, .popup__btn, .sticky-cta__btn:last-child {
  background-image: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 130% 0;
  animation: m-shine 5.5s ease-in-out infinite;
}
.btn--green:hover, .sub-head__cta:hover, .hero__diag:hover, .diag__btn--green:hover, .popup__btn:hover { animation: m-shine-fast .8s ease-out both; }
@keyframes m-shine { 0%, 72% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes m-shine-fast { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.hero__diag { background-image: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); }

/* カード：触れると少し浮く（表示のふわっと動きはそのまま） */
.case-card, .col-card { transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), translate .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.case-card:hover, .col-card:hover { translate: 0 -6px; box-shadow: 0 18px 40px rgba(22,24,27,.12); }

/* 落ち着いた緑は暗い背景だと沈むので、文字だけ明るいセージにする */
:root { --green-l: #d4bc8f; }
:root .hero__eyebrow, :root .hero__diag b, :root .lp-hero__eyebrow, :root .lp-hero__ttl b, :root .lp-hero__offer b,
:root .lp-sec--dark .eyebrow, :root .sec--dark .eyebrow, :root .page-hero .eyebrow, :root .dres__link-ttl, :root .svc-solve__item b::before,
:root .final-cta .eyebrow { color: var(--green-l); }

/* LPの最初の写真：ゆっくり寄っていく */
.lp-hero__bg.has-photo { animation: m-kenburns 18s ease-out both; transform-origin: 70% 40%; }
@keyframes m-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
/* 下層ページの見出し帯：光の帯がゆっくり流れる */
.page-hero::after { animation: m-sweep 9s ease-in-out infinite alternate; }
@keyframes m-sweep { from { transform: skewX(-20deg) translateX(0); } to { transform: skewX(-20deg) translateX(-18%); } }

@media (max-width: 767px) {
  .m-word { font-size: 84px; top: 10px; }
  .m-eye.m-in::before { width: 18px; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-on .m-ttl, .m-on .m-eye, .m-on .m-img { clip-path: none; transform: none; opacity: 1; transition: none; }
  .btn--green, .sub-head__cta, .hero__diag, .diag__btn--green, .popup__btn, .sticky-cta__btn:last-child, .lp-hero__bg.has-photo, .page-hero::after { animation: none; }
}

/* コラム記事：スマホで横にはみ出さないように（グリッドの子は縮められるように） */
.article, .side { min-width: 0; }

/* ロゴはどのページでもホームへのリンク */
.foot__logo, .lp-head__logo { display: inline-block; color: inherit; text-decoration: none; transition: opacity .3s; }
.foot__logo:hover, .lp-head__logo:hover, .h-logo:hover, .sub-head__logo:hover, .sub-foot__logo:hover { opacity: .7; }

/* =========================================================
   施工事例：いったん非表示（2026.11）
   ページやデータ（works/・site-data.js の CASES）は残してあります。
   再開するときは、このブロックを消すだけで元に戻ります。
   ========================================================= */
a[href*="works/"],
li:has(> a[href*="works/"]),
.bann__col:has(a[href*="works/"]),
.home-cases,
section:has([data-render="cases"]) { display: none !important; }

/* =========================================================
   お客様の声：今は見本の文章のまま表示中（2026.11）
   ※ 公開前に、index.html の「7 お客様の声」を本物の声に差し替えるか、
     下の3行のコメントを外して非表示に戻してください。
   ========================================================= */
/*
.voice,
a[href="#voice"],
li:has(> a[href="#voice"]) { display: none !important; }
*/

/* SNS（IG・X・FB）：アカウントのURLが決まるまで非表示。決まったら href を入れてこのブロックを消す */
.h-sns, .foot__sns { display: none !important; }

/* プライバシーポリシー */
.policy { max-width: 860px; font-size: 15px; line-height: 2; }
.policy h2 { margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 1.5; }
.policy ul { margin: 12px 0 0; padding-left: 1.4em; list-style: disc; }
.policy li + li { margin-top: 4px; }
.policy__contact { margin-top: 14px; border-top: 1px solid var(--line); }
.policy__contact div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.policy__contact dt { color: var(--muted); }
.policy__contact a { text-decoration: underline; }
.policy__date { margin-top: 48px; text-align: right; color: var(--muted); font-size: 13px; }
@media (max-width: 767px) { .policy__contact div { grid-template-columns: 1fr; gap: 2px; } }

/* 公式LINEのURLが入るまで：LPフォーム下の「電話」を1列で表示（site.js が .form-alt--single を付ける） */
.form-alt.form-alt--single { grid-template-columns: 1fr; }
/* 代表1名だけのときは、カードを中央に1枚 */
.team.team--solo { grid-template-columns: minmax(0, 360px); justify-content: center; }

/* 代表の写真（縦長）：頭が切れないように、上寄りで切り抜く */
.ceo > .ceo__img.has-photo,
.team .team-card__img.has-photo { background-position: center 8% !important; }

/* お客様の声が1〜2件のあいだ：横長の1枚で見せる（3件以上になったら index.html の voice__list--one を外す） */
.voice__list--one { grid-template-columns: 1fr; max-width: 920px; margin-left: auto; margin-right: auto; }
.voice__list--one .v-card { display: grid; grid-template-columns: 42% 1fr; }
.voice__list--one .v-card__img { aspect-ratio: auto; min-height: 240px; }
.voice__list--one .v-card__body { padding: 28px 32px; align-self: center; }
.voice__list--one .v-card__txt { font-size: 14.5px; }
.v-card__work { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .voice__list--one .v-card { grid-template-columns: 1fr; }
  .voice__list--one .v-card__img { aspect-ratio: 16 / 10; min-height: 0; }
  .voice__list--one .v-card__body { padding: 18px 22px 22px; }
}

/* 写真がふわっと出る演出（少し拡大→元の大きさ）で、スマホ幅のときページが横にずれないようにする */
html, body { overflow-x: clip; }
