/* よしひろ住建 — 深い緑と写真。動きの主役は「墨線」「引き戸」「曲尺」。 */

:root {
  --g9: #12241d;      /* 墨緑：いちばん深い地 */
  --g7: #244b3e;      /* よしひろ住建の緑 */
  --g5: #3f6c5b;
  --paper: #eff1ea;   /* 漆喰の白 */
  --paper-2: #e2e6da;
  --wood: #d0af84;    /* 檜 */
  --ink: #17231d;
  --mute: #5c6a62;
  --line: rgba(23, 35, 29, .16);
  --line-light: rgba(239, 241, 234, .2);

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --rail: 0px;
  --pad: clamp(20px, 5.2vw, 84px);
  --pl: calc(var(--rail) + var(--pad));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 68px;
}
@media (min-width: 1024px) {
  :root { --rail: 64px; --header-h: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--g9);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
p, dd, li { text-wrap: pretty; word-break: auto-phrase; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 4px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  padding: 10px 16px; background: var(--paper); color: var(--ink);
}
.skip:focus { top: 12px; }

/* ---------- 文字の分割 ---------- */
.c { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.ci { display: inline-block; will-change: transform; }
.s { display: inline; }

.h-xl {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 7.4vw, 92px);
  line-height: 1.32;
  letter-spacing: .06em;
  font-feature-settings: "palt";
}

/* ---------- 開幕 ---------- */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html:not(.js) .loader { display: none; }
.loader__door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--g7); }
.loader__door--l { left: 0; border-right: 1px solid rgba(239, 241, 234, .18); }
.loader__door--r { right: 0; }
.loader__center {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px;
  color: var(--paper);
}
.loader__logo { width: 120px; height: 120px; opacity: 0; }
.loader__line { width: min(64vw, 420px); height: 1px; }
.loader__line i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.loader__count { font-family: var(--serif); font-size: 14px; letter-spacing: .2em; line-height: 1; opacity: .8; }
.loader__count small { margin-left: .4em; font-size: 11px; }
.loader.is-done { display: none; }

/* ---------- 曲尺 ---------- */
.ruler {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: var(--rail);
  display: none; color: #fff; mix-blend-mode: difference; pointer-events: none;
}
@media (min-width: 1024px) { .ruler { display: block; } }
.ruler::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .28); }
.ruler__ticks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.75) 0 1px, transparent 1px 100px) right top / 22px 100px repeat-y,
    repeating-linear-gradient(to bottom, rgba(255,255,255,.5) 0 1px, transparent 1px 50px) right top / 14px 50px repeat-y,
    repeating-linear-gradient(to bottom, rgba(255,255,255,.34) 0 1px, transparent 1px 10px) right top / 7px 10px repeat-y;
  background-position-y: var(--ry, 0px);
}
.ruler__mark { position: absolute; right: 0; top: 50%; width: 34px; height: 1px; background: #fff; }
.ruler__read {
  position: absolute; left: 0; right: 0; top: calc(50% + 10px); text-align: center;
  font-family: var(--serif); font-size: 11px; line-height: 1.2; letter-spacing: .05em;
}
.ruler__read small { display: block; font-size: 9px; opacity: .7; }
.ruler__name {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 12px; letter-spacing: .32em; white-space: nowrap;
}

.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 110; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--wood); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (min-width: 1024px) { .progress { display: none; } }

/* ---------- カーソル ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 180; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--wood); pointer-events: none; opacity: 0;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--g9); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad) 0 var(--pl); color: var(--paper);
  transition: transform .6s var(--ease), background-color .4s;
}
.header.is-solid { background: rgba(18, 36, 29, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-hidden { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.brand img { width: 46px; height: 46px; }
.nav { display: none; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-size: 14px; }
.nav a { position: relative; text-decoration: none; padding: 6px 0; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 22px !important; border: 1px solid var(--line-light); border-radius: 999px; transition: background-color .3s, color .3s; }
.nav__cta:hover { background: var(--paper); color: var(--g9); }
@media (min-width: 1024px) { .nav { display: flex; } }

.menu-btn { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 10px; background: none; border: 0; cursor: pointer; font-size: 13px; letter-spacing: .12em; }
.menu-btn__bars { position: relative; width: 28px; height: 10px; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__bars i:first-child { top: 0; }
.menu-btn__bars i:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 5px; transform: rotate(24deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 5px; transform: rotate(-24deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--g7); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 36px) var(--pad) calc(36px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { display: block; overflow: hidden; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 8.6vw, 44px); line-height: 1.5; }
.menu nav a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.menu.is-open nav a span { transform: none; }
.menu.is-open nav a:nth-child(2) span { transition-delay: .06s; }
.menu.is-open nav a:nth-child(3) span { transition-delay: .12s; }
.menu.is-open nav a:nth-child(4) span { transition-delay: .18s; }
.menu.is-open nav a:nth-child(5) span { transition-delay: .24s; }
.menu__foot { font-size: 14px; line-height: 1.8; opacity: .85; }
.menu__foot a { font-family: var(--serif); font-size: 24px; text-decoration: none; }

/* ---------- ボタン・リンク ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 56px; padding: 0 30px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: .1em; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn span { transition: color .3s; }
.btn--light { background: var(--paper); color: var(--g9); }
.btn--light::before { background: var(--wood); }
.btn--ghost { border: 1px solid rgba(239, 241, 234, .5); color: var(--paper); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover span { color: var(--g9); }

.link {
  display: inline-block; padding-bottom: 2px; text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: right bottom; }
.link--light { color: var(--paper); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  background: var(--g9); color: var(--paper);
}
.hero__media { position: absolute; inset: 0; }
.hero__mobile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18,36,29,.55) 0%, rgba(18,36,29,.12) 34%, rgba(18,36,29,.3) 58%, rgba(18,36,29,.92) 100%);
}
.slats { display: none; }

.hero__title {
  position: absolute; z-index: 2; right: var(--pad); top: calc(var(--header-h) + 3vh);
  display: flex; flex-direction: row-reverse; gap: .18em;
  font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: .06em;
  font-size: min(10.4vh, 17vw);
  text-shadow: 0 2px 30px rgba(10, 22, 17, .45);
}
.hero__col { writing-mode: vertical-rl; display: block; white-space: nowrap; }
.hero__col:nth-child(2) { margin-top: .7em; }
.hero__col .c { padding: 0 .08em; margin: 0 -.08em; }

.hero__body { position: absolute; z-index: 2; left: var(--pl); right: var(--pad); bottom: calc(28px + env(safe-area-inset-bottom)); }
.hero__lead { font-size: clamp(14px, 3.7vw, 17px); line-height: 1.95; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__place { display: none; }

@media (min-width: 900px) {
  .hero__mobile { display: none; }
  .hero__shade { background: linear-gradient(to right, rgba(18,36,29,.88) 0%, rgba(18,36,29,.3) 44%, rgba(18,36,29,0) 70%), linear-gradient(to top, rgba(18,36,29,.7), rgba(18,36,29,0) 34%); }
  .slats {
    position: absolute; top: 0; bottom: 0; right: var(--pad); width: min(54vw, 1000px);
    display: flex; align-items: center; gap: clamp(10px, 1.1vw, 20px);
  }
  .slat { position: relative; flex: 1; overflow: hidden; will-change: transform, clip-path; }
  .slat--1 { height: 66%; margin-top: 14vh; }
  .slat--2 { height: 84%; margin-top: -2vh; }
  .slat--3 { height: 60%; margin-top: -12vh; }
  .slat__in { position: absolute; inset: -4% -6%; }
  .slat video { width: 100%; height: 100%; object-fit: cover; }

  .hero__title { right: auto; left: var(--pl); top: calc(var(--header-h) + 5vh); font-size: min(9.4vh, 6.8vw); flex-direction: row-reverse; }
  .hero__body { bottom: 6vh; right: auto; max-width: max(300px, calc(100vw - var(--pl) - var(--pad) - min(54vw, 1000px) - 28px)); }
  .hero__place {
    display: block; position: absolute; z-index: 2; right: var(--pad); bottom: 7vh;
    writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; letter-spacing: .5em;
  }
  .hero__place::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 14px; background: currentColor; opacity: .6; }
}

/* ---------- 私たちについて ---------- */
.about { position: relative; z-index: 1; background: var(--paper); padding: clamp(80px, 9.5vw, 144px) var(--pad) clamp(88px, 13vw, 190px) var(--pl); }
.statement {
  font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 8.1vw, 118px);
  line-height: 1.34; letter-spacing: .05em; font-feature-settings: "palt"; color: var(--g7);
}
.statement .s { opacity: .13; }
html:not(.js) .statement .s { opacity: 1; }

.about__grid { display: grid; gap: 44px; margin-top: clamp(56px, 9vw, 130px); }
.about__main, .about__sub { overflow: hidden; }
.about__main { aspect-ratio: 4 / 3; }
.about__sub { aspect-ratio: 3 / 4; width: 62%; margin-left: auto; }
.about__main img, .about__sub img { width: 100%; height: 118%; object-fit: cover; }
.about__text { display: grid; gap: 1.6em; align-content: start; font-size: clamp(15px, 1.2vw, 17px); max-width: 34em; }
.about__sign { font-family: var(--serif); font-size: 14px; color: var(--mute); line-height: 1.7; padding-top: 1.4em; border-top: 1px solid var(--line); }
.about__sign strong { display: block; font-size: clamp(20px, 2vw, 26px); color: var(--ink); letter-spacing: .12em; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.25fr 1fr; column-gap: clamp(40px, 6vw, 110px); align-items: start; }
  .about__main { grid-row: 1 / span 2; }
  .about__text { padding-top: 4vw; }
  .about__sub { width: 70%; margin: 0 0 -9vw auto; }
}
.about__words {
  margin-top: clamp(72px, 11vw, 170px); display: flex; flex-direction: row-reverse; justify-content: center; gap: .7em;
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5vw, 70px); line-height: 1.2; letter-spacing: .14em; color: var(--g7);
}
.about__words > span { writing-mode: vertical-rl; }
.about__words > span:nth-child(2) { margin-top: 1.6em; }
.about__words .c { padding: 0 .1em; margin: 0 -.1em; }

/* ---------- できること ---------- */
.services { position: relative; background: var(--g7); color: var(--paper); padding-bottom: clamp(88px, 12vw, 170px); overflow-x: clip; }
.band { padding: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 60px); overflow: hidden; white-space: nowrap; }
.band__track { display: inline-flex; gap: .7em; padding-right: .7em; font-family: var(--serif); font-weight: 800; font-size: clamp(64px, 13vw, 210px); line-height: 1.15; will-change: transform; }
.band__track span { color: transparent; -webkit-text-stroke: 1px rgba(208, 175, 132, .65); }
.band__track span:nth-child(3n + 1) { color: var(--wood); -webkit-text-stroke: 0; }

.services__head, .works__head, .site__head { padding: 0 var(--pad) 0 var(--pl); display: grid; gap: 22px; }
.services__head p, .works__head p, .site__head p, .faq__head p { font-size: clamp(15px, 1.25vw, 18px); max-width: 30em; }

.svc { margin-top: clamp(48px, 7vw, 110px); padding: 0 var(--pad) 0 var(--pl); }
.svc__stage { display: none; }
.svc__item { padding: 34px 0 38px; border-top: 1px solid var(--line-light); }
.svc__item:last-child { border-bottom: 1px solid var(--line-light); }
.svc__inline { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 26px; }
.svc__inline img { width: 100%; height: 100%; object-fit: cover; }
.svc__item h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.4; letter-spacing: .06em; }
.svc__item > p { margin-top: 14px; max-width: 32em; font-size: clamp(15px, 1.15vw, 17px); opacity: .9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 3px 14px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 13px; line-height: 1.9; }
@media (min-width: 900px) {
  .svc { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); align-items: start; }
  .svc__stage { display: block; position: sticky; top: 14vh; height: 72vh; overflow: hidden; }
  .svc__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); }
  .svc__stage img.is-on { clip-path: inset(0); transform: none; }
  .svc__count { position: absolute; left: 18px; bottom: 14px; z-index: 5; font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
  .svc__inline { display: none; }
  .svc__item { min-height: 62vh; padding: 9vh 0; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s; }
  .svc__item.is-on { opacity: 1; }
}
.services__note { margin: clamp(40px, 5vw, 72px) var(--pad) 0 var(--pl); font-size: 15px; }
.services__note strong { display: block; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .08em; color: var(--wood); }

/* ---------- 施工実例 ---------- */
.works { background: var(--paper); padding: clamp(80px, 9.5vw, 144px) 0 0; }
.works__head .h-xl { color: var(--g7); }

.ba { margin: clamp(48px, 7vw, 110px) var(--pad) 0 var(--pl); display: grid; gap: 28px; }
.ba__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 14px; padding: 2px 14px; font-size: 13px; line-height: 2; letter-spacing: .12em; }
.ba__tag--b { left: 14px; background: var(--g9); color: var(--paper); }
.ba__tag--a { right: 14px; background: var(--paper); color: var(--g9); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--paper); }
.ba__handle i {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--paper);
  background-image: linear-gradient(var(--g9), var(--g9)), linear-gradient(var(--g9), var(--g9));
  background-size: 1px 16px; background-position: calc(50% - 4px) 50%, calc(50% + 4px) 50%; background-repeat: no-repeat;
  box-shadow: 0 6px 24px rgba(18, 36, 29, .35);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba__frame:has(.ba__range:focus-visible) { outline: 2px solid var(--g7); outline-offset: 4px; }
.ba__text { display: grid; gap: 10px; align-content: end; justify-items: start; }
.ba__text h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.45; letter-spacing: .06em; color: var(--g7); }
.ba__hint { font-size: 14px; color: var(--mute); line-height: 1.8; max-width: 22em; }
@media (min-width: 900px) {
  .ba { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 90px); }
}

.hs { margin-top: clamp(72px, 9vw, 150px); padding-bottom: clamp(72px, 9vw, 130px); }
.hs__track {
  display: flex; gap: 16px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hs__track::-webkit-scrollbar { display: none; }
.card { flex: none; scroll-snap-align: center; width: 76vw; }
.card figure { overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.card--wide figure { aspect-ratio: 4 / 3; }
.card--wide { width: 84vw; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card h3 { margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.5; letter-spacing: .06em; color: var(--g7); }
.card p { font-size: 13px; color: var(--mute); line-height: 1.8; }
.hs__bar { display: none; }
@media (min-width: 900px) {
  .hs { margin-top: clamp(60px, 7vw, 110px); padding: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .hs__track { overflow: visible; scroll-snap-type: none; gap: clamp(28px, 3.4vw, 64px); padding: 0 12vw 0 var(--pl); align-items: center; width: max-content; will-change: transform; }
  .card { width: auto; }
  .card figure { height: 62vh; aspect-ratio: 3 / 4; }
  .card--wide figure { height: 48vh; aspect-ratio: 4 / 3; }
  .card--low { margin-top: 16vh; }
  .card img { width: 124%; max-width: none; margin-left: -12%; }
  .card:hover img { transform: scale(1.04); }
  .hs__bar { display: block; height: 1px; margin: 5vh var(--pad) 0 var(--pl); background: var(--line); }
  .hs__bar i { display: block; height: 3px; margin-top: -1px; background: var(--g7); transform: scaleX(0); transform-origin: left; }
}

/* ---------- 現場から ---------- */
.site { background: var(--g9); color: var(--paper); padding: clamp(80px, 9.5vw, 144px) 0 clamp(72px, 9vw, 130px); overflow: hidden; }
.reel {
  margin-top: clamp(44px, 6vw, 90px); display: flex; gap: clamp(12px, 1.6vw, 26px);
  padding: 0 var(--pad) 8px var(--pl); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { scroll-snap-type: none; cursor: grabbing; }
.clip {
  position: relative; flex: none; width: clamp(210px, 60vw, 330px); aspect-ratio: 9 / 16; padding: 0; border: 0;
  overflow: hidden; background: var(--g7); cursor: pointer; scroll-snap-align: center; text-align: left;
}
.clip:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.clip video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.clip:hover video { transform: scale(1.05); }
.clip::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(18,36,29,.9), rgba(18,36,29,0)); pointer-events: none; }
.clip__name { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; letter-spacing: .08em; color: var(--paper); }

.posts { margin-top: clamp(80px, 10vw, 150px); }
.posts__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding: 0 var(--pad) 0 var(--pl); margin-bottom: 28px; }
.posts__head h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .08em; }
.posts__row { display: flex; width: max-content; gap: 10px; margin-bottom: 10px; animation: slide 90s linear infinite; }
.posts__row--rev { animation-direction: reverse; }
.posts__row:hover { animation-play-state: paused; }
.posts__row a { position: relative; flex: none; width: clamp(110px, 11.5vw, 170px); aspect-ratio: 1; overflow: hidden; background: var(--g7); }
.posts__row a::after { content: ""; position: absolute; inset: 0; background: var(--g7); mix-blend-mode: color; opacity: .9; transition: opacity .5s; pointer-events: none; }
.posts__row a:hover::after { opacity: 0; }
.posts__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; opacity: .7; transform: scale(1.12); }
.posts__row a:hover img { transform: scale(1.18); opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- はじめての方へ ---------- */
.faq { background: var(--paper); padding: clamp(80px, 9.5vw, 144px) var(--pad) clamp(88px, 11vw, 170px) var(--pl); display: grid; gap: clamp(40px, 6vw, 90px); }
.faq__head { display: grid; gap: 22px; align-content: start; }
.faq__head .h-xl { color: var(--g7); }
@media (min-width: 900px) { .faq__head .h-xl { font-size: clamp(28px, 3.2vw, 52px); } }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.6; letter-spacing: .05em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 18px; height: 18px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--g7); transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 0 28px; max-width: 36em; color: var(--mute); }

/* ---------- ご相談 ---------- */
.contact { background: var(--g7); color: var(--paper); padding: clamp(80px, 9.5vw, 144px) var(--pad) clamp(80px, 10vw, 150px) var(--pl); }
.contact__title { font-family: var(--serif); font-weight: 700; font-size: clamp(23px, 6.3vw, 104px); line-height: 1.34; letter-spacing: .04em; font-feature-settings: "palt"; }
.contact__lead { margin-top: 26px; font-size: clamp(15px, 1.25vw, 18px); }
.ways { margin-top: clamp(40px, 6vw, 84px); }
.way {
  position: relative; display: grid; gap: 2px; padding: 26px 0; border-top: 1px solid var(--line-light);
  text-decoration: none; isolation: isolate; overflow: hidden; transition: color .45s, padding .6s var(--ease);
}
.way:last-child { border-bottom: 1px solid var(--line-light); }
.way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wood); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.way__kind { font-size: 13px; letter-spacing: .14em; opacity: .8; }
.way__main { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5.4vw, 84px); line-height: 1.3; letter-spacing: .04em; }
.way__do { font-size: 14px; opacity: .85; }
@media (hover: hover) {
  .way:hover { color: var(--g9); padding-left: 28px; padding-right: 28px; }
  .way:hover::before { transform: none; }
}
@media (min-width: 900px) {
  .way { grid-template-columns: 12em 1fr auto; align-items: baseline; gap: 24px; padding: 30px 0; }
}
.contact__note { margin-top: 34px; font-size: 14px; line-height: 2; opacity: .9; }

/* ---------- 会社概要 ---------- */
.company { background: var(--paper); padding: clamp(88px, 11vw, 170px) var(--pad) clamp(88px, 11vw, 170px) var(--pl); display: grid; gap: clamp(36px, 5vw, 70px); }
.company__title { font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 2.7vw, 42px); letter-spacing: .1em; line-height: 1.4; color: var(--g7); white-space: nowrap; }
.company__list > div { display: grid; gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); }
.company__list > div:last-child { border-bottom: 1px solid var(--line); }
.company__list dt { font-size: 13px; color: var(--mute); letter-spacing: .12em; }
.company__list dd { font-size: 16px; line-height: 1.9; }
.company__list a:not(.link) { text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .company { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .company__list > div { grid-template-columns: 11em 1fr; gap: 20px; align-items: baseline; }
}

/* ---------- フッター ---------- */
.footer { background: var(--g9); color: var(--paper); padding: clamp(64px, 8vw, 120px) var(--pad) calc(96px + env(safe-area-inset-bottom)) var(--pl); overflow: hidden; }
.footer__tag { font-family: var(--serif); font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .18em; }
.footer__mark { margin-top: 2vw; font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 12.4vw, 250px); line-height: 1.2; letter-spacing: .02em; white-space: nowrap; color: var(--wood); }
.footer__row { margin-top: 4vw; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; letter-spacing: .14em; }
.footer__row a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 1024px) { .footer { padding-bottom: 44px; } }

/* ---------- スマホ下部の相談バー ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 999px; overflow: hidden;
  background: rgba(239, 241, 234, .96); color: var(--g9); box-shadow: 0 10px 34px rgba(10, 22, 17, .32);
  transform: translateY(160%); transition: transform .7s var(--ease);
}
.dock.is-on { transform: none; }
.dock a { display: grid; place-items: center; min-height: 52px; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.dock a + a { border-left: 1px solid var(--line); }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- 動画プレーヤー ---------- */
.player { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }
.player[open] { display: grid; place-items: center; }
.player::backdrop { background: rgba(10, 22, 17, .98); }
.player video { max-width: min(92vw, 520px); max-height: 82dvh; width: auto; height: auto; background: #000; }
.player__close { position: absolute; right: 18px; top: 18px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-light); border-radius: 999px; background: none; color: var(--paper); cursor: pointer; font-size: 14px; letter-spacing: .12em; }
.player__close:hover { background: var(--paper); color: var(--g9); }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .statement .s { opacity: 1; }
  .posts__row { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--pad) 0 var(--pl); }
  .posts__row a:nth-child(n + 9) { display: none; }
}

/* 動きなしのとき：施工実例は横に手で送る */
@media (min-width: 900px) {
  .rm .hs { height: auto; padding-bottom: 110px; }
  .rm .hs__track { width: auto; overflow-x: auto; scrollbar-width: thin; padding-bottom: 24px; }
  .rm .card img { width: 100%; margin-left: 0; }
  .rm .hs__bar { display: none; }
  .rm .svc__stage img { clip-path: none; transform: none; opacity: 0; transition: opacity .3s; }
  .rm .svc__stage img.is-on { opacity: 1; }
  .rm .svc__item { opacity: 1; }
}

.qa summary span, .svc__item h3, .ba__text h3 { text-wrap: balance; }

/* =====================================================================
   v2 — 木組み（3D）と、文字の見直し
   文字は大きさで見せず、細さ・字間・余白で見せる。
   ===================================================================== */
@media (min-width: 1024px) { :root { --rail: 0px; } }

body { font-size: 15px; line-height: 2.1; letter-spacing: .07em; }

.frame { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: none; pointer-events: none; }
.gl .frame { display: block; }
main, .footer { position: relative; z-index: 1; }
.gl .hero, .gl .services, .gl .site, .gl .contact, .gl .footer { background: transparent; }
.gl .hero__media { display: none; }

/* 文字 */
.h-xl { font-weight: 500; font-size: clamp(21px, 2.4vw, 34px); line-height: 1.8; letter-spacing: .16em; }
@media (min-width: 900px) { .faq__head .h-xl { font-size: clamp(21px, 2.4vw, 34px); } }
.statement { font-weight: 500; font-size: clamp(21px, 2.9vw, 42px); line-height: 1.85; letter-spacing: .14em; }
.hero__title { font-weight: 500; font-size: min(5.2vh, 8.6vw); line-height: 1.3; letter-spacing: .24em; gap: .7em; text-shadow: none; }
.hero__col:nth-child(2) { margin-top: 1.6em; }
@media (min-width: 900px) { .hero__title { font-size: min(5.6vh, 3.9vw); top: calc(var(--header-h) + 7vh); } }
.hero__lead { font-size: clamp(13px, 3.5vw, 15px); line-height: 2.1; }
.btn { min-height: 50px; padding: 0 26px; font-size: 13px; letter-spacing: .16em; }
.brand { font-size: 15px; font-weight: 500; letter-spacing: .2em; }
.brand img { width: 40px; height: 40px; }
.nav { font-size: 13px; letter-spacing: .12em; }
.menu nav a { font-weight: 500; font-size: clamp(22px, 6.2vw, 30px); line-height: 1.9; letter-spacing: .14em; }
.services__head p, .works__head p, .site__head p, .faq__head p, .contact__lead { font-size: 15px; }
.about__text { font-size: 15px; }
.about__sign strong { font-weight: 500; font-size: 18px; letter-spacing: .2em; }
.about__words { font-weight: 500; font-size: clamp(19px, 2vw, 28px); letter-spacing: .34em; gap: 1.1em; }
.svc__item h3 { font-weight: 500; font-size: clamp(19px, 1.8vw, 25px); letter-spacing: .14em; line-height: 1.8; }
.svc__item > p { font-size: 15px; }
.tags li { font-size: 12px; }
.services__note strong { font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: .14em; }
.services { padding-top: clamp(96px, 13vw, 190px); }
.ba__text h3 { font-weight: 500; font-size: clamp(19px, 1.9vw, 26px); letter-spacing: .14em; line-height: 1.8; }
.clip__name { font-weight: 500; font-size: 14px; letter-spacing: .14em; }
.posts__head h3 { font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: .14em; }
.qa summary { font-weight: 500; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: .1em; padding: 24px 0; }
.contact__title { font-weight: 500; font-size: clamp(21px, 2.7vw, 38px); line-height: 1.85; letter-spacing: .14em; }
.way { padding: 24px 0; }
.way__main { font-weight: 500; font-size: clamp(21px, 2.2vw, 30px); letter-spacing: .12em; line-height: 1.6; }
.way__kind, .way__do { font-size: 12px; letter-spacing: .16em; }
@media (min-width: 900px) { .way { padding: 28px 0; } }
.company__title { font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: .2em; }
.company__list dd { font-size: 15px; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.cursor.is-big { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cursor__label { font-size: 11px; font-weight: 500; letter-spacing: .16em; }

/* できること：3Dの骨組みが左に立ち、項目に合わせて該当の部材が光る */
.svc__part { display: none; }
@media (min-width: 900px) {
  .gl .svc__stage { overflow: visible; }
  .gl .svc__stage img { display: none; }
  .gl .svc__count { left: 0; bottom: 0; text-shadow: none; font-size: 12px; opacity: .6; }
  .gl .svc__part { display: block; position: absolute; left: 0; bottom: 30px; font-family: var(--serif); font-size: 14px; letter-spacing: .34em; color: var(--wood); }
  .gl .svc__inline { display: block; width: min(100%, 360px); aspect-ratio: 16 / 10; margin-bottom: 24px; }
}

/* 施工実例：静かな一覧。見たい人が開いて見る */
.gallery { margin: clamp(64px, 8vw, 130px) var(--pad) 0 var(--pl); padding-bottom: clamp(88px, 11vw, 170px); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
.work.is-extra { display: none; }
.gallery.is-open .work.is-extra { display: block; }
.work button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.work figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.work button:hover img, .work button:focus-visible img { transform: scale(1.05); }
.work__title { display: block; margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.8; letter-spacing: .12em; color: var(--g7); }
.work__kind { display: block; font-size: 11px; line-height: 1.8; letter-spacing: .16em; color: var(--mute); }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(52px, 5.4vw, 92px) clamp(26px, 3.4vw, 60px); max-width: 1180px; margin-inline: auto; }
  .work:nth-child(3n + 2) { margin-top: clamp(30px, 4.4vw, 72px); }
}
.more {
  display: flex; align-items: center; gap: 16px; margin: clamp(44px, 5vw, 76px) auto 0; padding: 14px 6px;
  border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer;
  font-size: 13px; letter-spacing: .18em; color: var(--g7);
}
.more i { position: relative; width: 12px; height: 12px; }
.more i::before, .more i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.more i::after { transform: rotate(90deg); }
.more[aria-expanded="true"] i::after { transform: rotate(0); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; color: var(--paper); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 76px 20px 26px; }
.lightbox::backdrop { background: rgba(10, 22, 17, .98); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 0; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100dvh - 230px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 18px; font-size: 12px; letter-spacing: .14em; }
.lightbox figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .14em; }
.lightbox__nav { display: flex; align-items: center; gap: 26px; font-size: 12px; letter-spacing: .16em; }
.lightbox__nav button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line-light); background: none; color: inherit; cursor: pointer; }
.lightbox__nav button:hover { border-color: var(--wood); color: var(--wood); }
.defs { position: absolute; }

/* フッター：組み上がった家が最後に立つ */
.footer { display: flex; align-items: flex-end; padding-top: clamp(72px, 9vw, 130px); }
.gl .footer { min-height: 84vh; }
.footer__in { width: 100%; display: grid; gap: 14px; }
.footer__tag { font-family: var(--serif); font-size: clamp(17px, 1.9vw, 26px); line-height: 2; letter-spacing: .24em; }
.footer__name { font-size: 12px; letter-spacing: .24em; opacity: .75; }
.footer__row { margin-top: clamp(30px, 4vw, 56px); font-size: 12px; }

/* 参考サイトの実測に合わせた字間 */
.h-xl { letter-spacing: .1em; }
.statement { letter-spacing: .08em; }
.hero__title { letter-spacing: .16em; }
.contact__title { letter-spacing: .1em; }
.way__main { letter-spacing: .06em; }
.about__words { letter-spacing: .24em; }
.svc__item h3, .ba__text h3 { letter-spacing: .1em; }
/* 部材名のラベルは線の上でも読めるように */
.gl .svc__part, .gl .svc__count { padding: 2px 10px 2px 0; background: var(--g7); }

/* 相談はLINEを主役に */
.dock { grid-template-columns: 1.7fr 1fr; }
.dock a:first-child { background: var(--g7); color: var(--paper); }
.way--main .way__main { color: var(--wood); }
@media (hover: hover) { .way--main:hover .way__main { color: inherit; } }
.menu__foot a { font-size: 18px; letter-spacing: .14em; border-bottom: 1px solid var(--line-light); padding-bottom: 4px; }

/* トップの奥に敷く、木の質感 */
.backdrop { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; overflow: hidden; display: none; pointer-events: none; opacity: 0; transition: opacity 2.4s ease; --depth: .16; --fade: 1; }
.gl .backdrop { display: block; }
.backdrop.is-on { opacity: var(--fade); transition: opacity .2s linear; }
.backdrop.is-on:not(.is-settled) { transition: opacity 2.4s ease; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: var(--depth); filter: grayscale(1) contrast(1.15); animation: drift 48s ease-in-out infinite alternate; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgba(18, 36, 29, 0) 0%, rgba(18, 36, 29, .75) 100%); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }


/* カーソルの丸は控えめに（写真を隠さない） */
.cursor.is-big { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(239, 241, 234, .92); }
.cursor__label { font-size: 10px; letter-spacing: .08em; }

/* カーソルの文字ラベルは無し。押せる所では点が小さな輪になるだけ */
.cursor__label { display: none; }
.cursor.is-big { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: transparent; border: 1px solid var(--wood); }

/* ヘッダーのロゴを少し大きく */
.brand { gap: 14px; }
.brand img { width: 52px; height: 52px; }
@media (min-width: 1024px) { .brand img { width: 60px; height: 60px; } }
.brand img { width: 62px; height: 62px; }
@media (min-width: 1024px) { .brand img { width: 74px; height: 74px; } }
/* ロゴは家のマークだけ＋横に社名（2026-11-19） */
.brand img { width: 44px; height: 44px; transition: width .4s var(--ease), height .4s var(--ease); }
@media (min-width: 1024px) { .brand img { width: 54px; height: 54px; } }
.header.is-solid .brand img { width: 38px; height: 38px; }
@media (min-width: 1024px) { .header.is-solid .brand img { width: 46px; height: 46px; } }

/* トップ：家をドラッグで回す */
.spin-hint { display: none; }
.gl .spin-hint { display: block; position: absolute; z-index: 2; left: 68.5%; bottom: 4.5vh; transform: translateX(-50%); pointer-events: none; }
.spin-hint p { margin: 0; font-size: 11px; line-height: 1; letter-spacing: .28em; color: var(--wood); white-space: nowrap; }
.spin-hint span { display: inline-flex; align-items: center; gap: 12px; transition: opacity .9s; }
.spin-hint span::before, .spin-hint span::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.spin-hint span.is-used { opacity: 0; }
@media (max-width: 899px) { .gl .spin-hint { left: 50%; bottom: auto; top: calc(28svh - 14px); transform: translate(-50%, -100%); } }
.gl .hero { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.gl .hero.is-spinning { cursor: grabbing; }
.gl .hero a, .gl .hero button { cursor: pointer; }

/* スマホのトップ：見出し・家・説明文の間隔を整える */
@media (max-width: 899px) {
  .hero__title { font-size: min(4.6vh, 8vw); top: calc(var(--header-h) + 3.5vh); }
  .hero__col:nth-child(2) { margin-top: 1.3em; }
  .gl .spin-hint { top: calc(47svh - 6px); }
}
/* スマホ：見出しをさらに小さくして、家を大きく見せる（PCは変えない） */
@media (max-width: 899px) {
  .hero__title { font-size: min(3.3vh, 6vw); top: calc(var(--header-h) + 2.5vh); }
  .hero__col:nth-child(2) { margin-top: 1.2em; }
  .gl .spin-hint { top: calc(39svh - 4px); }
}
@media (max-width: 899px) { .gl .spin-hint { top: calc(36.5svh - 4px); } }
.gl .spin-hint { display: none; }   /* 「回して見る」は出さない（2026-11-19）。戻すときはこの行を消す */

/* 動画が自動再生されないときの、再生の印 */
.clip.is-blocked::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; border: 1px solid rgba(239, 241, 234, .8); background: rgba(18, 36, 29, .35)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23eff1ea'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
  pointer-events: none;
}
