/* 客の画面。生成りの地に墨の字・差し色は山の深い緑 1 色。映画のクレジットの組み方（役割は小さな斜体・名前は大きく） */
:root {
  --paper: #f2eee5;
  --paper2: #e8e2d5;
  --ink: #1d1b18;
  --ink2: #57524a;
  --line: #cbc3b3;
  --accent: #2f4b3c;
  --accent-soft: #dfe5dc;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.85; letter-spacing: 0.02em; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 600; font-feature-settings: 'palt'; letter-spacing: 0.04em; line-height: 1.45; margin: 0; }
p { margin: 0 0 0.9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.en { font-family: var(--serif-en); font-style: italic; letter-spacing: 0.03em; }
.small { font-size: 13px; color: var(--ink2); }
.muted { color: var(--ink2); }

/* 見本の帯 */
.demo-band { background: var(--ink); color: var(--paper); font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: 0.05em; }

/* 上の帯 */
header.top { border-bottom: 1px solid var(--line); background: var(--paper); }
header.top .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.logo b { font-family: var(--serif-en); font-style: italic; font-weight: 500; font-size: 28px; letter-spacing: 0.02em; line-height: 1; }
.logo span { font-size: 11px; color: var(--ink2); letter-spacing: 0.08em; }
nav.gnav { display: flex; gap: 18px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
nav.gnav::-webkit-scrollbar { display: none; }
nav.gnav a { text-decoration: none; padding: 4px 0; white-space: nowrap; border-bottom: 1px solid transparent; }
nav.gnav a[aria-current='page'] { border-bottom-color: var(--ink); }
nav.gnav a.cta { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) {
  header.top .wrap { gap: 6px; }
  nav.gnav { width: 100%; gap: 20px; }
}

/* 仮の印 */
.kari { display: inline-block; font-family: var(--sans); font-style: normal; font-size: 10px; line-height: 1; padding: 3px 4px 2px; border: 1px solid var(--accent); color: var(--accent); vertical-align: 2px; margin-left: 6px; letter-spacing: 0; font-weight: 600; }
.kari-note { font-size: 12px; color: var(--ink2); }

/* ボタン */
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 13px 26px; font-size: 15px; letter-spacing: 0.08em; cursor: pointer; }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: default; }
.tlink { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* クレジット（役割は右寄せの小さな斜体・名前は左寄せ） */
.credits { display: grid; grid-template-columns: max-content 1fr; column-gap: 16px; row-gap: 2px; margin: 0; }
.credits dt { font-family: var(--serif-en); font-style: italic; font-size: 14px; color: var(--ink2); text-align: right; padding-top: 4px; }
.credits dd { margin: 0; font-family: var(--serif-en); font-size: 22px; letter-spacing: 0.04em; line-height: 1.4; }
.credits dd.ja { font-family: var(--mincho); font-size: 16px; padding-top: 3px; }
.credits.small dd { font-size: 17px; }
.credits.small dd.ja { font-size: 14px; }
.credits a { text-decoration: none; }

/* トップ：表紙 */
.hero { display: grid; grid-template-columns: 1fr; }
.hero .cover { position: relative; background: #111; }
.hero .cover img { width: 100%; height: min(86vh, 177.7vw); object-fit: cover; object-position: center 52%; }
.hero .text { padding: 28px 16px 8px; }
.hero h1 { font-size: 30px; line-height: 1.5; margin-bottom: 18px; }
.hero .lead { font-size: 15px; margin-bottom: 22px; }
.hero .actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; margin: 0 auto; padding: 40px 16px 0; column-gap: 56px; align-items: end; }
  .hero .cover { justify-self: end; width: min(100%, calc(86vh * 9 / 16)); }
  .hero .cover img { height: auto; aspect-ratio: 9 / 16; }
  .hero .text { padding: 0 0 24px; display: flex; gap: 40px; align-items: flex-end; }
  .hero h1 { writing-mode: vertical-rl; font-size: 44px; line-height: 1.7; margin: 0; height: 15em; letter-spacing: 0.12em; }
  .hero .side { padding-bottom: 6px; }
}

/* 区切り（見出しは明朝・下に細い罫線） */
section.block { padding: 64px 0 8px; }
section.block > .wrap > h2, .sec-h { font-size: 24px; margin-bottom: 22px; }
.sec-h small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink2); font-weight: 400; letter-spacing: 0.04em; margin-top: 4px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 自己紹介 */
.intro { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; }
.intro img { width: 76px; height: 76px; object-fit: cover; filter: grayscale(0.15); }
.intro .say { font-family: var(--mincho); font-size: 19px; margin-bottom: 8px; }
@media (min-width: 900px) { .intro { grid-template-columns: 120px 1fr; max-width: 760px; gap: 32px; } .intro img { width: 120px; height: 120px; } }

/* 2 本柱 */
.pillars { display: grid; gap: 40px; }
.pillar a.ph { display: block; overflow: hidden; background: var(--paper2); }
.pillar img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.pillar a.ph:hover img { transform: scale(1.02); }
.pillar h3 { font-size: 22px; margin: 16px 0 6px; }
.pillar p { color: var(--ink2); margin-bottom: 6px; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
  .pillars .pillar:nth-child(2) { margin-top: 120px; }
  .pillars .pillar:nth-child(2) img { aspect-ratio: 4 / 5; }
}

/* 作品の帯（トップ）と一覧 */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.strip > * { scroll-snap-align: start; }
@media (min-width: 900px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 18px; } }
.work { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; width: 100%; }
.work .ph { position: relative; background: var(--paper2); aspect-ratio: 9 / 16; overflow: hidden; }
.work .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.work:hover .ph img { opacity: 0.9; }
.work .t { font-family: var(--mincho); font-size: 15px; line-height: 1.5; margin-top: 9px; }
.work .m { font-size: 12px; color: var(--ink2); margin-top: 2px; }
.work .m .en { font-size: 14px; }
.work .play { position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; background: rgba(20, 18, 15, 0.35); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%; display: grid; place-items: center; }
.work .play::after { content: ''; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* 絞り込み（最初から開いて見せる） */
.filters { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0 6px; margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; margin-bottom: 8px; }
.frow > b { font-weight: 600; font-size: 13px; padding-top: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 5px 11px; font-size: 13px; cursor: pointer; line-height: 1.5; }
.chip small { color: var(--ink2); margin-left: 4px; font-size: 11px; }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed='true'] small { color: var(--paper2); }
.chip:disabled { opacity: 0.35; cursor: default; }
.fcount { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 10px 0; font-size: 13px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.fcount b { font-family: var(--serif-en); font-size: 20px; font-weight: 500; margin-right: 4px; }

/* 作品の拡大（埋め込み） */
dialog.modal { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; margin: 0; background: var(--paper); color: var(--ink); }
dialog.modal::backdrop { background: rgba(20, 18, 15, 0.7); }
.modal .bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 2; }
.modal .bar button { background: none; border: 0; font-size: 14px; padding: 6px 0; cursor: pointer; }
.modal .body { display: grid; gap: 24px; padding: 18px 16px 40px; }
.modal .embed { width: 100%; max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); }
.modal .embed iframe { display: block; width: 100%; height: 560px; border: 0; }
.modal .embed.wide iframe { height: auto; aspect-ratio: 16 / 9; }
.modal h2 { font-size: 22px; margin-bottom: 14px; }
.modal .cap { color: var(--ink2); font-size: 14px; margin: 18px 0; }
.modal .go { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (min-width: 900px) {
  dialog.modal { width: min(1000px, 94vw); height: auto; max-height: 92vh; margin: auto; }
  .modal .body { grid-template-columns: 420px 1fr; gap: 40px; padding: 28px; align-items: start; }
}

/* お知らせ（モニター募集） */
.notice { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 26px 0; display: grid; gap: 12px; }
.notice h2 { font-size: 22px; }
.notice ul { margin: 4px 0 10px; padding-left: 1.2em; }
.notice li { margin: 2px 0; }
@media (min-width: 900px) { .notice { grid-template-columns: 1fr 1.3fr; gap: 48px; } }

/* 相談への入口 */
.ask { padding: 72px 0; text-align: left; }
.ask h2 { font-size: 28px; margin-bottom: 14px; }

/* プラン */
.plan { border-top: 1px solid var(--line); padding: 26px 0; display: grid; gap: 10px; }
.plan h3 { font-size: 22px; }
.plan .sum { color: var(--ink2); }
.facts { display: grid; grid-template-columns: 6em 1fr; gap: 4px 14px; margin: 6px 0 0; font-size: 14px; }
.facts dt { color: var(--ink2); }
.facts dd { margin: 0; }
.facts .price { font-family: var(--serif-en); font-size: 22px; line-height: 1.3; }
@media (min-width: 900px) { .plan { grid-template-columns: 1fr 1fr; column-gap: 48px; } .plan .facts { grid-row: span 2; } }

/* 料金の目安 */
.calc { background: var(--paper2); padding: 24px 16px; margin: 0 -16px; }
@media (min-width: 720px) { .calc { margin: 0; padding: 32px; } }
.calc fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.calc legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.opt:last-child { border-bottom: 0; }
.opt input[type='radio'], .opt input[type='checkbox'] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.opt .p { margin-left: auto; white-space: nowrap; font-family: var(--serif-en); font-size: 17px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.stepper button { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.stepper span { min-width: 22px; text-align: center; }
.total { border-top: 1px solid var(--ink); padding-top: 14px; }
.total .lines div { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); gap: 12px; }
.total .sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.total .sum b { font-family: var(--serif-en); font-size: 34px; font-weight: 500; }
.total .warn { font-size: 13px; color: var(--accent); margin-top: 6px; }

/* 流れ・よくある質問 */
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); counter-increment: f; }
.flow li::before { content: counter(f); font-family: var(--serif-en); font-size: 22px; line-height: 1.3; }
.flow b { font-family: var(--mincho); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-family: var(--mincho); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '＋'; color: var(--ink2); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: '－'; }
.faq p { margin: 10px 0 0; color: var(--ink2); }

/* 登山ウェディング */
.mt-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .mt-hero img { aspect-ratio: 21 / 9; } }
.timeline { display: grid; gap: 28px; }
@media (min-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; gap: 48px; } }
.timeline h3 { font-size: 18px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin-bottom: 4px; }
.timeline ol { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--serif-en); font-size: 22px; line-height: 1.2; }
.timeline .n { font-size: 13px; color: var(--ink2); }
.peaks { list-style: none; padding: 0; margin: 0; }
.peaks li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.peaks b { font-family: var(--mincho); font-size: 20px; font-weight: 600; }
.peaks span { font-size: 13px; color: var(--ink2); }
.rules { display: grid; gap: 18px; }
.rules h3 { font-size: 17px; margin-bottom: 4px; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* 機材 */
.gear-cat { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.gear-cat > b { font-family: var(--mincho); font-size: 17px; }
.gear-cat .name { font-size: 16px; }
.gear-cat .model { font-size: 13px; color: var(--ink2); }
.gear-cat .used { font-size: 13px; margin-top: 4px; }

/* 相談と申込み */
.steps { display: flex; gap: 0; margin: 0 0 26px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.steps li { flex: 1; font-size: 12px; padding: 8px 0; color: var(--ink2); border-bottom: 2px solid transparent; margin-bottom: -1px; text-align: center; }
.steps li.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.steps li.done { color: var(--ink); }
.field { margin-bottom: 20px; }
.field > label, .field > .lab { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--ink2); margin-top: 4px; }
input[type='text'], input[type='tel'], input[type='date'], input[type='url'], input[type='number'], textarea, select { width: 100%; border: 1px solid var(--line); background: #fbfaf6; padding: 11px 12px; font-size: 16px; border-radius: 0; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; cursor: pointer; background: #fbfaf6; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-steps { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.error { color: #9a2e1f; font-size: 14px; margin: 10px 0; }

/* 日を選ぶ月の表 */
.cal { user-select: none; }
.cal .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal .mh b { font-family: var(--mincho); font-size: 18px; }
.cal .mh button { background: none; border: 1px solid var(--line); width: 40px; height: 34px; cursor: pointer; }
.cal .mh button:disabled { opacity: 0.3; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: 11px; font-weight: 400; color: var(--ink2); padding: 4px 0; }
.cal td { padding: 2px; }
.cal td button { width: 100%; aspect-ratio: 1; border: 0; background: #fbfaf6; cursor: pointer; font-size: 14px; position: relative; padding: 0; }
.cal td button:disabled { background: transparent; color: #b9b2a4; cursor: default; text-decoration: line-through; text-decoration-color: #cfc8ba; }
.cal td button.pick { background: var(--ink); color: var(--paper); }
.cal td button.pick i { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 9px; }
@media (min-width: 720px) { .cal td button { aspect-ratio: auto; height: 54px; } }
.cal td button.wed { outline: 1px solid var(--accent); outline-offset: -3px; }
.hopes { list-style: none; padding: 0; margin: 12px 0 0; }
.hopes li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hopes li button { background: none; border: 0; text-decoration: underline; font-size: 13px; cursor: pointer; color: var(--ink2); }
.summary { background: var(--paper2); padding: 18px 16px; margin: 0 -16px 20px; }
@media (min-width: 720px) { .summary { margin: 0 0 20px; } }
.summary dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.summary dt { color: var(--ink2); }
.summary dd { margin: 0; }
.done-box { border-top: 1px solid var(--ink); padding-top: 22px; }
.done-box h2 { font-size: 24px; margin-bottom: 12px; }

/* 確認ページの段 */
.stage { list-style: none; padding: 0; margin: 0 0 30px; }
.stage li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; padding: 7px 0; color: #a39b8c; font-size: 14px; position: relative; }
.stage li::before { content: ''; width: 11px; height: 11px; border: 1px solid #b7af9f; border-radius: 50%; justify-self: center; background: var(--paper); z-index: 1; }
.stage li:not(:last-child)::after { content: ''; position: absolute; left: 10.5px; top: 22px; bottom: -8px; border-left: 1px solid var(--line); }
.stage li.done { color: var(--ink2); }
.stage li.done::before { background: var(--ink2); border-color: var(--ink2); }
.stage li.now { color: var(--ink); font-weight: 600; font-family: var(--mincho); font-size: 18px; }
.stage li.now::before { background: var(--accent); border-color: var(--accent); width: 15px; height: 15px; }
@media (min-width: 900px) {
  .stage { display: grid; grid-template-columns: repeat(7, 1fr); }
  .stage li { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 8px; font-size: 13px; }
  .stage li::before { justify-self: center; }
  .stage li:not(:last-child)::after { left: 50%; right: -50%; top: 13px; bottom: auto; border-left: 0; border-top: 1px solid var(--line); margin-left: 9px; }
  .stage li.now { font-size: 15px; }
}
.box { border-top: 1px solid var(--line); padding: 20px 0; }
.box h2 { font-size: 19px; margin-bottom: 10px; }
.rev { padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.rev small { color: var(--ink2); display: block; }

footer.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 12px; color: var(--ink2); }
footer.foot .wrap { display: grid; gap: 14px; }
footer.foot .links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink); }
footer.foot .links a { text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: 14px; z-index: 50; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
