/* eunoia cafe — v3 */
:root {
  --bg: #f8f6ef;
  --bg-alt: #efece2;
  --ink: #22265e;
  --navy: #262a6b;
  --navy-deep: #1a1d4d;
  --yellow: #faf778;
  --yellow-soft: #fff3a8;
  --peach: #f39a5a;
  --accent-text: #b8561a;
  --muted: #5a5d7c;
  --rule: rgba(34, 38, 94, .18);
  --line-green: #04843f;
  --ig-grad: linear-gradient(120deg, #c2410c 0%, #be185d 55%, #7e22ce 100%);
  --en: "Outfit", "Noto Sans JP", sans-serif;
  --mark: "Bebas Neue", "Outfit", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --r: 24px;
  --hdr: 72px;
  --gut: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ja); font-size: 15px; line-height: 1.9; letter-spacing: .02em; overflow-wrap: anywhere; line-break: strict; }
@media (min-width: 900px) { body { font-size: 15.5px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--navy); color: #fff; padding: 8px 16px; }
.skip:focus { left: 12px; top: 12px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.note { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.note-list { margin-top: 22px; font-size: .85rem; color: var(--muted); }
.note-list li { padding-left: 1.2em; position: relative; }
.note-list li::before { content: "※"; position: absolute; left: 0; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border-radius: 999px; font-family: var(--en); font-weight: 800; letter-spacing: .08em; text-decoration: none; line-height: 1.2; text-align: center; border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, filter .2s ease; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); }
.pill-line { background: var(--line-green); color: #fff; }
.pill-line.is-pending { cursor: not-allowed; opacity: .8; }
.pill-line.is-pending:hover { transform: none; }
.pending-badge { background: #fff; color: var(--line-green); font-family: var(--ja); font-size: .68rem; font-weight: 900; letter-spacing: 0; border-radius: 999px; padding: 1px 8px; line-height: 1.6; }
.pill-line:not(.is-pending) .pending-badge { display: none; }
.pill-ig { background: var(--ig-grad); color: #fff; }
.pill-ig:hover { filter: brightness(1.08); }
.pill-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.pill-outline:hover { background: var(--ink); color: #fff; }
.pill-outline-light, .pill-light { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.pill-outline-light:hover, .pill-light:hover { background: #fff; color: var(--navy); }
.pill-big { min-height: 58px; font-size: 1.02rem; padding-inline: 32px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 100; height: var(--hdr); background: rgba(248, 246, 239, .96); backdrop-filter: blur(8px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; }
.hdr-nav { display: none; gap: 26px; }
.hdr-nav a { font-family: var(--en); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-decoration: none; position: relative; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-logo { justify-self: center; }
.hdr-logo img { width: 56px; height: 56px; border-radius: 50%; }
.hdr-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hdr-ig { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 999px; background: var(--ig-grad); color: #fff; text-decoration: none; font-family: var(--en); font-weight: 800; font-size: .78rem; letter-spacing: .08em; }
.hdr-ig span { display: none; }
.hdr-ig .ico { width: 22px; height: 22px; }
.hdr-line { min-height: 44px; padding: 6px 14px; font-size: .78rem; }
.hdr-line .pending-badge { display: none; }
.menu-btn { justify-self: start; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.menu-bar, .menu-bar::before { display: block; width: 30px; height: 2px; background: currentColor; position: relative; transition: transform .25s ease, top .25s ease; }
.menu-bar::before { content: ""; position: absolute; left: 0; top: 9px; }
.menu-bar { transform: translateY(-4px); }
.menu-btn[aria-expanded="true"] .menu-bar { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar::before { top: 0; transform: rotate(-90deg); }
@media (max-width: 380px) { .hdr { padding: 0 8px; } .hdr-line { padding: 6px 10px; } }
@media (min-width: 1000px) {
  .hdr { padding: 0 28px; }
  .menu-btn { display: none; }
  .hdr-nav { display: flex; }
  .hdr-ig { width: auto; padding: 0 18px; }
  .hdr-ig span { display: inline; }
  .hdr-line { padding: 6px 20px; font-size: .82rem; }
  .hdr-line .pending-badge { display: inline; }
}

/* drawer */
.drawer { position: fixed; inset: var(--hdr) 0 0 0; z-index: 99; background: var(--bg); overflow-y: auto; padding: 16px 24px 120px; }
.drawer[hidden] { display: none; }
.drawer-list li a { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.drawer-list .en { font-family: var(--en); font-weight: 900; font-size: 1.7rem; letter-spacing: .06em; line-height: 1.1; }
.drawer-list .ja { font-size: .8rem; color: var(--muted); }
.drawer-cta { display: grid; gap: 10px; margin-top: 24px; }

/* alert */
.alert { background: var(--navy); color: #fff; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 56px; }
.alert-arrow { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; height: 56px; }
.alert-list { display: grid; text-align: center; font-size: .86rem; font-weight: 500; padding: 8px 0; }
.alert-list li { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; visibility: hidden; }
.alert-list li.is-active { opacity: 1; transform: none; visibility: visible; }

/* KV */
.kv { padding: var(--gut); position: relative; }
.kv-h1 { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 2px 4px 10px; line-height: 1.5; }
.kv-h1 span { font-family: var(--en); font-weight: 800; color: var(--ink); }
.kv-slider { display: grid; position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); }
.slide { grid-area: 1 / 1; display: grid; grid-template-rows: auto auto; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; background: var(--c); color: var(--t); }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide-photo { margin: 0; order: -1; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(0,0,0,.05); }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); transition: transform 7s ease-out; }
.slide.is-active .slide-photo img { transform: scale(1); }
.slide-photo--contain { background: var(--yellow-soft); }
.slide-photo--contain img { object-fit: contain; padding: 6%; }
.slide-text { padding: 26px 22px 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.slide-title { font-family: var(--en); font-weight: 900; font-size: clamp(2.6rem, 12vw, 6rem); line-height: .92; letter-spacing: .02em; text-transform: uppercase; }
.slide-text p { font-size: .92rem; max-width: 30em; }
.slide-title, .slide-text p, .slide .pill-kv { transform: translateY(24px); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }
.slide.is-active .slide-title { transform: none; opacity: 1; transition-delay: .25s; }
.slide.is-active .slide-text p { transform: none; opacity: 1; transition-delay: .45s; }
.slide.is-active .pill-kv { transform: none; opacity: 1; transition-delay: .6s; }
.pill-kv { border-color: currentColor; color: inherit; background: transparent; min-height: 44px; padding: 8px 26px; font-size: .82rem; }
.pill-kv:hover { background: var(--t); color: var(--c); }
.kv-dots { position: absolute; z-index: 3; left: 22px; bottom: 22px; display: flex; gap: 8px; }
.kv-dot { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.kv-dot i { display: block; height: 4px; border-radius: 4px; background: rgba(128,128,140,.45); overflow: hidden; position: relative; }
.kv-dot i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.kv-dot.is-active i::after { animation: progress var(--dur, 6s) linear forwards; }
.kv-slider.is-paused .kv-dot.is-active i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.kv-pause { position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: .7rem; cursor: pointer; }
@media (min-width: 900px) {
  :root { --gut: 16px; }
  .slide { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: clamp(500px, calc(100vh - 220px), 640px); }
  .slide-photo { order: 0; aspect-ratio: auto; }
  .slide-text { padding: 56px 56px 90px; gap: 22px; }
  .slide-text p { font-size: 1rem; }
  .kv-dots { left: 56px; bottom: 36px; }
  .kv-h1 { font-size: .8rem; }
}

/* tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); padding: 0 var(--gut) var(--gut); }
.tile { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate; transition: transform .25s ease; }
.tile:hover { transform: translateY(-4px); }
.tile-en { font-family: var(--en); font-weight: 900; font-size: clamp(1.4rem, 5.6vw, 2.4rem); line-height: .95; letter-spacing: .02em; }
.tile-ja { font-size: .78rem; font-weight: 700; margin-top: 8px; }
.tile-arrow { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(255,255,255,.92); color: var(--navy); }
.tile-yellow { background: var(--yellow); color: var(--navy); }
.tile-yellow .tile-arrow { background: var(--navy); color: var(--yellow); }
.tile-navy { background: var(--navy); color: var(--yellow); }
.tile-photo { color: #fff; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease; }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(transparent 35%, rgba(20, 22, 60, .78)); pointer-events: none; }
.tile-photo > span { position: relative; z-index: 1; }
.tile-photo .tile-arrow { position: absolute; }
.tile-photo:hover img { transform: scale(1.06); }
.tile-ig { background: var(--ig-grad); color: #fff; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tile { aspect-ratio: 4 / 3.4; padding: 24px; } }

/* sections */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 40px; }
.sec-title { font-family: var(--en); font-weight: 900; font-size: clamp(1.9rem, 4.4vw, 2.8rem); letter-spacing: .06em; line-height: 1.1; }
.sec-rule { flex: 1 1 60px; height: 2px; background: var(--ink); min-width: 40px; }
.sec-ja { font-size: .85rem; font-weight: 700; flex-basis: 100%; order: 3; }
@media (min-width: 900px) { .sec { padding: 110px 0; } .sec-ja { flex-basis: auto; order: 0; } }

/* features */
.feat-grid { display: grid; gap: 36px 24px; }
.feat figure { margin: 0 0 18px; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-alt); }
.feat figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feat:hover figure img { transform: scale(1.05); }
.feat figure.feat-contain { background: var(--yellow-soft); }
.feat figure.feat-contain img { object-fit: contain; padding: 8%; }
.feat figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); font-size: .68rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.feat h3 { font-family: var(--en); font-weight: 800; font-size: 1.12rem; letter-spacing: .08em; line-height: 1.3; }
.feat-ja { font-weight: 700; font-size: .9rem; margin: 4px 0 10px; color: var(--accent-text); }
.feat p:last-child { font-size: .9rem; }
@media (min-width: 600px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }

/* menu */
.dogmenu { background: var(--navy); color: #fff; border-radius: var(--r); padding: 28px 22px; display: grid; gap: 22px; margin-bottom: 48px; }
.dogmenu-head h3 { font-family: var(--en); font-weight: 900; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: .04em; color: var(--yellow); line-height: 1; }
.dogmenu-head p { font-weight: 700; margin-top: 8px; }
.size-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-list li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; }
.size { font-family: var(--en); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--yellow); }
.size-ja { font-size: .8rem; margin-top: 4px; }
.size-list .yen { font-family: var(--en); font-weight: 700; margin-top: 6px; letter-spacing: .06em; }
.dogmenu-note { font-size: .82rem; color: #d9dbf0; }
@media (min-width: 900px) { .dogmenu { grid-template-columns: 280px 1fr; padding: 40px; align-items: center; } .size-list { grid-template-columns: repeat(4, 1fr); } .dogmenu-note { grid-column: 1 / -1; } }
.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.item { border-top: 2px solid var(--ink); padding-top: 14px; }
.item-cat { font-family: var(--en); font-weight: 800; font-size: .68rem; letter-spacing: .16em; color: var(--muted); }
.item h3 { font-family: var(--en); font-weight: 800; font-size: 1rem; letter-spacing: .06em; line-height: 1.3; margin: 4px 0 6px; }
.item-ja { font-size: .82rem; line-height: 1.6; }
.item .yen { font-family: var(--en); font-weight: 700; letter-spacing: .08em; margin-top: 8px; }
@media (min-width: 900px) { .item-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; } .item h3 { font-size: 1.12rem; } }
.more-menu { margin-top: 36px; background: #fff; border-radius: 18px; }
.more-menu summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary::after { content: "+"; font-family: var(--en); font-size: 1.4rem; font-weight: 800; }
.more-menu[open] summary::after { content: "−"; }
.price-list { margin: 0; padding: 0 20px 14px; }
.price-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dotted var(--rule); font-size: .9rem; }
.price-list dd { margin: 0; font-family: var(--en); font-weight: 700; white-space: nowrap; }

/* price */
.price-cards { display: grid; gap: 12px; }
.pcard { background: #fff; border-radius: var(--r); padding: 26px 24px; border: 2px solid var(--ink); }
.pcard-main { background: var(--navy); color: #fff; border-color: var(--navy); }
.pcard-en { font-family: var(--en); font-weight: 800; font-size: .72rem; letter-spacing: .16em; }
.pcard h3 { font-size: 1rem; margin: 2px 0 8px; }
.pcard-yen { font-family: var(--en); font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: .02em; }
.pcard-main .pcard-yen { color: var(--yellow); }
.pcard-yen span { font-size: .9rem; font-weight: 700; letter-spacing: .06em; }
.pcard-note { font-size: .82rem; margin-top: 10px; }
@media (min-width: 800px) { .price-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.scroll-hint { display: none; font-size: .78rem; color: var(--muted); text-align: right; margin: 26px 0 -18px; }
@media (max-width: 640px) { .scroll-hint { display: block; } }
.table-wrap { margin-top: 28px; overflow-x: auto; border-radius: 18px; background: #fff; }
.price-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: .9rem; }
.price-table caption { text-align: left; padding: 16px 18px 8px; font-weight: 900; font-size: 1rem; }
.price-table th, .price-table td { padding: 12px 14px; border-top: 1px solid var(--rule); text-align: center; }
.price-table thead th { background: var(--ink); color: #fff; border: 0; font-weight: 700; }
.price-table tbody th { text-align: left; white-space: nowrap; background: var(--bg-alt); }
.price-table tbody th span { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; }
.vip { margin-top: 36px; border-radius: var(--r); padding: 28px 22px; background: var(--yellow); display: grid; gap: 20px; }
.vip-en { font-family: var(--en); font-weight: 900; letter-spacing: .14em; font-size: .9rem; }
.vip-yen { font-family: var(--en); font-weight: 900; font-size: 3rem; line-height: 1.05; }
.vip-yen span { font-size: .9rem; letter-spacing: .06em; }
.vip-sub { font-size: .88rem; font-weight: 700; margin-top: 6px; }
.vip-list { counter-reset: v; display: grid; gap: 8px; }
.vip-list li { counter-increment: v; background: #fff; border-radius: 14px; padding: 12px 14px 12px 50px; position: relative; font-size: .84rem; color: var(--muted); line-height: 1.6; }
.vip-list li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-family: var(--en); font-weight: 900; color: var(--ink); }
.vip-list strong { display: block; color: var(--ink); font-size: .95rem; }
@media (min-width: 900px) { .vip { grid-template-columns: 300px 1fr; padding: 36px; align-items: center; } .vip-list { grid-template-columns: 1fr 1fr; } }

/* banners */
.banner { margin: 0 var(--gut); border-radius: var(--r); overflow: hidden; position: relative; isolation: isolate; }
.banner-title { font-family: var(--en); font-weight: 900; font-size: clamp(2.4rem, 8vw, 4.6rem); letter-spacing: .04em; line-height: 1; }
.banner-ja { font-weight: 700; margin-top: 10px; }
.banner-first { background: var(--navy); color: #fff; padding: 72px 0; }
.banner-first .banner-title { color: var(--yellow); }
.first-grid { display: grid; gap: 16px; margin-top: 36px; }
.first-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px 22px; }
.first-card h3, .steps h3 { font-family: var(--en); font-weight: 900; letter-spacing: .08em; font-size: 1.3rem; line-height: 1.2; }
.first-ja { font-size: .85rem; font-weight: 700; margin: 2px 0 14px; }
.check-list { display: grid; gap: 10px; }
.check-list li { padding-left: 32px; position: relative; font-size: .92rem; line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4L19 7' fill='none' stroke='%23262a6b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list span { display: block; font-size: .8rem; color: var(--muted); }
.steps { display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 18px 20px; }
.step-no { font-family: var(--en); font-weight: 900; font-size: 1.8rem; color: var(--yellow); line-height: 1; }
.steps h3 { font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 4px; }
.steps p { font-size: .88rem; color: #dfe0f2; }
@media (min-width: 900px) { .banner-first { padding: 100px 0; } .first-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.banner-access { min-height: 420px; display: grid; place-items: center; text-align: center; color: #fff; }
.banner-bg { position: absolute; inset: 0; z-index: -2; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-access::before { content: ""; position: absolute; inset: 0; background: rgba(26, 29, 77, .62); z-index: -1; }
.banner-inner { padding: 60px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pin { width: 44px; height: 44px; fill: #fff; margin-bottom: 8px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.banner-inner .pill { margin-top: 22px; }
@media (min-width: 900px) { .banner-access { min-height: 520px; } }

.access-grid { display: grid; gap: 28px; }
.info-list { margin: 0 0 18px; }
.info-list div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.info-list dt { font-weight: 900; }
.info-list dd { margin: 0; }
.map { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.guide-card { margin: 0; }
.guide-card a { display: block; border-radius: 18px; overflow: hidden; }
.guide-card img { transition: transform .5s ease; }
.guide-card a:hover img { transform: scale(1.04); }
.guide-card figcaption { font-size: .8rem; line-height: 1.6; padding-top: 10px; }
.guide-card strong { display: block; font-family: var(--en); font-weight: 800; letter-spacing: .08em; font-size: .85rem; }
@media (min-width: 1000px) { .access-grid { grid-template-columns: 1.25fr 1fr; gap: 40px; } }

/* stories */
.stories { display: grid; gap: var(--gut); padding: var(--gut); }
.story-card { background: var(--bg-alt); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; padding-bottom: 26px; transition: transform .25s ease; }
a.story-card:hover { transform: translateY(-4px); }
.story-visual { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.story-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; }
.story-statement { display: grid; place-items: center start; padding: 0 8%; background: var(--yellow); }
.story-statement p { font-weight: 900; font-size: clamp(1.9rem, 6vw, 3.4rem); line-height: 1.3; color: var(--navy); }
.story-label { font-family: var(--en); font-weight: 800; letter-spacing: .1em; font-size: .92rem; padding: 0 24px; }
.story-card > p { padding: 8px 24px 0; font-size: .88rem; }
@media (min-width: 900px) { .stories { grid-template-columns: 1fr 1fr; } }

/* instagram banner */
.banner-ig { margin-top: var(--gut); margin-bottom: var(--gut); min-height: 460px; display: grid; place-items: center; text-align: center; color: #fff; }
.ig-mosaic { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
.ig-mosaic li { overflow: hidden; }
.ig-mosaic img { width: 100%; height: 100%; object-fit: cover; animation: mosaic 12s ease-in-out infinite alternate; }
.ig-mosaic li:nth-child(even) img { animation-delay: -6s; }
@keyframes mosaic { from { transform: scale(1); } to { transform: scale(1.12); } }
.banner-ig::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(26,29,77,.84), rgba(150,20,80,.74)); }
.banner-ig .banner-ja { font-weight: 500; }
@media (min-width: 900px) { .banner-ig { min-height: 540px; } }

/* footer */
.ftr { background: var(--navy-deep); color: #ecebf5; padding-top: 72px; overflow: hidden; }
.ftr a { color: #fff; }
.ftr-cta { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ftr-title { font-family: var(--en); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .08em; color: #fff; }
.ftr-block p { margin-top: 10px; font-size: .9rem; }
.ftr-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ftr-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 44px 0; font-size: .85rem; }
.ftr-h { font-family: var(--en); font-weight: 800; letter-spacing: .12em; font-size: .78rem; color: var(--yellow); margin-bottom: 10px; }
.ftr-links li { margin-bottom: 6px; }
.ftr-links a { text-decoration: none; }
.ftr-links a:hover { text-decoration: underline; }
.copyright { font-family: var(--en); font-size: .75rem; letter-spacing: .1em; color: #a9abc8; padding-bottom: 20px; }
.ftr-mark { display: block; width: 100%; height: auto; margin: 0 0 calc(70px + env(safe-area-inset-bottom)); fill: var(--bg); user-select: none; }
.ftr-mark text { font-family: var(--mark); font-size: 230px; }
@media (min-width: 900px) { .ftr-cta { grid-template-columns: 1fr 1fr; } .ftr-links { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .ftr-mark { margin-bottom: -1.2vw; } }

/* sp fixed */
.sp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.35fr .8fr 1.25fr; gap: 6px; background: rgba(248,246,239,.97); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(26, 29, 77, .12); }
.sp-cta > a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .82rem; padding: 4px 8px; white-space: nowrap; }
.sp-cta .sp-line { font-family: var(--ja); letter-spacing: 0; }
.sp-cta .sp-line .pending-badge { font-size: .6rem; padding: 0 6px; }
.sp-tel { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.sp-ig { background: var(--ig-grad); color: #fff; }
@media (max-width: 340px) { .sp-cta > a { font-size: .74rem; } .sp-cta .ico { display: none; } }
@media (min-width: 768px) { .sp-cta { display: none; } }

/* accordion */
.acc { border-top: 2px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--en); font-size: 1.6rem; font-weight: 800; transition: transform .25s ease; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-body { padding: 0 0 20px; font-size: .92rem; }
.acc-body ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 6px; }
.acc-faq summary { padding-left: 40px; }
.acc-faq summary::before { content: "Q"; position: absolute; left: 0; top: 16px; font-family: var(--en); font-weight: 900; font-size: 1.3rem; color: var(--accent-text); }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .slide-photo img { transform: none; }
  .slide-title, .slide-text p, .slide .pill-kv { transform: none; opacity: 1; }
}

/* v3 fixes */
.step-no { flex: none; }
.tile-ja { white-space: nowrap; font-size: clamp(.62rem, 2.7vw, .8rem); overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pill-big { white-space: normal; max-width: 100%; }
.banner-inner { max-width: 100%; }
@media (max-width: 999px) { .hdr-line { padding: 6px 12px; } .hdr-right { gap: 6px; } }
@media (max-width: 999px) { .hdr-ig { position: absolute; left: 62px; top: 14px; } }
@media (max-width: 380px) { .hdr-ig { left: 54px; } }

/* ===== v3.1：ファーストビューの動きを強化 ===== */
.slide { background: none; opacity: 1; visibility: hidden; transition: none; z-index: 0; }
.slide.is-active { visibility: visible; z-index: 2; transition: none; }
.slide.was-active { visibility: visible; z-index: 1; }
.slide-text { position: relative; overflow: hidden; background: var(--c); color: var(--t); clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); }
.slide.is-active .slide-text { clip-path: inset(0 0 0 0); }
.slide-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) .15s; background: var(--c); }
.slide.is-active .slide-photo { clip-path: inset(0 0 0 0); }
.slide-photo img { transform: scale(1.3); transition: transform 6s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .slide-photo img { transform: scale(1); }
.slide.was-active .slide-text, .slide.was-active .slide-photo { clip-path: inset(0 0 0 0); transition: none; }
.slide.was-active .slide-photo img { transform: scale(1); transition: none; }
.slide.was-active .slide-text p, .slide.was-active .pill-kv { opacity: 1; transform: none; transition: none; }
.slide-text > *:not(.fx) { position: relative; z-index: 1; }

.slide-title.is-split { transform: none !important; opacity: 1 !important; transition: none !important; }
.slide-title .ln { display: block; overflow: hidden; padding: 0 .04em .06em 0; margin-bottom: -.06em; }
.slide-title .ch { display: inline-block; transform: translateY(115%) rotate(8deg); transform-origin: 0 100%; transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.35s + var(--i) * 38ms); }
.slide.is-active .slide-title .ch { transform: none; }
.slide.was-active .slide-title .ch { transform: none; transition: none; }
.slide.is-active .slide-title .ln:last-child .ch:last-child { animation: wiggle 1.4s ease-in-out 1.6s 2; }
@keyframes wiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }

/* 雨・太陽・足あと（テキスト面の背景） */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx .drop { position: absolute; left: var(--x); top: -30px; width: 2px; height: 24px; border-radius: 2px; background: linear-gradient(transparent, currentColor); opacity: .28; animation: fall var(--t) linear var(--d) infinite; }
@keyframes fall { to { transform: translate(-50px, 900px); } }
.fx .sun { position: absolute; right: -30px; top: -30px; width: clamp(130px, 22vw, 230px); fill: currentColor; opacity: .16; }
.fx .sun-rays { transform-origin: 50% 50%; animation: spin 22s linear infinite; }
.fx .paws { position: absolute; left: 0; right: 0; bottom: 70px; height: 50px; }
.fx .paw { position: absolute; left: calc(var(--i) * 12.5% + 2%); bottom: 0; width: 24px; opacity: 0; transform: rotate(90deg); animation: step 7s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
.fx .paw:nth-child(even) { bottom: 22px; }
.fx .paw svg { width: 100%; fill: currentColor; }
@keyframes step { 0% { opacity: 0; transform: rotate(90deg) scale(.4); } 6% { opacity: .3; transform: rotate(90deg) scale(1); } 50% { opacity: .3; } 64%, 100% { opacity: 0; transform: rotate(90deg) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 回転するバッジ */
.kv-badge { position: absolute; z-index: 4; right: 12px; top: 12px; width: clamp(86px, 22vw, 150px); aspect-ratio: 1; pointer-events: none; animation: badge-in .8s cubic-bezier(.2, .8, .2, 1.4) .9s both; }
.kv-badge svg { width: 100%; height: 100%; fill: var(--navy-deep); animation: spin 18s linear infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }
.kv-badge span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--en); font-weight: 800; color: var(--yellow); font-size: clamp(.66rem, 2.4vw, 1.02rem); line-height: 1.12; }
@keyframes badge-in { from { transform: scale(0) rotate(-120deg); } to { transform: none; } }
@media (min-width: 900px) { .kv-badge { right: auto; left: 50%; top: 32px; margin-left: -75px; } }

/* 流れる帯 */
.kv-marquee { margin-top: var(--gut); border-radius: var(--r); background: var(--yellow); color: var(--navy); overflow: hidden; padding: 14px 0; }
.kv-marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; font-family: var(--en); font-weight: 900; font-size: clamp(1.1rem, 3vw, 1.7rem); letter-spacing: .06em; white-space: nowrap; line-height: 1.2; }
.kv-marquee-track span { margin: 0 20px; }
.kv-marquee-track i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.slide-title { font-size: clamp(2.4rem, 11vw, 5.2rem); }
.slide-title .ln { white-space: nowrap; }

/* 地図 */
.map { position: relative; }
.map iframe { position: relative; z-index: 1; background: transparent; }
.map-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; text-align: center; padding: 20px; font-size: .85rem; font-weight: 700; color: var(--ink); text-decoration: underline; }
.map-open { width: 100%; margin-top: 14px; }
.map-open { white-space: normal; }

/* ===== v4：ファーストビュー（やわらかい写真＋手書きコピー＋線の円） ===== */
:root { --serif: "Cormorant Garamond", "Zen Old Mincho", serif; --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; --script: "Sacramento", cursive; }
.fv { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.fv-photos { position: relative; aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
.fv-photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease; }
.fv-photo.is-active { opacity: 1; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); transition: transform 8s cubic-bezier(.2, .6, .2, 1); }
.fv-photo.is-active img { transform: scale(1); }
.fv-photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(248,246,239,0) 55%, var(--bg) 99%), radial-gradient(120% 90% at 70% 40%, rgba(255,255,255,0) 55%, rgba(255,255,255,.35) 100%); }

.fv-copy { position: relative; z-index: 2; padding: 0 22px; margin-top: -92px; }
.fv-script { display: block; width: min(100%, 560px); height: auto; overflow: visible; }
.fv-script text { font-family: var(--script); font-size: 118px; fill: var(--navy); fill-opacity: 0; stroke: var(--navy); stroke-width: 1.1; stroke-dasharray: 3200; stroke-dashoffset: 3200; paint-order: stroke; }
.fv.is-ready .fv-script text { animation: script-draw 2.2s cubic-bezier(.45, .05, .25, 1) .2s forwards, script-fill 1s ease 1.8s forwards; }
.fv.is-ready .fv-script text + text { animation-delay: .9s, 2.5s; }
@keyframes script-draw { to { stroke-dashoffset: 0; } }
@keyframes script-fill { to { fill-opacity: .92; stroke-opacity: 0; } }
.fv-h1 { font-family: var(--mincho); font-weight: 700; color: var(--navy); font-size: clamp(1.25rem, 5.4vw, 2.1rem); line-height: 1.6; letter-spacing: .12em; margin-top: 6px; }
.fv-h1 span { display: block; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.fv.is-ready .fv-h1 span { opacity: 1; transform: none; transition-delay: .35s; }
.fv.is-ready .fv-h1 span + span { transition-delay: .55s; }
.fv-sub { margin-top: 14px; font-size: .8rem; letter-spacing: .08em; color: var(--muted); opacity: 0; transition: opacity 1s ease .9s; }
.fv.is-ready .fv-sub { opacity: 1; }
.fv-sub b { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .1em; color: var(--ink); }
.fv-sub span { font-size: .75rem; }

/* 線の円（予約ボタン） */
.fv-bubble { position: absolute; z-index: 3; right: 14px; top: calc(min(125vw, 78svh) - 190px); width: 136px; aspect-ratio: 1; display: grid; place-items: center; align-content: center; text-decoration: none; color: var(--navy); --mx: 0px; --my: 0px; transform: translate(var(--mx), var(--my)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fv-bubble svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: breathe 7s ease-in-out infinite; }
.fv-bubble ellipse { fill: none; stroke-width: 1.2; transform-origin: 100px 100px; stroke-dasharray: 560; stroke-dashoffset: 560; }
.fv.is-ready .fv-bubble ellipse { animation: ring-draw 2.4s cubic-bezier(.45,.05,.25,1) forwards, spin var(--sp) linear infinite; }
.fv-bubble .bl1 { stroke: #b9b44a; --sp: 22s; }
.fv-bubble .bl2 { stroke: #f39a5a; --sp: 30s; animation-direction: normal, reverse !important; }
.fv-bubble .bl3 { stroke: #8cb89a; --sp: 26s; }
.fv-bubble .bl4 { stroke: #262a6b; stroke-opacity: .55; --sp: 36s; animation-direction: normal, reverse !important; }
.fv.is-ready .fv-bubble .bl2 { animation-delay: .15s, 0s; }
.fv.is-ready .fv-bubble .bl3 { animation-delay: .3s, 0s; }
.fv.is-ready .fv-bubble .bl4 { animation-delay: .45s, 0s; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 50% { transform: scale(1.05) rotate(4deg); } }
.fv-bubble-en { position: relative; font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .24em; padding-left: .24em; opacity: 0; transition: opacity 1s ease 2.2s; }
.fv-bubble-ja { position: relative; font-size: .66rem; font-weight: 700; letter-spacing: .08em; margin-top: 2px; opacity: 0; transition: opacity 1s ease 2.4s; }
.fv.is-ready .fv-bubble-en, .fv.is-ready .fv-bubble-ja { opacity: 1; }
.fv-bubble::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: rgba(255,255,255,.55); backdrop-filter: blur(4px); transition: transform .4s ease, background .4s ease; }
.fv-bubble:hover::before { transform: scale(1.08); background: rgba(250,247,120,.75); }

/* NEWS */
.fv-news { position: relative; z-index: 2; margin: 22px 22px 0; background: #fff; color: var(--ink); border-radius: 999px; min-height: 48px; grid-template-columns: auto 32px 1fr 32px; padding-left: 16px; box-shadow: 0 6px 20px rgba(26,29,77,.08); }
.fv-news-label { font-family: var(--serif); font-weight: 600; letter-spacing: .2em; font-size: .8rem; color: var(--accent-text); }
.fv-news .alert-arrow { color: var(--ink); height: 48px; font-size: 1.3rem; }
.fv-news .alert-list { text-align: left; font-size: .8rem; }

/* DOWN SCROLL */
.fv-scroll { display: none; }
.fv-scroll i { display: block; width: 1px; height: 64px; background: rgba(34,38,94,.2); margin: 10px auto 0; position: relative; overflow: hidden; }
.fv-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); animation: scroll-line 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes scroll-line { 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* 白いもやから始まる */
.fv-veil { position: absolute; inset: 0; z-index: 5; background: #fff; pointer-events: none; animation: veil 1.8s ease .15s forwards; }
@keyframes veil { to { opacity: 0; visibility: hidden; } }
.fv-photo.is-active img { filter: blur(0); }
.fv:not(.is-ready) .fv-photo img { filter: blur(8px); }
.fv-photo img { transition: transform 8s cubic-bezier(.2,.6,.2,1), filter 2s ease; }

.fv-marquee-wrap { padding: var(--gut); padding-top: 28px; }
.fv-marquee-wrap .kv-marquee { margin-top: 0; }

@media (min-width: 900px) {
  .fv { height: max(600px, calc(100svh - var(--hdr))); max-height: 900px; }
  .fv-photos { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; aspect-ratio: auto; max-height: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
  .fv-photos::after { background: radial-gradient(120% 90% at 65% 45%, rgba(255,255,255,0) 60%, rgba(255,255,255,.35) 100%); }
  .fv-copy { position: absolute; left: max(40px, 6vw); top: 50%; transform: translateY(-54%); margin: 0; padding: 0; max-width: 54vw; }
  .fv-script { width: min(46vw, 640px); }
  .fv-h1 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); margin-top: 10px; }
  .fv-bubble { right: auto; left: 44%; top: auto; bottom: 12%; width: clamp(170px, 16vw, 230px); }
  .fv-bubble-en { font-size: 1.15rem; }
  .fv-bubble-ja { font-size: .75rem; }
  .fv-news { position: absolute; left: max(40px, 6vw); bottom: 34px; margin: 0; width: min(520px, 40vw); }
  .fv-scroll { display: block; position: absolute; z-index: 3; right: 30px; bottom: 30px; text-decoration: none; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
  .fv-scroll span { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; font-size: .78rem; letter-spacing: .28em; }
  .fv-scroll i { background: rgba(255,255,255,.4); }
  .fv-scroll i::after { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .fv-veil { display: none; }
  .fv-script text { fill-opacity: .92; stroke-opacity: 0; stroke-dashoffset: 0; }
  .fv-bubble ellipse { stroke-dashoffset: 0; }
  .fv-h1 span, .fv-sub, .fv-bubble-en, .fv-bubble-ja { opacity: 1; transform: none; }
  .fv:not(.is-ready) .fv-photo img { filter: none; }
}
@media (max-width: 899px) {
  .fv-photos { max-height: 58svh; }
  .fv-copy { margin-top: -78px; }
  .fv-bubble { top: calc(min(125vw, 58svh) - 150px); width: 124px; }
  .fv-script { width: min(92%, 440px); }
  .fv-h1 { font-size: clamp(1.15rem, 5vw, 1.6rem); }
}



/* Scroll to open the doors and enter the first view. */
.door-intro { height: 245svh; position: relative; background: #283b26; }
.door-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; perspective: 1200px; --open: 0; }
.door-garden { position: absolute; inset: 0; background: #7b9b61 url('../img/opening-garden.jpg') center center / cover no-repeat; transform: scale(calc(1.28 - .28 * var(--open))); }
.door-garden::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,39,25,.14), transparent 45%, rgba(23,43,18,.12)); }
.door-panel { position: absolute; top: 0; bottom: 0; width: 50.1%; z-index: 2; background: linear-gradient(90deg, #ded9c9, #f8f5ec 18%, #efeadc 80%, #d4cebe); box-shadow: 0 0 30px rgba(30,25,16,.26), inset 0 0 30px rgba(121,104,79,.12); backface-visibility: hidden; }
.door-left { left: 0; transform-origin: left center; transform: rotateY(calc(-104deg * var(--open))); }
.door-right { right: 0; transform-origin: right center; transform: rotateY(calc(104deg * var(--open))); }
.door-moulding { position: absolute; inset: 9% 9%; border: 2px solid rgba(128,116,91,.24); box-shadow: inset 0 0 0 8px rgba(255,255,255,.2), 0 0 0 8px rgba(213,206,187,.35); }
.door-moulding::after { content: ""; position: absolute; left: 0; right: 0; top: 51%; border-top: 2px solid rgba(128,116,91,.19); }
.door-knob { position: absolute; top: 52%; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4dda6, #a07c3e 70%, #745c31); box-shadow: 1px 2px 4px #7776; }
.door-left .door-knob { right: 5%; } .door-right .door-knob { left: 5%; }
.door-welcome { position: absolute; z-index: 3; top: 32%; left: 50%; width: 90%; text-align: center; color: #262a6b; transform: translateX(-50%); opacity: max(0, calc(1 - 4 * var(--open))); pointer-events: none; }
.door-eyebrow { font: 700 11px var(--en); letter-spacing: .25em; }
.door-name { margin: 10px 0; font: 600 clamp(42px, 7vw, 80px) var(--serif); letter-spacing: .08em; line-height: 1.1; }
.door-sub { font: 700 clamp(12px, 1.4vw, 15px) var(--ja); letter-spacing: .14em; }
.door-hint { position: absolute; z-index: 4; left: 0; right: 0; bottom: 8%; text-align: center; color: #262a6b; font: 700 10px var(--en); letter-spacing: .2em; opacity: max(0, calc(1 - 3 * var(--open))); pointer-events: none; }
.door-hint span { display: block; font-size: 18px; margin-top: 7px; animation: door-bob 1.5s ease-in-out infinite; }
@keyframes door-bob { 50% { transform: translateY(7px); } }
.door-skip { position: absolute; z-index: 5; right: 20px; top: 18px; padding: 8px 14px; color: #262a6b; border: 1px solid currentColor; background: rgba(248,246,239,.8); border-radius: 999px; font-size: 12px; text-decoration: none; }
.door-progress { position: absolute; z-index: 4; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.25); }
.door-progress span { display: block; height: 100%; width: calc(100% * var(--open)); background: #f3a15f; }
@media (prefers-reduced-motion: reduce) { .door-intro { display: none; } }

.door-stage { z-index: 200; }


/* The first photo gently rises into view, then breathes with a subtle drift. */
@media (prefers-reduced-motion: no-preference) {
  .fv.photo-visible .fv-photo.is-active:first-child img { animation: photo-hello 7s ease-in-out both; }
  @keyframes photo-hello {
    0% { transform: scale(1.10) translateY(3%); opacity: .25; }
    18% { transform: scale(1.045) translateY(0); opacity: 1; }
    55% { transform: scale(1.02) translateY(-.4%); opacity: 1; }
    100% { transform: scale(1.045) translateY(0); opacity: 1; }
  }
}

/* The real dog photo becomes a silent looping video. */
.fv-dog-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (prefers-reduced-motion: reduce) { .fv-dog-video { display: none; } }
