/* Sen Tailor — 共通スタイル
   レイアウトの考え方：白い余白を地にして、文字は濃紺、金色は「糸・値札・ボタン」など点で使う。
   スマホの1カラムを基準に組み、900px以上で「見出し左／内容右」の2カラムに広げる。 */

:root {
  --white: #FFFFFF;
  --gold: #F5C518;
  --gold-deep: #E3B40C;          /* ボタンのホバー時のみ */
  --navy: #1B1F3B;
  --navy-soft: rgba(27, 31, 59, .76);   /* 補足文（色は濃紺のまま、濃度だけ下げる） */
  --line: rgba(75, 75, 75, .26);        /* #4B4B4B の細い罫線 */
  --line-strong: rgba(75, 75, 75, .55);
  --pin: rgba(27, 31, 59, .07);        /* ピンストライプ */

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --latin: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --wrap: 1080px;
  --gutter: 22px;
  --section: clamp(56px, 9vw, 108px);
  --radius: 8px;
}

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

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

body {
  margin: 0;
  /* ページ全体を一枚の白い布地（細いピンストライプ入り）にして、区切りで地が変わらないようにする */
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, var(--pin) 14px 15px),
    var(--white) url("../../images/cloth-light.jpg") center top / 760px auto;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.nb { display: inline-block; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 10px 16px; background: var(--white); border: 1px solid var(--navy); border-radius: var(--radius);
}
.skip:focus { top: 12px; }

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

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 5.6vw, 2.375rem);
  line-height: 1.5;
  letter-spacing: .06em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.6;
  letter-spacing: .06em;
}
.lead { font-size: 1.0625rem; }
.note { font-size: .875rem; color: var(--navy-soft); line-height: 1.8; }
.num { font-family: var(--latin); font-variant-numeric: lining-nums; letter-spacing: .01em; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; letter-spacing: .1em; line-height: 1.4;
  text-decoration: none; text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.btn--main { background: var(--gold); color: var(--navy); }
.btn--main:hover { background: var(--gold-deep); }
.btn--paper { background: var(--white); color: var(--navy); border: 1px solid var(--navy); box-shadow: 0 14px 24px -16px rgba(27, 31, 59, .55); }
.btn--paper:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }

.link {
  display: inline-block;
  font-weight: 700; letter-spacing: .06em; line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  padding-block: 6px;
}
.link::after { content: "→"; display: inline-block; margin-left: .5em; transition: transform .2s ease; }
.link:hover::after { transform: translateX(4px); }
.link[target="_blank"]::after { content: "↗"; }

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

.site-header { border-bottom: 1px solid var(--line); }
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0 20px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding-block: 8px; }
.brand img { width: 38px; height: 38px; }
.brand__name {
  font-family: var(--latin); font-weight: 500; font-size: 1.25rem; letter-spacing: .08em; line-height: 1;
}
.brand__kana { display: block; margin-top: 5px; font-family: var(--sans); font-size: .625rem; letter-spacing: .22em; }

.menu-btn {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; color: var(--navy);
  font: inherit; font-size: .875rem; font-weight: 500; letter-spacing: .12em; cursor: pointer;
}
.menu-btn__bars { position: relative; width: 26px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--navy);
  transition: transform .25s ease, top .25s ease;
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 5px; transform: rotate(24deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 5px; transform: rotate(-24deg); }

.nav { width: 100%; }
.nav ul { display: flex; flex-direction: column; padding-bottom: 20px; }
.nav li { border-top: 1px solid var(--line); }
.nav a:not(.btn) {
  display: block; padding: 15px 2px; text-decoration: none;
  font-weight: 500; letter-spacing: .08em;
}
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav li:last-child { padding-top: 18px; }
.nav .btn { width: 100%; }

/* 幅の狭いスマホでも、ロゴとメニューが1行に収まるようにする */
@media (max-width: 359px) {
  .site-header__in { gap: 0 8px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand__name { font-size: 1.0625rem; letter-spacing: .05em; }
  .menu-btn { gap: 8px; padding-left: 4px; font-size: .8125rem; letter-spacing: .06em; }
}

/* JSが動くときだけ、スマホではメニューをたたむ */
.js .menu-btn { display: inline-flex; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }

@media (min-width: 900px) {
  .site-header__in { flex-wrap: nowrap; min-height: 84px; }
  .js .menu-btn { display: none; }
  .nav, .js .nav { display: block; width: auto; }
  .nav ul { flex-direction: row; align-items: center; gap: 34px; padding: 0; }
  .nav li, .nav li:last-child { border: 0; padding: 0; }
  .nav a:not(.btn) { padding: 8px 0; font-size: .9375rem; }
  .nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .nav .btn { width: auto; }
}

/* ---------- ヒーロー ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(44px, 9vw, 104px); }
.hero__in { display: grid; gap: 0; }
.hero__in > * { min-width: 0; }
/* 裁ちバサミ・巻尺・糸の写真。フッターと同じくらい薄く敷き、端はぼかして地に溶け込ませる。
   スマホでは、ハサミと巻尺が値札の上に見える位置に置く（寸法は画面幅に比例させる） */
.hero__visual {
  --w: min(100vw, 560px);
  position: absolute; z-index: -1; bottom: 0; left: 50%; width: var(--w); height: calc(var(--w) * 1.33);
  transform: translateX(-50%);
  background: url("../../images/hero-tailor.jpg") center bottom calc(var(--w) * .51) / 100% auto no-repeat;
  opacity: .36;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 46%, transparent 62%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 46%, transparent 62%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.hero__kicker { font-size: .875rem; font-weight: 500; letter-spacing: .14em; line-height: 1.7; }
.hero__title {
  margin-top: 18px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.75rem, 9.6vw, 4.5rem);
  line-height: 1.36; letter-spacing: .05em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { margin-top: 26px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }

/* 値札：ヒーローの主役。料金の事実だけを載せる */
.tagwrap { position: relative; width: min(calc(100% - 40px), 340px); margin: calc(min(100vw, 560px) * .56) 0 44px 40px; padding-top: 10px; filter: drop-shadow(0 18px 22px rgba(27, 31, 59, .22)); }
.tag {
  position: relative;
  padding: 1.5px;
  background: var(--navy);
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px), 0 30px);
  transform: rotate(-2.2deg);
  transform-origin: 22px 50%;
}
.tag__in {
  padding: 22px 22px 22px 58px;
  background: var(--white);
  clip-path: polygon(29.6px 0, 100% 0, 100% 100%, 29.6px 100%, 0 calc(100% - 29.6px), 0 29.6px);
}
.tag__hole {
  position: absolute; left: 17px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px;
  border-radius: 50%; border: 2px solid var(--navy); background: var(--white);
}
.tag__name { font-size: .8125rem; font-weight: 500; letter-spacing: .16em; line-height: 1.6; }
.tag__price { margin-top: 4px; font-family: var(--serif); font-weight: 500; line-height: 1.3; white-space: nowrap; }
.tag__price .num { font-size: 2.75rem; font-weight: 500; }
.tag__price .yen { font-size: 1.125rem; margin-left: 3px; }
.tag__price .tax { font-family: var(--sans); font-size: .8125rem; margin-left: 2px; letter-spacing: .04em; }
.tag__terms { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.75; }
.tag__terms li { display: flex; justify-content: space-between; gap: 12px; }
.tag__terms span:last-child { font-weight: 700; white-space: nowrap; }
.tag__string {
  position: absolute; left: -44px; top: 50%; width: 132px; height: 96px; margin-top: -72px;
  pointer-events: none; overflow: visible;
}
.tag__string path { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; }

@media (max-width: 379px) {
  .tagwrap { width: calc(100% - 24px); margin-left: 24px; }
  .tag__in { padding: 18px 14px 18px 46px; }
  .tag__hole { left: 13px; }
  .tag__string { left: -40px; }
  .tag__price .num { font-size: 2.25rem; }
  .tag__price .tax { font-size: .75rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .tag { animation: tag-settle 1.5s cubic-bezier(.3, 1.4, .5, 1) .25s both; }
  @keyframes tag-settle {
    0% { transform: rotate(-9deg); }
    45% { transform: rotate(.6deg); }
    72% { transform: rotate(-3.2deg); }
    100% { transform: rotate(-2.2deg); }
  }
}

@media (min-width: 900px) {
  .hero { padding-bottom: clamp(88px, 9vw, 128px); }
  .hero__in { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 40px 64px; }
  .hero__visual {
    left: auto; right: 0; top: 0; height: auto; width: min(57vw, 900px); transform: none;
    background-position: 50% 66%; background-size: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 200px), linear-gradient(to bottom, #000 0, #000 calc(100% - 140px), transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 200px), linear-gradient(to bottom, #000 0, #000 calc(100% - 140px), transparent 100%);
    mask-composite: intersect;
  }
  .hero__title { font-size: min(4.5rem, calc((100vw - 500px) / 8.6)); }
  .tagwrap { width: 340px; margin: 0 0 -20px 40px; }
  .hero__lead { font-size: 1.0625rem; }
}

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

.section { position: relative; padding-block: var(--section); }

/* 薄く敷く写真。上下をぼかして、前後の区切りとつなげる */
.has-deco { isolation: isolate; overflow-x: clip; }
.deco {
  position: absolute; z-index: -1; inset: 0; opacity: .17;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 68%, transparent 100%);
}
.deco--street { background-image: url("../../images/london-street.jpg"); }

/* 全ページを縦に通す、金糸の縫い目 */
main { position: relative; }
main::before {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 8px; width: 2px; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 9px, transparent 9px 16px);
}
@media (min-width: 900px) {
  main::before { left: max(20px, calc((100vw - var(--wrap)) / 2 - 44px)); }
}

/* 金色の布の端切れ：白い布地の上に置く */
.swatch {
  position: relative;
  padding: clamp(40px, 8vw, 80px) clamp(22px, 6vw, 80px);
  background: var(--gold) url("../../images/cloth-gold.jpg") center / 760px auto;
  box-shadow: 0 34px 50px -34px rgba(27, 31, 59, .55);
}
.swatch::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px dashed rgba(27, 31, 59, .38);
}
.swatch > * { position: relative; z-index: 1; }
.swatch .meanings, .swatch .meanings li { border-color: rgba(27, 31, 59, .4); }
.swatch .meanings__word span { background-image: linear-gradient(var(--navy), var(--navy)); background-size: 100% 2px; }
.section__head { display: grid; gap: 18px; }
.section__body { margin-top: 36px; }

@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: 4fr 7fr; gap: 0 72px; align-items: start; }
  .split > .section__body { margin-top: 6px; }
  .split .h2 { font-size: clamp(1.625rem, 2.6vw, 2rem); }
}

/* ---------- ご注文明細（料金の内訳） ---------- */

.slip {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  outline: 1px solid var(--line); outline-offset: 5px;
  max-width: 720px;
  box-shadow: 0 30px 50px -30px rgba(27, 31, 59, .45);
}
.slip__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px;
  padding: 14px 22px; background: var(--gold); color: var(--navy);
}
.slip__title { font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; letter-spacing: .2em; }
.slip__brand { font-family: var(--latin); font-size: .9375rem; letter-spacing: .1em; }
.slip__rows { padding: 6px 22px 10px; }
.slip__row { display: grid; gap: 2px; padding: 15px 0 16px; border-bottom: 1px dashed var(--line-strong); }
.slip__row:last-child { border-bottom: 0; }
.slip__row dt { font-size: .875rem; letter-spacing: .1em; color: var(--navy-soft); line-height: 1.7; }
.slip__row dd { font-weight: 700; font-size: 1.0625rem; line-height: 1.7; }
.slip__row dd small { display: block; font-weight: 400; font-size: .875rem; color: var(--navy-soft); }
.slip__row--total dd { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; }
.slip__row--total .num { font-size: 2.125rem; }
.slip__foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
@media (min-width: 600px) {
  .slip__head { padding: 16px 34px; }
  .slip__rows { padding: 8px 34px 14px; }
  .slip__row { grid-template-columns: 10.5em 1fr; align-items: baseline; gap: 20px; }
}

/* ---------- つくる人・屋号 ---------- */

.maker__text { display: grid; gap: .9em; max-width: 36em; }
.maker__sub { margin-top: 1.4em; }

/* 「法人営業として」の後ろに敷く街並み。
   スマホでは、この段落の後ろに画面幅いっぱいの帯として置く（縦長の欄全体に敷くと、空しか見えなくなるため）。
   900px以上では、これまでどおり欄全体に敷く。 */
.maker__block { position: relative; display: grid; gap: .9em; }
.maker__block > .deco {
  inset: -104px auto -104px calc(var(--gutter) * -1); width: 100vw;
  background-position: 46% 50%;
}
@media (min-width: 900px) {
  .maker__block { position: static; }
  .maker__block > .deco { inset: 0; width: auto; background-position: center; }
}

.name__intro { margin-top: 18px; max-width: 36em; }
.meanings { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.meanings li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.meanings__word {
  font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: .12em; line-height: 1.4;
}
.meanings__word span {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-size: 100% 4px; background-position: 0 100%;
  padding-bottom: 6px;
}
.meanings__text { font-size: .9375rem; line-height: 1.9; }
@media (min-width: 900px) {
  .meanings li { grid-template-columns: 9em 1fr; align-items: baseline; gap: 24px; }
}

/* ---------- 制作例 ---------- */

.sample__label {
  display: inline-block; padding: 3px 12px; border: 1px solid var(--navy); border-radius: 4px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7;
}
.works__lead { max-width: 36em; }
.samples { margin-top: 36px; display: grid; gap: 34px; }
.samples img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 26px 40px -30px rgba(27, 31, 59, .5); }
.samples__name { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: 1.0625rem; letter-spacing: .08em; line-height: 1.6; }
.samples__more { margin-top: 36px; }
@media (min-width: 600px) {
  .samples { grid-template-columns: 1fr 1fr; gap: 44px 36px; }
}
@media (min-width: 900px) {
  .samples { gap: 56px 48px; margin-top: 48px; }
}

/* 実際の制作経験（映像編集・SNS） */
.label--real { background: var(--gold); border-color: var(--gold); }
.exp-block { margin-top: clamp(56px, 8vw, 88px); display: grid; gap: 14px; }
.exp { border-top: 1px solid var(--line-strong); }
.exp li { display: grid; gap: 8px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.exp__name { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; letter-spacing: .06em; line-height: 1.65; }
.exp__role { justify-self: start; padding: 1px 10px; border: 1px solid var(--navy); border-radius: 4px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }
.exp__text { font-size: .9375rem; line-height: 1.9; max-width: 36em; }
.exp--short { margin-top: 10px; }
.exp--short li { padding: 15px 0 16px; gap: 6px; }
.exp__more { margin-top: 26px; }
.works__head { margin-bottom: 40px; max-width: 36em; }
@media (min-width: 700px) {
  .exp--short li { grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
}

/* ---------- 映像編集 ---------- */

.video__text { display: grid; gap: 1.3em; max-width: 36em; }
.video__text .link { justify-self: start; margin-top: 4px; }

/* ---------- ご依頼の流れ（縫い目でつなぐ） ---------- */

.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative; display: grid; gap: 4px;
  padding: 0 0 34px 66px; min-height: 44px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--latin); font-size: 1.25rem; line-height: 1;
}
.steps li::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px;
  border-left: 2px dashed var(--gold);
}
.steps li:last-child::after { display: none; }
.steps__name { font-family: var(--serif); font-weight: 500; font-size: 1.1875rem; letter-spacing: .08em; line-height: 44px; }
.steps__text { font-size: .9375rem; line-height: 1.9; }
.steps + .note { margin-top: 30px; }

/* ---------- よくある質問 ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 700; line-height: 1.75; letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--navy);
  transition: transform .25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 24px; max-width: 36em; font-size: .9375rem; }
.faq + .link { margin-top: 28px; }

/* ---------- お問い合わせ（金色の帯） ---------- */

.contact { padding-top: clamp(24px, 4vw, 48px); }
.contact__in { display: grid; gap: 22px; }
.contact__text { max-width: 34em; }
.contact .btn { justify-self: start; margin-top: 10px; }
.contact .note { color: var(--navy); }
@media (min-width: 900px) {
  .contact__in { grid-template-columns: 1fr auto; align-items: end; gap: 22px 64px; }
  .contact__in > .h2, .contact__in > .contact__text, .contact__in > .note { grid-column: 1; }
  .contact .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; min-width: 300px; min-height: 64px; }
}

/* ---------- 下層ページ ---------- */

.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 10vw, 112px) clamp(8px, 2vw, 24px); }
.page-head__visual {
  position: absolute; z-index: -1; top: 0; right: 0; width: min(100%, 760px); height: 100%; min-height: 300px;
  background: url("../../images/tape-measure.jpg") 100% 60% / cover no-repeat;
  opacity: .27;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70%), linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 70%), linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
  mask-composite: intersect;
}
.page-head__title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 22px; background: var(--gold); }
.page-head__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 8vw, 3.25rem); line-height: 1.4; letter-spacing: .08em; }
.page-head__lead { margin-top: 20px; max-width: 34em; font-size: 1.0625rem; }
.page-head .sample__label { margin-top: 22px; }

.prose { display: grid; gap: 1.3em; max-width: 36em; }
.list { border-top: 1px solid var(--line-strong); }
.list li { position: relative; padding: 16px 0 17px 28px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.list li::before { content: ""; position: absolute; left: 2px; top: 1.75em; width: 14px; height: 3px; background: var(--gold); }
.list small { display: block; font-size: .875rem; color: var(--navy-soft); }
.section__body > .h3 { margin-bottom: 14px; }
.section__body > .list + .h3 { margin-top: 44px; }
.split .slip { margin-top: 0; }

.works { display: grid; gap: 56px; }
.works img { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 26px 40px -30px rgba(27, 31, 59, .5); }
.works__name { margin-top: 18px; }
.works__point { margin-top: 8px; font-size: .9375rem; max-width: 36em; }
.works__point b { display: block; font-size: .8125rem; letter-spacing: .1em; }
@media (min-width: 900px) {
  .works { grid-template-columns: 1fr 1fr; gap: 72px 56px; }
}
.faq-group + .faq-group { margin-top: 52px; }
.faq-group > .h3 { margin-bottom: 14px; }

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

.site-footer { position: relative; isolation: isolate; padding-block: clamp(88px, 12vw, 150px) 40px; }
/* ロンドンの写真を薄く敷く。上端はぼかして、手前の区切りとつなげる */
.site-footer::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .25;
  background: url("../../images/london-bigben.jpg") 62% 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
}
.site-footer__in { display: grid; gap: 30px; }
.site-footer .brand img { width: 44px; height: 44px; }
.footnav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footnav a { display: inline-block; padding: 6px 0; font-size: .9375rem; text-decoration: none; }
.footnav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ig { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .9375rem; padding: 6px 0; justify-self: start; }
.ig svg { width: 22px; height: 22px; }
.site-footer__small { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-size: .8125rem; color: var(--navy); line-height: 1.8; }
@media (min-width: 900px) {
  .site-footer__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 30px 56px; }
  .site-footer__small { grid-column: 1 / -1; grid-template-columns: 1fr auto; }
  /* 横長の画面では、写真が大きくなりすぎないよう幅を止め、時計とバスが入る高さを取る。左右の端はぼかす */
  .site-footer { padding-top: 210px; }
  .site-footer::before {
    background-size: min(100%, 1320px) auto; background-position: 50% 90%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px), linear-gradient(to right, transparent calc(50% - 660px), #000 calc(50% - 480px), #000 calc(50% + 480px), transparent calc(50% + 660px));
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 110px), linear-gradient(to right, transparent calc(50% - 660px), #000 calc(50% - 480px), #000 calc(50% + 480px), transparent calc(50% + 660px));
    mask-composite: intersect;
  }
}

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