:root {
  --paper: #f6f2ea;
  --white: #fffdf8;
  --ink: #23211e;
  --sub: #6d675e;
  --line: #ddd5c7;
  --ai: #2b3f57;      /* 藍 */
  --ai-soft: #e6eaee;
  --beni: #b5543c;    /* 弁柄 */
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --gothic: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 1.95; letter-spacing: .03em; }
img { max-width: 100%; display: block; }
a { color: var(--ai); text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ヘッダー */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .35s, box-shadow .35s; }
.top.scrolled, .top.solid { background: rgba(246,242,234,.95); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--mincho); font-size: 22px; letter-spacing: .2em; }
.brand span { font-size: 12px; color: var(--sub); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a.here { border-bottom: 1px solid var(--ink); }
.top nav .navlink { display: none; }
.top.on-photo:not(.scrolled) .brand, .top.on-photo:not(.scrolled) .brand span, .top.on-photo:not(.scrolled) nav a { color: #fff; }
.top.on-photo:not(.scrolled) nav a.here { border-color: #fff; }
.mailbtn { border: 1px solid currentColor; padding: 6px 14px; border-radius: 2px; }

/* トップの写真 */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3b3a35; }
.hero-photo { position: absolute; inset: 0; background: url(img/hero.jpg) center 35% / cover no-repeat; transform: scale(1.12); animation: drift 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,26,.82) 0%, rgba(20,22,26,.55) 50%, rgba(20,22,26,.2) 100%); }
@keyframes drift { to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 64px; }
.tate { display: none; position: absolute; z-index: 1; right: 22px; top: 96px; writing-mode: vertical-rl; font-family: var(--mincho); font-size: 15px; letter-spacing: .5em; opacity: .9; }
.hero h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(30px, 7.6vw, 54px); line-height: 1.55; letter-spacing: .08em; margin: 0 0 18px; }
.hero h1 span { display: block; }
.hero p { max-width: 34em; margin: 0 0 26px; font-size: 15.5px; color: #f1eee8; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 2px; line-height: 1.4; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-line { border: 1px solid #fff; color: #fff; }
.btn-ai { background: var(--ai); color: #fff; }
.btn-ai-line { border: 1px solid var(--ai); color: var(--ai); }

/* 運営者の帯（開いてすぐ見える位置） */
.owner { background: var(--white); border-bottom: 1px solid var(--line); font-size: 14px; }
.owner .wrap { display: grid; gap: 4px 28px; padding-top: 18px; padding-bottom: 18px; }
.owner b { font-family: var(--mincho); font-size: 16px; letter-spacing: .1em; }
.owner .muted { color: var(--sub); }

/* 共通の見出し */
section { padding: 88px 0; }
.label { font-family: var(--mincho); color: var(--beni); font-size: 14px; letter-spacing: .3em; margin: 0 0 10px; }
h2 { font-family: var(--mincho); font-weight: 600; font-size: clamp(24px, 5.6vw, 36px); line-height: 1.55; letter-spacing: .06em; margin: 0 0 18px; }
h3 { font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.lead { margin: 0 0 32px; color: #3d3a35; }

/* ある夜のできごと */
.night { background: var(--ai); color: #eef1f4; }
.night h2 { color: #fff; }
.night .label { color: #e9b9a6; }
.timeline { list-style: none; margin: 34px 0 0; padding: 0 0 0 26px; border-left: 1px solid rgba(255,255,255,.3); display: grid; gap: 26px; }
.timeline li { position: relative; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.timeline li.auto::before { background: #e9b9a6; box-shadow: 0 0 0 5px rgba(233,185,166,.18); }
.timeline.play li { opacity: 1; transform: none; }
.timeline.play li:nth-child(2) { transition-delay: .9s; }
.timeline.play li:nth-child(3) { transition-delay: 1.8s; }
.timeline.play li:nth-child(4) { transition-delay: 2.7s; }
.timeline time { font-family: var(--mincho); font-size: 14px; letter-spacing: .1em; color: #c9d2db; }
.timeline .who { display: inline-block; margin-left: 10px; font-size: 12px; color: #e9b9a6; letter-spacing: .1em; }
.timeline p { margin: 2px 0 0; font-size: 16px; color: #fff; }
.mini { margin-top: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: 13px; max-width: 420px; }
.mini div { display: grid; grid-template-columns: 4.5em 1fr 3em; padding: 4px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.mini div:first-child { border-top: 0; color: #c9d2db; }
.mini .new { background: rgba(233,185,166,.18); animation: blink 1.6s 3.4s ease-in-out 2; }
@keyframes blink { 50% { background: rgba(233,185,166,.4); } }
.night .after { margin-top: 36px; color: #c9d2db; font-size: 15px; }

/* どこへでも伺います */
.visit { background: var(--white); }
.visit h2 { font-size: clamp(25px, 6vw, 40px); }
.visit p { margin: 0 0 14px; }
.points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.points li { border-left: 2px solid var(--beni); padding: 2px 0 2px 16px; }
.points b { display: block; font-family: var(--mincho); font-size: 19px; letter-spacing: .06em; }
.points span { font-size: 14px; color: var(--sub); }

/* 4つの段階 */
.stages { list-style: none; margin: 34px 0 0; padding: 0; }
.stages li { display: grid; grid-template-columns: 56px 1fr; gap: 6px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.18); }
.stages li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.stages .n { font-family: var(--mincho); font-size: 32px; line-height: 1.15; color: #e9b9a6; }
.stages h3 { font-family: var(--mincho); font-size: 21px; color: #fff; margin-bottom: 4px; }
.stages p { margin: 0; font-size: 15.5px; color: #dfe4ea; }
.stages .tag { display: inline-block; margin-top: 10px; font-size: 13px; color: #e9b9a6; }

/* 作る／作らない */
.twoway { display: grid; gap: 18px; }
.twoway > div { background: var(--white); border: 1px solid var(--line); padding: 24px 26px; }
.twoway .k { font-family: var(--mincho); color: var(--beni); font-size: 13px; letter-spacing: .25em; margin: 0 0 4px; }
.twoway h3 { font-family: var(--mincho); font-size: 20px; }
.twoway ul { margin: 10px 0 0; padding-left: 1.2em; }
.twoway li { margin: 4px 0; }

/* できること（写真つき） */
.svc { display: grid; gap: 34px; }
.svc a { color: inherit; text-decoration: none; display: block; }
.svc figure { margin: 0 0 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.svc a:hover img { transform: scale(1.06); }
.svc .num { font-family: var(--mincho); color: var(--beni); font-size: 15px; letter-spacing: .15em; }
.svc h3 { font-family: var(--mincho); font-size: 21px; margin: 2px 0 6px; }
.svc p { margin: 0; font-size: 15px; color: #3d3a35; }
.also { margin-top: 44px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.also h3 { font-family: var(--mincho); font-size: 20px; }
.also p { margin: 0 0 18px; }

/* 私について */
.about { background: var(--white); }
.about .wrap { display: grid; gap: 34px; align-items: center; }
.about figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.about figure img { width: 100%; height: 110%; object-fit: cover; will-change: transform; }
.about p { margin: 0 0 14px; }
.sign { font-family: var(--mincho); font-size: 19px; letter-spacing: .12em; margin-top: 20px; }

/* 進め方 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, cjk-decimal); font-family: var(--mincho); font-size: 30px; line-height: 1.2; color: var(--beni); }
.steps h3 { margin-bottom: 2px; }
.steps p { margin: 0; font-size: 15px; color: #3d3a35; }
.promise { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.promise li { padding-left: 1.4em; position: relative; }
.promise li::before { content: "―"; position: absolute; left: 0; color: var(--beni); }

/* できることページの流れ */
.flowlist { list-style: none; margin: 16px 0 0; padding: 0; }
.flowlist li { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.flowlist li span { font-size: 12px; letter-spacing: .1em; color: var(--ai); padding-top: 3px; }
.flowlist li.you span { color: var(--beni); }
.svc-detail { display: grid; gap: 64px; }
.svc-row { display: grid; gap: 26px; align-items: start; }
.svc-row figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; }
.svc-row img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 10px; }

/* よくあるご質問 */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { margin: 0 0 20px; color: #3d3a35; }

/* 相談 */
.contact { position: relative; color: #fff; text-align: center; overflow: hidden; background: #2d2a26; }
.contact-photo { position: absolute; inset: -10% 0; background: url(img/cafe.jpg) center / cover no-repeat; opacity: .26; will-change: transform; }
.contact .wrap { position: relative; }
.contact h2 { color: #fff; }
.contact p { color: #ece8e0; margin: 0 0 26px; }
.contact .btns { justify-content: center; }
.contact small { display: block; margin-top: 18px; color: #d8d2c8; font-size: 13px; }

/* ページ見出し（下層） */
.pagehead { padding: 130px 0 40px; border-bottom: 1px solid var(--line); }
.pagehead h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(28px, 6vw, 40px); letter-spacing: .08em; margin: 0 0 8px; line-height: 1.5; }
.pagehead p { margin: 0; color: var(--sub); }

/* 運営者情報・ポリシー */
dl.table { margin: 0; display: grid; grid-template-columns: 6.5em 1fr; border-top: 1px solid var(--line); }
dl.table dt, dl.table dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.table dt { color: var(--sub); font-size: 14px; padding-top: 16px; }
dl.table dd { word-break: break-all; }
.policy h3 { font-size: 16px; margin: 30px 0 6px; }
.policy p, .policy ul { margin: 6px 0; }
.policy ul { padding-left: 1.3em; }
.note { color: var(--sub); font-size: 13px; }

/* フッター */
footer { background: var(--ink); color: #cfc9bf; font-size: 13.5px; padding: 50px 0 40px; }
footer .wrap { display: grid; gap: 22px; }
footer b { font-family: var(--mincho); font-size: 22px; letter-spacing: .2em; color: #fff; }
footer a { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer small { color: #8f897f; }

/* スクロールで現れる */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .line { opacity: 0; transform: translateY(18px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .line:nth-child(2) { animation-delay: .25s; }
.hero .d1 { animation-delay: .6s; }
.hero .d2 { animation-delay: .85s; }
.tate.line { animation-delay: 1.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (min-width: 780px) {
  .top nav .navlink { display: inline; }
  .owner .wrap { grid-template-columns: auto 1fr; align-items: center; }
  .svc { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .twoway { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about .wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .svc-row { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .svc-row:nth-child(even) figure { order: 2; }
  .tate { display: block; right: 40px; font-size: 17px; }
  section { padding: 110px 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .line, .timeline li { opacity: 1; transform: none; }
  .hero-photo { transform: none; }
}
.nb { display: inline-block; }

/* 本文中の横長写真 */
figure.wide { margin: 30px 0 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--line); }
figure.wide img { width: 100%; height: 100%; object-fit: cover; }
