/* テンプレート：motion-luxe
   色（--main）と書体（--font-heading・--font-body・--font-en）は site.yaml の theme から <html> に入る。
   --main は差し色として少しだけ使う。
   動きは html.js のときだけ付ける（JavaScript が動かなくても内容はすべて見える） */

:root {
  --paper: #efebe4;
  --paper-2: #e6e0d6;
  --ink: #1f1c19;
  --ink-soft: #675f55;
  --line: #cfc7ba;
  --dark: #24211d;
  --dark-line: rgba(239, 235, 228, 0.16);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 72px;
  --callbar-h: 64px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  padding-bottom: var(--callbar-h);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}

p,
figure {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pending {
  color: var(--ink-soft);
  opacity: 0.75;
  font-size: 0.9em;
}

/* ── 読み込み時の幕：店名が出て、幕が上がる ── */
.opening {
  display: none;
}

.js .opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--paper);
  transition: clip-path 0.6s var(--ease-io) 0.35s;
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}

.opening__name {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.4em;
  opacity: 0;
  animation: opening-name 0.7s var(--ease) forwards;
}

@keyframes opening-name {
  0% {
    opacity: 0;
    letter-spacing: 0.8em;
  }
  60%,
  100% {
    opacity: 1;
    letter-spacing: 0.4em;
  }
}

.js.is-loaded .opening {
  clip-path: inset(0 0 100% 0);
}

/* メニューを開いている間は、下の電話バーを隠す */
.is-menu-open .callbar {
  display: none;
}

/* 同じタブで2回目からは幕を省く */
.js.no-opening .opening {
  display: none;
}

/* ── デモ用の帯 ── */
.demo-banner {
  position: relative;
  z-index: 40;
  background: #fff4c2;
  color: #5c4a00;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.demo-banner__date {
  white-space: nowrap;
}

/* ── ヘッダー：最初は写真の上で透明、スクロールすると紙色に ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: #fff;
  transition:
    background-color 0.5s,
    color 0.5s;
}

.is-scrolled .site-header {
  background: rgba(239, 235, 228, 0.92);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
  gap: 24px;
}

.site-header__name {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
}

/* メニュー（スマホは全画面、PCは横並び） */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 120px;
  background: var(--dark);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease-io),
    visibility 0s 0.8s;
}

.is-menu-open .nav {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition:
    clip-path 0.8s var(--ease-io),
    visibility 0s;
}

.is-menu-open .site-header {
  color: var(--paper);
}

.nav__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-line);
  text-decoration: none;
}

.nav__en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  width: 5.5em;
}

.nav__ja {
  font-family: var(--font-heading);
  font-size: 19px;
}

.site-header__tel {
  display: block;
  margin-top: 32px;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.site-header__tel span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  opacity: 0.6;
}

.menu-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-btn__lines {
  position: relative;
  width: 28px;
  height: 7px;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}

.menu-btn__lines::before {
  top: 0;
}

.menu-btn__lines::after {
  bottom: 0;
}

.is-menu-open .menu-btn__lines::before {
  transform: translateY(3px) rotate(20deg);
}

.is-menu-open .menu-btn__lines::after {
  transform: translateY(-3px) rotate(-20deg);
}

/* ── ボタン：乗せると文字が入れ替わり、矢印の線が伸びる ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.btn__label {
  display: block;
  overflow: hidden;
  height: 2em;
  line-height: 2;
}

.btn__text {
  position: relative;
  display: block;
  transition: transform 0.6s var(--ease);
}

.btn__text::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 100%;
}

.btn__arrow {
  position: relative;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease);
}

.btn__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

@media (hover: hover) {
  .btn:hover .btn__text {
    transform: translateY(-100%);
  }

  .btn:hover .btn__arrow {
    width: 40px;
  }

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

  .btn--primary:hover {
    background: color-mix(in srgb, var(--main) 80%, black);
    border-color: color-mix(in srgb, var(--main) 80%, black);
    color: #fff;
  }

  .btn--light:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
  }
}

.btn--primary {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.btn--light {
  color: var(--paper);
}

/* ── 写真とダミー枠 ── */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

.figure {
  overflow: hidden;
}

.figure__inner {
  height: 112%;
  margin-top: -6%;
  will-change: transform;
}

/* ── 最初の画面 ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

/* 次の写真は、右から幕を引くように重なって出てくる */
.hero__slide.is-active {
  z-index: 2;
  visibility: visible;
  animation: slide-in 1.6s var(--ease-io) both;
}

.hero__slide.is-leaving {
  z-index: 1;
  visibility: visible;
}

@keyframes slide-in {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* 表示中の写真は、ゆっくり引いていく */
.hero__slide .photo {
  transform: scale(1.15);
}

.hero__slide.is-active .photo {
  transform: scale(1);
  transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero__slide.is-leaving .photo {
  transform: scale(1);
}

.hero__slide .photo--empty {
  background: linear-gradient(160deg, #5d554b, #26221d);
  color: rgba(255, 255, 255, 0.4);
}

.hero__slide:nth-child(2) .photo--empty {
  background: linear-gradient(200deg, #4c5249, #1f221d);
}

.hero__slide:nth-child(3) .photo--empty {
  background: linear-gradient(120deg, #6a5d50, #2b241e);
}

/* 文字を読みやすくする影 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top, rgba(20, 17, 14, 0.65), rgba(20, 17, 14, 0) 45%),
    linear-gradient(to bottom, rgba(20, 17, 14, 0.35), rgba(20, 17, 14, 0) 25%);
  pointer-events: none;
}

/* キャッチコピーは縦書き */
.hero__catch {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-h) + 28px);
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(24px, min(7.5vw, 4.6svh), 46px);
  line-height: 1.9;
  letter-spacing: 0.24em;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
}

.hero__catch .char {
  display: inline-block;
}

.hero__foot {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter) 28px;
}

.hero__meta {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.85;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.hero__ui {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.hero__count {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__bar {
  position: relative;
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero__bar span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero.is-ticking .hero__bar span {
  animation: hero-progress 6.5s linear forwards;
}

@keyframes hero-progress {
  to {
    transform: scaleX(1);
  }
}

.hero__arrows {
  display: flex;
  gap: 8px;
}

.hero__arrow {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.4s,
    border-color 0.4s;
}

.hero__arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

.hero__arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

@media (hover: hover) {
  .hero__arrow:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
  }
}

/* 「Scroll」：線が上から下へ流れる */
.hero__scroll {
  display: none;
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 104px;
  margin-left: -20px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.hero__scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.3);
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: #fff;
  animation: scroll-line 2.4s var(--ease-io) infinite;
}

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

/* 最初の演出：幕が上がったあと、キャッチコピーが1文字ずつ浮かび上がる */
.js .hero__catch .char {
  opacity: 0;
  transform: translateY(-0.5em);
  filter: blur(8px);
  transition:
    opacity 1.4s var(--ease),
    transform 1.4s var(--ease),
    filter 1.4s var(--ease);
  transition-delay: calc(1.7s + var(--i) * 0.07s);
}

.js.is-loaded .hero__catch .char {
  opacity: 1;
  transform: none;
  filter: none;
}

.js .hero__foot,
.js .hero__scroll {
  opacity: 0;
  transition: opacity 1.2s var(--ease) 2.8s;
}

.js.is-loaded :is(.hero__foot, .hero__scroll) {
  opacity: 1;
}

/* 1枚目は、幕が上がるまで大きめにしておき、そこから引いていく */
.js:not(.is-loaded) .hero__slide:first-child .photo {
  transform: scale(1.25);
  transition: none;
}

/* ── セクション共通 ── */
.section {
  padding: 112px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--paper);
}

.section--tint {
  background: var(--paper-2);
}

.head {
  margin-bottom: 56px;
}

.head__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.head__num {
  color: var(--main);
  font-weight: 500;
}

.head__num::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 1px;
  margin-left: 14px;
  background: currentColor;
  opacity: 0.6;
}

.head__title {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 5.5vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.14em;
}

.head--light .head__label {
  color: rgba(239, 235, 228, 0.6);
}

.head--light .head__num {
  color: var(--paper);
}

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

.section--dark .empty {
  color: rgba(239, 235, 228, 0.6);
}

/* ── スクロールでふわっと表示 ── */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 見出しは、文字が下からせり上がる */
.mask {
  display: block;
  overflow: hidden;
}

.mask > span {
  display: block;
}

.js .head .mask > span {
  transform: translateY(105%);
  transition: transform 0.7s var(--ease) 0.05s;
}

.js .head.is-in .mask > span {
  transform: none;
}

/* 写真は、幕が開くように見えてくる（動かすのは枠だけで、視差とぶつからない） */
.js .figure.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.js .figure.reveal.is-in {
  clip-path: inset(0 0 0 0);
}

.js .figure.reveal .photo {
  transform: scale(1.2);
  transition: transform 1.2s var(--ease);
}

.js .figure.reveal.is-in .photo {
  transform: scale(1);
}

/* ── 想い ── */
.concept__grid {
  display: grid;
  gap: 56px;
}

.concept__lead {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 2.3;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.concept__photos {
  position: relative;
  height: 120vw;
  max-height: 640px;
}

.concept__photo1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 72%;
}

.concept__photo2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 44%;
  border: 8px solid var(--paper);
  border-width: 8px 8px 0 0;
}

/* ── 選ばれる理由：写真と文章を左右交互に ── */
.features {
  display: grid;
  gap: 88px;
}

.feature {
  display: grid;
  gap: 28px;
}

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

.feature__num {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--main);
}

.feature__num span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.feature__title {
  margin: 20px 0 16px;
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

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

/* ── 施工事例：横に流れる帯 ── */
.works-section {
  overflow: hidden;
}

.marquee {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee calc(var(--count) * 9s) linear infinite;
}

@media (hover: hover) {
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
}

.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

/* タッチ端末：自動で流さず、指で横にすべらせて見る */
@media (hover: none) {
  .marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .marquee__track {
    animation: none;
  }

  .marquee__list[aria-hidden] {
    display: none;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__list {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 10px;
}

.work {
  width: min(70vw, 400px);
}

.work--low {
  margin-top: 56px;
}

.work__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.work--low .work__photo {
  aspect-ratio: 4 / 3;
}

.work__photo .photo {
  transition: transform 1.2s var(--ease);
}

.work__photo .photo--empty {
  background: #2f2b26;
  color: rgba(239, 235, 228, 0.45);
}

.work__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.12em;
}

.work__meta {
  font-size: 12px;
  opacity: 0.6;
}

.works__notes {
  margin: 64px 0 0;
  display: grid;
  gap: 28px;
}

.works__notes > div {
  border-top: 1px solid var(--dark-line);
  padding-top: 20px;
}

.works__notes dt {
  font-family: var(--font-heading);
}

.works__notes dd {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.7;
}

/* ── 対応している工事 ── */
.services {
  display: grid;
  gap: 8px;
}

.services__note {
  color: var(--ink-soft);
  margin: -24px 0 40px;
}

.services__list {
  border-top: 1px solid var(--line);
}

.service {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

/* 乗せると下線が左から伸びる */
.service::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

@media (hover: hover) {
  .service:hover::after {
    transform: scaleX(1);
  }
}

.service__num {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--main);
  letter-spacing: 0.1em;
}

.service__name {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.12em;
}

/* ── 会社概要 ── */
.company {
  max-width: 960px;
}

.company__table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company__row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company__row dt {
  color: var(--ink-soft);
  font-size: 13px;
}

.company__row dd {
  margin: 0;
}

.recruit {
  max-width: 40em;
}

/* ── アクセス ── */
.access {
  display: grid;
  gap: 40px;
}

.access__name {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.access__hours {
  margin: 16px 0 32px;
  color: var(--ink-soft);
  font-size: 13px;
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: grayscale(0.6);
}

.map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 13px;
}

/* ── 問い合わせの帯 ── */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--dark);
  padding: 128px 0;
}

.contact__bg {
  position: absolute;
  inset: -12% 0;
}

.contact__bg .photo {
  opacity: 0.45;
}

.contact__bg .photo--empty {
  background: var(--dark);
  color: transparent;
}

.contact__inner {
  position: relative;
  text-align: center;
}

.contact__en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact__title {
  margin: 20px 0 32px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.7;
  letter-spacing: 0.14em;
}

.contact__tel {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(30px, 8vw, 48px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
}

.contact__hours {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.75;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ── フッター ── */
.site-footer {
  background: var(--dark);
  color: rgba(239, 235, 228, 0.7);
  padding: 72px 0 32px;
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-line);
}

.site-footer__name {
  font-family: var(--font-heading);
  font-size: clamp(26px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper);
  margin-bottom: 16px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
  align-content: start;
}

.site-footer__nav a {
  color: var(--paper);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.site-footer__copy {
  font-size: 11px;
  opacity: 0.6;
}

.site-footer__top-link {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

/* ── スマホ下の電話・地図ボタン ── */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(239, 235, 228, 0.96);
  border-top: 1px solid var(--line);
}

.callbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.callbar__btn--primary {
  flex: 1.4;
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* ── PC幅 ── */
@media (min-width: 900px) {
  :root {
    --gutter: 48px;
    --header-h: 88px;
  }

  body {
    padding-bottom: 0;
    font-size: 15px;
  }

  .callbar,
  .menu-btn {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0;
    background: none;
    color: inherit;
    clip-path: none;
    visibility: visible;
    transition: none;
  }

  .nav__list {
    display: flex;
    gap: 28px;
  }

  .nav__list a {
    display: block;
    padding: 0;
    border: 0;
    position: relative;
  }

  .nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease);
  }

  .nav__list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__en {
    display: none;
  }

  .nav__ja {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .site-header__tel {
    margin: 0;
    font-size: 20px;
    text-align: right;
  }

  .hero__catch {
    right: calc(var(--gutter) + 40px);
    top: calc(var(--header-h) + 48px);
    font-size: clamp(30px, min(3.6vw, 5svh), 54px);
  }

  .hero__foot {
    padding-bottom: 40px;
  }

  .hero__ui {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .hero__scroll {
    display: block;
  }

  .section {
    padding: 168px 0;
  }

  .head {
    margin-bottom: 80px;
  }

  .concept__grid {
    grid-template-columns: 5fr 6fr;
    gap: 96px;
    align-items: center;
  }

  .concept__photos {
    height: 720px;
    max-height: none;
  }

  .concept__lead {
    font-size: 18px;
  }

  .features {
    gap: 160px;
  }

  .feature {
    grid-template-columns: 7fr 5fr;
    gap: 80px;
    align-items: center;
  }

  .feature:nth-child(even) .feature__photo {
    order: 2;
  }

  .feature:nth-child(even) {
    grid-template-columns: 5fr 7fr;
  }

  .feature__photo {
    aspect-ratio: 3 / 2;
  }

  .feature__num {
    font-size: 56px;
  }

  .feature__title {
    font-size: 28px;
  }

  .work--low {
    margin-top: 96px;
  }

  .works__notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .services {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }

  .services__side {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .service {
    padding: 32px 0;
  }

  .service__name {
    font-size: 24px;
  }

  .company {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 80px;
    max-width: 1240px;
  }

  .company .head {
    margin: 0;
  }

  .access {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }

  .access .head {
    margin-bottom: 48px;
  }

  .contact {
    padding: 184px 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr auto;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, auto);
  }
}

/* ── 端末で「動きを減らす」設定のとき ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .opening {
    display: none;
  }

  .marquee {
    overflow-x: auto;
  }
}
