@charset "utf-8";
/*
 * 株式会社サンプル デモサイト 案03「素材見本」
 * 地：白 / 文字：墨 / 素材色は「面」としてだけ使う
 * 角丸はチップだけ。ほかのUIは角を立てる。影は使わない。
 */

:root {
  --white: #ffffff;
  --ink: #1e1e1c;
  --ink-soft: #4a4a46;
  --rule: #d9d7d1;
  --shikkui: #f1efea;
  --concrete: #a6a8a3;
  --sugi: #b27a4e;
  --brass: #c2a14d;
  --kuro: #2a2a27;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --chip-r: 16px;

  /* 素材の手ざわり（SVG feTurbulence・タイル状で軽量） */
  --tx-shikkui: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480'><filter id='a' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.009' numOctaves='3' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .47 0 0 0 0 .41 .42 0 0 0 -.16'/></filter><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' seed='8' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3 0 0 0 0 .29 0 0 0 0 .26 .42 0 0 0 -.16'/></filter><rect width='480' height='480' filter='url(%23a)'/><rect width='480' height='480' filter='url(%23b)'/></svg>");
  --tx-concrete: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><filter id='a' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .22 0 0 0 0 .22 0 0 0 0 .21 .55 0 0 0 -.24'/></filter><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .8 0 0 0 -.36'/></filter><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2' seed='5' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .15 0 0 0 0 .15 0 0 0 0 .14 .9 0 0 0 -.44'/></filter><rect width='420' height='420' filter='url(%23a)'/><rect width='420' height='420' filter='url(%23b)'/><rect width='420' height='420' filter='url(%23c)'/><g fill='rgb(62,64,60)' fill-opacity='.4'><circle cx='40' cy='62' r='1.8'/><circle cx='188' cy='30' r='1.2'/><circle cx='121' cy='171' r='2.1'/><circle cx='221' cy='214' r='1.4'/><circle cx='71' cy='229' r='1'/><circle cx='160' cy='98' r='.9'/></g></svg>");
  --tx-sugi: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='360'><filter id='a' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.22 .005' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3 0 0 0 0 .16 0 0 0 0 .07 .95 0 0 0 -.4'/></filter><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.8 .012' numOctaves='1' seed='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .76 .5 0 0 0 -.24'/></filter><rect width='240' height='360' filter='url(%23a)'/><rect width='240' height='360' filter='url(%23b)'/></svg>");
  --tx-brass: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='240'><filter id='a' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.003 .7' numOctaves='2' seed='9' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .82 .9 0 0 0 -.4'/></filter><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.004 .3' numOctaves='2' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .34 0 0 0 0 .25 0 0 0 0 .05 .8 0 0 0 -.37'/></filter><rect width='360' height='240' filter='url(%23a)'/><rect width='360' height='240' filter='url(%23b)'/></svg>");
  --tx-kuro: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='a' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.01' numOctaves='3' seed='6' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 .95 .16 0 0 0 -.06'/></filter><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='1' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .5 0 0 0 -.26'/></filter><rect width='300' height='300' filter='url(%23a)'/><rect width='300' height='300' filter='url(%23b)'/></svg>");
}

/* ---------- 基本 ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  line-break: strict;
  overflow-wrap: break-word;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, p, dl, dd, figure, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.ib {
  display: inline-block;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.on-ink :focus-visible {
  outline-color: var(--white);
}

main:focus,
main:focus-visible {
  outline: none;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.noscript {
  padding-block: 48px;
}

/* ---------- 素材 ---------- */

.m-shikkui {
  background-color: var(--shikkui);
  background-image: var(--tx-shikkui);
}

.m-concrete {
  background-color: var(--concrete);
  background-image: var(--tx-concrete);
}

.m-sugi {
  background-color: var(--sugi);
  background-image: var(--tx-sugi);
}

.m-brass {
  background-color: var(--brass);
  background-image: var(--tx-brass);
}

.m-kuro {
  background-color: var(--kuro);
  background-image: var(--tx-kuro);
  color: var(--white);
}

/* 素材サンプルチップ（角丸はチップだけ） */
.chip {
  position: relative;
  display: block;
  border-radius: var(--chip-r);
}

.chip__hole {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hole-bg, var(--white));
  border: 1px solid rgba(30, 30, 28, .35);
}

.chip__label {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* 写真・動画の配置位置 */
.plane {
  position: relative;
}

.plane--photo {
  overflow: hidden;
}

.plane--photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  background: var(--white);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .ph {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 3px 8px;
    font-size: .6875rem;
  }
}

.tbd {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1.5px solid var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.6;
}

.sample {
  font-size: .8125rem;
  color: var(--ink-soft);
}

/* ---------- 文字 ---------- */

.h-page,
.h-sec,
.hero__title,
.biz-chip__title,
.slot__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-feature-settings: "palt";
  line-break: strict;
}

.h-page {
  font-size: clamp(2.25rem, 1rem + 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.h-sec {
  font-size: clamp(1.75rem, 1rem + 2.4vw, 2.875rem);
  line-height: 1.2;
  letter-spacing: -.005em;
}

.h-sec--s {
  font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem);
}

/* ---------- ボタン・リンク ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 24px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

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

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

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

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

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

.btn--disabled,
.btn--disabled:hover {
  width: 100%;
  border: 2px dashed #8a8b86;
  background: var(--shikkui);
  color: var(--ink-soft);
  cursor: not-allowed;
}

.tlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.tlink:hover {
  text-decoration-thickness: 4px;
}

/* ---------- スキップ・デモ表記 ---------- */

.skip {
  position: absolute;
  top: -200px;
  left: 8px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.demo-bar {
  padding: 6px var(--gutter);
  background: var(--shikkui);
  color: var(--ink-soft);
  font-size: .75rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  height: 72px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  text-decoration: none;
  white-space: nowrap;
}

.brand__chip {
  position: relative;
  width: 18px;
  height: 28px;
  border-radius: 4px;
  background: var(--sugi);
}

.brand__chip::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--white);
}

.brand__name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.brand__corp {
  font-size: .8125rem;
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: none;
}

.site-nav .nav-contact {
  margin-left: 10px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.site-nav .nav-contact::after {
  background: var(--white);
  left: 18px;
  right: 18px;
}

.menu-toggle {
  display: none;
}

@media (max-width: 800px) {
  .site-header__inner {
    height: 60px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 48px;
    min-height: 44px;
    padding: 0 14px;
    border: 2px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .menu-toggle__bars {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .menu-toggle__bars::before {
    top: -6px;
  }

  .menu-toggle__bars::after {
    top: 6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 4px var(--gutter) 20px;
    background: var(--white);
    border-top: 1px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li + li {
    border-top: 1px solid var(--rule);
  }

  .site-nav a {
    min-height: 56px;
    padding: 0 2px;
    font-size: 1.125rem;
  }

  .site-nav a::after {
    left: 2px;
    right: auto;
    width: 28px;
    bottom: 10px;
  }

  .site-nav .nav-contact {
    margin: 12px 0 0;
    justify-content: center;
  }

  .site-nav .nav-contact::after {
    left: 50%;
    right: auto;
    margin-left: -14px;
  }
}

/* ---------- セクション共通 ---------- */

.section {
  padding-block: clamp(64px, 9vw, 128px);
}

.section--flush-top {
  padding-top: 0;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}

.sec-head__text {
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.7;
}

/* ---------- TOP：ヒーロー ---------- */

.hero {
  overflow-x: clip;
  padding-block: clamp(28px, 5vw, 64px) clamp(32px, 5vw, 72px);
}

.hero__grid {
  display: grid;
  gap: clamp(8px, 3vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.hero__copy {
  container-type: inline-size;
}

.hero__title {
  font-size: clamp(2.75rem, 12vw, 7.5rem);
  font-size: clamp(2.75rem, 19.5cqi, 8rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.hero__title .line {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  margin-top: clamp(20px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .9rem + .7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
}

.hero__text {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* 見せ場：扇状に広がるチップの束 */
.fan {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  aspect-ratio: 10 / 9;
  container-type: inline-size;
}

.fan__chip {
  position: absolute;
  left: 13.5%;
  bottom: 6%;
  z-index: var(--i);
  width: 25%;
  height: 74%;
  border-radius: clamp(8px, 2.6cqi, 16px);
  transform-origin: 50% 92%;
  transform: rotate(var(--r));
}

.fan.is-animated .fan__chip {
  animation: fan-open 1.15s cubic-bezier(.18, .84, .26, 1) both;
  animation-delay: calc(280ms + var(--i) * 70ms);
}

@keyframes fan-open {
  from {
    transform: rotate(-12deg);
  }
}

.fan__label {
  position: absolute;
  top: 3.5%;
  left: 7%;
  padding: .35em .45em;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: max(11px, 2.3cqi);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* 小さい画面では隣のチップにラベル末尾が隠れるため、文字を小さく左へ寄せる */
@container (max-width: 420px) {
  .fan__label {
    left: 4%;
    padding: .3em .35em;
    font-size: 9px;
  }
}

/* 320px前後：メニューボタンが1行に収まるよう、ヘッダーの「株式会社」を省き余白を詰める */
@media (max-width: 360px) {
  .site-header .brand__corp {
    display: none;
  }

  .menu-toggle {
    gap: 8px;
    padding: 0 10px;
  }
}

.fan__rivet {
  position: absolute;
  left: 26%;
  top: 88.08%;
  z-index: 10;
  width: max(14px, 4.2cqi);
  height: max(14px, 4.2cqi);
  border-radius: 50%;
  background-color: var(--brass);
  background-image: var(--tx-brass);
  border: 3px solid var(--ink);
  transform: translate(-50%, -50%);
}

/* ---------- TOP：動画の配置位置 ---------- */

.reel__plane {
  aspect-ratio: 21 / 9;
}

@media (max-width: 700px) {
  .reel__plane {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- TOP：事業チップ ---------- */

.biz-chips {
  display: grid;
  gap: 16px;
  align-items: end;
}

.biz-chip {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 56px 24px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease;
}

.biz-chip:hover {
  transform: translateY(-6px);
}

.biz-chip:focus-visible {
  outline-offset: 4px;
}

.biz-chip--b { min-height: 230px; }
.biz-chip--c { min-height: 300px; }

.biz-chip__title {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.biz-chip__sub {
  display: inline-block;
  align-self: flex-start;
  margin-top: 12px;
  padding: 2px 10px;
  background: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

@media (min-width: 640px) {
  .biz-chips {
    grid-template-columns: 1fr 1fr;
  }

  .biz-chip--c {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .biz-chips {
    grid-template-columns: 5fr 3fr 4fr;
  }

  .biz-chip--c {
    grid-column: auto;
  }

  .biz-chip--a { min-height: 440px; }
  .biz-chip--b { min-height: 320px; }
  .biz-chip--c { min-height: 540px; }
}

/* ---------- TOP：物件・施工事例ティザー ---------- */

.teaser {
  display: grid;
  gap: 32px 16px;
  align-items: start;
}

.teaser__item .plane {
  aspect-ratio: 4 / 3;
}

.teaser__item figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 12px;
}

@media (min-width: 700px) {
  .teaser {
    grid-template-columns: 5fr 4fr 3fr;
  }

  .teaser__item--a .plane { aspect-ratio: 4 / 5; }
  .teaser__item--b .plane { aspect-ratio: 1 / 1; margin-top: 18%; }
  .teaser__item--c .plane { aspect-ratio: 3 / 4; }
}

.teaser__more {
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---------- TOP：サテライト＋お問い合わせ ---------- */

.split {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }
}

.split__satellite p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.split__plane {
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.split__contact {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
  min-height: 360px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
}

.split__contact p {
  color: #d8d6d0;
}

.split__chip {
  flex: none;
  align-self: flex-end;
  width: 88px;
  height: 128px;
  margin-bottom: auto;
  --hole-bg: var(--ink);
}

/* ---------- 下層ページ見出し ---------- */

.page-head {
  padding-block: clamp(40px, 7vw, 104px) clamp(32px, 5vw, 64px);
  overflow-x: clip;
}

.page-head__inner {
  display: grid;
  gap: 28px;
  align-items: end;
}

@media (min-width: 800px) {
  .page-head__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.page-head__lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
}

.page-head__chips {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mc .chip__hole {
  top: 10px;
  left: 10px;
  width: 11px;
  height: 11px;
}

.mc .chip__label {
  top: auto;
  bottom: 8px;
  right: auto;
  left: 8px;
  font-size: .6875rem;
}

.mc--a { width: 112px; height: 150px; }
.mc--b { width: 72px; height: 190px; }
.mc--c { width: 96px; height: 116px; }

@media (max-width: 799px) {
  .mc--a { width: 88px; height: 104px; }
  .mc--b { width: 60px; height: 128px; }
  .mc--c { width: 76px; height: 84px; }

  .mc .chip__label {
    font-size: .625rem;
    padding: 2px 5px;
  }
}

/* ---------- 物件・施工事例 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.filters {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: min(100%, 420px);
  border: 2px solid var(--ink);
}

.filters__btn {
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}

.filters__btn + .filters__btn {
  border-left: 2px solid var(--ink);
}

.filters__btn:hover {
  background: var(--shikkui);
}

.filters__btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.filters__btn:focus-visible {
  outline-offset: -7px;
  outline-color: var(--brass);
  outline-width: 3px;
  box-shadow: inset 0 0 0 4px var(--ink);
}

.filter-status {
  color: var(--ink-soft);
  font-size: .875rem;
}

.slots {
  display: grid;
  gap: 48px 24px;
  grid-auto-flow: dense;
}

@media (min-width: 700px) {
  .slots {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .slot { grid-column: span 6; }
  .slot--12 { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .slot--7 { grid-column: span 7; }
  .slot--5 { grid-column: span 5; }
  .slot--4 { grid-column: span 4; }
}

.slot__media {
  aspect-ratio: 4 / 3;
}

.slot__media--wide {
  aspect-ratio: 16 / 10;
}

.slot__body {
  margin-top: 16px;
}

.slot__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.slot__title {
  margin-top: 10px;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem);
  line-height: 1.35;
}

/* Before / After（素材色の見比べ） */
.ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: end;
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--rule);
}

.ba__rule {
  align-self: stretch;
  background: var(--rule);
}

.ba__chip {
  aspect-ratio: 3 / 4;
}

.ba__side figcaption {
  margin-top: 10px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .slot--works.slot--12 {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 32px;
    align-items: end;
  }

  .slot--12 .ba__chip {
    aspect-ratio: 4 / 3;
  }

  .slot--12 .slot__body {
    margin-top: 0;
  }
}

/* 仕様リスト */
.spec {
  margin-top: 14px;
  border-top: 1px solid var(--rule);
}

.spec__row {
  display: grid;
  grid-template-columns: minmax(6em, 9em) minmax(0, 1fr);
  gap: 4px 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: .9375rem;
  line-height: 1.7;
}

.spec dt {
  font-weight: 700;
}

.spec--table {
  margin-top: 0;
  border-top: 2px solid var(--ink);
}

.spec--table .spec__row {
  grid-template-columns: minmax(8em, 13em) minmax(0, 1fr);
  padding-block: 18px;
  font-size: 1rem;
}

.spec--table .tlink {
  min-height: 44px;
  font-size: .9375rem;
}

@media (max-width: 520px) {
  .spec--table .spec__row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-block: 14px;
  }

  .spec--table dt {
    font-size: .875rem;
  }
}

/* ---------- 事業紹介 ---------- */

.biz-list {
  display: grid;
  gap: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(64px, 9vw, 128px);
}

.biz {
  display: grid;
  gap: 28px;
  align-items: end;
}

.biz__plane {
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .biz {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .biz--reverse .biz__plane {
    order: 2;
  }

  .biz--reverse {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.biz__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.swatch {
  flex: none;
  width: 48px;
  height: 68px;
  border-radius: 8px;
}

.swatch .chip__hole {
  top: 8px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
}

.biz__kind {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 700;
}

.biz__desc {
  margin-top: 20px;
  font-size: 1.0625rem;
}

/* ---------- 会社概要 ---------- */

.company {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

@media (min-width: 1000px) {
  .company {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

.company__plane {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
}

@media (max-width: 999px) {
  .company__plane {
    aspect-ratio: 4 / 3;
  }
}

.company__message p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* ---------- サテライトオフィス ---------- */

.satellite {
  display: grid;
  gap: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px);
}

.satellite__photo {
  aspect-ratio: 16 / 9;
}

.satellite__map {
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .satellite {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .satellite__photo {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }

  .satellite__map {
    aspect-ratio: 16 / 10;
  }
}

.satellite__info .spec {
  margin-top: 20px;
}

/* ---------- お問い合わせ ---------- */

.contact {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  border: 2px solid var(--ink);
}

.contact-card__plane {
  aspect-ratio: 16 / 7;
  border-bottom: 2px solid var(--ink);
}

@media (max-width: 759px) {
  .contact-card__plane {
    aspect-ratio: 16 / 9;
  }
}

.contact-card__body {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 36px);
}

.contact-card__body .spec {
  margin-top: 0;
}

.contact__note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: .9375rem;
}

/* ---------- 誘導帯 ---------- */

.cta {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 96px);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.cta__text {
  margin-top: 12px;
  color: #d8d6d0;
  font-size: .9375rem;
}

/* ---------- フッター ---------- */

.site-footer {
  border-top: 1px solid var(--ink);
  padding-block: 48px 28px;
  font-size: .875rem;
}

.site-footer__inner {
  display: grid;
  gap: 28px 48px;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .site-footer__nav {
    justify-content: flex-end;
  }
}

.site-footer__biz {
  margin-top: 6px;
  color: var(--ink-soft);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.site-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: .75rem;
}

/* ---------- 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
  .fan.is-animated .fan__chip {
    animation: none;
  }

  .biz-chip,
  .biz-chip:hover {
    transition: none;
    transform: none;
  }
}

/* ─── モバイルメニュー：閉じる／HOME（TATEURI 必須・メニューを開いている間だけ表示） ─── */
.mobile-nav-extra { display: none; }
html.tt-nav-open #site-nav .mobile-nav-extra {
  position: relative; z-index: 5; display: flex; flex: 0 0 auto; align-self: stretch; align-items: center; justify-content: space-between; gap: 16px;
  box-sizing: border-box; width: 100%; margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px solid rgba(128, 128, 128, .35);
}
html.tt-nav-open #site-nav a.mobile-nav-home,
html.tt-nav-open #site-nav button.mobile-nav-close {
  display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 44px; margin: 0; padding: 0 2px;
  font: inherit; font-size: 14px; line-height: 1; letter-spacing: .12em; color: inherit; text-decoration: none;
  background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; cursor: pointer;
}
html.tt-nav-open #site-nav a.mobile-nav-home { font-weight: 700; letter-spacing: .2em; box-shadow: inset 0 -3px 0 var(--brass); }
html.tt-nav-open #site-nav a.mobile-nav-home::before, html.tt-nav-open #site-nav a.mobile-nav-home::after,
html.tt-nav-open #site-nav button.mobile-nav-close::before, html.tt-nav-open #site-nav button.mobile-nav-close::after { content: none; display: none; }
html.tt-nav-open #site-nav button.mobile-nav-close svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* メニューを開いている間、デモバーが画面に見えていれば一時的に外す（各案のメニュー位置は元のまま） */
html.tt-bar-hide #demo-bar { display: none; }

/* ─── 横スクロール防止（TATEURI 規則。sticky を壊さないよう hidden ではなく clip） ─── */
html, body { overflow-x: clip; }

/* ─── DEMO BAR（TATEURI 共通・通常フローに置く） ─── */
#demo-bar { position: relative; z-index: 1200; background: #101215; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 7px 16px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.demo-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: rgba(255, 255, 255, .55); }
.demo-badge { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(200, 168, 92, .18); color: #C8A85C; padding: 3px 10px; flex-shrink: 0; }
.demo-link { display: inline-block; padding: 4px 0; color: #C8A85C; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255, 255, 255, .3); font-size: 11px; }
@media (max-width: 640px) { .demo-copy { display: none; } }
