/* ============================================================
   +FINO (plufino.com) 新デザイン スタイルシート
   コンセプト: シンプル・ミニマル・モダン・上質（参考: info.miratap.co.jp）
   ============================================================ */

:root {
  --white: #ffffff;
  --bg-soft: #f7f7f5;
  --ink: #111111;
  --ink-soft: #333333;
  --ink-muted: #4a4a4a;
  --line: #e5e5e3;
  --line-strong: #d8d8d5;
  --accent: #b3684f;
  --duration: 700ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-jp: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-en: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--ink-soft);
  background: var(--white);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ページタイトル以下の本文コンテンツは、ヘッダー・フッターより広い幅を基本仕様とする（今後作成するページも本ルールを継承） */
main .wrap {
  max-width: 1400px;
}

.wrap-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.wrap-md {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* 画面幅いっぱいに近づけたいセクション専用（会社情報メニューなど） */
.wrap--wide {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

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

/* スマホ表示では左寄せ、PC表示（768px以上）でのみ中央寄せにする */
.text-center-md { text-align: left; }

@media (min-width: 768px) {
  .text-center-md { text-align: center; }
}

/* ============================================================
   共通: セクションラベル
   ============================================================ */
.section-label {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-label .en-title {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.section-label .jp-sub {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
}

.section-label .line {
  width: 40px;
  height: 1px;
  background: var(--ink);
  margin-top: 1.6rem;
}

.section-label.center {
  text-align: center;
}

.section-label.center .line {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

/* お問い合わせ／カタログ請求ページ：見出し直下のためトップpaddingを狭くする */
.section--form-top {
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* お問い合わせ／カタログ請求ページ：本文と各項目の文字をより濃くはっきり見せる */
.section--form-top .statement-text {
  color: var(--ink-soft);
}

.section--form-top .form-checkbox,
.section--form-top .form-note,
.section--form-top .form-optional {
  color: var(--ink-soft);
}

.section-alt {
  background: var(--bg-soft);
}

/* ============================================================
   フェードインアニメーション（main.js の IntersectionObserver と連動）
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger .fade-in:nth-child(2) { transition-delay: 80ms; }
.stagger .fade-in:nth-child(3) { transition-delay: 160ms; }
.stagger .fade-in:nth-child(4) { transition-delay: 240ms; }
.stagger .fade-in:nth-child(5) { transition-delay: 320ms; }
.stagger .fade-in:nth-child(6) { transition-delay: 400ms; }
.stagger .fade-in:nth-child(7) { transition-delay: 480ms; }
.stagger .fade-in:nth-child(8) { transition-delay: 560ms; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-invert {
  border-color: var(--white);
  color: var(--white);
}

.btn-invert:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-arrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width var(--duration) var(--ease);
}

.btn-arrow:hover::after {
  width: 28px;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background var(--duration) var(--ease), padding var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  color: var(--ink);
}

.header-logo img {
  height: 30px;
  width: auto;
}

/* ヒーロー上ではロゴ・ナビを白文字に */
.site-header:not(.is-scrolled) {
  color: var(--white);
}

.site-header:not(.is-scrolled) .header-logo img {
  filter: brightness(0) invert(1);
}

/* サブページ（page-solid-header）はヒーロー画像を持たないため、
   JavaScriptでis-scrolledが付与されるのを待たず、読み込み直後から
   スクロール後と同じ見た目にしておく（表示がガタつくのを防ぐ） */
body.page-solid-header .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  color: var(--ink);
}

body.page-solid-header .site-header .header-logo img {
  filter: none;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.header-nav {
  display: none;
}

/* デスクトップ幅ではヒーロー上（スクロール前）はメニューを非表示にし、
   スクロールしてヘッダー背景が白くなったタイミングでフェード表示する */
@media (min-width: 900px) {
  .header-nav {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration) var(--ease), visibility 0s linear var(--duration);
  }

  .site-header.is-scrolled .header-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--duration) var(--ease);
  }
}

.header-nav > ul {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.header-nav a,
.header-nav button {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: inherit;
}

/* ============================================================
   メガドロップダウン（コンセプト等：全幅・黒背景）
   ============================================================ */
.nav-item.has-mega > a {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav-item.has-mega > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.nav-item.has-mega:hover > a::after,
.nav-item.has-mega.is-open > a::after {
  transform: scaleX(1);
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility 0s linear var(--duration);
}

.nav-item.has-mega:hover .mega-panel,
.nav-item.has-mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--duration) var(--ease);
}

.mega-panel-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  padding-left: clamp(3rem, 12vw, 9rem);
  padding-right: clamp(3rem, 12vw, 9rem);
}

.mega-panel-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-panel-label .mega-en {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.mega-panel-label .mega-jp {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.85);
}

.mega-panel-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-left: clamp(2rem, 4vw, 3rem);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.mega-panel-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #ffffff;
  transition: opacity var(--duration) var(--ease);
}

.mega-panel-links a::after {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.64);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.mega-panel-links a:hover {
  opacity: 0.6;
}

.mega-panel-links a:hover::after {
  transform: scaleX(1);
}

/* 製品情報：他のメニューと同じ縦並びリストのまま、配下ページをインデント表示 */
.mega-panel--products .wrap {
  max-width: 1600px;
}

.mega-panel--products .mega-panel-inner {
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.mega-panel--products .mega-panel-links {
  gap: 1.6rem;
}

.mega-panel-sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-left: 1rem;
}

.mega-panel-sublinks span,
.mega-panel-sublinks a {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration) var(--ease);
}

.mega-panel-sublinks li:hover span,
.mega-panel-sublinks a:hover {
  color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-tel {
  display: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.hamburger {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hamburger-icon {
  position: relative;
  width: 28px;
  height: 18px;
}

.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease), top var(--duration) var(--ease);
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.hamburger-text {
  position: relative;
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.hamburger-text-close { display: none; }

.hamburger.is-open { color: var(--white); }
.hamburger.is-open .hamburger-icon span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.hamburger.is-open .hamburger-icon span:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-icon span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.hamburger.is-open .hamburger-text-open { display: none; }
.hamburger.is-open .hamburger-text-close { display: inline-block; }

@media (min-width: 900px) {
  .header-tel { display: block; }
}

/* ============================================================
   モバイルメニュー（全画面オーバーレイ／ヘッダーメニューと同内容）
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: #000000;
  color: var(--white);
  overflow-y: auto;
  padding: clamp(5rem, 10vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility 0s linear var(--duration);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.mobile-menu-close {
  position: absolute;
  top: clamp(1.5rem, 4vw, 2.2rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.mobile-menu-close-icon {
  position: relative;
  width: 22px;
  height: 16px;
}

.mobile-menu-close-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.mobile-menu-close-icon span:first-child { transform: rotate(45deg); }
.mobile-menu-close-icon span:last-child { transform: rotate(-45deg); }

.mobile-menu-close-text {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.mobile-menu-products {
  max-width: 1240px;
  margin: 0 auto 3rem;
}

.mobile-menu-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.5rem;
}

.mobile-menu-products-col > a,
.mobile-menu-products-group > a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  transition: opacity var(--duration) var(--ease);
}

.mobile-menu-products-col > a:hover,
.mobile-menu-products-group > a:hover {
  opacity: 0.6;
}

.mobile-menu-products-group + .mobile-menu-products-group {
  margin-top: 1.4rem;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  max-width: 1240px;
  margin: 0 auto;
}

.mobile-menu-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.mobile-menu-heading .en {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.mobile-menu-heading .jp {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
}

.mobile-menu-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mobile-menu-col a {
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.88);
  transition: opacity var(--duration) var(--ease);
}

.mobile-menu-col a:hover {
  opacity: 0.6;
}

.mobile-menu-sublist {
  margin-top: 0.7rem;
  padding-left: 1rem;
  gap: 0.55rem;
}

.mobile-menu-sublist span,
.mobile-menu-sublist a {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: rgba(255,255,255,0.8);
  transition: color var(--duration) var(--ease);
}

.mobile-menu-sublist li:hover span,
.mobile-menu-sublist a:hover {
  color: #ffffff;
}

.mobile-menu-col--cta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-tel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.mobile-menu-tel-label {
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}

.mobile-menu-tel a {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.mobile-menu-col--cta .btn {
  align-self: stretch;
  justify-content: center;
  margin-top: 2rem;
}

.mobile-menu-col--cta .btn + .btn {
  margin-top: 0.75rem;
}

@media (min-width: 700px) {
  .mobile-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .mobile-menu-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1080px) {
  .mobile-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 4rem;
  }

  .mobile-menu-products-grid {
    gap: 1.75rem 2rem;
  }
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-zoom 6s var(--ease) forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(3.5rem, 8vw, 6rem);
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  border-top: 1px solid rgba(255,255,255,0.6);
  padding-top: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: clamp(1rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  word-break: keep-all;
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  z-index: 2;
  writing-mode: vertical-rl;
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.7);
  animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   ステートメント（ブランドメッセージ）
   ============================================================ */
.statement-title {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 300;
  line-height: 2;
  color: var(--ink);
  margin: 1.6rem 0 2.2rem;
}

.statement-text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 2.3;
  margin-bottom: 2.6rem;
}

.lead-copy p {
  font-size: 0.87rem;
  color: var(--ink-muted);
  line-height: 2.2;
  margin-bottom: 1.6rem;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   プロダクトグリッド（ブロークングリッド）
   ============================================================ */
.product-bleed-head {
  width: 100%;
  padding: 0 clamp(0.75rem, 2.5vw, 2rem);
}

.product-grid-bleed {
  width: 100%;
  padding: 0 clamp(0.75rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.product-card {
  position: relative;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 5;
}

.product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease);
}

.product-card:hover .product-card-bg {
  transform: scale(1.06);
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
}

.product-card-info {
  position: absolute;
  left: 1.4rem;
  bottom: 1.3rem;
  z-index: 2;
  color: var(--white);
}

.product-card-en {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.product-card-jp {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-top: 0.35rem;
}

.product-more {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0 clamp(0.75rem, 2.5vw, 2rem);
}

/* モバイル：1カラムを比率違いでジグザグに */
@media (max-width: 639px) {
  .product-card:nth-child(3n+2) { aspect-ratio: 16 / 11; margin-left: 8%; }
  .product-card:nth-child(3n+3) { aspect-ratio: 1 / 1; margin-right: 8%; }
}

/* タブレット以上：不規則なブロークングリッド配置 */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(170px, 24vh, 240px);
    grid-auto-flow: dense;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
  }
  .product-card { aspect-ratio: auto; margin: 0; }

  .product-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .product-card:nth-child(2) { grid-column: span 2; margin-top: 1.5rem; }
  .product-card:nth-child(3) { grid-column: span 2; }
  .product-card:nth-child(4) { grid-column: span 2; margin-top: 2rem; }
  .product-card:nth-child(5) { grid-column: span 2; }
  .product-card:nth-child(6) { grid-column: span 2; margin-top: 1.5rem; }
  .product-card:nth-child(7) { grid-column: span 2; }
}

/* デスクトップ：縦横比を抑えた2段構成で1画面に収める */
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: clamp(220px, 26vh, 320px);
  }

  .product-card:nth-child(1) { grid-column: span 3; grid-row: span 2; margin-top: 0; }
  .product-card:nth-child(2) { grid-column: span 2; grid-row: span 1; margin-top: 0; }
  .product-card:nth-child(3) { grid-column: span 1; grid-row: span 1; margin-top: 1.5rem; }
  .product-card:nth-child(4) { grid-column: span 2; grid-row: span 1; margin-top: 0; }
  .product-card:nth-child(5) { grid-column: span 1; grid-row: span 1; margin-top: 1.5rem; }
  .product-card:nth-child(6) { grid-column: span 2; grid-row: span 1; margin-top: 0; }
  .product-card:nth-child(7) { grid-column: span 2; grid-row: span 1; margin-top: 1.5rem; }
}

/* ============================================================
   サービス（3カラム）
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

.service-col {
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.2rem;
}

.service-num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.service-col h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.service-col p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 2.1;
}

@media (min-width: 800px) {
  .service-row { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .service-row--2col { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   About split（画像 + テキスト）
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.about-body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.about-body p {
  font-size: 0.87rem;
  color: var(--ink-muted);
  line-height: 2.2;
  margin-bottom: 1.4rem;
}

@media (min-width: 860px) {
  .about-split { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; }
  .about-split--projects { grid-template-columns: 0.85fr 1.5fr; }
  .about-split--wide { grid-template-columns: 0.9fr 1.2fr; }
  .about-split--img-lg { grid-template-columns: 1.3fr 1fr; }
}

.section-projects .wrap {
  max-width: 1500px;
}

.section-solution .wrap {
  max-width: 1560px;
}

/* Projects：額縁風フレーム＋ホバーズームでスタイリッシュに */
.about-img-frame {
  position: relative;
  padding: 16px 16px 0 0;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 16px 16px 0 0;
  border: 1px solid var(--line-strong);
  z-index: 0;
}

.about-img-clip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.12);
}

.about-img--projects {
  aspect-ratio: 5 / 4;
  transition: transform 900ms var(--ease);
}

.about-img-frame:hover .about-img--projects {
  transform: scale(1.06);
}

@media (min-width: 860px) {
  .about-img--projects { aspect-ratio: 4 / 3.4; }
}

/* ============================================================
   スタイルタグ（対応インテリアスタイルの一覧表示など）
   ============================================================ */
.style-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.style-tags span {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* ============================================================
   About +FINO（ぼかし写真の背景＋テキストと写真をずらして重ねる2カラム）
   ============================================================ */
.about-us {
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.about-us .wrap {
  max-width: 1400px;
}

.about-us .section-label .en-title {
  color: #ffffff;
}

.about-us .section-label .jp-sub {
  color: rgba(255, 255, 255, 0.7);
}

.about-us .section-label .line {
  background: #ffffff;
}

.about-us-bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) blur(3px);
  transform: scale(1.1);
}

.about-us-overlay {
  position: absolute;
  inset: 0;
  background: rgba(230, 230, 228, 0.55);
}

.about-us-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about-us-text {
  display: flex;
  flex-direction: column;
}

.about-us-panel-frame {
  position: relative;
  margin-top: 2rem;
  padding: 0 0 14px 14px;
}

.about-us-panel-frame::before {
  content: '';
  position: absolute;
  inset: 14px 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.about-us-panel {
  position: relative;
  z-index: 1;
  background: rgba(30, 30, 30, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: clamp(2.25rem, 5vw, 3.5rem);
}

.about-us-panel h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.about-us-panel p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.about-us-media {
  position: relative;
  padding: 14px 14px 0 0;
}

.about-us-media::before {
  content: '';
  position: absolute;
  inset: 0 0 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.about-us-media-img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15);
}

@media (min-width: 900px) {
  .about-us-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 0;
  }

  .about-us-text {
    z-index: 2;
    margin-top: 4.5rem;
    margin-right: -4rem;
  }

  .about-us-media {
    z-index: 1;
    margin-top: 0;
  }

  .about-us-media-img {
    aspect-ratio: auto;
    height: 36rem;
  }
}

/* ============================================================
   ショールーム（画像＋パネルの誘導バナー）
   ============================================================ */
.showroom-section .wrap {
  max-width: 1400px;
}

.showroom-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.showroom-banner-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.showroom-banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.showroom-banner-slide.is-active {
  opacity: 1;
  animation: hero-zoom 6s var(--ease) forwards;
}

.showroom-banner-dots {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.6rem;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.showroom-banner-dots span {
  color: rgba(255,255,255,0.55);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.showroom-banner-dots span.is-active {
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}

.showroom-banner-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
  background: rgba(31,31,31,0.75);
  color: var(--white);
}

.showroom-banner-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.showroom-banner-line {
  display: block;
  width: 32px;
  height: 1px;
  margin: 1.1rem 0;
  background: rgba(255,255,255,0.4);
}

.showroom-banner-jp {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

.showroom-banner-more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.showroom-banner-more::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

.showroom-banner:hover .showroom-banner-more::after {
  width: 28px;
}

@media (min-width: 860px) {
  .showroom-banner { flex-direction: row; }
  .showroom-banner-img { flex: 1 1 auto; aspect-ratio: auto; }
  .showroom-banner-panel { flex: 0 0 clamp(280px, 32vw, 420px); order: -1; }
}

/* ============================================================
   CTAバンド
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}

.cta-heading {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.8rem;
}

.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-band .btn {
  flex: 1 1 280px;
  max-width: 320px;
  justify-content: center;
}

/* CTAバンド以外（明るい背景のセクションなど）で使う、幅の揃った横並びボタン */
.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.action-row .btn {
  flex: 1 1 260px;
  max-width: 320px;
  justify-content: center;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #1f1f1f;
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  padding-bottom: 3rem;
}

/* フッターの内側コンテンツ幅を、ハンバーガーメニュー内コンテンツ（1240px）と揃える。
   .wrapはborder-boxで左右paddingがmax-widthに含まれるため、その分を上乗せする */
.footer-top,
.footer-bottom {
  max-width: calc(1240px + 2 * clamp(1.25rem, 4vw, 2.5rem));
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 26px;
  margin-bottom: 1.5rem;
  filter: invert(1);
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.footer-products-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.1rem;
}

.footer-products-title + .footer-products-row {
  margin-top: -2.25rem;
}

.footer-products-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-products-group + .footer-products-group {
  margin-top: 1.4rem;
}

.footer-products-col > a,
.footer-products-group > a {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  margin-bottom: 0.7rem;
  transition: opacity var(--duration) var(--ease);
}

.footer-products-col > a:not([href="#"]):hover,
.footer-products-group > a:not([href="#"]):hover {
  opacity: 0.6;
}

.footer-products-sublist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 0.9rem;
}

.footer-products-sublist span,
.footer-products-sublist a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--duration) var(--ease);
}

.footer-products-sublist a:hover {
  color: var(--white);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col a {
  font-size: 0.83rem;
  color: var(--white);
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}

.footer-col a:not([href="#"]):hover {
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-tel {
  display: block;
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.footer-logo address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--white);
  line-height: 1.9;
}

/* ============================================================
   フッターバナー（トータルコーディネート・代理店募集など）
   ============================================================ */
.footer-banners {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 240px;
  margin-top: 1.75rem;
}

.footer-banner {
  position: relative;
  display: block;
  overflow: hidden;
}

.footer-banner-img {
  aspect-ratio: 5 / 2;
  background-size: cover;
  background-position: center;
  transition: opacity var(--duration) var(--ease);
}

.footer-banner-img--invert {
  filter: invert(1);
}

.footer-banner:hover .footer-banner-img {
  opacity: 0.8;
}

.footer-banner span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.75);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
}

/* 写真を活かしたシンプルなバナー用の修飾クラス（写真の上に、半透明の白い帯を重ねて文字を乗せる） */
.footer-banner--stylish .footer-banner-img {
  transition: transform 900ms var(--ease);
}

.footer-banner--stylish:hover .footer-banner-img {
  transform: scale(1.06);
  opacity: 1;
}

.footer-banner--stylish span {
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

/* フッターバナー行（ロゴ列から独立させ、フッター内で横並びの単独セクションとして表示） */
.footer-banner-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

@media (min-width: 640px) {
  .footer-banner-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

.footer-related {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (min-width: 700px) {
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .footer-products-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  .footer-top { grid-template-columns: 1fr 3.2fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .footer-products-row { gap: 1.75rem 2rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   下層ページ共通：ページヘッダー・パンくず・リンクカード
   ============================================================ */
.page-header {
  position: relative;
  height: clamp(220px, 32vw, 380px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.page-header-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-header-jp {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.08em;
}

/* 下層ページ共通：ページヘッダー（縦積み型／タイトルの下に画像が来るタイプ） */
.page-header-stacked {
  padding-top: clamp(3.5rem, 9vw, 6rem);
  text-align: center;
}

.page-header-stacked-inner {
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.page-header-stacked-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  margin-bottom: 1rem;
  color: var(--ink-muted);
}

.page-header-stacked-jp {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.page-header-stacked-img {
  height: clamp(200px, 25vw, 360px);
  background-size: cover;
  background-position: center;
}

/* 下層ページ共通：一覧ページへ戻るリンク */
.page-back-link-wrap {
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  transition: color var(--duration) var(--ease);
}

.page-back-link:hover {
  color: var(--ink);
}

.service-col-link {
  display: block;
  color: inherit;
  transition: opacity var(--duration) var(--ease);
}

.service-col-link:hover {
  opacity: 0.65;
}

.service-col-link.is-current {
  pointer-events: none;
}

.service-col-link.is-current .service-col {
  border-top-color: var(--ink);
}

/* ============================================================
   素材グリッド（Materials）
   ============================================================ */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}

.materials-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
}

.materials-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.materials-card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.materials-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 2;
}

@media (min-width: 640px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   図解カード（間取り図・線画をスタイリッシュな枠で見せる）
   ============================================================ */
.diagram-card {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  background-color: #fff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  box-sizing: border-box;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.05);
}

/* ============================================================
   フォトギャラリー（製品カテゴリーの写真一覧など）
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* 特定の画像を大きく表示するための修飾クラス（複数枚を大きくしたい場合に使用） */
.gallery-grid--dense { grid-auto-flow: dense; }

/* 大きい画像＋隣に縦2枚を並べるための修飾クラス（1枚目以外にも使用可能。2列×2行を占有） */
.gallery-item--hero { }

@media (min-width: 640px) {
  .gallery-item--hero { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .gallery-item--hero { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* 大きい画像を左右交互に配置するための修飾クラス（1024px以上で左寄せ／右寄せを指定） */
.gallery-item--hero-left,
.gallery-item--hero-right { }

@media (min-width: 640px) {
  .gallery-item--hero-left,
  .gallery-item--hero-right { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .gallery-item--hero-left { grid-column: 1 / span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery-item--hero-right { grid-column: 2 / span 2; grid-row: span 2; aspect-ratio: auto; }
}

.gallery-item--featured { grid-column: span 2; }

@media (min-width: 640px) {
  .gallery-item--featured { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .gallery-item--featured { aspect-ratio: 4 / 3; }
}

/* グループの境目で改行させ、項目名なしでも違いがわかるようにする修飾クラス */
.gallery-item--group-start {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* ============================================================
   コンセプトページ紹介カード（画像＋オーバーラップパネル）
   ============================================================ */
.concept-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem 2rem;
}

@media (min-width: 800px) {
  .concept-highlight-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
  .concept-highlight-grid--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .concept-highlight-grid--4col { grid-template-columns: repeat(4, 1fr); }
}

.concept-highlight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.concept-highlight-figure {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background-color: #1a1a1a;
}

.concept-highlight-figure-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease);
}

.concept-highlight-card:hover .concept-highlight-figure-img {
  transform: scale(1.06);
}

.concept-highlight-num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.concept-highlight-num::after {
  content: '';
  display: block;
  width: 1.4rem;
  height: 1px;
  background: var(--white);
  margin-top: 0.55rem;
}

.concept-highlight-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: calc(100% - 2rem);
  margin: -2.4rem auto 0;
  padding: 1.7rem 1.5rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--ink);
  transition: box-shadow var(--duration) var(--ease);
}

.concept-highlight-card:hover .concept-highlight-panel {
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.12);
}

.concept-highlight-panel h3 {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.concept-highlight-panel p {
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.concept-highlight-more {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--ink);
}

.concept-highlight-more::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

.concept-highlight-card:hover .concept-highlight-more::after {
  width: 28px;
}

.concept-highlight-card.is-current {
  pointer-events: none;
}

.concept-highlight-card.is-current .concept-highlight-panel {
  border-top-color: var(--line-strong);
}

.concept-highlight-card.is-current .concept-highlight-more {
  color: var(--ink-muted);
}

/* ============================================================
   オーダープロセス（縦型タイムライン）
   ============================================================ */
.process-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 35px;
  width: 1px;
  background: var(--line-strong);
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 1.9rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration) var(--ease);
}

.process-step:hover .process-step-icon {
  border-color: var(--ink);
}

.process-step-icon img {
  width: 32px;
  height: auto;
}

.process-step-body {
  padding-top: 0.4rem;
}

.process-step-num {
  display: block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.process-step-body h3 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.process-step-body p {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.9;
}

.process-duration-row {
  display: flex;
  justify-content: center;
  margin: clamp(1.5rem, 3.5vw, 2.2rem) 0;
}

.process-duration {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-align: center;
}

.process-duration strong {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.05em;
}

/* ============================================================
   会社情報トップページ：詳細ページへのリンクカードグリッド
   ============================================================ */
.company-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 3rem);
}

.company-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.company-nav-card-bg {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease);
}

.company-nav-card:hover .company-nav-card-bg {
  transform: scale(1.04);
}

.company-nav-card-info {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin: -2.75rem clamp(0.75rem, 2.5vw, 1.25rem) 0;
  background: var(--white);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.4rem);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.12);
  color: var(--ink);
}

.company-nav-card-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  letter-spacing: 0.1em;
  color: var(--ink);
}

.company-nav-card-jp {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 17, 0.55);
  margin-top: 0.35rem;
}

.company-nav-card-desc {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.75);
}

.company-nav-card-info::after {
  content: '\2192';
  position: absolute;
  right: clamp(1rem, 2vw, 1.4rem);
  bottom: -1.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--duration) var(--ease);
}

.company-nav-card:hover .company-nav-card-info::after {
  transform: translateX(3px);
}

@media (min-width: 640px) {
  .company-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  /* 3枚ではなく2枚を並べたい場合の修飾クラス（実例トップページなど） */
  .company-nav-grid--pair {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }
}

/* ============================================================
   お客様の声カード（実例/voiceページ）
   ============================================================ */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.25rem);
}

@media (min-width: 768px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.voice-card {
  background: var(--white);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

.voice-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.voice-card-body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.voice-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.1rem;
}

.voice-card-quote {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--ink);
}

.voice-card-name {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(17, 17, 17, 0.55);
}

.voice-card-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
  transition: opacity var(--duration) var(--ease);
}

.voice-card-more:hover {
  opacity: 0.6;
}

/* お客様の声 個別事例ページ（オーダーの流れ：左側の縦ラインで進行を表現） */
.voice-story {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 4.5rem);
  padding-left: 64px;
}

.voice-story-line {
  position: absolute;
  top: 0;
  left: 23px;
  width: 0;
  height: 0;
  border-left: 2px dotted var(--line-strong);
}

.voice-story-line-progress {
  position: absolute;
  top: 0;
  left: 23px;
  width: 0;
  height: 0;
  border-left: 2px dotted var(--ink-muted);
}

.voice-story-step {
  position: relative;
}

.voice-story-node {
  position: absolute;
  top: 0;
  left: -64px;
  z-index: 1;
}

.voice-story-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.voice-story-node.is-active .voice-story-num {
  opacity: 1;
  transform: scale(1);
}

.voice-story-media {
  margin-bottom: 1.25rem;
}

.voice-story-img {
  display: block;
  width: 100%;
  aspect-ratio: 679 / 382;
  object-fit: cover;
}

.voice-story-media--contain .about-img-clip {
  background: var(--bg-soft);
}

.voice-story-media--contain .voice-story-img {
  object-fit: contain;
}

.voice-story-media--contain-white .about-img-clip {
  background: #ffffff;
}

.voice-story-media--contain-white .voice-story-img {
  object-fit: contain;
}

.voice-story-text h3 {
  margin-bottom: 0.6rem;
}

.voice-story-text p {
  font-size: 0.87rem;
  color: var(--ink-muted);
  line-height: 2.2;
}

@media (min-width: 768px) {
  .voice-story-step {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .voice-story-media {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
  }

  .voice-story-text {
    flex: 1 1 0;
    min-width: 0;
  }
}

.spec-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 2.5rem;
}

.voice-highlight-img {
  display: block;
  width: 100%;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.voice-highlight-quote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 2;
  text-align: center;
  color: var(--ink);
}

.voice-highlight-name {
  display: block;
  margin-top: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(17, 17, 17, 0.55);
}

/* ============================================================
   会社概要・ショールーム 詳細ページ共通パーツ
   ============================================================ */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid var(--line);
}

.profile-table th,
.profile-table td {
  padding: 1.1rem 0.5rem;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.9;
  vertical-align: top;
}

.profile-table th {
  width: 11em;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.profile-table td {
  color: var(--ink-muted);
}

.profile-table a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 639px) {
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 0.2rem 0;
  }

  .profile-table th {
    padding-top: 1.1rem;
  }

  .profile-table td {
    padding-bottom: 1.1rem;
  }
}

.notice-box {
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.notice-date {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.notice-box h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0.6rem 0 0.9rem;
}

.notice-box p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.9;
}

.showroom-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

.showroom-service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  object-fit: contain;
}

.showroom-service-grid span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .showroom-service-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-directions h4 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1.6rem 0 0.6rem;
}

.access-directions h4:first-child {
  margin-top: 0;
}

.access-directions ol {
  padding-left: 1.2em;
  list-style: decimal;
}

.access-directions li {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 0.3rem;
}

/* 4項目を2×2で均等表示するmaterials-gridの修飾クラス（環境方針ページの取り組み一覧など） */
@media (min-width: 640px) {
  .materials-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .materials-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 直前のセクションが左揃えの場合に、戻るリンクも左揃えにする修飾クラス */
.page-back-link-wrap--left {
  text-align: left;
}

/* ============================================================
   共通: hidden ユーティリティ（フォームのハニーポット・メッセージ切替用）
   ============================================================ */
.hidden {
  display: none !important;
}

/* ============================================================
   お問い合わせページ：フォーム
   （info.miratap.co.jp/contact/ のレイアウトを参考にしつつ、
    枠線ではなく背景色で入力欄を示す・アウトラインボタンにする等、
    このサイトのトーンに合わせて差異を持たせている）
   ============================================================ */
.contact-form-container {
  max-width: 100%;
  margin: 0 auto;
}

.contact-form-error {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #d8433c;
  color: #d8433c;
  font-size: 0.85rem;
  line-height: 1.7;
}

.contact-form {
  border-top: 1px solid var(--line-strong);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.form-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-required,
.form-optional {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.form-required {
  border: 1px solid #b3684f;
  background: #b3684f;
  color: #ffffff;
}

.form-optional {
  border: 1px solid var(--line-strong);
  color: var(--ink-muted);
}

.form-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: none;
  box-shadow: inset 0 -2px 0 0 transparent;
  transition: box-shadow var(--duration) var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(17, 17, 17, 0.35);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 0 var(--ink);
}

.form-textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 160px;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.form-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}

.form-file-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-field-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-datetime-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-datetime-group .form-input {
  flex: 1 1 160px;
}

.form-address-group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-subfield-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .form-subfield--short {
    max-width: 220px;
  }
}

.form-submit-row {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

.form-submit {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  padding: 1.3rem 2rem;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#form-message p {
  text-align: center;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.2rem 0;
  }

  .form-label {
    flex: 0 0 auto;
    width: 190px;
    padding-top: 0.9rem;
  }

  .form-input,
  .form-textarea,
  .form-checkbox-group,
  .form-file-list,
  .form-field-stack,
  .form-address-group {
    flex: 1 1 auto;
  }
}

/* ============================================================
   流通フロー図（販売代理店募集ページ等）
   スマホでは縦積み＋下矢印、PCでは横並び＋右矢印に切り替える
   ============================================================ */
.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.flow-node {
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 0.88rem;
  text-align: center;
}

.flow-node--strong {
  border-color: var(--ink);
  font-weight: 500;
}

.flow-node--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.flow-node--removed {
  position: relative;
  border-style: dashed;
  background: var(--bg-soft);
  color: var(--ink-muted);
  opacity: 0.5;
  text-decoration: line-through;
}

.flow-node-badge {
  position: absolute;
  top: -11px;
  right: 50%;
  transform: translateX(50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #b3261e;
  color: var(--white);
  font-size: 0.7rem;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.flow-arrow {
  display: block;
  color: var(--ink-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.flow-arrow::before {
  content: "↓";
}

.flow-result {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.45rem 1.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .flow-diagram {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .flow-node {
    width: auto;
    max-width: none;
    min-width: 108px;
    white-space: nowrap;
  }

  .flow-node-badge {
    right: -11px;
    transform: none;
  }

  .flow-arrow::before {
    content: "→";
  }
}

/* ============================================================
   ステップタイムライン（販売代理店契約の流れ等）
   ※ .process-timeline は「オーダープロセス」ページ専用の既存クラスと
     名前が競合するため、本コンポーネントは flow-step-* を使用する。
   スマホ：縦の連結線＋左に丸番号 / PC：横の連結線＋上に丸番号
   ============================================================ */
.flow-step-timeline {
  display: flex;
  flex-direction: column;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.2rem;
  padding-bottom: 3rem;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.flow-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.flow-step-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.flow-step-body p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.9;
}

@media (min-width: 800px) {
  .flow-step-timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .flow-step {
    flex: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
    padding: 0 1rem;
  }

  .flow-step-circle {
    margin-bottom: 1.3rem;
  }

  .flow-step:not(:last-child)::after {
    left: 50%;
    width: calc(100% + 2.5rem);
    top: 21px;
    bottom: auto;
    height: 1px;
  }
}

/* ============================================================
   フッター：SNSアイコン
   ============================================================ */
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.35);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}
