/* ==========================================================
   v3-theme.css
   村上産業 v3 デザインシステム — ダークテーマ
   ベース: 黒 / アクセント: 村上グリーン
   ========================================================== */

/* ----------------------------------------------------------
   1. デザイントークン（CSS カスタムプロパティ）
---------------------------------------------------------- */
:root {
  /* --- カラー: ベース --- */
  --clr-bg:           #0d0d0d;   /* ページ全体の背景 */
  --clr-surface:      #181818;   /* カード・セクション背景 */
  --clr-surface-2:    #222222;   /* 一段上がった面 */
  --clr-border:       #2e2e2e;   /* ボーダー・区切り線 */

  /* --- カラー: テキスト --- */
  --clr-text:         #f0ede8;   /* メインテキスト（温かみのあるオフホワイト） */
  --clr-text-sub:     #a09890;   /* サブテキスト */
  --clr-text-muted:   #5c5650;   /* ミュートテキスト */

  /* --- カラー: 村上グリーン（アクセント） --- */
  --clr-green:        #6f8665;   /* メインアクセント */
  --clr-green-light:  #9aaa93;   /* ライトバリアント */
  --clr-green-dark:   #4a5c43;   /* ダークバリアント */
  --clr-green-glow:   rgba(111, 134, 101, 0.15); /* グロー・オーバーレイ用 */

  /* --- タイポグラフィ --- */
  --font-mincho: "游明朝", "Yu Mincho", "YuMincho", "HGS明朝E", serif;
  --font-gothic: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", sans-serif;

  --fs-hero:    clamp(2.2rem, 6vw, 5rem);    /* ヒーロー大見出し */
  --fs-h2:      clamp(1.5rem, 3.5vw, 2.5rem);
  --fs-h3:      clamp(1.1rem, 2vw, 1.5rem);
  --fs-body:    clamp(0.875rem, 1.5vw, 0.9375rem);
  --fs-small:   0.8125rem;

  --lh-tight:   1.4;
  --lh-normal:  1.8;
  --lh-loose:   2.2;

  --ls-tight:   0.02em;
  --ls-normal:  0.05em;
  --ls-wide:    0.15em;            /* 英字キャプション等 */

  /* --- スペーシング --- */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;
  --sp-2xl: 12rem;

  /* --- アニメーション --- */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.6s;
}


/* ----------------------------------------------------------
   1.5. ローディング画面
---------------------------------------------------------- */
.v3-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-bg, #0d0d0d);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.v3-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.v3-loader__inner {
  text-align: center;
}

.v3-loader__logo {
  width: 100px;
  height: auto;
  opacity: 0;
  animation: loaderFadeIn 0.6s 0.1s ease forwards, loaderGlow 2s 0.5s ease-in-out infinite alternate;
}

@keyframes loaderFadeIn {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes loaderGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 0px rgba(111, 134, 101, 0));
  }
  100% {
    filter: brightness(1.4) drop-shadow(0 0 24px rgba(111, 134, 101, 0.7))
                            drop-shadow(0 0 60px rgba(111, 134, 101, 0.3));
  }
}

@media (min-width: 576px) {
  .v3-loader__logo {
    width: 140px;
  }
}


/* ----------------------------------------------------------
   2. グローバルベース
---------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  -webkit-font-smoothing: antialiased;
}

/* リンク */
a {
  color: var(--clr-green-light);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
a:hover {
  color: var(--clr-green);
}

/* 水平線 */
hr {
  border-color: var(--clr-border);
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
}


/* ----------------------------------------------------------
   3. タイポグラフィ
---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mincho);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  color: var(--clr-text);
}

/* セクション見出し共通 */
.v3-section-label {
  display: block;
  font-family: var(--font-gothic);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  color: var(--clr-green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.v3-section-title {
  font-family: var(--font-mincho);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: var(--lh-tight);
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}

.v3-section-body {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
}


/* ----------------------------------------------------------
   4. ボタン
---------------------------------------------------------- */
/* アウトライン（デフォルト） */
.btn-v3 {
  display: inline-block;
  padding: 0.8em 2.4em;
  border: 1px solid var(--clr-green);
  color: var(--clr-green-light);
  font-family: var(--font-gothic);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease-out),
    color            var(--duration) var(--ease-out);
}
.btn-v3:hover {
  background-color: var(--clr-green);
  color: var(--clr-bg);
}

/* 塗りつぶし（CTAなど） */
.btn-v3-fill {
  background-color: var(--clr-green);
  color: var(--clr-bg);
  border-color: var(--clr-green);
}
.btn-v3-fill:hover {
  background-color: var(--clr-green-light);
  border-color: var(--clr-green-light);
  color: var(--clr-bg);
}


/* ----------------------------------------------------------
   5. セクション共通
---------------------------------------------------------- */
.v3-section {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.v3-section--dark {
  background-color: var(--clr-bg);
}

.v3-section--surface {
  background-color: var(--clr-surface);
}

/* グリーンの細いボーダーライン（装飾用） */
.v3-divider {
  width: 40px;
  height: 1px;
  background-color: var(--clr-green);
  margin: var(--sp-md) 0;
}


/* ----------------------------------------------------------
   6. カード
---------------------------------------------------------- */
.v3-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
  transition: border-color var(--duration) var(--ease-out);
}
.v3-card:hover {
  border-color: var(--clr-green);
}


/* ----------------------------------------------------------
   7. 既存テーマの上書き（ライト → ダーク）
---------------------------------------------------------- */

/* body 背景 */
body,
.bg-white,
.bg-light,
.bg-accent {
  background-color: var(--clr-bg) !important;
}

/* テキスト */
body,
p, li, span, td, th,
.text-dark {
  color: var(--clr-text);
}

/* ヘッダー */
header,
#header,
.site-header,
.header,
.l-header {
  background-color: var(--clr-bg) !important;
  border-bottom: 1px solid var(--clr-border);
}

/* フッター */
footer,
#footer,
.site-footer,
.footer,
.l-footer {
  background-color: var(--clr-surface) !important;
  border-top: 1px solid var(--clr-border);
  color: var(--clr-text-sub);
}

/* ナビゲーション */
nav a,
.nav-link,
.global-nav a {
  color: var(--clr-text-sub) !important;
}
nav a:hover,
.nav-link:hover,
.global-nav a:hover {
  color: var(--clr-green-light) !important;
}

/* シャドウ */
.shadow,
.shadow-lg,
.shadow-sm {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
}

/* 既存ボタン（btn-murakami） */
.btn-murakami {
  background-color: transparent !important;
  border-color: var(--clr-green) !important;
  color: var(--clr-green-light) !important;
}
.btn-murakami:hover {
  background-color: var(--clr-green) !important;
  color: var(--clr-bg) !important;
}
.btn-murakami.btn-white {
  border-color: var(--clr-text) !important;
  color: var(--clr-text) !important;
}
.btn-murakami.btn-white:hover {
  background-color: var(--clr-text) !important;
  color: var(--clr-bg) !important;
}

/* ニュース・お知らせボックス */
.home-news-box {
  background-color: var(--clr-surface) !important;
  border: 1px solid var(--clr-border) !important;
  color: var(--clr-text);
}

/* 製品ボックス（光畳・GX） */
.home-hikari-box,
.home-koukin-box {
  background-color: rgba(13, 13, 13, 0.85) !important;
  border: 1px solid var(--clr-green) !important;
  color: var(--clr-text) !important;
  backdrop-filter: blur(4px);
}

/* 企業情報ボックス */
.home-company-box {
  color: var(--clr-text) !important;
}

/* FAQ ボックス */
.home-faqall-box > div {
  color: var(--clr-text) !important;
}

/* Swiper（想いスライダー） */
.home-swiper-text {
  color: var(--clr-text-sub) !important;
  background-color: var(--clr-surface) !important;
}

/* title-01（レタリング系見出し） */
.title-01 {
  color: var(--clr-text) !important;
}

/* お知らせリスト */
.loop-topics-date,
.loop-topics-title {
  color: var(--clr-text-sub) !important;
}
.loop-topics-title a:hover {
  color: var(--clr-green-light) !important;
}


/* ----------------------------------------------------------
   8. ヘッダー
---------------------------------------------------------- */
.v3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background-color: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  transition: background-color 0.4s var(--ease-out),
              border-color     0.4s var(--ease-out);
}

/* トップページ: スクロール前は透明 */
.v3-header--transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}
.v3-header--transparent.is-scrolled {
  background-color: rgba(13, 13, 13, 0.95);
  border-bottom-color: var(--clr-border);
  backdrop-filter: blur(8px);
}

@media (min-width: 576px) {
  .v3-header {
    height: 70px;
  }
}

.v3-header__inner {
  padding-right: 0;
}

/* ロゴ */
.v3-header__logo-link {
  font-family: var(--font-mincho);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clr-text) !important;
  text-decoration: none;
  line-height: 1;
}
.v3-header__logo-link:hover {
  color: var(--clr-green-light) !important;
}

/* お問い合わせボタン（デスクトップ） */
.v3-header__contact-btn {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 28px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub) !important;
  border-left: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  white-space: nowrap;
}
.v3-header__contact-btn:hover {
  color: var(--clr-green-light) !important;
  background-color: var(--clr-green-glow);
}

/* ハンバーガーボタン */
.v3-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  text-decoration: none;
}
.v3-header__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--clr-text);
  transition: transform 0.3s var(--ease-out),
              opacity   0.3s var(--ease-out);
}
@media (min-width: 576px) {
  .v3-header__hamburger {
    width: 70px;
    height: 70px;
  }
}

/* オフキャンバス */
.v3-offcanvas {
  background-color: var(--clr-bg) !important;
  border-left: 1px solid var(--clr-border) !important;
  width: min(320px, 85vw) !important;
}

.v3-offcanvas-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.v3-offcanvas-close::before,
.v3-offcanvas-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background-color: var(--clr-text);
}
.v3-offcanvas-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.v3-offcanvas-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* オフキャンバス内ナビ */
.v3-offcanvas .offcanvas-menu li {
  border-bottom: 1px solid var(--clr-border);
}
.v3-offcanvas .offcanvas-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-mincho);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clr-text-sub) !important;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}
.v3-offcanvas .offcanvas-menu a:hover {
  color: var(--clr-green-light) !important;
  padding-left: 8px;
}


/* ----------------------------------------------------------
   9. フッター
---------------------------------------------------------- */
.v3-footer {
  background-color: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  position: relative;
}

/* ページトップボタン */
.v3-pagetop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sub);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.v3-pagetop:hover {
  border-color: var(--clr-green);
  color: var(--clr-green-light);
}

/* CTA セクション */
.v3-footer__cta {
  padding: 70px 0;
  background-color: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}
@media (min-width: 576px) {
  .v3-footer__cta {
    padding: 100px 0;
  }
}

.v3-footer__cta-inner {
  border: 1px solid var(--clr-green);
  padding: 50px 30px;
  text-align: center;
}
@media (min-width: 576px) {
  .v3-footer__cta-inner {
    padding: 70px 60px;
  }
}

.v3-footer__cta-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  margin-bottom: 40px;
}
@media (min-width: 576px) {
  .v3-footer__cta-title {
    margin-bottom: 50px;
  }
}

.v3-footer__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 576px) {
  .v3-footer__cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.v3-footer__cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  padding: 18px 28px;
  border: 1px solid var(--clr-border);
  background-color: var(--clr-bg);
  color: var(--clr-text) !important;
  text-decoration: none;
  transition: border-color 0.3s, background-color 0.3s;
}
@media (min-width: 576px) {
  .v3-footer__cta-btn {
    min-width: 240px;
  }
}
.v3-footer__cta-btn svg {
  flex-shrink: 0;
  color: var(--clr-green-light);
}
.v3-footer__cta-btn:hover {
  border-color: var(--clr-green);
  background-color: var(--clr-green-glow);
}

/* 電話ボタン */
.v3-footer__cta-btn--tel {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.v3-footer__cta-btn-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v3-footer__cta-btn--tel .v3-footer__cta-btn-main {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.v3-footer__cta-btn--tel .v3-footer__cta-btn-sub {
  display: block;
  font-size: 0.6875rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* メールボタン */
.v3-footer__cta-btn--contact {
  border-color: var(--clr-green);
  justify-content: center;
}
.v3-footer__cta-btn--contact .v3-footer__cta-btn-main {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.v3-footer__cta-btn--contact:hover {
  background-color: var(--clr-green);
  color: var(--clr-bg) !important;
}
.v3-footer__cta-btn--contact:hover svg {
  color: var(--clr-bg);
}

/* Google Map */
.v3-footer__map {
  opacity: 0.7;
  filter: grayscale(30%);
}

/* フッター本体 */
.v3-footer__body {
  padding: 60px 0 30px;
}
@media (min-width: 576px) {
  .v3-footer__body {
    padding: 80px 0 40px;
  }
}

/* SNS */
.v3-footer__sns {
  text-align: center;
  margin-bottom: 40px;
}
.v3-footer__sns-link {
  opacity: 0.7;
  transition: opacity 0.3s;
}
.v3-footer__sns-link:hover {
  opacity: 1;
}

/* フッターナビ */
.v3-footer__nav {
  margin-bottom: 50px;
}
.v3-footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.v3-footer .footer-menu li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--clr-text-sub) !important;
  text-decoration: none;
  transition: color 0.3s;
}
.v3-footer .footer-menu li a:hover {
  color: var(--clr-green-light) !important;
}

/* 会社情報 */
.v3-footer__company {
  text-align: center;
  border-top: 1px solid var(--clr-border);
  padding-top: 40px;
}
.v3-footer__company-name {
  font-family: var(--font-mincho);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  margin-bottom: 12px;
}
.v3-footer__company-info {
  font-size: 0.75rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  margin-bottom: 24px;
}
.v3-footer__copyright {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin-bottom: 0;
  padding-bottom: 30px;
}

/* SP 固定バー */
.v3-footer__fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.v3-footer__fixed-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background-color: var(--clr-green);
  color: var(--clr-bg) !important;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s;
}
.v3-footer__fixed-bar-link:hover {
  background-color: var(--clr-green-light);
}


/* ----------------------------------------------------------
   10. ヘッダー デスクトップナビ
---------------------------------------------------------- */
.v3-header__nav ul {
  gap: 0;
}

.v3-header__nav-link {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 18px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}
.v3-header__nav-link:hover {
  color: var(--clr-green-light) !important;
}

/* お問い合わせ（最右端） */
.v3-header__nav-link--cta {
  margin-left: 8px;
  padding: 0 24px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sub) !important;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.v3-header__nav-link--cta:hover {
  border-color: var(--clr-green);
  color: var(--clr-green-light) !important;
  background-color: var(--clr-green-glow);
}

/* ロゴ（マーク＋日本語テキスト横並び） */
.v3-header__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.v3-header__logo-mark {
  height: 28px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
  /* ロゴマークは白で統一（元画像が暗い場合は反転） */
  filter: brightness(0) invert(1);
}
.v3-header__logo-ja {
  font-family: var(--font-mincho);
  font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clr-text);
  line-height: 1;
  transition: color 0.3s;
  white-space: nowrap;
}

.v3-header__logo-img {
  height: 32px;
  width: auto;
  mix-blend-mode: screen;
  opacity: 0.90;
  transition: opacity 0.3s;
}
.v3-header__logo-link:hover .v3-header__logo-img {
  opacity: 1;
}
.v3-header__logo-link:hover .v3-header__logo-mark {
  opacity: 1;
}
.v3-header__logo-link:hover .v3-header__logo-ja {
  color: var(--clr-green-light);
}


/* ----------------------------------------------------------
   11. イントロ：スクロール連動グロー登場
---------------------------------------------------------- */

/* スクロール領域（入場はCSSアニメーション任せなので200vhに短縮） */
.v3-intro {
  height: 200vh;
  position: relative;
}

/* 画面に固定されるコンテナ */
.v3-intro__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

/* 背景画像: 共通ベース */
/* contain: 画像全体を表示（左右に黒余白が出る場合あり） */
/* inset の上下マイナスは translateY 退場アニメーションの余白 */
.v3-intro__bg {
  position: absolute;
  inset: -15vh 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 60%;
  transform: translateY(0);
  will-change: opacity, filter, transform;
}

/* ダーク画像: 下層・初期はほぼ真っ暗 */
.v3-intro__bg--dark {
  opacity: 1;
  filter: blur(0px) brightness(0.08);
  z-index: 0;
}

/* ライト画像: 上層・初期は非表示 → スクロールJSで点灯 */
.v3-intro__bg--light {
  z-index: 1;
  opacity: 0;
  filter: blur(0px) brightness(1);
}

/* 外枠ヴィネット：四辺から中心に向かって黒でフェード */
.v3-intro__vignette {
  position: absolute;
  inset: 0;
  background:
    /* 上辺 */
    linear-gradient(to bottom,  rgba(0,0,0,0.85) 0%, transparent 30%),
    /* 下辺 */
    linear-gradient(to top,     rgba(0,0,0,0.70) 0%, transparent 30%),
    /* 左辺 */
    linear-gradient(to right,   rgba(0,0,0,0.80) 0%, transparent 30%),
    /* 右辺 */
    linear-gradient(to left,    rgba(0,0,0,0.80) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

/* LED グロー: 初期から薄く表示 → CSSで自動強化 */
.v3-intro__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      ellipse 90% 30% at 50% 90%,
      rgba(220, 170, 60, 0.50) 0%,
      rgba(200, 140, 40, 0.20) 40%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 20% at 50% 95%,
      rgba(255, 200, 80, 0.35) 0%,
      transparent 60%
    );
  opacity: 0; /* 初期は非表示 → スクロールJSで制御 */
  pointer-events: none;
  will-change: opacity;
}

@keyframes v3-intro-glow {
  to { opacity: 0.75; }
}

/* キャッチコピー */
.v3-intro__catch {
  position: absolute;
  top: 14%;
  left: 0;
  right: 0;
  z-index: 4;
  text-align: center;
  padding: 0 30px;
  pointer-events: none;
  animation: v3-intro-catch-in 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
@media (min-width: 576px) {
  .v3-intro__catch {
    top: 16%;
    padding: 0 60px;
  }
}

@keyframes v3-intro-catch-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v3-intro__catch-label {
  font-family: var(--font-gothic);
  font-size: clamp(0.55rem, 1.2vw, 0.6875rem);
  letter-spacing: 0.22em;
  color: var(--clr-green-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}

.v3-intro__catch-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.v3-intro__catch-sub {
  font-family: var(--font-mincho);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub);
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
}

/* 黒オーバーレイ: 初期は非表示（JSのスクロール退場でのみ使用） */
.v3-intro__dark {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}


/* ----------------------------------------------------------
   12. ヒーローセクション（HIKARI-TATAMI）
---------------------------------------------------------- */
.v3-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.v3-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 70%;
  transform: scale(1.00);
  transition: transform 8s ease-out;
}
.v3-hero.is-loaded .v3-hero__bg {
  transform: scale(1.0);
}
.v3-hero.is-loaded .v3-hero__bg {
  transform: scale(1);
}

.v3-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4)  50%,
    rgba(0,0,0,0.2)  100%
  );
}

.v3-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 30px 80px;
  max-width: 700px;
}
@media (min-width: 576px) {
  .v3-hero__content {
    padding: 0 60px 100px;
  }
}

.v3-hero__label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--clr-text-sub);
  margin-bottom: 16px;
  position: relative;
  padding-left: 50px;
}
.v3-hero__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background-color: var(--clr-green);
}

.v3-hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.v3-hero__title-line {
  display: block;
  color: var(--clr-text);
}
.v3-hero__title-line--accent {
  color: var(--clr-green-light);
}

.v3-hero__desc {
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  line-height: 2;
  color: var(--clr-text-sub);
  margin-bottom: 36px;
}

.v3-hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.v3-hero__btn {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s;
}
.v3-hero__btn--outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--clr-green);
  color: var(--clr-text) !important;
}
.v3-hero__btn--outline:hover {
  background-color: var(--clr-green);
  color: var(--clr-bg) !important;
}
.v3-hero__btn--text {
  color: var(--clr-text-sub) !important;
}
.v3-hero__btn--text:hover {
  color: var(--clr-green-light) !important;
}

/* スクロールインジケーター */
.v3-hero__scroll {
  position: absolute;
  right: 24px;
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.v3-hero__scroll span:first-child {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  color: var(--clr-text-muted);
  writing-mode: vertical-rl;
}
.v3-hero__scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-green), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ----------------------------------------------------------
   13. 製品セクション（GXシリーズ）
---------------------------------------------------------- */
.v3-product-section {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.v3-product-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v3-product-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.7)  60%,
    rgba(0,0,0,0.85) 100%
  );
}

.v3-product-section__content {
  position: relative;
  z-index: 1;
  padding: 60px 30px;
  max-width: 480px;
}
@media (min-width: 576px) {
  .v3-product-section__content {
    padding: 60px;
  }
  .v3-product-section__content--right {
    margin-left: auto;
  }
}

/* 左寄せ配置（モバイル: 下部中央） */
.v3-product-section__content--left {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 24px 48px;
}
@media (min-width: 576px) {
  .v3-product-section__content--left {
    bottom: auto;
    top: 50%;
    left: 0;
    right: auto;
    transform: translateY(-50%);
    text-align: left;
    width: 50%;
    max-width: 540px;
    padding: 0 60px;
  }
}

/* 右寄せ配置（モバイル: 下部中央） */
.v3-product-section__content--right {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 24px 48px;
}
@media (min-width: 576px) {
  .v3-product-section__content--right {
    bottom: auto;
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    text-align: right;
    width: 50%;
    max-width: 540px;
    padding: 0 60px;
  }
}

/* 左側オーバーレイ */
.v3-product-section__overlay--left {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.10) 70%);
}
@media (min-width: 576px) {
  .v3-product-section__overlay--left {
    background:
      linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.10) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
  }
}

/* 右側オーバーレイ */
.v3-product-section__overlay--right {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.10) 70%);
}
@media (min-width: 576px) {
  .v3-product-section__overlay--right {
    background:
      linear-gradient(to left, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.10) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
  }
}

/* 右寄せのボタン群（デスクトップのみ） */
@media (min-width: 576px) {
  .v3-product-section__content--right .v3-product-section__actions {
    justify-content: flex-end;
  }
}

/* モバイルのボタン群は中央揃え */
.v3-product-section__content--left .v3-product-section__actions,
.v3-product-section__content--right .v3-product-section__actions {
  justify-content: center;
}
@media (min-width: 576px) {
  .v3-product-section__content--left .v3-product-section__actions {
    justify-content: flex-start;
  }
}

.v3-product-section__title {
  font-family: var(--font-mincho);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  margin-bottom: 20px;
  white-space: nowrap;
}

.v3-product-section__desc {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--clr-text-sub);
  margin-bottom: 36px;
}

.v3-product-section__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}


/* ----------------------------------------------------------
   13. 施工事例セクション
---------------------------------------------------------- */
.v3-works-section {
  padding: var(--sp-xl) 0;
}

.v3-works-section__header {
  margin-bottom: 48px;
}

.v3-works-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .v3-works-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v3-works-card {
  position: relative;
  overflow: hidden;
}
.v3-works-card__img {
  width: 100%;
  padding-top: 75%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.v3-works-card:hover .v3-works-card__img {
  transform: scale(1.04);
}
.v3-works-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   14. 会社概要ブリーフ
---------------------------------------------------------- */
.v3-company-brief {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.v3-company-brief__inner {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 576px) {
  .v3-company-brief__inner {
    flex-direction: row;
    align-items: stretch;
    min-height: 70vh;
  }
}

.v3-company-brief__logomark {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.90;
  margin-bottom: 32px;
  margin-left: -24px;
  display: block;
  /* 白背景PNGをダーク背景になじませる */
  mix-blend-mode: screen;
}

.v3-company-brief__text {
  flex: 0 0 auto;
  width: 100%;
  padding: var(--sp-lg) 30px var(--sp-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  order: 1;
}
@media (min-width: 576px) {
  .v3-company-brief__text {
    width: 40%;
    padding: var(--sp-xl) 60px;
    margin-bottom: 0;
    order: 0;
  }
}

.v3-company-brief__text .btn-v3 {
  align-self: flex-start;
}

/* 写真エリア */
.v3-company-brief__img {
  flex: 0 0 auto;
  width: 100%;
  min-height: 56vw;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  order: 2;
}
@media (min-width: 576px) {
  .v3-company-brief__img {
    width: 60%;
    min-height: unset;
    order: 0;
  }
}

/* 四辺をセクション背景色にフェードさせてなじませる */
.v3-company-brief__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--clr-surface) 0%, transparent 18%),
    linear-gradient(to left,   var(--clr-surface) 0%, transparent 18%),
    linear-gradient(to bottom, var(--clr-surface) 0%, transparent 18%),
    linear-gradient(to top,    var(--clr-surface) 0%, transparent 18%);
  pointer-events: none;
}
@media (min-width: 576px) {
  .v3-company-brief__img::after {
    background:
      linear-gradient(to right,  var(--clr-surface) 0%, transparent 22%),
      linear-gradient(to left,   var(--clr-surface) 0%, transparent 14%),
      linear-gradient(to bottom, var(--clr-surface) 0%, transparent 14%),
      linear-gradient(to top,    var(--clr-surface) 0%, transparent 14%);
  }
}

/* ---- スクロール登場アニメーション ---- */
/* 初期状態: ぼやけて下にずれている */
[data-reveal] {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(40px);
  transition:
    opacity    1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter     1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform  1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 遅延バリアント */
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.15s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.30s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.50s; }

/* 表示状態 */
[data-reveal].is-revealed {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

.mt-30 { margin-top: 30px; }

/* ---- セクション区切りロゴマーク ---- */
/* 高さゼロ・相対配置でロゴをセクション境界に浮かせる */
.v3-section-divider {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 10;
}

.v3-section-divider__line--top,
.v3-section-divider__line--bottom {
  display: none;
}

.v3-section-divider__logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  display: block;
  height: 64px;
  width: auto;
  opacity: 0.22;
  filter: brightness(0) invert(1);
}
@media (min-width: 576px) {
  .v3-section-divider__logo {
    height: 80px;
  }
}


/* ----------------------------------------------------------
   15. お知らせセクション
---------------------------------------------------------- */
.v3-news-section {
  padding: var(--sp-xl) 0;
}

.v3-news-section__header {
  margin-bottom: 40px;
}

.v3-news-list {
  border-top: 1px solid var(--clr-border);
}

.v3-news-item {
  border-bottom: 1px solid var(--clr-border);
  padding: 20px 0;
}


/* ----------------------------------------------------------
   16. お問い合わせページ
---------------------------------------------------------- */

/* ページヘッダー */
.v3-contact {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}
@media (min-width: 576px) {
  .v3-contact {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }
}

.v3-contact__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
@media (min-width: 576px) {
  .v3-contact__header {
    margin-bottom: 70px;
  }
}

.v3-contact__header .v3-section-title {
  margin-bottom: 12px;
}

.v3-contact__header-sub {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  letter-spacing: var(--ls-normal);
}

/* フォームラッパー */
.v3-contact__form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 40px 24px;
}
@media (min-width: 576px) {
  .v3-contact__form-wrap {
    padding: 70px 60px;
  }
}

/* フォーム注意書き */
.v3-contact__form-note {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  margin-bottom: 20px;
}
.v3-contact__form-note .v3-required {
  color: #c45;
  margin-left: 6px;
}

/* フォームグループ */
.v3-form-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--clr-border);
}
.v3-form-group:first-of-type {
  border-top: 1px solid var(--clr-border);
}
@media (min-width: 576px) {
  .v3-form-group {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }
}

.v3-form-group__label {
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  color: var(--clr-text);
  letter-spacing: var(--ls-normal);
  flex-shrink: 0;
  padding-top: 8px;
  margin-bottom: 8px;
}
@media (min-width: 576px) {
  .v3-form-group__label {
    width: 200px;
    margin-bottom: 0;
  }
}

.v3-form-group__input {
  flex: 1;
  min-width: 0;
}

.v3-required {
  color: #c45;
  font-size: 0.75rem;
  margin-left: 6px;
}

/* 共通入力要素 */
.v3-contact__form-wrap input[type="text"],
.v3-contact__form-wrap input[type="email"],
.v3-contact__form-wrap input[type="tel"],
.v3-contact__form-wrap input[type="number"],
.v3-contact__form-wrap select,
.v3-contact__form-wrap textarea,
.v3-contact__form-wrap .form-control {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-normal);
  transition: border-color 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.v3-contact__form-wrap input:focus,
.v3-contact__form-wrap select:focus,
.v3-contact__form-wrap textarea:focus,
.v3-contact__form-wrap .form-control:focus {
  outline: none;
  border-color: var(--clr-green);
  box-shadow: 0 0 0 2px var(--clr-green-glow);
}

.v3-contact__form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.v3-contact__form-wrap 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='%23a09890' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* 住所サブラベル */
.v3-form-sub-label {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-bottom: 4px;
  margin-top: 12px;
}
.v3-form-sub-label:first-child {
  margin-top: 0;
}

/* 郵便番号横並び */
.v3-zip-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v3-zip-row input {
  max-width: 200px;
}

.v3-zip-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background-color: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sub);
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.v3-zip-btn:hover {
  border-color: var(--clr-green);
  color: var(--clr-green-light);
}

/* プライバシーポリシー同意 */
.v3-contact__privacy {
  text-align: center;
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
}

.v3-contact__privacy-text {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
}

.v3-contact__privacy-text a {
  color: var(--clr-green-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v3-contact__privacy-text a:hover {
  color: var(--clr-green);
}

/* チェックボックス */
.v3-contact__form-wrap .form-check-input,
.v3-contact__form-wrap input[type="checkbox"] {
  width: auto;
  appearance: auto;
  -webkit-appearance: auto;
  margin-right: 6px;
  accent-color: var(--clr-green);
}

/* MW WP Form のチェックボックスラッパー */
.v3-contact__form-wrap .mwform-checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-text);
}

/* ボタンエリア */
.v3-contact__actions {
  text-align: center;
  margin-top: 50px;
}
@media (min-width: 576px) {
  .v3-contact__actions {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}

/* チェックボックス */
.v3-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--fs-body);
  color: var(--clr-text);
  margin-bottom: 8px;
}
.v3-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-green);
  cursor: pointer;
}

/* ボタン */
.v3-contact__form-wrap input[type="submit"],
.v3-contact__form-wrap button[type="submit"],
.v3-contact__form-wrap .btn-murakami {
  display: inline-block;
  min-width: 220px;
  padding: 14px 40px;
  border: 1px solid var(--clr-green) !important;
  background-color: transparent !important;
  color: var(--clr-green-light) !important;
  font-family: var(--font-gothic);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  transition: background-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out);
  border-radius: 0;
}
.v3-contact__form-wrap input[type="submit"]:hover,
.v3-contact__form-wrap .btn-murakami:hover {
  background-color: var(--clr-green) !important;
  color: var(--clr-bg) !important;
}

/* 戻るボタン */
.v3-contact__form-wrap .btn-murakami.btn-white {
  border-color: var(--clr-text-sub) !important;
  color: var(--clr-text-sub) !important;
  margin-bottom: 16px;
}
@media (min-width: 576px) {
  .v3-contact__form-wrap .btn-murakami.btn-white {
    margin-bottom: 0;
  }
}
.v3-contact__form-wrap .btn-murakami.btn-white:hover {
  background-color: var(--clr-text-sub) !important;
  color: var(--clr-bg) !important;
}

/* エラーメッセージ（MW WP Form） */
.v3-contact__form-wrap .mw_wp_form .error {
  color: #c45;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* MW WP Form プレビューモード */
.v3-contact__form-wrap .mw_wp_form_preview .d-preview-none {
  display: none;
}

/* ----------------------------------------------------------
   16b. お問い合わせ完了・エラーページ
---------------------------------------------------------- */
.v3-contact-result {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  min-height: 60vh;
}
@media (min-width: 576px) {
  .v3-contact-result {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }
}

.v3-contact-result__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.v3-contact-result__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.v3-contact-result__sub {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
}

/* PDF ダウンロードカード */
.v3-dl-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 32px 24px;
  margin-bottom: 24px;
  transition: border-color 0.3s;
}
@media (min-width: 576px) {
  .v3-dl-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
  }
}
.v3-dl-card:hover {
  border-color: var(--clr-green);
}

.v3-dl-card__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}
@media (min-width: 576px) {
  .v3-dl-card__img {
    flex-shrink: 0;
    width: 280px;
    margin-bottom: 0;
  }
}

.v3-dl-card__body {
  flex: 1;
}

.v3-dl-card__text {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 20px;
}

.v3-contact-result__actions {
  text-align: center;
  margin-top: 70px;
}
@media (min-width: 576px) {
  .v3-contact-result__actions {
    margin-top: 100px;
  }
}


/* ----------------------------------------------------------
   17. 会社概要ページ
---------------------------------------------------------- */

/* ヒーロー */
.v3-company-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-company-hero {
    height: 60vh;
    min-height: 420px;
  }
}

.v3-company-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v3-company-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to top, var(--clr-bg) 0%, transparent 40%);
}

.v3-company-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.v3-company-hero__content .v3-section-label {
  color: var(--clr-text);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

.v3-company-hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 0;
}

/* 代表あいさつ */
.v3-company-message {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  position: relative;
}

.v3-company-message__layout {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 576px) {
  .v3-company-message__layout {
    flex-direction: row;
    align-items: stretch;
    min-height: 70vh;
  }
}

/* テキスト側 */
.v3-company-message__text-side {
  flex: 0 0 auto;
  width: 100%;
  padding: var(--sp-lg) 30px var(--sp-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 576px) {
  .v3-company-message__text-side {
    width: 55%;
    padding: var(--sp-xl) 60px;
  }
}

.v3-company-message__header {
  margin-bottom: var(--sp-sm);
}

.v3-company-message__text {
  font-family: var(--font-mincho);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--clr-text-sub);
  text-align: justify;
}

.v3-company-message__sign {
  text-align: right;
  margin-top: var(--sp-md);
  align-self: flex-end;
}
.v3-company-message__sign img {
  width: auto;
  max-width: 200px;
  height: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}
@media (min-width: 576px) {
  .v3-company-message__sign img {
    max-width: 255px;
  }
}

/* SP: テキスト側のサインを隠し、画像下のサインを表示 */
.v3-company-message__sign--pc {
  display: none;
}
.v3-company-message__sign--sp {
  display: block;
  text-align: center;
  margin-top: -10px;
  padding-bottom: var(--sp-md);
}
@media (min-width: 576px) {
  .v3-company-message__sign--pc {
    display: block;
  }
  .v3-company-message__sign--sp {
    display: none;
  }
}

/* 画像側 */
.v3-company-message__img-side {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md) 20px;
}
@media (min-width: 576px) {
  .v3-company-message__img-side {
    width: 45%;
    padding: 0;
    margin-left: -80px;
    margin-right: -40px;
  }
}

.v3-company-message__portrait {
  width: 110%;
  max-width: 650px;
  height: auto;
  opacity: 0.9;
}

/* 会社概要テーブル */
.v3-company-info {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-company-info {
    padding: var(--sp-2xl) 0;
  }
}

.v3-company-info__header {
  margin-bottom: var(--sp-lg);
}

.v3-company-info__table-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.v3-company-table {
  width: 100%;
  border-collapse: collapse;
}

.v3-company-table th,
.v3-company-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  vertical-align: top;
  text-align: left;
}

.v3-company-table th {
  font-family: var(--font-gothic);
  font-weight: 400;
  color: var(--clr-text-muted);
  white-space: nowrap;
  width: 100px;
  padding-right: 20px;
}
@media (min-width: 576px) {
  .v3-company-table th {
    width: 160px;
    padding-right: 40px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .v3-company-table td {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

.v3-company-table td {
  color: var(--clr-text);
}

/* 会社概要セクション内マップ */
.v3-company-info__map {
  margin-top: var(--sp-lg);
}
.v3-company-info__map iframe {
  display: block;
  width: 100%;
  height: 260px;
}
@media (min-width: 576px) {
  .v3-company-info__map iframe {
    height: 360px;
  }
}


/* ----------------------------------------------------------
   17b. アクセス（未使用・予備）
---------------------------------------------------------- */
.v3-access {
  border-bottom: 1px solid var(--clr-border);
}

.v3-access__layout {
  display: flex;
  flex-direction: column;
}
@media (min-width: 576px) {
  .v3-access__layout {
    flex-direction: row;
    align-items: stretch;
    min-height: 400px;
  }
}

/* テキスト側 */
.v3-access__info {
  padding: var(--sp-lg) 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 576px) {
  .v3-access__info {
    width: 42%;
    padding: var(--sp-xl) 60px;
    flex-shrink: 0;
  }
}

.v3-access__details {
  margin-top: var(--sp-md);
}

.v3-access__details p {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 16px;
}

/* マップ側 */
.v3-access__map {
  width: 100%;
  min-height: 280px;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-access__map {
    flex: 1;
    min-height: unset;
  }
}

.v3-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
}
@media (min-width: 576px) {
  .v3-access__map iframe {
    min-height: 400px;
  }
}


/* ----------------------------------------------------------
   18. 私たちの想い
---------------------------------------------------------- */

/* 導入 */
.v3-thoughts {
  padding: var(--sp-xl) 0 var(--sp-lg);
  border-bottom: 1px solid var(--clr-border);
}
@media (min-width: 576px) {
  .v3-thoughts {
    padding: var(--sp-2xl) 0 var(--sp-xl);
  }
}

.v3-thoughts__header {
  margin-bottom: var(--sp-md);
}

.v3-thoughts__lead {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  text-align: center;
}

/* 取り組みブロック（全幅画像 + オーバーレイテキスト） */
.v3-thoughts-block {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-thoughts-block {
    min-height: 80vh;
  }
}

.v3-thoughts-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* オーバーレイ: テキスト側を暗く */
.v3-thoughts-block__overlay {
  position: absolute;
  inset: 0;
}
.v3-thoughts-block__overlay--right {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 70%);
}
.v3-thoughts-block__overlay--left {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 70%);
}
@media (min-width: 576px) {
  .v3-thoughts-block__overlay--right {
    background:
      linear-gradient(to left, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.10) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.25) 100%);
  }
  .v3-thoughts-block__overlay--left {
    background:
      linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.10) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.25) 100%);
  }
}

/* コンテンツ: モバイルは下部中央 */
.v3-thoughts-block__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  padding: 0 24px 48px;
}
@media (min-width: 576px) {
  .v3-thoughts-block__content {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 48%;
    max-width: 520px;
    padding: 0 60px;
  }
  .v3-thoughts-block__content--right {
    left: auto;
    right: 0;
    text-align: right;
  }
  .v3-thoughts-block__content--left {
    left: 0;
    right: auto;
    text-align: left;
  }
}

.v3-thoughts-block__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  margin-bottom: 16px;
}

.v3-thoughts-block__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 20px;
}

.v3-thoughts-block__sdgs img {
  height: 48px;
  width: auto;
  opacity: 0.85;
}
@media (min-width: 576px) {
  .v3-thoughts-block__sdgs img {
    height: 56px;
  }
}

/* v3-divider 右寄せ対応 */
@media (min-width: 576px) {
  .v3-thoughts-block__content--right .v3-divider {
    margin-left: auto;
    margin-right: 0;
  }
}


/* ----------------------------------------------------------
   20. 施工事例ページ
---------------------------------------------------------- */

/* ヒーロー */
.v3-works-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-works-hero {
    height: 60vh;
    min-height: 420px;
  }
}

.v3-works-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v3-works-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to top, var(--clr-bg) 0%, transparent 40%);
}

.v3-works-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.v3-works-hero__label {
  color: var(--clr-text);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

.v3-works-hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* フィーチャード事例 */
.v3-works-featured {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-works-featured {
    padding: var(--sp-2xl) 0;
  }
}

.v3-works-featured__header {
  margin-bottom: var(--sp-lg);
}

.v3-works-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 576px) {
  .v3-works-featured__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* フィーチャードカード */
.v3-works-featured__card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.v3-works-featured__card:hover {
  border-color: var(--clr-green);
  transform: translateY(-4px);
  color: inherit;
}

/* 正方形画像 */
.v3-works-featured__card-img {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.v3-works-featured__card:hover .v3-works-featured__card-img {
  transform: scale(1.04);
}

.v3-works-featured__card-body {
  padding: 20px;
}
@media (min-width: 576px) {
  .v3-works-featured__card-body {
    padding: 24px;
  }
}

.v3-works-featured__card-tag {
  display: inline-block;
  font-family: var(--font-gothic);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--clr-green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.v3-works-featured__card-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.v3-works-featured__card-sub {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-bottom: 12px;
}

.v3-works-featured__card-desc {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

/* 全施工事例グリッド */
.v3-works-all {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-works-all {
    padding: var(--sp-2xl) 0;
  }
}

.v3-works-all__header {
  margin-bottom: var(--sp-lg);
}

.v3-works-all__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 576px) {
  .v3-works-all__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.v3-works-all__item {
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* 正方形画像 */
.v3-works-all__item-img {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.v3-works-all__item:hover .v3-works-all__item-img {
  transform: scale(1.05);
}

/* ホバーで情報表示 */
.v3-works-all__item-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.v3-works-all__item:hover .v3-works-all__item-info {
  opacity: 1;
}

/* SP: 常に表示 */
@media (max-width: 575px) {
  .v3-works-all__item-info {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    padding: 12px;
  }
}

.v3-works-all__item-tag {
  font-family: var(--font-gothic);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--clr-green-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.v3-works-all__item-title {
  font-size: var(--fs-small);
  color: var(--clr-text);
  letter-spacing: var(--ls-normal);
  margin-bottom: 0;
  line-height: 1.4;
}


/* ----------------------------------------------------------
   19. SDGs セクション
---------------------------------------------------------- */
.v3-sdgs {
  padding: var(--sp-xl) 0;
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
@media (min-width: 576px) {
  .v3-sdgs {
    padding: var(--sp-2xl) 0;
  }
}

.v3-sdgs__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.v3-sdgs__header .v3-section-body {
  margin-top: 12px;
}

/* 背景画像 */
.v3-sdgs__visual {
  margin-bottom: var(--sp-lg);
}
.v3-sdgs__visual-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
}

/* ゴール一覧画像 */
.v3-sdgs__goals-img {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.v3-sdgs__goals-img img {
  max-width: 380px;
  width: 70%;
  height: auto;
}

/* SDGsとは */
.v3-sdgs__about {
  max-width: 720px;
  margin: 0 auto var(--sp-lg);
  padding: 32px 24px;
  border: 1px solid var(--clr-border);
  background-color: var(--clr-bg);
}
@media (min-width: 576px) {
  .v3-sdgs__about {
    padding: 48px;
  }
}

.v3-sdgs__about-title {
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 400;
  text-align: center;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.v3-sdgs__about-text {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
}

/* SDGs カードグリッド */
.v3-sdgs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto var(--sp-lg);
}
@media (min-width: 576px) {
  .v3-sdgs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.v3-sdgs-card {
  padding: 32px 24px;
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  transition: border-color 0.3s;
}
.v3-sdgs-card:hover {
  border-color: var(--clr-green);
}

.v3-sdgs-card__icon {
  text-align: center;
  margin-bottom: 16px;
}
.v3-sdgs-card__icon img {
  width: 80px;
  height: 80px;
}

.v3-sdgs-card__title {
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: var(--ls-normal);
  margin-bottom: 0;
}

.v3-sdgs-card .v3-divider {
  margin: 16px 0;
}

.v3-sdgs-card__desc {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 0;
}

/* 外部リンク */
.v3-sdgs__link {
  text-align: center;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.v3-sdgs__link-label {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}


/* ----------------------------------------------------------
   20. GXシリーズ 専用ページ
---------------------------------------------------------- */

/* ── ヒーロー ── */
.v3-gx-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-gx-hero {
    height: 80vh;
    min-height: 540px;
  }
}

.v3-gx-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v3-gx-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--clr-bg) 0%, rgba(13,13,13,0.4) 50%, transparent 100%);
}

.v3-gx-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-lg) var(--sp-md);
  max-width: 640px;
}
@media (min-width: 576px) {
  .v3-gx-hero__content {
    padding: var(--sp-xl) var(--sp-lg);
  }
}

.v3-gx-hero__label {
  color: var(--clr-green-light);
  margin-bottom: 8px;
}

.v3-gx-hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.v3-gx-hero__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-normal);
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.v3-gx-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ── コンセプト ── */
.v3-gx-concept {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-gx-concept {
    padding: var(--sp-2xl) 0;
  }
}

.v3-gx-concept__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 576px) {
  .v3-gx-concept__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}

.v3-gx-concept__text {
  min-width: 0;
}

.v3-gx-concept__text .v3-section-title {
  margin-top: 12px;
  margin-bottom: 24px;
}

.v3-gx-concept__slider {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.v3-gx-concept__slider .product-koukin-swiper {
  overflow: hidden;
  border-radius: 2px;
}
.v3-gx-concept__slider .product-koukin-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

.v3-gx-concept__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.v3-gx-concept__nav:hover {
  background: rgba(13, 13, 13, 0.85);
  border-color: var(--clr-green);
}

.v3-gx-concept__nav--prev {
  left: 12px;
}
.v3-gx-concept__nav--next {
  right: 12px;
}


/* ── HIKARI-TATAMI 専用ページ ── */

/* ヒーロー */
.v3-hikari-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 576px) {
  .v3-hikari-hero {
    height: 80vh;
    min-height: 540px;
  }
}

.v3-hikari-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v3-hikari-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--clr-bg) 0%, rgba(13,13,13,0.4) 50%, transparent 100%);
}

.v3-hikari-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-lg) var(--sp-md);
  max-width: 640px;
}
@media (min-width: 576px) {
  .v3-hikari-hero__content {
    padding: var(--sp-xl) var(--sp-lg);
  }
}

.v3-hikari-hero__label {
  color: var(--clr-green-light);
  margin-bottom: 8px;
}

.v3-hikari-hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.v3-hikari-hero__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-normal);
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.v3-hikari-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* コンセプト */
.v3-hikari-concept {
  padding: var(--sp-lg) 0;
}
@media (min-width: 576px) {
  .v3-hikari-concept {
    padding: var(--sp-xl) 0;
  }
}

.v3-hikari-concept__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 576px) {
  .v3-hikari-concept__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}

.v3-hikari-concept__text .v3-section-title {
  margin-top: 12px;
  margin-bottom: 24px;
}

.v3-hikari-concept__slider {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.v3-hikari-concept__slider .product-hikari-swiper {
  overflow: hidden;
  border-radius: 2px;
}
.v3-hikari-concept__slider .product-hikari-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

.v3-hikari-concept__text {
  min-width: 0;
}

.v3-hikari-concept__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.v3-hikari-concept__nav:hover {
  background: rgba(13, 13, 13, 0.85);
  border-color: var(--clr-green);
}

.v3-hikari-concept__nav--prev {
  left: 12px;
}
.v3-hikari-concept__nav--next {
  right: 12px;
}

/* スクロール動画セクション */
.v3-hikari-sequence {
  height: 300vh;
  position: relative;
  background-color: var(--clr-bg);
}

.v3-hikari-sequence__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-bg);
  overflow: hidden;
}

.v3-hikari-sequence__canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.v3-hikari-sequence__canvas.is-visible {
  opacity: 1;
}

/* カスタムオーダー オーバーレイ（キャンバス上に重なるテキスト） */
.v3-custom-order-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 70%
  );
}
@media (min-width: 576px) {
  .v3-custom-order-overlay {
    padding: 60px 48px;
  }
}
@media (min-width: 992px) {
  .v3-custom-order-overlay {
    padding: 80px 72px;
  }
}

.v3-custom-order-overlay__inner {
  max-width: 720px;
  pointer-events: auto;
}

.v3-custom-order-overlay .v3-section-label {
  color: var(--clr-green);
  margin-bottom: 12px;
}

.v3-custom-order-overlay__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--clr-text);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.v3-custom-order-overlay__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.v3-custom-order-overlay__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.v3-custom-order-overlay__tags .v3-custom-order__tag {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--clr-text-sub);
  padding: 6px 16px;
  font-size: 0.75rem;
}

.v3-custom-order-overlay .v3-custom-order__cta-link {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.v3-custom-order-overlay .v3-custom-order__cta-link:hover {
  border-color: var(--clr-green);
  background-color: var(--clr-green);
  color: var(--clr-bg);
}

/* 特許情報 */
.v3-hikari-patent {
  padding: 0 0 var(--sp-md);
}
.v3-hikari-patent__text {
  display: inline-block;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-normal);
  color: var(--clr-text-sub);
  border: 1px solid var(--clr-border);
  padding: 12px 28px;
  margin-bottom: 0;
}

/* 製品の特徴 */
.v3-hikari-features {
  padding: var(--sp-lg) 0 var(--sp-xl);
}
@media (min-width: 576px) {
  .v3-hikari-features {
    padding: var(--sp-xl) 0;
  }
}
.v3-hikari-features__header {
  margin-bottom: var(--sp-lg);
}

/* カラーバリエーション */
.v3-hikari-colors {
  padding: var(--sp-lg) 0 var(--sp-xl);
}
@media (min-width: 576px) {
  .v3-hikari-colors {
    padding: var(--sp-xl) 0;
  }
}
.v3-hikari-colors__header {
  margin-bottom: var(--sp-lg);
}
.v3-hikari-colors__header .v3-section-body {
  margin-top: 16px;
}

/* 製品ギャラリー */
.v3-hikari-gallery {
  padding: var(--sp-lg) 0 var(--sp-xl);
}
@media (min-width: 576px) {
  .v3-hikari-gallery {
    padding: var(--sp-xl) 0;
  }
}
.v3-hikari-gallery__header {
  margin-bottom: var(--sp-lg);
}

/* スペック */
.v3-hikari-spec {
  padding: var(--sp-lg) 0 var(--sp-xl);
}
@media (min-width: 576px) {
  .v3-hikari-spec {
    padding: var(--sp-xl) 0;
  }
}
.v3-hikari-spec__header {
  margin-bottom: var(--sp-lg);
}
.v3-hikari-spec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 576px) {
  .v3-hikari-spec__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}
.v3-hikari-spec__subtitle {
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 16px;
}
.v3-hikari-spec__note {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  line-height: var(--lh-normal);
  margin-top: 12px;
  margin-bottom: 0;
}


/* ── 製品の特徴 ── */
.v3-gx-features {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-gx-features {
    padding: var(--sp-2xl) 0;
  }
}

.v3-gx-features__header {
  margin-bottom: var(--sp-lg);
}

.v3-gx-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .v3-gx-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.v3-gx-features__card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 28px 24px;
  transition: border-color 0.4s, transform 0.4s;
}
.v3-gx-features__card:hover {
  border-color: var(--clr-green);
  transform: translateY(-3px);
}

.v3-gx-features__card-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--clr-green);
  margin-bottom: 12px;
}

.v3-gx-features__card-title {
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  color: var(--clr-text);
  margin-bottom: 12px;
}

.v3-gx-features__card-desc {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}


/* ── 製品ギャラリー ── */
.v3-gx-gallery {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-gx-gallery {
    padding: var(--sp-2xl) 0;
  }
}

.v3-gx-gallery__header {
  margin-bottom: var(--sp-lg);
}

.v3-gx-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .v3-gx-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.v3-gx-gallery__item {
  overflow: hidden;
  border: 1px solid var(--clr-border);
}
.v3-gx-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.v3-gx-gallery__item:hover img {
  transform: scale(1.05);
}


/* ── よくあるご質問 ── */
.v3-gx-faq {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-gx-faq {
    padding: var(--sp-2xl) 0;
  }
}

.v3-gx-faq__header {
  margin-bottom: var(--sp-lg);
}

.v3-gx-faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.v3-gx-faq__item {
  border-bottom: 1px solid var(--clr-border);
}
.v3-gx-faq__item:first-child {
  border-top: 1px solid var(--clr-border);
}

.v3-gx-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--clr-text);
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-normal);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
  gap: 16px;
}
.v3-gx-faq__question:hover {
  color: var(--clr-green-light);
}

.v3-gx-faq__icon {
  flex-shrink: 0;
  color: var(--clr-text-muted);
  transition: transform 0.3s var(--ease-out);
}
.v3-gx-faq__question:not(.collapsed) .v3-gx-faq__icon {
  transform: rotate(180deg);
}

.v3-gx-faq__answer {
  padding: 0 0 24px;
}
.v3-gx-faq__answer p {
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  line-height: var(--lh-loose);
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   カスタムオーダーセクション
---------------------------------------------------------- */
.v3-custom-order {
  padding: var(--sp-xl) 0;
}
@media (min-width: 576px) {
  .v3-custom-order {
    padding: var(--sp-2xl) 0;
  }
}

.v3-custom-order__header {
  margin-bottom: var(--sp-lg);
}

.v3-custom-order__header .v3-section-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.35;
}

.v3-custom-order__header .v3-section-body {
  max-width: 720px;
  margin-top: 16px;
}

/* ギャラリー: メイン + サムネイル */
.v3-custom-order__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: var(--sp-lg);
}
@media (min-width: 768px) {
  .v3-custom-order__gallery {
    grid-template-columns: 1fr 80px;
    gap: 12px;
  }
}

.v3-custom-order__main-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background-color: var(--clr-surface);
}

.v3-custom-order__main-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.v3-custom-order__main-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-size: var(--fs-small);
  color: var(--clr-text-sub);
  letter-spacing: var(--ls-normal);
}

.v3-custom-order__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
@media (min-width: 768px) {
  .v3-custom-order__thumbs {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    max-height: 500px;
  }
}

.v3-custom-order__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
  overflow: hidden;
}
@media (min-width: 768px) {
  .v3-custom-order__thumb {
    width: 80px;
    height: 80px;
  }
}

.v3-custom-order__thumb.is-active {
  border-color: var(--clr-text);
  opacity: 1;
}

.v3-custom-order__thumb:hover {
  opacity: 0.85;
}

.v3-custom-order__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タグ一覧 */
.v3-custom-order__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--sp-md);
}

.v3-custom-order__tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--clr-border);
  font-family: var(--font-gothic);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-normal);
  color: var(--clr-text-sub);
  background: transparent;
  transition: border-color 0.3s, color 0.3s;
  cursor: default;
}

.v3-custom-order__tag:hover {
  border-color: var(--clr-green);
  color: var(--clr-green-light);
}

/* CTA */
.v3-custom-order__cta {
  margin-top: var(--sp-md);
}

.v3-custom-order__cta p {
  font-size: var(--fs-body);
  color: var(--clr-text-sub);
  margin-bottom: 16px;
}

.v3-custom-order__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--clr-border);
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-normal);
  color: var(--clr-text);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.4s, background-color 0.4s, color 0.4s;
}

.v3-custom-order__cta-link:hover {
  border-color: var(--clr-green);
  background-color: var(--clr-green);
  color: var(--clr-bg);
}

.v3-custom-order__cta-link svg {
  transition: transform 0.3s;
}

.v3-custom-order__cta-link:hover svg {
  transform: translateX(4px);
}


/* ----------------------------------------------------------
   ヒーロー スライドショー（Ken Burns エフェクト）
---------------------------------------------------------- */
.v3-hero-slideshow__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v3-hero-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}

.v3-hero-slideshow__slide.is-active {
  opacity: 1;
}

/* Ken Burns: ゆっくりズームイン */
@keyframes kenBurnsIn {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.12); }
}

/* Ken Burns: ゆっくりズームアウト */
@keyframes kenBurnsOut {
  0%   { transform: scale(1.12); }
  100% { transform: scale(1);    }
}

/* 交互にイン/アウトのバリエーション */
@keyframes kenBurnsPanLeft {
  0%   { transform: scale(1.05) translateX(0);   }
  100% { transform: scale(1.12) translateX(-2%); }
}

@keyframes kenBurnsPanRight {
  0%   { transform: scale(1.05) translateX(0);  }
  100% { transform: scale(1.12) translateX(2%); }
}

.v3-hero-slideshow__slide.is-active.kb-in {
  animation: kenBurnsIn 7s ease-out forwards;
}
.v3-hero-slideshow__slide.is-active.kb-out {
  animation: kenBurnsOut 7s ease-out forwards;
}
.v3-hero-slideshow__slide.is-active.kb-left {
  animation: kenBurnsPanLeft 7s ease-out forwards;
}
.v3-hero-slideshow__slide.is-active.kb-right {
  animation: kenBurnsPanRight 7s ease-out forwards;
}

