/* C案 編集的・写真主役 — 紙の白×墨、大きな写真、章立て */

:root {
  --ink: #1b1a18;
  --muted: #59554e;
  --paper: #f3f0ea;
  --bg: #fbfaf8;
  --line: #d8d3c9;
  --accent: #9a4421;     /* 紙地・白地で 5:1 以上 */
  --accent-light: #f0b48f;
  --wrap: 1200px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-en: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.95; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.45; margin: 0; word-break: auto-phrase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 16px; line-height: 1.3; }
.brand-name small { display: block; font-family: var(--font); font-weight: 500; font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a { display: flex; align-items: baseline; gap: 6px; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav i { font-family: var(--font-en); font-size: 12px; color: var(--accent); }
.site-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; }
body { padding-top: 65px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; min-width: 64px; min-height: 44px; border: 1px solid var(--ink); background: transparent; font-family: var(--font-en); font-size: 15px; color: var(--ink); cursor: pointer; border-radius: 999px; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
  .site-nav { position: fixed; inset: 65px 0 0 0; background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; overflow-y: auto; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 16px 16px 40px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 22px 0; font-family: var(--font-serif); font-size: 22px; gap: 16px; }
  .site-nav i { font-size: 15px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 65px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #222; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.45) 0%, rgba(20,18,16,.5) 40%, rgba(20,18,16,.85) 100%); }
.hero-inner, .hero-meta { position: relative; z-index: 1; }
.hero-inner { padding-bottom: 56px; }
.hero-kicker { font-family: var(--font-en); font-style: italic; font-size: 18px; line-height: 1.4; margin-bottom: 24px; color: var(--accent-light); }
.hero h1 { font-size: clamp(30px, 8.6vw, 96px); line-height: 1.25; letter-spacing: .02em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-lead { max-width: 34em; margin-top: 28px; font-size: 16px; color: rgba(255,255,255,.92); }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .hero { min-height: 82svh; } .hero-inner { padding-bottom: 40px; } .hero-meta { gap: 16px; } }

/* ---------- chapters ---------- */
.section { padding: 120px 0; }
.section-paper { background: var(--paper); }
.chapter { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: end; padding-bottom: 28px; margin-bottom: 56px; border-bottom: 1px solid var(--ink); }
.chapter-compact { grid-template-columns: 1fr; border: 0; margin: 0; padding: 0; }
.chapter-no { font-family: var(--font-en); font-size: clamp(64px, 9vw, 120px); line-height: .8; color: var(--accent); font-weight: 500; }
.chapter-en { font-family: var(--font-en); font-style: italic; font-size: 17px; color: var(--muted); margin-bottom: 4px; }
.chapter h2 { font-size: clamp(24px, 3.2vw, 36px); }
@media (max-width: 860px) { .section { padding: 80px 0; } .chapter { gap: 16px; margin-bottom: 40px; } }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.lead { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 27px); line-height: 1.8; font-weight: 500; }
.about-text { color: var(--muted); padding-top: 8px; border-top: 3px solid var(--ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 96px; }
.feature figure { overflow: hidden; margin-bottom: 24px; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature:hover img { transform: scale(1.04); }
.feature-no { font-family: var(--font-en); font-style: italic; color: var(--accent); margin-bottom: 4px; }
.feature h3 { font-size: 22px; margin-bottom: 12px; }
.feature p:last-child { font-size: 15px; color: var(--muted); }
.feature:nth-child(2) { margin-top: 64px; }
.feature:nth-child(3) { margin-top: 128px; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; gap: 56px; margin-top: 64px; }
  .feature:nth-child(n) { margin-top: 0; }
}

/* ---------- photo band ---------- */
.band img { width: 100%; height: clamp(280px, 52vw, 640px); object-fit: cover; }

/* ---------- greeting ---------- */
.pull { margin: 0 0 64px; padding: 0; }
.pull p { text-wrap: balance; font-family: var(--font-serif); font-size: clamp(30px, 5.4vw, 64px); line-height: 1.35; font-weight: 700; }
.pull p::before { content: "“"; font-family: var(--font-en); color: var(--accent); margin-right: .08em; }
.pull p::after { content: "”"; font-family: var(--font-en); color: var(--accent); margin-left: .08em; }
.greeting-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; }
.greeting { columns: 2; column-gap: 48px; font-size: 15px; }
.greeting p { break-inside: avoid; }
.signature { margin-top: 32px; font-family: var(--font-serif); font-size: 22px; break-inside: avoid; }
.signature span { display: block; font-family: var(--font); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.purpose { padding: 36px 32px; background: var(--paper); align-self: start; font-size: 15px; border-top: 3px solid var(--accent); }
.purpose h3 { font-size: 22px; margin-bottom: 20px; }
@media (max-width: 1024px) { .greeting { columns: 1; } .greeting-grid { gap: 48px; } }
@media (max-width: 860px) { .greeting-grid { grid-template-columns: 1fr; } .pull { margin-bottom: 40px; } .purpose { padding: 28px 20px; } }

/* ---------- links ---------- */
.links-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; min-height: 48px; text-decoration: none; font-family: var(--font-serif); font-size: clamp(18px, 2vw, 22px); transition: padding .25s, color .2s; }
.link-list a span { font-family: var(--font-en); color: var(--accent); }
.link-list a:hover { padding-left: 12px; }
@media (max-width: 860px) { .links-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- access ---------- */
.access { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
.map { width: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.info { margin: 0; }
.info div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info div:first-child { border-top: 1px solid var(--ink); }
.info dt { font-family: var(--font-serif); font-weight: 700; margin-bottom: 4px; }
.info dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; gap: 32px; } .map { min-height: 300px; } }

/* ---------- contact ---------- */
.contact { position: relative; padding: 140px 0; color: #fff; background: #222; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.contact::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,16,.72); }
.contact-inner { position: relative; z-index: 1; max-width: 860px; }
.contact .chapter-en { color: var(--accent-light); }
.contact h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 24px; }
.contact p { color: rgba(255,255,255,.9); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.5); }
.contact-actions a { display: block; padding: 24px 0; color: #fff; text-decoration: none; font-family: var(--font-en); font-size: clamp(22px, 3vw, 34px); overflow-wrap: anywhere; transition: color .2s; }
.contact-actions a + a { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.5); }
.contact-actions small { display: block; font-size: 13px; font-style: italic; color: var(--accent-light); }
.contact-actions a:hover { color: var(--accent-light); }
.contact a:focus-visible { outline-color: var(--accent-light); }
@media (max-width: 640px) {
  .contact { padding: 96px 0; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions a + a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.5); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c4bb; padding: 48px 0 32px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #3a3835; }
.footer-name { font-family: var(--font-serif); color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-links a { color: #c9c4bb; display: inline-block; padding: 8px 0; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 20px; font-size: 12px; }

/* ---------- hero entrance（控えめ。reduced-motion では出ない） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: hero-zoom 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-kicker, .hero h1, .hero-lead, .hero-meta { animation: hero-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .12s; }
  .hero-lead { animation-delay: .24s; }
  .hero-meta { animation-delay: .36s; }
}
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- 下層ページ（プライバシーポリシー） ---------- */
.page-hero { padding: 96px 0 48px; border-bottom: 1px solid var(--ink); }
.page-hero h1 { font-size: clamp(30px, 5vw, 56px); }
.section-prose { padding-top: 72px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(19px, 2.2vw, 23px); margin: 56px 0 16px; padding-left: 16px; border-left: 3px solid var(--accent); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose .back { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-links a[aria-current="page"] { color: #fff; }
@media (max-width: 860px) { .page-hero { padding: 64px 0 32px; } .section-prose { padding-top: 48px; } }
.page-hero .wrap { max-width: 760px; }

/* 背景写真の <picture> はレイアウトに影響させない */
.hero picture, .contact picture { display: contents; }
