/* スタジオ白路: 余白と細い線だけで組む。色は紙の白・墨・差し色1つ（朱）。
   写真が主役の業種なので、UI 側は一歩引いて静かにする */
:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --ink: #1b1b1a;
  --mute: #6b6861;
  --line: #cfcac0;
  --red: #b4472c;
  --serif: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "游ゴシック", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.95; letter-spacing: .04em; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 30; }

/* ヘッダー */
.head { position: sticky; top: 0; z-index: 20; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 18px; text-decoration: none; letter-spacing: .12em; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand span { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: var(--mute); }
.menu-btn { width: 84px; height: 36px; border: 1px solid var(--ink); background: transparent; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.gnav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; flex-direction: column; }
.gnav.open { display: flex; }
.gnav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.gnav .gnav-cta { margin-top: 16px; background: var(--ink); color: var(--paper); text-align: center; border: 0; padding: 12px; }

/* 先頭 */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 72px; max-width: 1180px; margin: 0 auto; }
.hero-text { position: relative; }
.hero-vertical { display: none; }
h1 { font-size: 30px; line-height: 1.6; letter-spacing: .08em; margin-bottom: 28px; }
.lead { color: var(--mute); max-width: 34em; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--ink); color: var(--paper); text-decoration: none; border: 0; font: inherit; font-size: 14px; letter-spacing: .1em; cursor: pointer; }
.btn:hover { background: #3a3936; }
.textlink { font-size: 14px; }
.hero-art { margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
figcaption { margin-top: 10px; font-size: 12px; color: var(--mute); line-height: 1.6; }

/* セクション */
.sec { max-width: 1180px; margin: 0 auto; padding: 56px 24px; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.num { font-family: var(--serif); color: var(--red); font-size: 14px; letter-spacing: .1em; }
h2 { font-size: 24px; letter-spacing: .12em; }
.two { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* 料金: タブは線の太さを変えず、背景だけ入れ替える。表は行数を固定して数字だけ差し替える */
.tabs { display: flex; margin-bottom: 20px; border: 1px solid var(--ink); width: 100%; max-width: 360px; }
.tabs button { flex: 1; height: 44px; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.price { width: 100%; border-collapse: collapse; table-layout: fixed; max-width: 640px; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price thead th { font-size: 12px; color: var(--mute); }
.price td { font-family: var(--serif); font-size: 18px; }
.price td:last-child { color: var(--mute); }
.notes { margin: 24px 0 0; padding: 0; list-style: none; color: var(--mute); font-size: 13px; line-height: 1.9; max-width: 640px; }
.notes li { padding-left: 1em; text-indent: -1em; }
.notes li::before { content: "・"; }

/* 設備 */
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--mute); font-size: 13px; }
.spec dd { margin: 0; }
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; max-width: 420px; display: block; }

/* ギャラリー: 展示壁を長方形の組み合わせで描く */
.gal-info { margin-bottom: 20px; }
.wall { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(6, 28px); gap: 10px; background: #fbfaf8; border: 1px solid var(--line); padding: 20px; }
.frame { background: #d8d4ca; border: 1px solid #b9b4a8; }
.f1 { grid-column: 1 / 5; grid-row: 1 / 6; }
.f2 { grid-column: 5 / 9; grid-row: 2 / 5; background: #c9c4b8; }
.f3 { grid-column: 9 / 13; grid-row: 1 / 4; background: #e3dfd6; }
.f4 { grid-column: 9 / 11; grid-row: 4 / 7; background: #cfcabe; }
.f5 { grid-column: 11 / 13; grid-row: 4 / 7; }
.wall-cap { margin-top: 12px; }
.notes-line { margin-top: 8px; color: var(--mute); font-size: 13px; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 720px; }
.flow li { counter-increment: step; display: grid; grid-template-columns: 2.4em 1fr; column-gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(step); font-family: var(--serif); font-size: 22px; color: var(--red); grid-row: 1 / 3; line-height: 1.3; }
.flow b { font-weight: 500; font-family: var(--serif); font-size: 17px; }
.flow span { color: var(--mute); font-size: 14px; }

/* 質問: 開閉で下の見出しが動くのは本文が増えるためで、押した行自体は動かさない */
details { border-bottom: 1px solid var(--line); max-width: 720px; }
summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; color: var(--mute); }
details[open] summary::after { content: "－"; }
details p { padding: 0 0 18px; color: var(--mute); font-size: 14px; }

/* フォーム */
.form { display: grid; grid-template-columns: 1fr; gap: 0 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 13px; color: var(--mute); }
input, select, textarea { font: inherit; font-size: 16px; width: 100%; min-height: 46px; padding: 8px 12px; background: #fbfaf8; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); letter-spacing: .02em; }
textarea { resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); background: #fbf1ee; }
.err { min-height: 1.7em; font-size: 12px; color: var(--red); line-height: 1.7; }
.check { display: flex; gap: 10px; align-items: center; color: var(--ink); font-size: 14px; }
.check input { width: 20px; min-height: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.submit-row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.submit-row .btn { width: 100%; }
.status { min-height: 3.6em; font-size: 13px; color: var(--mute); line-height: 1.8; }
.status[data-state="error"] { color: var(--red); }
.access h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: .1em; }
.access p { margin-bottom: 16px; color: var(--mute); }

.foot { border-top: 1px solid var(--line); padding: 28px 24px 40px; text-align: center; }
.sample-note { font-size: 12px; color: var(--mute); }

@media (min-width: 880px) {
  .head { padding: 0 48px; }
  .menu-btn { display: none; }
  .gnav { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; background: transparent; }
  .gnav a { padding: 0; border: 0; font-size: 13px; }
  .gnav .gnav-cta { margin: 0; padding: 0 20px; height: 38px; display: inline-flex; align-items: center; }
  .hero { grid-template-columns: 1.15fr 1fr; gap: 72px; padding: 96px 48px 120px; align-items: end; }
  .hero-vertical { display: block; position: absolute; left: -4px; top: -8px; writing-mode: vertical-rl; font-family: var(--serif); font-size: 15px; letter-spacing: .6em; color: var(--mute); }
  .hero-text { padding-left: 56px; }
  h1 { font-size: 44px; }
  .sec { padding: 96px 48px; display: grid; grid-template-columns: 220px 1fr; gap: 0 48px; }
  .sec-head { margin-bottom: 0; flex-direction: column; gap: 4px; }
  h2 { font-size: 26px; }
  .two { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .form { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-rows: repeat(6, 44px); }
}
