@charset "UTF-8";

/* ============================================================
   +INFILL ｜ 規格住宅リノベーション LP
   Figma: TIMELESS - INFILL / Desktop - 1 (node 211:690)
   ------------------------------------------------------------
   構成
   00 Design tokens
   01 Reset / Base
   02 Utilities
   03 Header
   04 Hero
   05 Concept
   06 About
   07 Taste
   08 Pricing / Simulator
   09 Standard specs
   10 Works
   11 Features
   12 Flow
   13 CTA
   14 Contact form
   15 Footer
   16 Responsive
   ============================================================ */


/* ============================================================
   00 DESIGN TOKENS
   ※Figmaの CSS variables をそのまま採用。
     カラーコードが確定したらここだけ差し替えれば全体に反映されます。
   ============================================================ */
:root {
  /* --- color --- */
  --ink:           #1f1d1d;
  --ink-deep:      #1a1919;   /* 07 Features 背景 */
  --paper:         #f4f2ee;
  --sand:          #ded9d1;   /* 03 About 背景 */
  --white:         #ffffff;
  --muted:         #8b8780;
  --line:          rgba(31, 29, 29, .18);
  --line-dark:     rgba(255, 255, 255, .18);

  --on-dark-90:    rgba(255, 255, 255, .90);
  --on-dark-72:    rgba(255, 255, 255, .72);
  --on-dark-67:    rgba(255, 255, 255, .67);
  --on-dark-62:    rgba(255, 255, 255, .62);
  --on-dark-45:    rgba(255, 255, 255, .45);


  /* --- font ---
     ※和文3書体（Zen Kaku Gothic New / Antique / Noto Sans JP）を読み込んでいます。
       表示速度を優先する場合は1〜2書体への統合を推奨します。 */
  --ff-jp:      "Zen Kaku Gothic Antique", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --ff-jp-head: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --ff-jp-alt:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ff-en:      "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --ff-num:     "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ff-lato:    "Lato", "Helvetica Neue", Arial, sans-serif;
  --ff-display: "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* --- layout --- */
  --container:  1280px;
  --gutter:     clamp(20px, 5.56vw, 80px);
  --gutter-lg:  clamp(20px, 10.97vw, 158px);
  --section-py: clamp(72px, 13.9vw, 200px);

  /* --- motion --- */
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ============================================================
   01 RESET / BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 各セクションの背景を画面上端まで送り、固定ヘッダー下に前セクションを残さない */
  scroll-padding-top: 0;
  /* ローダーのスクロールロック解除時も表示幅を一定に保つ */
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-jp);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, ul, ol, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}

button { font: inherit; }

input, textarea, select, button {
  font-family: inherit;
  letter-spacing: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ============================================================
   02 UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sp-break { display: none; }

/* 小見出しラベル（英字・トラッキング広め） */
.eyebrow {
  font-family: var(--ff-jp-alt);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  color: var(--ink);
}
.eyebrow--on-dark { color: var(--on-dark-72); }

.section-title {
  font-family: var(--ff-jp-alt);
  font-weight: 400;
  font-size: clamp(30px, 3.33vw, 48px);
  line-height: 1.25;
  letter-spacing: -.0em;
  margin-top: 30px;
}

/* テキストリンク（下線 + 矢印） */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--ff-jp-alt);
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .02em;
}
.text-link__arrow { transition: transform .35s var(--ease); }
.text-link:hover .text-link__arrow { transform: translateX(6px); }

/* スクロールイン */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   02.5 LOADING INTRO
   画像 → ロゴ → コピー → FV の順に表示
   ============================================================ */
.has-loader,
.has-loader body {
  height: 100%;
  overflow: hidden;
}

.page-loader { display: none; }

.has-loader .page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  opacity: 1;
  visibility: visible;
  transition: opacity 1.45s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 1.45s;
}

.page-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(78vw, 520px);
  color: var(--ink);
  text-align: center;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.page-loader.is-leaving .page-loader__brand {
  opacity: 0;
  transform: translateY(-10px);
}

.page-loader__logo {
  width: clamp(132px, 12.5vw, 180px);
  height: auto;
  filter: none;
  opacity: 0;
  transform: translateY(15px);
}

.page-loader__copy {
  margin-top: clamp(26px, 2.8vw, 40px);
  font-family: var(--ff-jp-head);
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: clamp(.14em, .34vw, .28em);
  opacity: 0;
  transform: translateY(12px);
}

.page-loader__line {
  width: min(180px, 42vw);
  height: 1px;
  margin-top: clamp(18px, 2vw, 28px);
  background: rgba(31, 29, 29, .58);
  transform: scaleX(0);
  transform-origin: left center;
}

.page-loader.is-playing .page-loader__logo {
  animation: loaderLogoIn .9s .35s var(--ease) forwards;
}

.page-loader.is-playing .page-loader__copy {
  animation: loaderCopyIn .9s 1.2s var(--ease) forwards;
}

.page-loader.is-playing .page-loader__line {
  animation: loaderLineIn 1.05s 1.85s var(--ease) forwards;
}

@keyframes loaderLogoIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderCopyIn {
  from { opacity: 0; transform: translateY(12px); letter-spacing: .08em; }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderLineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.page-loader.is-reduced .page-loader__logo,
.page-loader.is-reduced .page-loader__copy {
  animation: none;
  opacity: 1;
  transform: none;
}

.page-loader.is-reduced .page-loader__line {
  animation: none;
  transform: scaleX(1);
}

/* ローダーの余韻に重ねて、FVを画像から順番に表示 */
.intro-pending .hero__media,
.intro-pending .site-header__logo,
.intro-pending .hero__title-line,
.intro-pending .hero__scroll,
.intro-pending .hero__indicator {
  opacity: 0;
}

.intro-pending .hero__media { transform: scale(1.035); }
.intro-pending .site-header__logo { transform: translateY(-10px); }
.intro-pending .hero__title-line { transform: translateY(12px); }
.intro-pending .hero__scroll { transform: translate(-50%, 14px); }

.intro-reveal .hero__media {
  animation: fvImageIn 1.8s .05s var(--ease) forwards;
}

.intro-reveal .site-header__logo {
  animation: fvElementIn .85s .48s var(--ease) forwards;
}

.intro-reveal .hero__title-line:first-child {
  animation: fvElementIn .9s .85s var(--ease) forwards;
}

.intro-reveal .hero__title-line:last-child {
  animation: fvElementIn .9s 1.12s var(--ease) forwards;
}

.intro-reveal .hero__scroll {
  animation: fvScrollIn .9s 1.48s var(--ease) forwards;
}

.intro-reveal .hero__indicator {
  animation: fvElementIn .9s 1.62s var(--ease) forwards;
}

@keyframes fvImageIn {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fvElementIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fvScrollIn {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}


/* ============================================================
   03 HEADER
   ============================================================ */
/* FVでは白ロゴ、FV通過後は黒ロゴで追従 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  pointer-events: none;       /* 透明な帯が下のコンテンツを塞がないように */
}
.site-header__inner {
  padding: 30px clamp(16px, 2vw, 29px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo {
  display: inline-block;
  pointer-events: auto;
  position: relative;
}
.site-header__logo img {
  width: clamp(84px, 7.4vw, 106px);
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter .35s var(--ease);
}
.site-header.is-past-hero .site-header__logo img { filter: none; }

/* 固定ハンバーガーメニュー */
.menu-toggle {
  position: relative;
  z-index: 103;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 74px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
}
.menu-toggle__label {
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
}
.menu-toggle__icon {
  position: relative;
  display: block;
  width: 30px;
  height: 14px;
}
.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: top .35s var(--ease), transform .35s var(--ease);
}
.menu-toggle__icon span:first-child { top: 2px; }
.menu-toggle__icon span:last-child { top: 11px; }
.site-header.is-past-hero .menu-toggle { color: var(--ink); }

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .5s;
}
.site-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .42);
  opacity: 0;
  cursor: pointer;
  transition: opacity .45s var(--ease);
}
.site-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 430px);
  height: 100dvh;
  padding: clamp(92px, 10vw, 126px) clamp(32px, 5vw, 68px) 48px;
  overflow-y: auto;
  background: var(--ink);
  color: var(--white);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.site-menu__title {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--on-dark-62);
}
.site-menu__list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--ff-jp-alt);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .06em;
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.site-menu__list a span {
  font-family: var(--ff-en);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--on-dark-45);
}
.site-menu__list a:hover {
  padding-left: 8px;
  color: rgba(255, 255, 255, .65);
}
.menu-open,
.menu-open body { overflow: hidden; }
.menu-open .site-menu {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.menu-open .site-menu__backdrop { opacity: 1; }
.menu-open .site-menu__panel { transform: translateX(0); }
.menu-open .menu-toggle { color: var(--white); }
.menu-open .menu-toggle__label { opacity: 0; }
.menu-open .menu-toggle__icon span:first-child { top: 7px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon span:last-child { top: 7px; transform: rotate(-45deg); }
.menu-open .site-header__logo img { filter: brightness(0) invert(1); }

/* PCは画面右側、SPは画面下部に固定するお問い合わせ導線 */
.floating-cta {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 64px;
  transform: translateY(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.floating-cta__link {
  min-height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  font-family: var(--ff-jp-head);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .26);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}

.floating-cta__link:hover { filter: brightness(1.12); }
.floating-cta__link:active { transform: translateY(2px); }
.floating-cta__arrow {
  font-family: var(--ff-num);
  font-size: 16px;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
}


/* ============================================================
   04 HERO
   ※Figma Desktop-1 の 1440×810 を基準に、位置は % / vw で指定。
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;                 /* SCROLL線をヒーロー下端より外へはみ出させるため */
  height: clamp(560px, 56.25vw, 810px);
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
/* 複数枚のときはクロスフェード（1枚目のみ表示） */
.hero__media img:not(:first-child) { opacity: 0; }
.hero__media.is-slider img {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__media.is-slider img.is-active { opacity: 1; }
@keyframes heroZoom {
  to { transform: scale(1); }
}
/* FV中央コピー：横書き2行 */
.hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 48px), 720px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  transform: translate(-50%, -50%);
  writing-mode: horizontal-tb;
  font-family: var(--ff-jp-head);
  font-weight: 400;
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 1.5;
  letter-spacing: .12em;
  text-align: center;
  color: var(--white);
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .22);
}
.hero__title-line { display: block; }

/* 右下 3本バーのインジケーター（Figma: 227×1px / 右73px・下44px） */
/* Figma: 各バー 72×3px・角丸なし・非アクティブ #545E6C・アクティブ #FFF */
.hero__indicator {
  position: absolute;
  right: 5.07%;
  bottom: 5.4%;
  display: flex;
  gap: 5.5px;
}
.hero__indicator-bar {
  flex: 0 0 72px;
  width: 72px;
  height: 3px;
  background: #545e6c;
  transform-origin: left center;
  transition: background-color .6s var(--ease);
  animation: barIn 1.4s .6s var(--ease) both;
}
.hero__indicator-bar:nth-child(2) { animation-delay: .8s; }
.hero__indicator-bar:nth-child(3) { animation-delay: 1s; }
.hero__indicator-bar.is-active { background: var(--white); }
@keyframes barIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* 左下 SCROLL：白線がヒーロー下端まで伸び、そこから先は次セクションの地に合わせて黒線 */
.hero__scroll {
  position: absolute;
  left: clamp(28px, 4.8vw, 69px);
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  transform: translateX(-50%);
  color: var(--white);
}
.hero__scroll-label {
  writing-mode: vertical-rl;
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: .18em;
  animation: scrollLabelPulse 2.6s ease-in-out infinite;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: clamp(100px, 12.5vw, 180px);
  background: rgba(255, 255, 255, .32);
}
.hero__scroll-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 38%;
  background: var(--white);
  box-shadow: 0 0 5px rgba(255, 255, 255, .42);
  transform: translateY(0) scaleY(0);
  transform-origin: top;
  animation: scrollLineFlow 2.6s var(--ease) infinite;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 1px;
  height: clamp(16px, 1.95vw, 28px);
  background: var(--ink);
}

@keyframes scrollLineFlow {
  0% {
    opacity: 0;
    transform: translateY(0) scaleY(0);
    transform-origin: top;
  }
  14% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    transform-origin: top;
  }
  72% {
    opacity: 1;
    transform: translateY(163%) scaleY(1);
    transform-origin: bottom;
  }
  100% {
    opacity: 0;
    transform: translateY(163%) scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes scrollLabelPulse {
  0%, 100% { opacity: .55; }
  45%, 70% { opacity: 1; }
}


/* ============================================================
   05 CONCEPT
   ※Figma Desktop-1（1440幅・セクション高 1175px）を基準に、
     余白・装飾位置は vw で指定し、上限を Figma の実寸に固定。
   ============================================================ */
.concept {
  position: relative;
  padding-block: clamp(96px, 20.6vw, 297px) clamp(120px, 25vw, 361px);
  overflow: hidden;
}
/* コーナー装飾（343×309 のL字ライン）。.concept__inner 基準で配置。
   deco-leaf-2 = 左上向き（上辺＋左辺）：見出しの左上を囲む
   deco-leaf-1 = 右下向き（右辺＋下辺）：右列の下段を囲む */
/* 装飾の幅は画面幅に比例（Figma 1440px で 343px = 23.8vw）。
   位置オフセットは装飾幅に対する比率で指定し、どの幅でも同じ見え方にする。
   Figma実寸: 左上 top -85 / left -55、右下 right -99 / bottom -100（343基準）
   ※ .concept__inner は最大1042pxで中央寄せのため、画面幅が狭くなると
     inner の外側余白が縮み、装飾が画面外に切れる。max() で
     「画面端から --deco-edge 以上内側」に収まるよう外側へのはみ出しを制限する。 */
.concept {
  container-type: inline-size;                       /* 100cqw = セクション幅（スクロールバー分の誤差なし） */
  --deco-w: clamp(160px, 23.8vw, 343px);
  --deco-top: -.248;
  --deco-left: -.16;
  --deco-right: -.289;
  --deco-bottom: -.29;
  --deco-edge: 12px;                                 /* 画面端から最低限確保する余白 */
  --inner-margin: max(var(--gutter), (100cqw - 1042px) / 2);   /* inner の外側余白 */
}
.concept__deco {
  position: absolute;
  width: var(--deco-w);
  height: auto;
  pointer-events: none;
}
.concept__deco--left {
  top:  calc(var(--deco-w) * var(--deco-top));
  left: max(calc(var(--deco-w) * var(--deco-left)), calc(var(--deco-edge) - var(--inner-margin)));
}
.concept__deco--right {
  bottom: calc(var(--deco-w) * var(--deco-bottom));
  right:  max(calc(var(--deco-w) * var(--deco-right)), calc(var(--deco-edge) - var(--inner-margin)));
}

/* 見出し 371 ／ 本文左 379 ／ 本文右 292 = 1042px */
.concept__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, 1042px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 371fr 379fr 292fr;
  column-gap: 0;
  align-items: start;
}

.concept__heading {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.41;
  letter-spacing: .045em;
  color: var(--ink);
}

.concept__body {
  font-size: clamp(13px, .97vw, 14px);
  line-height: 2.57;
  letter-spacing: .03em;
  color: #000;
}
.concept__body p { margin: 0; }
.concept__body p + p { margin-top: 2.57em; }
/* 右列は左列の2行分下げて開始（Figma: 72px） */
.concept__body--offset { padding-top: calc(2.57em * 2); padding-top: 2lh; }


/* ============================================================
   06 ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--sand);
}
.about__media {
  position: relative;
  min-height: clamp(360px, 52.8vw, 760px);
  overflow: hidden;
}
.about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content {
  padding: clamp(56px, 9.7vw, 140px) clamp(20px, 5.56vw, 80px);
  align-self: center;
}
.about__title {
  margin-top: 42px;
  font-family: var(--ff-jp-alt);
  font-weight: 400;
  font-size: clamp(26px, 2.92vw, 42px);
  line-height: 1.29;
  letter-spacing: -.0em;
}
.about__text {
  margin-top: 42px;
  max-width: 500px;
  font-family: var(--ff-jp-alt);
  font-size: clamp(13px, .97vw, 14px);
  line-height: 1.8;
  letter-spacing: .02em;
}
.about .text-link { margin-top: 54px; }


/* ============================================================
   07 TASTE
   ============================================================ */
.taste {
  padding-block: clamp(72px, 12.2vw, 176px) clamp(72px, 9.7vw, 140px);
}

.taste__head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 24px;
}
.section-title--copy {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.taste__lead {
  max-width: 460px;
  font-family: var(--ff-jp-alt);
  font-size: clamp(13px, .97vw, 14px);
  line-height: 1.8;
  letter-spacing: .02em;
}

/* --- 記事 --- */
.taste__list {
  margin-top: clamp(40px, 5.56vw, 80px);
  display: grid;
  gap: clamp(40px, 5.56vw, 80px);
}

.taste__item {
  display: grid;
  grid-template-columns: 870.39fr 409.59fr;
  align-items: start;
}

.taste__media {
  position: relative;
  aspect-ratio: 1000 / 562;
  overflow: hidden;
  background: var(--sand);
}
.taste__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taste__panel {
  align-self: stretch;
  background: var(--white);
  padding: clamp(20px, 1.7vw, 24px) clamp(20px, 2.28vw, 33px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.taste__style {
  font-family: var(--ff-num);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
}
.taste__name {
  margin-top: 16px;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: clamp(26px, 2.22vw, 32px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.taste__desc {
  margin-top: 24px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.67;
  letter-spacing: .02em;
}
.taste__swatches {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 345px;
}
.taste__swatches li {
  height: 50px;
  background: var(--swatch);
}


/* ============================================================
   08 PRICING / SIMULATOR
   ============================================================ */
.pricing {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--section-py);
}
.pricing__inner {
  display: grid;
  grid-template-columns: 512.34fr 512.36fr;
  column-gap: clamp(32px, 17.7vw, 255px);
  align-items: center;
}
.pricing__title {
  margin-top: 36px;
  font-family: var(--ff-jp-head);
  font-weight: 400;
  font-size: clamp(30px, 3.33vw, 48px);
  line-height: 1.4;
  letter-spacing: -.0em;
  color: var(--white);
}
.pricing__text {
  margin-top: 44px;
  font-family: var(--ff-jp-head);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .022em;
  color: var(--on-dark-67);
}

.simulator {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 4.17vw, 60px);
}
.simulator__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.simulator__label {
  font-size: 14px;
  line-height: 1.3;
}
.simulator__label-en {
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .14em;
}

.simulator__area {
  margin: clamp(28px, 3.3vw, 48px) 0 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.simulator__area-value {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: clamp(88px, 10.4vw, 150px);
  line-height: 1;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}
.simulator__area-unit {
  font-family: var(--ff-num);
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.8;
  padding-bottom: .5em;
}

/* --- レンジスライダー --- */
.simulator__slider {
  --thumb: 40px;   /* つまみのサイズ（JSのfill計算でも参照） */
  --track: 12px;
  --fill: 50%;
  position: relative;
  height: var(--thumb);
}
.simulator__slider::before,
.simulator__slider::after {
  content: "";
  position: absolute;
  top: calc((var(--thumb) - var(--track)) / 2);
  height: var(--track);
  left: 0;
  pointer-events: none;
}
.simulator__slider::before {
  right: 0;
  background: rgba(31, 29, 29, .12);
}
.simulator__slider::after {
  width: var(--fill);
  background: var(--ink);
}
.simulator__range {
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: var(--thumb);
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.simulator__range::-webkit-slider-runnable-track {
  height: var(--thumb);
  background: transparent;
}
.simulator__range::-moz-range-track {
  height: var(--thumb);
  background: transparent;
}
/* つまみ：左右の矢印で「横に動かせる」ことを示す */
.simulator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M6 1 1 6l5 5M16 1l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 22px 12px no-repeat;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--paper);
  cursor: grab;
  transition: transform .2s ease;
}
.simulator__range::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M6 1 1 6l5 5M16 1l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 22px 12px no-repeat;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--paper);
  cursor: grab;
  transition: transform .2s ease;
}
.simulator__range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.simulator__range:hover::-moz-range-thumb { transform: scale(1.08); }
.simulator__range:active::-webkit-slider-thumb { cursor: grabbing; }
.simulator__range:active::-moz-range-thumb { cursor: grabbing; }
.simulator__range:focus-visible { outline: none; }
.simulator__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.simulator__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }

/* 未操作の間、つまみの周りに波紋を出して操作できることを知らせる */
.simulator__slider.is-hinting .simulator__range::-webkit-slider-thumb { animation: simThumbPulse 1.8s ease-out infinite; }
.simulator__slider.is-hinting .simulator__range::-moz-range-thumb { animation: simThumbPulse 1.8s ease-out infinite; }
@keyframes simThumbPulse {
  0%   { box-shadow: 0 0 0 3px var(--paper), 0 0 0 3px rgba(31, 29, 29, .35); }
  70%  { box-shadow: 0 0 0 3px var(--paper), 0 0 0 16px rgba(31, 29, 29, 0); }
  100% { box-shadow: 0 0 0 3px var(--paper), 0 0 0 16px rgba(31, 29, 29, 0); }
}

.simulator__scale {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--ff-num);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .03em;
}
.simulator__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-jp);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  transition: opacity .4s ease;
}
.simulator__hint::before,
.simulator__hint::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 0 1px 1px;
}
.simulator__hint::before { transform: rotate(45deg); }
.simulator__hint::after  { transform: rotate(-135deg); }
.simulator__hint.is-hidden { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .simulator__slider.is-hinting .simulator__range::-webkit-slider-thumb { animation: none; }
  .simulator__slider.is-hinting .simulator__range::-moz-range-thumb { animation: none; }
}

.simulator__result {
  margin-top: clamp(28px, 3.3vw, 48px);
  padding-top: 29px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.simulator__result-label {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .03em;
  white-space: nowrap;
}
.simulator__result-value {
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: clamp(26px, 2.78vw, 40px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.simulator__unit {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--muted);
  white-space: nowrap;
}
.simulator__unit span {
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
}
.simulator__tiers {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .03em;
}
.simulator__tiers th,
.simulator__tiers td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.simulator__tiers th { color: var(--muted); font-size: 10px; }
.simulator__tiers th:last-child,
.simulator__tiers td:last-child {
  text-align: right;
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
}
.simulator__note {
  margin-top: 24px;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--muted);
}


/* ============================================================
   09 STANDARD SPECS
   ============================================================ */
.specs {
  padding-block: clamp(72px, 11.2vw, 162px) clamp(64px, 8.5vw, 122px);
  background: var(--white);
}

.specs__head {
  display: block;
}
.specs__head .eyebrow {
  font-family: var(--ff-jp);
  letter-spacing: .18em;
}
.specs__head .section-title { font-family: var(--ff-jp-head); }
.specs__catalog {
  margin-top: clamp(56px, 5.14vw, 74px);
}
.specs__note {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 40px;
  padding-right: 28px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .022em;
}

.specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.specs__item {
  min-width: 0;
  min-height: 450px;
  padding: 32px 40px 24px;
}
.specs__item:nth-child(odd) { border-right: 1px solid var(--line); }
.specs__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

.specs__num {
  font-family: var(--ff-num);
  font-size: 11px;
  line-height: 20px;
  letter-spacing: .03em;
}
.specs__media {
  display: grid;
  overflow: hidden;
}
.specs__media img {
  display: block;
  min-width: 0;
  width: 100%;
  object-fit: cover;
}

.specs__media--interior {
  width: calc(100% + 1px);
  margin-top: 6px;
  aspect-ratio: 2 / 1;
}
.specs__media--interior img { height: 100%; }

.specs__media--kitchen {
  grid-template-columns: 192fr 187fr 188fr;
  gap: 5px;
  width: calc(100% + 17px);
  aspect-ratio: 577 / 286;
}
.specs__kitchen-main,
.specs__kitchen-center {
  min-height: 0;
  height: calc(100% - 6px);
  max-height: calc(100% - 6px);
  margin-top: 6px;
  object-fit: cover;
}
.specs__kitchen-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  min-height: 0;
}
.specs__kitchen-cell {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.specs__kitchen-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.specs__media--sanitary {
  grid-template-columns: 180fr 242fr 136fr;
  gap: 1px;
  width: calc(100% + 1px);
  margin-top: 18px;
  aspect-ratio: 560 / 257;
}
.specs__sanitary-cell {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.specs__sanitary-cell img { height: 100%; }
.specs__sanitary-cell--laundry img {
  position: absolute;
  top: -.18%;
  left: -36.18%;
  width: 159.73%;
  height: 100.35%;
  max-width: none;
}
.specs__sanitary-cell--toilet img {
  position: absolute;
  top: .09%;
  left: -14.06%;
  width: 131.53%;
  height: 99.73%;
  max-width: none;
}

.specs__media--utility {
  position: relative;
  display: block;
  width: calc(100% + 36px);
  margin-top: 6px;
  aspect-ratio: 596 / 280;
}
.specs__utility-left {
  position: absolute;
  inset: 0 auto 0 0;
  width: 41.4429% !important;
  height: 100%;
}
.specs__utility-cell {
  position: absolute;
  left: 42.4497%;
  width: 57.5503%;
  overflow: hidden;
}
.specs__utility-cell--top {
  top: 0;
  height: 52.1429%;
}
.specs__utility-cell--bottom {
  top: 46.4286%;
  height: 53.5714%;
}
.specs__utility-cell--top img,
.specs__utility-cell--bottom img {
  position: absolute;
  max-width: none;
  height: auto;
}
.specs__utility-cell--top img {
  top: -23.23%;
  left: -.04%;
  width: 105.22%;
}
.specs__utility-cell--bottom img {
  top: -77.94%;
  left: -40.64%;
  width: 140.64%;
}

.specs__name {
  margin-top: 18px;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: -.03em;
}
.specs__item--sanitary .specs__name { margin-top: 29px; }
.specs__caption {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 19px;
  letter-spacing: .03em;
  color: var(--muted);
}

.specs__option {
  margin-top: 0;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .1em;
}


/* ============================================================
   10 WORKS
   ============================================================ */
.works {
  background: var(--paper);
  padding-block: clamp(72px, 6.94vw, 100px) clamp(80px, 9.72vw, 140px);
}

.works__head {
  min-height: 147px;
  padding-bottom: 32px;
}

.works__head .section-title {
  font-family: var(--ff-jp-head);
  margin-top: 20px;
}

.works-case {
  border-bottom: 1px solid var(--line);
      margin: 0 auto 30px;
}

.works-case__label {
  height: 40px;
  padding-bottom: 20px;
  font-family: var(--ff-num);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
  color: var(--muted);
}

.works-case__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.works-case__main {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-case__arrow,
.works-thumbs__arrow {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--ff-num);
  font-weight: 700;
  line-height: 1;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.works-case__arrow:hover,
.works-thumbs__arrow:hover { opacity: .72; }
.works-case__arrow:active,
.works-thumbs__arrow:active { transform: scale(.94); }

.works-case__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}
.works-case__arrow:active { transform: translateY(-50%) scale(.94); }
.works-case__arrow--prev { left: 18px; }
.works-case__arrow--next { right: 18px; }

.works-case__info {
  min-height: 40px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  font-family: var(--ff-num);
  font-size: 12px;
  line-height: 1;
}
.works-case__info > :first-child { opacity: .7; font-weight: 500; }
.works-case__counter { font-weight: 700; letter-spacing: .1em; }

.works-thumbs {
  height: 200px;
  padding: 9px 7px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 12px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
}

.works-thumbs__arrow {
  width: 32px;
  height: 180px;
  border-radius: 2px;
  font-size: 24px;
}

.works-thumbs__viewport {
  overflow: hidden;
}

.works-thumbs__track {
  height: 100%;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.works-thumbs__track::-webkit-scrollbar { display: none; }

.works-thumb {
  appearance: none;
  flex: 0 0 220px;
  height: 180px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.works-thumb.is-active {
  padding: 8px;
  border: 3px solid #8e9988;
}

.works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ============================================================
   11 FEATURES
   ============================================================ */
.features {
  background: var(--ink-deep);
  color: var(--white);
}

.features__hero {
  position: relative;
  min-height: clamp(360px, 41.7vw, 600px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.features__hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.features__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.features__hero-body {
  position: relative;
  z-index: 1;
  padding-inline: var(--gutter-lg);
  padding-top: 40px;
}
.features__hero-body .eyebrow { font-size: clamp(12px, .97vw, 14px); }
.features__title {
  margin-top: 32px;
  font-family: var(--ff-jp-head);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.65;
  letter-spacing: .02em;
  color: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.features__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-content: start;
  min-height: clamp(240px, 22.2vw, 320px);
  padding: clamp(48px, 6vw, 86px) var(--gutter) clamp(40px, 5vw, 70px);
  border-top: 1px solid var(--line-dark);
}
.features__item:nth-child(odd) { border-right: 1px solid var(--line-dark); }

.features__num {
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--on-dark-45);
  padding-top: 14px;
}
.features__name {
  font-family: var(--ff-jp-head);
  font-weight: 400;
  font-size: clamp(24px, 2.36vw, 34px);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--white);
}
.features__name--sm { font-size: clamp(23px, 2.22vw, 32px); }
.features__text {
  margin-top: 24px;
  max-width: 500px;
  font-size: 14px;
  line-height: 1.67;
  letter-spacing: .022em;
  color: var(--on-dark-62);
}


/* ============================================================
   12 FLOW
   ============================================================ */
/* Figma: 07 特徴（黒背景）とバナーの間 40px、バナー下〜リスト 148px */
.flow {
  --flow-gap: clamp(20px, 2.78vw, 40px);          /* 特徴セクションとバナーの間隔 */
  padding-block: var(--flow-gap) clamp(72px, 8vw, 116px);
}

.flow__banner {
  position: relative;
  min-height: clamp(280px, 33.9vw, 488px);
  margin-inline: clamp(0px, 1.94vw, 28px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.flow__banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.flow__banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow__banner-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: clamp(20px, 9.65vw, 139px);
}
.flow__banner-body .eyebrow { font-family: var(--ff-en); }
.flow__title {
  margin-top: 32px;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.65;
  color: var(--white);
}

.flow__list {
  width: min(100% - var(--gutter) * 2, 1220px);
  margin: clamp(64px, 10.3vw, 148px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 11.3vw, 163px);
  row-gap: clamp(40px, 5.2vw, 75px);
}
/* 番号は見出しと上下中央揃え（Figma: 黒・14px） */
.flow__head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #000;
}
.flow__num {
  flex: 0 0 auto;
  font-family: var(--ff-en);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .03em;
  color: #000;
}
.flow__name {
  font-family: var(--ff-jp);
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 1.4;
  letter-spacing: -.05em;
  color: #000;
}
.flow__desc {
  margin-top: clamp(24px, 3.75vw, 54px);
  font-size: 14px;
  line-height: 1.43;
  color: #000;
}


/* ============================================================
   12 CTA
   ============================================================ */
.cta {
  position: relative;
  min-height: clamp(480px, 54.2vw, 780px);
  display: flex;
  align-items: flex-end;
  padding-block: var(--section-py);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.cta__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 632.8fr 442.95fr;
  column-gap: clamp(32px, 14.2vw, 204px);
  align-items: end;
}
.cta__title {
  margin-top: 40px;
  font-family: var(--ff-jp);
  font-weight: 400;
  font-size: clamp(32px, 3.89vw, 56px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--white);
}
.cta__text {
  margin-top: 40px;
  max-width: 440px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .022em;
  color: var(--on-dark-72);
}

.cta__links { display: grid; }
.cta__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
  padding-inline: 4px;
  border-top: 1px solid rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .022em;
}
.cta__link:last-child { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.cta__arrow {
  font-family: var(--ff-num);
  font-size: 24px;
  transition: transform .35s var(--ease);
}
.cta__link:hover .cta__arrow { transform: translateX(8px); }


/* ============================================================
   13 CONTACT FORM
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(72px, 9.7vw, 140px);
}
.contact__inner {
  width: 100%;
  max-width: calc(1120px + var(--gutter-lg) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter-lg);
}
.contact__title {
  margin-top: 20px;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: clamp(28px, 2.78vw, 40px);
  line-height: 1.55;
  color: var(--paper);
}
.contact__intro {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: .022em;
  color: var(--paper);
}

.form { margin-top: clamp(40px, 5vw, 72px); }

/* --- 入力行（Figma: TIMELESS/Form Field 相当） --- */
.form-row {
  display: grid;
  grid-template-columns: 270px 1fr;
  column-gap: 40px;
  align-items: center;
  min-height: 88px;
  padding-block: 12px;
  border-bottom: 1px solid var(--paper);
  border-width: 0 0 1px;
  margin: 0;
}
.form-row__label {
  font-size: 14px;
  line-height: 1.57;
  letter-spacing: .06em;
  color: var(--paper);
}
.form-row__field { min-width: 0; }

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .03em;
  transition: border-color .3s var(--ease);
}
.form-input {
  height: 56px;
  padding: 0 22px;
}
.form-textarea {
  min-height: 184px;
  padding: 20px 22px;
  resize: none;               /* Figmaにリサイズグリップなし */
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-input.is-invalid,
.form-textarea.is-invalid { border-color: #b4453c; }

/* 住所行：都道府県・市区町村（自動入力）と番地・マンション名（手入力）を縦2段 */
.form-row--address { padding-block: 24px; }
.form-row__field--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row__field--stack .form-error { margin-top: -6px; }

/* テキストエリア行：Figmaはテキストエリアの上下に約30pxの余白 */
.form-row--textarea {
  align-items: center;
  padding-block: 30px;
}

/* 選択肢行：Figmaは入力行よりやや高く、ラベルと選択肢を上下中央揃え
   ※fieldset は内側に匿名ボックスを持ち min-height が中身に伝わらず
     上寄せになるため、マークアップは div[role="group"] にしている */
.form-row--choices { min-height: 98px; }

/* --- 選択肢（ラジオ／チェック共通の角丸なしボックス） --- */
.choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.choice-other {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 320px;
}
.form-input--choice-other {
  flex: 1 1 220px;
  min-width: 180px;
  height: 48px;
}
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--paper);
  cursor: pointer;
}
.choice--center { justify-content: center; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 18px; height: 18px;
  margin: 0;
}
.choice__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--paper);
  position: relative;
  transition: background-color .2s var(--ease);
}
.choice input:checked + .choice__box::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--paper);
}
.choice input:focus-visible + .choice__box {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* --- プライバシー --- */
.form-privacy {
  padding-block: 46px 36px;
  text-align: center;
}
.form-privacy__text {
  font-size: 12px;
  line-height: 1.83;
  letter-spacing: .03em;
  color: var(--paper);
}
.form-privacy__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-privacy .choice { margin-top: 20px; }

/* --- エラー --- */
.form-error {
  margin-top: 6px;
  min-height: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #e8a09a;
}
.form-error--center { text-align: center; }
.form-error:empty { display: none; }

/* --- 送信 --- */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 84px;
  margin-top: 0;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.form-submit__label {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .23em;
}
.form-submit__arrow {
  font-size: 20px;
  transition: transform .35s var(--ease);
}
.form-submit:hover {
  background: transparent;
  color: var(--paper);
}
.form-submit:hover .form-submit__arrow { transform: translateX(8px); }

/* --- 運営会社情報 --- */
.company-info {
  width: min(100%, 920px);
  margin-top: clamp(56px, 6.7vw, 96px);
  padding-top: clamp(34px, 3.35vw, 48px);
  font-family: var(--ff-jp-alt);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: .04em;
}
.company-info__label {
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .16em;
  opacity: .68;
}
.company-info__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(40px, 5.56vw, 80px);
  margin-top: clamp(24px, 2.78vw, 40px);
}
.company-info__item { max-width: none; }
.company-info__item dt {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
}
.company-info__item dd { margin-top: 8px; }
.company-info__item dd p + p { margin-top: 20px; }
.company-info a {
  text-decoration: none;
  transition: opacity .25s var(--ease);
}
.company-info a:hover { opacity: .65; }
.company-info__item--access {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: clamp(12px, 1.67vw, 24px);
}
.company-info__item--access dd {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.34vw, 48px);
}
.company-info__office { margin-top: 14px; }
.company-info__office h3 {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .06em;
}
.company-info__office h3 span {
  font-size: 11px;
  opacity: .72;
}
.company-info__map {
  width: 100%;
  margin-top: 14px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(128, 128, 128, .12);
}
.company-info__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
}
.company-info--contact {
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, .5);
  color: var(--paper);
}
.company-info--thanks {
  border-top: 1px solid var(--line);
  color: var(--ink);
}


/* ============================================================
   14 FOOTER
   ※Figmaは「FOOTER」の仮置きのみ。内容確定後に差し替えてください。
   ============================================================ */
.site-footer {
  position: relative;
  min-height: clamp(280px, 28.7vw, 413px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.site-footer__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.site-footer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding-block: 56px;
}
.site-footer__logo img {
  width: clamp(110px, 9.7vw, 140px);
  filter: brightness(0) invert(1);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--on-dark-90);
}
.site-footer__nav a:hover { opacity: .65; }
.site-footer__copy {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--on-dark-72);
}


/* ============================================================
   15 RESPONSIVE
   ============================================================ */

/* ---- ~1200px ---- */
@media (max-width: 1200px) {
  .concept__body { line-height: 2.2; }
  .taste__item { grid-template-columns: 1fr; }
  .taste__panel {
    padding: 32px 28px 40px;
    justify-content: flex-start;
  }
  .taste__desc { max-width: none; }
  .features__item { grid-template-columns: 56px 1fr; }
}

/* ---- ~1024px（タブレット） ---- */
@media (max-width: 1024px) {
  html { scroll-padding-top: 0; }

  .concept {
    padding-block: clamp(80px, 12vw, 140px);
  }
  /* タブレット以下は装飾を小さく、外側へのはみ出しも控えめに */
  .concept {
    --deco-w: clamp(150px, 24vw, 260px);
    --deco-top: -.14;
    --deco-left: -.08;
    --deco-right: -.08;
    --deco-bottom: -.14;
  }
  .concept__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }
  .concept__heading { grid-column: 1 / -1; }
  .concept__body--offset { padding-top: 0; }

  .about {
    grid-template-columns: 1fr;
  }
  .about__media { min-height: 58vw; }

  .pricing__inner {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .specs__item { padding-inline: 32px; }

  .works-thumb { flex-basis: 180px; }

  .cta__inner {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .contact__inner { max-width: none; }
  .form-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
    align-items: start;
    min-height: 0;
    padding-block: 22px 26px;
  }
  .form-row__label { line-height: 1.4; }
  .form-row--textarea { padding-block: 22px 26px; }
}

/* ---- ~768px（スマートフォン） ---- */
@media (max-width: 768px) {
  body { font-size: 13px; }
  .sp-break { display: inline; }
  .eyebrow {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .12em;
  }

  .section-title--copy,
  .features__title,
  .flow__title {
    font-size: clamp(18px, 5.13vw, 20px);
    line-height: 1.75;
    letter-spacing: .02em;
    text-wrap: balance;
  }

  .section-title--copy {
    margin-top: 22px;
    overflow-wrap: normal;
    word-break: keep-all;
  }
  body.has-floating-cta {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .floating-cta {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ink);
    transform: none;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .14);
  }

  .floating-cta__link {
    min-height: 58px;
    flex-direction: row;
    gap: 12px;
    font-size: 13px;
    letter-spacing: .1em;
    writing-mode: horizontal-tb;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-right: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 0;
    border-left: 0;
  }

  .floating-cta__link { border-right: 0; }
  .floating-cta__arrow { transform: rotate(-90deg); }

  .site-header__inner { padding: 18px 16px; }
  .menu-toggle {
    min-width: 56px;
    height: 36px;
    justify-content: flex-end;
  }
  .menu-toggle__label { display: none; }
  .menu-toggle__icon { width: 28px; }
  .site-menu__panel {
    width: min(88vw, 360px);
    padding: 84px 28px calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .site-menu__list a { min-height: 50px; font-size: 13px; }

  /* スマホも横書き2行のまま中央に */
  .hero__title {
    width: calc(100% - 56px);
    gap: 8px;
    font-size: clamp(16px, 4.8vw, 19px);
    line-height: 1.55;
    letter-spacing: .08em;
  }
  .hero__indicator { display: none; }
  .hero__scroll-line { height: 80px; }

  .concept { --inner-margin: 36px; }
  /* 装飾の縦線は左右余白（36px）の中央に */
  .concept__deco--left  { left:  calc(var(--inner-margin) / -2); }
  .concept__deco--right { right: calc(var(--inner-margin) / -2); }
  .concept__inner {
    width: calc(100% - 36px * 2);   /* スマホは左右余白を広めに（共通ガター20px → 36px） */
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .taste__head {
    grid-template-columns: 1fr;
    row-gap: 20px;
    align-items: start;
  }
  .taste__lead {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .03em;
  }
  .taste__swatches { max-width: none; }
  .taste__swatches li { height: 40px; }

  .simulator__result {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .specs__catalog { margin-top: 48px; }
  .specs__note {
    justify-content: flex-start;
    min-height: 36px;
    padding-right: 0;
    font-size: 11px;
    line-height: 1.6;
  }
  .specs__grid { grid-template-columns: 1fr; }
  .specs__item {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
  }
  .specs__item:nth-child(odd) { border-right: 0; }
  .specs__item:nth-child(-n + 2) { border-bottom: 0; }
  .specs__item:not(:last-child) { border-bottom: 1px solid var(--line); }
  .specs__media--interior,
  .specs__media--kitchen,
  .specs__media--sanitary,
  .specs__media--utility { width: 100%; }
  .specs__name,
  .specs__item--sanitary .specs__name { margin-top: 20px; }

  .works { padding-block: 72px 88px; }
  .works__head {
    min-height: 0;
    padding-bottom: 36px;
  }
  .works-case__label { height: 36px; padding-bottom: 16px; }
  .works-case__arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .works-case__arrow--prev { left: 10px; }
  .works-case__arrow--next { right: 10px; }
  .works-case__info { min-height: 34px; padding-inline: 12px; font-size: 10px; }
  .works-thumbs {
    height: 112px;
    padding: 7px 5px;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 8px;
  }
  .works-thumbs__arrow { width: 26px; height: 96px; font-size: 18px; }
  .works-thumbs__track { gap: 8px; }
  .works-thumb { flex-basis: 118px; height: 96px; padding: 6px; }
  .works-thumb.is-active { padding: 4px; }

  .features__grid { grid-template-columns: 1fr; }
  .features__item:nth-child(odd) { border-right: 0; }
  .features__hero-body { padding-top: 0; }
  .features__title { margin-top: 20px; }

  .flow__banner { margin-inline: var(--flow-gap); }   /* 上の余白（特徴〜バナー間）と同じ幅 */
  .flow__banner-body { padding-inline: 16px; }
  .flow__title {
    margin-top: 20px;
    font-size: clamp(17px, 4.62vw, 18px);
  }
  .flow__list {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .cta__link { min-height: 78px; }

  .form-privacy { padding-block: 36px 28px; }
  .form-submit { min-height: 68px; }
  .company-info {
    margin-top: 48px;
    padding-top: 28px;
    font-size: 12px;
    line-height: 1.85;
  }
  .company-info__label { margin-bottom: 10px; font-size: 10px; }
  .company-info__details {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 24px;
  }
  .company-info__item--access {
    grid-column: auto;
    margin-top: 10px;
  }
  .company-info__item--access dd {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .company-info__office { margin-top: 18px; }
  .company-info__office h3 span {
    display: block;
    margin-top: 2px;
  }
  .company-info__map { aspect-ratio: 4 / 3; }

  .site-footer__nav { gap: 10px 18px; font-size: 11px; }
}

/* ---- ~420px ---- */
@media (max-width: 420px) {
  .choices { flex-direction: column; gap: 12px; }
  .choices { align-items: stretch; }
  .choice-other {
    flex: none;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .form-input--choice-other {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .simulator__area-value { font-size: 76px; }
}


/* ============================================================
   16 THANKS PAGE（thanks.html）
   ※LP本体のトーンに合わせ、CONTACT と同じ構成（小見出し／英字見出し／本文）。
     ヘッダーロゴが黒のため、背景は白ベース。
   ============================================================ */
.pageComplete {
  display: flex;
  align-items: center;
  min-height: calc(100svh - clamp(280px, 28.7vw, 413px));   /* フッター分を引いて画面内に収める */
  padding-block: clamp(140px, 16vw, 220px) clamp(96px, 11vw, 160px);
  background: var(--white);
  color: var(--ink);
}
.pageComplete_inner {
  width: 100%;
  max-width: calc(1120px + var(--gutter-lg) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter-lg);
}
/* 見出し：CONTACT FORM と同じ英字（小見出し風の1行を ::before で付ける） */
.pageComplete_ttl {
  margin: 0;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: clamp(28px, 2.78vw, 40px);
  line-height: 1.55;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.pageComplete_ttl::before {
  content: "お問い合わせ完了";
  display: block;
  margin-bottom: 20px;
  font-family: var(--ff-jp-alt);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: none;
}
.pageComplete_txt {
  margin-top: 28px;
  max-width: 640px;
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: .03em;
}
.pageComplete_txt p + p { margin-top: 1.4em; }
.fwb { font-weight: 500; }

/* ボタン：フォームの送信ボタンと同じ横長・矢印付き（色は反転） */
.btnBox { margin-top: clamp(40px, 5vw, 64px); }
.btnMain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: min(100%, 320px);
  min-height: 64px;
  padding-inline: 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-jp-alt);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .1em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btnMain::after {
  content: "\2192";
  font-family: var(--ff-num);
  font-size: 20px;
  transition: transform .35s var(--ease);
}
.btnMain:hover {
  background: transparent;
  color: var(--ink);
}
.btnMain:hover::after { transform: translateX(8px); }

@media (max-width: 768px) {
  .pageComplete {
    align-items: flex-start;
    padding-block: 120px 80px;
  }
  .pageComplete_txt { line-height: 2; }
  .pageComplete_txt br { display: none; }   /* スマホでは改行位置を自動に */
  .btnMain { width: 100%; min-height: 60px; }
}
