@charset "UTF-8";
/* =========================================================
   ナオビノ 静的サイト 共通スタイル
   採用G案「白地と工房写真」: 白地・黒い文字・工房の写真・赤い相談導線。
   PC基準 1440px / コンテナ1120px / 主見出し40px / 節見出し28〜30px /
   本文16px・行高28px / ナビ14px / 料金18px / ボタン高48px（docs/design-requirements.md）
   ========================================================= */

:root {
  --ink: #1a1a1a;
  --ink-2: #4b4b4b;
  --ink-3: #8a8a87;
  --line: #e4e4e0;
  --line-strong: #c8c8c3;
  --bg: #ffffff;
  --bg-2: #f5f5f2;
  --bg-dark: #141414;
  /* 白地で浮かない朱寄りの赤。白文字とのコントラスト比4.5以上を保つ明度にしている */
  --red: #d63a26;
  --red-dark: #b72f1d;
  --container: 1120px;
  --gutter: 24px;
  --header-h: 80px;
  /* 画面端からコンテナ端までの距離。写真をコンテナ外へ広げる箇所で使う */
  --bleed: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  /* 欧文はJost。料金の「円〜」など和文が混ざっても和文書体へ自然に切り替わるよう和文も続けて指定する */
  --font-en: "Jost", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-slide: cubic-bezier(.77, 0, .18, 1);
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  line-break: strict;
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.85;
  }
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-weight: 400;
  /* 日本語見出しを文節で折り返し、1文字だけの行を避ける（未対応ブラウザは通常の折り返し） */
  word-break: auto-phrase;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

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

::selection {
  background: var(--ink);
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* 写真をコンテナ外へ広げても横スクロールを出さない。hiddenではなくclipにしてヘッダーのstickyを保つ */
main {
  display: block;
  overflow-x: clip;
}

.br-pc {
  display: inline;
}

.br-sp {
  display: none;
}

@media (max-width: 767px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - var(--gutter) * 2, 880px);
}

.container--text {
  width: min(100% - var(--gutter) * 2, 760px);
}

.section {
  padding-block: clamp(88px, 9.5vw, 144px);
}

.section--tight {
  padding-block: clamp(64px, 7vw, 104px);
}

.section--gray {
  background: var(--bg-2);
}

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

/* ---------- Icons ---------- */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Typography ---------- */
.label {
  display: flex;
  align-items: center;
  gap: .9em;
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.label__line {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.h-section {
  margin-top: 16px;
  font-size: clamp(24px, 1vw + 15px, 30px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .06em;
}

.h-sub {
  font-size: clamp(19px, .5vw + 14px, 22px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
}

.lead {
  margin-top: 24px;
  max-width: 46em;
  color: var(--ink-2);
}

.note {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
}

.text-en {
  font-family: var(--font-en);
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

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

.section-head--center .label {
  justify-content: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform .3s var(--ease);
}

.btn:hover .icon--ur {
  transform: translate(2px, -2px);
}

.btn:hover .icon--r {
  transform: translateX(3px);
}

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

.btn--primary:hover {
  background: var(--red-dark);
}

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

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn--light {
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

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

.btn--lg {
  min-height: 56px;
  padding: 14px 36px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  color: var(--red);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: border-color .25s var(--ease);
}

.link-arrow:hover {
  border-bottom-color: currentColor;
}

.link-arrow .icon {
  width: 14px;
  height: 14px;
}

.text-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  /* 半透明にすると写真の上で灰色に濁るため、G案どおり不透明な白にする */
  background: #fff;
  transition: border-color .3s var(--ease);
}

.site-header.is-scrolled,
.is-menu-open .site-header {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "tagline logo right";
  align-items: center;
  gap: 24px;
  height: 100%;
  padding-inline: clamp(20px, 4.2vw, 64px);
}

.site-header__tagline {
  grid-area: tagline;
  font-size: 13px;
  letter-spacing: .14em;
  white-space: nowrap;
}

.site-logo {
  grid-area: logo;
  justify-self: center;
  /* 字間の末尾分だけ右へずれるため、負のマージンで光学的に中央へ戻す */
  margin-right: -.34em;
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .34em;
}

.site-header__right {
  grid-area: right;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 36px);
}

.site-nav ul {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
}

.site-nav a {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 14px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}

.site-header__cta .icon {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.site-header__cta:hover .icon {
  transform: translate(2px, -2px);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn__bars {
  position: relative;
  width: 26px;
  height: 9px;
}

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

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

.menu-btn__bars::after {
  top: 8px;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  top: 4px;
  transform: scaleX(.82) rotate(40deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  top: 4px;
  transform: scaleX(.82) rotate(-40deg);
}

.menu-btn__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .22em;
}

@media (max-width: 1179px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo tagline right";
    gap: 14px;
  }

  .site-logo {
    justify-self: start;
    margin-right: 0;
    font-size: 20px;
    letter-spacing: .26em;
  }

  .site-header__tagline {
    padding-left: 14px;
    border-left: 1px solid var(--line-strong);
    font-size: 10.5px;
    letter-spacing: .1em;
    line-height: 1.4;
  }

  .site-header__cta,
  .menu-btn__label {
    display: none;
  }
}

/* ---------- Menu overlay ---------- */
.site-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}

.site-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.15fr);
  gap: 48px;
  padding-block: clamp(48px, 7vw, 96px) 120px;
}

.site-menu__cat,
.site-footer__cat {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--ink-3);
}

.site-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  letter-spacing: .06em;
  transition: color .25s var(--ease);
}

.site-menu__list a:hover {
  color: var(--red);
}

.site-menu__list .icon {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
}

.site-menu__contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-menu__mail {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

html.is-menu-open {
  overflow: hidden;
}

@media (max-width: 1079px) {
  .site-menu__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-menu__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 32px 64px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 56px;
}

.site-footer__logo {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .34em;
}

.site-footer__tagline {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-2);
}

.site-footer__intro {
  max-width: 27em;
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

.site-footer__contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color .25s var(--ease);
}

.site-footer__contact a:hover {
  color: var(--red);
}

.site-footer__contact .icon {
  width: 17px;
  height: 17px;
  color: var(--ink-3);
}

.site-footer__tel {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: .1em;
}

.site-footer__estimate {
  margin-top: 28px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__nav ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.site-footer__nav a {
  font-size: 14px;
  letter-spacing: .06em;
  transition: color .25s var(--ease);
}

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

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

@media (max-width: 1079px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .site-footer__nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 24px;
  }

  .site-footer__nav > div:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- SP fixed CTA ---------- */
.sp-cta {
  display: none;
}

@media (max-width: 767px) {
  .sp-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .sp-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .sp-cta a + a {
    border-left: 1px solid var(--line);
  }

  .sp-cta .icon {
    width: 18px;
    height: 18px;
  }

  .sp-cta .is-primary {
    border-left: 0;
    background: var(--red);
    color: #fff;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

/* ---------- Top: hero slider ---------- */
.hero {
  position: relative;
  height: clamp(560px, calc(100svh - var(--header-h)), 880px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-dark);
  color: #fff;
  /* 横方向のスワイプをスライド送りに使い、縦スクロールはブラウザに任せる */
  touch-action: pan-y;
}

.hero__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 1.2s var(--ease-slide);
  will-change: transform;
}

.hero__track.is-jumping {
  transition: none;
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .74) 0%, rgba(12, 12, 12, .5) 30%, rgba(12, 12, 12, .14) 60%, rgba(12, 12, 12, 0) 80%),
    linear-gradient(0deg, rgba(12, 12, 12, .55) 0%, rgba(12, 12, 12, 0) 45%);
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(56px, 9vh, 112px);
  z-index: 2;
}

.hero__en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .85;
}

.hero__title {
  margin-top: 20px;
  font-size: clamp(30px, 1.9vw + 12px, 42px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .1em;
}

.hero__sub {
  margin-top: 22px;
  font-size: 15px;
  letter-spacing: .12em;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: .12em;
}

.hero__badges li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 16px;
  background: currentColor;
  opacity: .6;
  vertical-align: -.14em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero__tel {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 28px;
}

.hero__tel-label {
  font-size: 13px;
  letter-spacing: .1em;
  opacity: .85;
}

.hero__tel-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: .1em;
}

.hero__tel:hover .hero__tel-num {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.hero__controls {
  position: absolute;
  right: var(--bleed);
  bottom: clamp(56px, 9vh, 112px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__dots {
  display: flex;
  gap: 6px;
}

.hero__dot {
  display: flex;
  align-items: center;
  width: 44px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero__dot span {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}

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

/* 進行バーの完了を次のスライドへの合図にし、停止中はバーごと止める。
   疑似要素ではanimationendを拾えないブラウザがあるため、実要素(i)で動かす */
.hero__dot[aria-current="true"] i {
  animation: hero-progress var(--hero-interval, 6.5s) linear forwards;
}

.hero.is-paused .hero__dot[aria-current="true"] i {
  animation-play-state: paused;
}

.hero.is-static .hero__dot[aria-current="true"] i {
  animation: none;
  transform: scaleX(1);
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero__count {
  min-width: 4.6em;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .14em;
}

.hero__pause {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.hero__pause:hover {
  background: #fff;
  color: var(--ink);
}

.hero__pause .icon {
  width: 14px;
  height: 14px;
}

.hero__pause .icon--play,
.hero.is-paused .hero__pause .icon--pause {
  display: none;
}

.hero.is-paused .hero__pause .icon--play {
  display: block;
}

.hero__scroll {
  position: absolute;
  right: clamp(16px, 2.2vw, 36px);
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .26em;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 72px;
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) no-repeat top / 1px 0, rgba(255, 255, 255, .3);
  animation: scroll-line 2.4s var(--ease) infinite;
}

@keyframes scroll-line {
  0% {
    background-size: 1px 0;
    background-position: top;
  }

  50% {
    background-size: 1px 100%;
    background-position: top;
  }

  51% {
    background-position: bottom;
  }

  100% {
    background-size: 1px 0;
    background-position: bottom;
  }
}

/* 読み込み直後にコピーを下から順に表示し、写真だけが先に見える時間を短く感じさせる */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero__content .container > * {
  animation: hero-rise 1.1s var(--ease) both;
}

.hero__content .container > :nth-child(2) {
  animation-delay: .08s;
}

.hero__content .container > :nth-child(3) {
  animation-delay: .16s;
}

.hero__content .container > :nth-child(4) {
  animation-delay: .22s;
}

.hero__content .container > :nth-child(5) {
  animation-delay: .3s;
}

.hero__content .container > :nth-child(6) {
  animation-delay: .38s;
}

@media (max-width: 1079px) {
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero {
    height: min(calc(100svh - var(--header-h) - 56px), 760px);
    min-height: 580px;
  }

  /* 横長の写真でも、右寄りに配置した時計と作業中の手元を残す。 */
  .hero__slide img {
    object-position: 67% 50%;
  }

  /* 主題が中央にある写真は、右寄せにすると切れるため中央で切り出す。 */
  .hero__slide--center img {
    object-position: 48% 50%;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .55) 42%, rgba(12, 12, 12, .12) 72%, rgba(12, 12, 12, .2) 100%);
  }

  .hero__content {
    bottom: 28px;
  }

  .hero__title {
    margin-top: 14px;
    font-size: 29px;
    letter-spacing: .08em;
  }

  .hero__sub {
    margin-top: 14px;
    font-size: 14px;
  }

  .hero__badges {
    font-size: 14px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__tel {
    margin-top: 18px;
  }

  .hero__tel-num {
    font-size: 22px;
  }

  .hero__controls {
    top: 12px;
    right: var(--gutter);
    bottom: auto;
    gap: 12px;
  }

  .hero__dot {
    width: 28px;
  }
}

/* ---------- Top: stats ---------- */
.stats {
  border-bottom: 1px solid var(--line);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__item {
  padding: 34px 16px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.stats__item:first-child {
  border-left: 0;
}

.stats__item dt {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-2);
}

.stats__item dd {
  margin-top: 6px;
  font-size: clamp(19px, 1vw + 10px, 25px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .08em;
}

.stats__num {
  font-family: var(--font-en);
  font-size: 1.2em;
  letter-spacing: .04em;
}

@media (max-width: 767px) {
  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats__item {
    padding: 22px 8px;
  }

  .stats__item:nth-child(odd) {
    border-left: 0;
  }

  .stats__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Top: consult ---------- */
.consult__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.consult__voices {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.consult__voices p {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.consult__voices p::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9em;
  width: 10px;
  height: 1px;
  background: var(--red);
}

.methods {
  display: grid;
  gap: 12px;
}

.method {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 16px 24px;
  border: 1px solid var(--line-strong);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.method:hover {
  border-color: var(--ink);
}

.method > .icon:first-child {
  width: 26px;
  height: 26px;
}

.method > .icon:last-child {
  width: 15px;
  height: 15px;
  transition: transform .3s var(--ease);
}

.method:hover > .icon:last-child {
  transform: translate(2px, -2px);
}

.method__label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
}

.method__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.method--primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.method--primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.method--primary .method__sub {
  color: rgba(255, 255, 255, .86);
}

@media (max-width: 1079px) {
  .consult__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .consult__voices p {
    font-size: 15px;
  }

  .method {
    min-height: 76px;
    padding: 14px 18px;
    gap: 14px;
  }
}

/* ---------- Case study cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
}

.case-grid--list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
}

.case-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.case-card a {
  display: block;
}

.case-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.case-card a:hover .case-card__img img {
  transform: scale(1.04);
}

.case-card__brand {
  margin-top: 18px;
  overflow: hidden;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  /* ブランド名とモデル名が長いと行数が揃わず、題名の位置がずれるため1行で切る */
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-card__brand span + span::before {
  content: "/";
  margin: 0 .6em;
  color: var(--line-strong);
}

.case-card__title {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .05em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-card__excerpt {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--red);
}

.case-card__more .icon {
  width: 13px;
  height: 13px;
  transition: transform .3s var(--ease);
}

.case-card a:hover .case-card__more .icon {
  transform: translateX(3px);
}

@media (max-width: 1079px) {
  .case-grid,
  .case-grid--list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 4列に収まらない幅では新着8件を横送りにし、端数の行や縦の間延びを避ける */
  .case-grid--scroll {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 38%;
    gap: 20px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .case-grid--scroll::-webkit-scrollbar {
    display: none;
  }

  .case-grid--scroll > li {
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .case-grid--scroll {
    grid-auto-columns: 74%;
    gap: 16px;
  }

  .case-grid--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 14px;
  }

  .case-card__title {
    font-size: 14px;
  }

  .case-card__excerpt {
    display: none;
  }
}

/* ---------- Top: warranty ---------- */
.warranty {
  background: var(--bg-2);
}

.warranty__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

/* 写真の主題が中央に収まる比率を保ち、本文の高さで写真を引き伸ばさない。 */
.warranty__photo {
  position: relative;
  aspect-ratio: 6 / 5;
  margin-left: calc(var(--bleed) * -1);
  overflow: hidden;
}

.warranty__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.warranty__body {
  padding-block: clamp(80px, 8vw, 128px);
  padding-left: clamp(40px, 6vw, 96px);
}

.warranty__figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 28px;
  line-height: 1;
}

.warranty__figure .num {
  font-family: var(--font-en);
  font-size: clamp(96px, 8vw, 132px);
  font-weight: 200;
  line-height: .9;
}

.warranty__figure .unit {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .1em;
}

.warranty__text {
  display: grid;
  gap: 1.2em;
  margin-top: 36px;
  color: var(--ink-2);
}

.warranty__note {
  margin-top: 28px;
}

@media (max-width: 1079px) {
  .warranty__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .warranty__photo {
    aspect-ratio: 4 / 3;
    margin-inline: calc(var(--gutter) * -1);
  }

  .warranty__body {
    padding: 64px 0 88px;
  }
}

/* ---------- Top: features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 32px;
}

.feature__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-2);
}

.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 24px;
}

.feature__num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--red);
}

.feature__title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .06em;
}

.feature__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}

.features__more {
  margin-top: clamp(48px, 5vw, 72px);
  text-align: right;
}

@media (max-width: 1079px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

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

  .feature__title {
    font-size: 18px;
  }

  .features__more {
    text-align: left;
  }
}

/* ---------- Photo captions ---------- */
/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}

.cta-band__inner {
  padding-block: clamp(96px, 11vw, 160px);
  text-align: center;
}

.cta-band .label {
  justify-content: center;
  color: rgba(255, 255, 255, .78);
}

.cta-band__text {
  max-width: 40em;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, .88);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

@media (max-width: 767px) {
  .cta-band__inner {
    text-align: left;
  }

  .cta-band .label {
    justify-content: flex-start;
  }

  .cta-band__actions {
    flex-direction: column;
    gap: 10px;
  }

  .cta-band__actions .btn {
    width: 100%;
  }
}

/* ---------- Price lists (top) ---------- */
.price-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 96px);
}

.price-col__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .08em;
}

.price-col__title small {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--ink-3);
}

.price-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
}

.price-rows dt {
  font-size: 16px;
  letter-spacing: .06em;
}

.price-rows dt.is-en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .14em;
}

.price-rows .kind {
  margin-left: 12px;
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--ink-3);
}

.price-rows dd {
  font-family: var(--font-en);
  font-size: 19px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.price__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 48px;
}

.price__foot p {
  max-width: 44em;
  color: var(--ink-2);
}

@media (max-width: 1079px) {
  .price-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .price-rows .kind {
    display: none;
  }

  .price-rows dd {
    font-size: 17px;
  }
}

/* ---------- Top: flow ---------- */
.flow__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.flow__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-left: calc(var(--bleed) * -1);
  overflow: hidden;
  background: var(--bg-2);
}

.flow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow__summary {
  margin-top: 24px;
}

.flow-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 24px;
  font-size: 15px;
  letter-spacing: .06em;
}

.flow-summary li {
  display: flex;
  align-items: center;
}

.flow-summary li + li::before {
  content: "";
  width: 28px;
  height: 1px;
  margin: 0 14px;
  background: var(--ink-3);
}

.flow-steps {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 40px;
}

.flow-steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line-strong);
}

.flow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  padding-left: 32px;
}

.flow-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.flow-steps__num {
  font-family: var(--font-en);
  font-size: 17px;
  letter-spacing: .08em;
  color: var(--red);
}

.flow-steps__title {
  font-size: 18px;
  letter-spacing: .06em;
}

.flow__more {
  margin-top: 44px;
}

@media (max-width: 1079px) {
  .flow__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow__photo {
    aspect-ratio: 16 / 9;
    margin-inline: calc(var(--gutter) * -1);
  }
}

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

  /* 4工程を1行に収め、矢印の線だけが行頭に残る折り返しを避ける */
  .flow-summary {
    font-size: 13.5px;
    letter-spacing: .02em;
  }

  .flow-summary li + li::before {
    width: 14px;
    margin: 0 8px;
  }

  .flow-steps__title {
    font-size: 16px;
  }
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 12px;
  padding: 24px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .05em;
  list-style: none;
  cursor: pointer;
  transition: color .25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-mark {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--red);
}

.faq-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: .32em;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(180deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  gap: 12px;
  padding: 0 4px 28px;
  color: var(--ink-2);
}

.faq-answer .faq-mark {
  color: var(--ink-3);
}

.faq-answer p + p {
  margin-top: .8em;
}

.faq__more {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .faq-item summary {
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 20px 0;
    font-size: 15px;
  }

  .faq-answer {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 24px;
  }
}

/* ---------- Workshop ---------- */
.workshop__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.workshop__name {
  margin-top: 36px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
}

.workshop__address {
  margin-top: 12px;
  color: var(--ink-2);
}

.workshop__tel a {
  font-family: var(--font-en);
  letter-spacing: .08em;
}

.workshop__points {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.workshop__points h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
}

.workshop__points p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}

.workshop__points .em {
  color: var(--red);
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* 白地と黒文字の画面から浮かないよう、地図の色味を抑える */
  filter: grayscale(1) contrast(1.04);
}

@media (max-width: 1079px) {
  .workshop__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Sub page hero ---------- */
.page-hero {
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.breadcrumb a {
  transition: color .25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.page-hero .label {
  margin-top: clamp(44px, 5vw, 80px);
}

.page-hero__title {
  margin-top: 16px;
  font-size: clamp(28px, 1.6vw + 14px, 40px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .08em;
}

.page-hero__lead {
  max-width: 46em;
  margin-top: 28px;
  color: var(--ink-2);
}

.photo-band {
  position: relative;
  height: clamp(240px, 34vw, 520px);
  overflow: hidden;
  background: var(--bg-2);
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Split block (text + photo) ---------- */
.stack-xl {
  display: grid;
  gap: clamp(72px, 8vw, 120px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.split--reverse .split__photo {
  order: 2;
}

.split__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__text > * + * {
  margin-top: 1.2em;
}

@media (max-width: 1079px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split__photo {
    order: 0;
  }
}

/* ---------- Card grids (worries / strengths / principles) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.card-grid > * {
  padding: 40px 32px 44px;
  border-bottom: 1px solid var(--line);
}

.card-grid > * + * {
  border-left: 1px solid var(--line);
}

.card__num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--red);
}

.card__title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .06em;
}

.card__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}

@media (max-width: 1079px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid > * {
    padding: 32px 4px 36px;
  }

  .card-grid > * + * {
    border-left: 0;
  }
}

/* ---------- Key figures (service page) ---------- */
.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.figures > div {
  padding: 32px 28px;
}

.figures > div + div {
  border-left: 1px solid var(--line);
}

.figures dt {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.figures dd {
  margin-top: 8px;
}

.figures__value {
  display: block;
  font-size: clamp(24px, 1.2vw + 12px, 30px);
  font-weight: 300;
  letter-spacing: .06em;
}

.figures .note {
  display: block;
  margin-top: 8px;
}

.service__figures {
  margin-top: clamp(72px, 8vw, 112px);
  background: #fff;
}

.service__support {
  margin-top: 32px;
  font-size: 17px;
  letter-spacing: .08em;
  text-align: center;
}

@media (max-width: 767px) {
  .service__support {
    font-size: 15px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .figures {
    grid-template-columns: minmax(0, 1fr);
  }

  .figures > div {
    padding: 24px 4px;
  }

  .figures > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Story (service page) ---------- */
.story__quote {
  margin-top: 2em;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(19px, .7vw + 12px, 23px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--ink);
  word-break: auto-phrase;
  text-wrap: balance;
}

/* ---------- Guide page steps ---------- */
.guide-steps {
  display: grid;
  gap: clamp(72px, 8vw, 120px);
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.guide-step:nth-child(even) .guide-step__photo {
  order: 2;
}

.guide-step__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.guide-step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-step__num {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-en);
  color: var(--red);
}

.guide-step__num b {
  font-size: 56px;
  font-weight: 200;
  line-height: 1;
}

.guide-step__num span {
  font-size: 12px;
  letter-spacing: .24em;
}

.guide-step__title {
  margin-top: 20px;
  font-size: clamp(20px, .6vw + 14px, 24px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
}

.guide-step__text {
  display: grid;
  gap: .8em;
  margin-top: 20px;
  color: var(--ink-2);
}

.guide-step__action {
  margin-top: 28px;
}

.guide-step__note {
  margin-top: 16px;
}

.guide__summary {
  margin-top: 32px;
}

.additional__note {
  margin-top: 24px;
}

.pricing__notice {
  margin-top: 20px;
}

.page-hero__lead p + p,
.lead p + p {
  margin-top: .3em;
}

@media (max-width: 1079px) {
  .guide-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-step:nth-child(even) .guide-step__photo {
    order: 0;
  }
}

/* ---------- Pricing page ---------- */
.anchor-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.anchor-card a {
  display: block;
}

.anchor-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.anchor-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.anchor-card a:hover .anchor-card__img img {
  transform: scale(1.04);
}

.anchor-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: .06em;
  word-break: auto-phrase;
}

.anchor-card__title .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

@media (max-width: 1079px) {
  .anchor-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
}

@media (max-width: 767px) {
  .anchor-card__title {
    font-size: 14px;
  }
}

.table-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
}

.brand-table th,
.brand-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-weight: 400;
}

.brand-table thead th {
  padding-block: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-2);
}

.brand-table thead th:first-child,
.brand-table tbody th {
  text-align: left;
}

.brand-table tbody th {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .14em;
}

.brand-table td {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand-table .is-ask {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--ink-3);
}

.brand-table tbody tr:hover {
  background: var(--bg-2);
}

@media (max-width: 767px) {
  /* 3列の料金を横スクロールさせず、ブランドごとのまとまりとして縦に並べる */
  .brand-table thead {
    display: none;
  }

  .brand-table,
  .brand-table tbody,
  .brand-table tr {
    display: block;
  }

  .brand-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px 0 14px;
    border-bottom: 1px solid var(--line);
  }

  .brand-table th,
  .brand-table td {
    padding: 0;
    border: 0;
  }

  .brand-table tbody th {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .brand-table td {
    text-align: left;
    font-size: 15px;
  }

  .brand-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-ja);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--ink-3);
  }

  .brand-table tbody tr:hover {
    background: none;
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.menu-item__name {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .06em;
}

.menu-item__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.menu-item__price small {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.menu-item__price b {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .04em;
}

.menu-item__desc {
  flex: 1;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}

.menu-item__lead {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

@media (max-width: 767px) {
  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-item {
    padding: 28px 0;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  letter-spacing: .06em;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}

.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 10px;
  height: 1px;
  background: var(--ink-3);
}

/* ---------- Generic box ---------- */
.box {
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
}

.box--gray {
  border: 0;
  background: var(--bg-2);
}

/* ---------- Simple CTA (sub pages) ---------- */
.cta-simple {
  padding-block: clamp(72px, 8vw, 120px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-simple .lead {
  margin-inline: auto;
}

.cta-simple .btn-row {
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .cta-simple {
    text-align: left;
  }

  .cta-simple .btn-row {
    flex-direction: column;
    gap: 10px;
  }

  .cta-simple .btn {
    width: 100%;
  }
}

/* ---------- Case study list filter ---------- */
.filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 12px;
  margin-bottom: 56px;
}

.filter__search {
  position: relative;
}

.filter__search .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transform: translateY(-50%);
  pointer-events: none;
}

.filter__search .input {
  padding-left: 46px;
}

.filter__count {
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

.empty {
  padding: 72px 0;
  text-align: center;
  color: var(--ink-2);
}

.empty p + p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

@media (max-width: 767px) {
  .filter {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 40px;
  }
}

/* ---------- Case study article ---------- */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(80px, 8vw, 120px);
}

.article__title {
  font-size: clamp(24px, 1.2vw + 12px, 32px);
}

.article__aside-title {
  margin-top: 14px;
}

.cases-list {
  padding-top: clamp(56px, 6vw, 88px);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.article__meta li {
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: .06em;
}

.article__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-2);
}

.article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.article__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px 28px;
  background: var(--bg-2);
}

.article__aside p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

.article__aside .article__aside-title {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.article__aside p + p {
  margin-top: 12px;
}

.article__aside .btn {
  width: 100%;
  margin-top: 12px;
  padding-inline: 16px;
  font-size: 14px;
}

.article__aside .btn:first-of-type {
  margin-top: 24px;
}

.article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1079px) {
  .article {
    grid-template-columns: minmax(0, 1fr);
  }

  .article__aside {
    position: static;
  }
}

/* ---------- Definition table (about / legal) ---------- */
.info-table {
  border-top: 1px solid var(--ink);
}

.info-table > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.info-table dd p + p {
  margin-top: .5em;
}

.info-table dd ul {
  display: grid;
  gap: .3em;
}

@media (max-width: 767px) {
  .info-table > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 0;
  }
}

/* ---------- In-page tabs (FAQ categories) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  letter-spacing: .06em;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.tabs a:hover {
  border-color: var(--ink);
}

.tabs .icon {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.faq-group + .faq-group {
  margin-top: clamp(72px, 8vw, 112px);
}

.faq-group__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  font-size: clamp(20px, .6vw + 14px, 24px);
  font-weight: 400;
  letter-spacing: .06em;
}

.faq-group__title small {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-3);
}

.faq__tabs {
  margin-top: 36px;
}

.faq-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.faq-contact__text {
  margin-top: 12px;
  color: var(--ink-2);
}

.faq-contact__mail {
  margin-top: 12px;
}

/* ---------- About ---------- */
.about-mission {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
}

.about-mission__text {
  display: grid;
  gap: 1em;
  color: var(--ink-2);
}

.access-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.access-list > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.access-list dt {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

@media (max-width: 1079px) {
  .about-mission {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .access-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ---------- Contact cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
}

.contact-card > .icon {
  width: 26px;
  height: 26px;
  color: var(--ink-2);
}

.contact-card h2 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .06em;
}

.contact-card p {
  flex: 1;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.contact-card .link-arrow {
  align-self: flex-start;
  margin-top: 20px;
}

.contact-card__mail {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--ink) !important;
}

@media (max-width: 1079px) {
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.field + .field,
.field + .fieldset,
.fieldset + .field {
  margin-top: 30px;
}

.field__label,
.fieldset legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field__req {
  color: var(--red);
}

.field__opt {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-3);
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.input::placeholder,
.textarea::placeholder {
  color: #a3a39e;
}

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

.select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

.is-invalid {
  border-color: var(--red) !important;
}

.field__help {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}

.field__error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--red);
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checks--inline {
  display: flex;
  flex-wrap: wrap;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s var(--ease);
}

.check:hover,
.check:has(input:checked) {
  border-color: var(--ink);
}

.check input {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--ink-3);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.check input[type="radio"] {
  border-radius: 50%;
}

.check input:checked {
  border-color: var(--ink);
  background: var(--ink);
}

.check input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.check input[type="radio"]:checked {
  box-shadow: inset 0 0 0 4px #fff;
}

.check--plain {
  min-height: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 767px) {
  .checks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .check {
    font-size: 14px;
  }
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 56px;
  border-top: 1px solid var(--line);
}

.stepper li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

.stepper li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: transparent;
  transition: background-color .3s var(--ease);
}

.stepper b {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
}

.stepper .is-current,
.stepper .is-done {
  color: var(--ink);
}

.stepper .is-current::before {
  background: var(--red);
}

.stepper .is-done::before {
  background: var(--ink);
}

.form-step__head {
  margin-bottom: 36px;
}

.form-step__head h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .06em;
}

.form-step__head p {
  margin-top: 8px;
  color: var(--ink-2);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.form-actions .btn {
  min-width: 180px;
}

.form-actions .btn:only-child {
  margin-left: auto;
}

@media (max-width: 767px) {
  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

.upload {
  padding: 28px 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
}

.upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload .btn .icon {
  width: 16px;
  height: 16px;
}

.upload__status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

.upload__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.upload__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-2);
}

.upload__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, .72);
  color: #fff;
  cursor: pointer;
}

.upload__remove .icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 767px) {
  .upload__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.confirm-list {
  border-top: 1px solid var(--ink);
}

.confirm-list > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.confirm-list dd {
  white-space: pre-wrap;
}

.confirm-list .is-empty {
  color: var(--ink-3);
}

.confirm-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.confirm-photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .confirm-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

.alert {
  margin-bottom: 32px;
  padding: 18px 22px;
  border: 1px solid var(--red);
  background: #fdf4f2;
  font-size: 14px;
  color: var(--red-dark);
}

.alert__title {
  font-weight: 500;
}

.alert__title + p {
  margin-top: 4px;
}

.form-done {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  text-align: center;
}

.form-done h2 {
  font-size: clamp(22px, .8vw + 14px, 26px);
  font-weight: 400;
  letter-spacing: .06em;
}

.form-done p {
  margin-top: 16px;
  color: var(--ink-2);
}

.form-done .btn {
  margin-top: 36px;
}

.form-done__label {
  justify-content: center;
  margin-bottom: 16px;
}

.textarea--short {
  min-height: 120px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.field-row > .field + .field {
  margin-top: 0;
}

.field-row + .field,
.field-row + .field-row,
.field + .field-row {
  margin-top: 30px;
}

.upload__list:empty {
  display: none;
}

.upload__list {
  margin: 0 0 20px;
}

.upload__button {
  position: relative;
}

/* ファイル選択は見えないinputで受けるため、キーボード操作時の位置をボタン側に示す */
.upload__button:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.upload__button.is-busy {
  opacity: .6;
  pointer-events: none;
}

.upload .field__help {
  margin-top: 16px;
}

.form-contact {
  margin-top: 48px;
}

.form-contact__note {
  margin-top: 24px;
}

.form-contact__agree {
  margin-top: 14px;
  font-size: 15px;
}

.checks--inline .check {
  min-width: 140px;
}

@media (max-width: 767px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row > .field + .field {
    margin-top: 30px;
  }
}

[hidden] {
  display: none !important;
}

/* ---------- 404 ---------- */
.not-found {
  padding-block: clamp(120px, 14vw, 200px);
  text-align: center;
}

.not-found__code {
  font-family: var(--font-en);
  font-size: clamp(88px, 10vw, 144px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: .06em;
}

.not-found p {
  margin-top: 20px;
  color: var(--ink-2);
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px !important;
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__track {
    transition: none;
  }

  .hero__scroll::after,
  .hero__content .container > * {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
