/* OHANA revision 1: tactile controls, photography and guided consultation. */
.mobile-menu{display:none}.hero-scenes{position:absolute;right:5%;bottom:140px;max-width:410px;padding:18px;background:#3d231470;backdrop-filter:blur(10px);border:1px solid #fff5;border-radius:14px}.hero-scenes p{font-size:12px;font-weight:700;margin-bottom:12px}.scene-controls{display:flex;gap:8px}.scene-tab{padding:9px 12px;border:1px solid #fff6;border-radius:8px;background:#3d231460;color:white;font-size:12px;box-shadow:0 4px 0 #24150f80;transition:.2s}.scene-tab span{font:600 17px Fredoka;margin-right:5px}.scene-tab[aria-pressed=true]{background:linear-gradient(125deg,#ffcf4a,#ff9b0b);color:#3d2314;border-color:#ffe49a}.hero-enlarge{display:block;padding:7px 0 0;margin-top:5px;color:#fff3db;background:none;border:0;font-size:11px;text-decoration:underline}.scene-tab:active,.scene-tab.pressed{transform:translateY(3px);box-shadow:0 1px 0 #24150f80}.image-openable{cursor:zoom-in;transition:filter .3s,scale .3s}.image-openable:hover{filter:saturate(1.08)}.image-openable:focus-visible{outline:4px solid var(--orange);outline-offset:4px}.image-openable:active,.image-openable.pressed{scale:.98}.scene-copy,.scene::after,.photo-tag{pointer-events:none}.story-image{cursor:zoom-in}.photo-dialog{position:fixed;inset:0;border:0;background:#2a180ff5;color:#fff8f0;padding:70px 30px 24px;width:min(1100px,95vw);max-height:94dvh;border-radius:20px;overflow:auto;box-shadow:0 30px 100px #0008}.photo-dialog::backdrop{background:#190f0de0;backdrop-filter:blur(10px)}.photo-dialog[open]{animation:dialog-enter .35s ease-out}.photo-dialog figure{margin:0}.photo-full{width:100%;height:63dvh;object-fit:contain;border-radius:10px;cursor:default}.photo-caption{text-align:center;font-size:14px;margin:18px 0 8px}.photo-close{position:absolute;right:22px;top:18px}.photo-close,.photo-controls button{border:1px solid #e9c098;background:linear-gradient(135deg,#fff7e9,#f2d6ac);color:#3d2314;border-radius:40px;padding:10px 22px;font-size:13px;font-weight:700;box-shadow:0 4px 0 #a17d58;transition:.2s}.photo-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px}.photo-counter{font:500 16px Fredoka}.photo-close:active,.photo-controls button:active,.photo-close.pressed,.photo-controls button.pressed{transform:translateY(3px);box-shadow:0 1px 0 #a17d58}.sound{box-shadow:0 3px 0 #3d231440;transition:.2s}.sound:active,.sound.pressed{transform:translateY(2px);box-shadow:none}.dock a{transition:transform .2s,box-shadow .2s;box-shadow:0 3px 0 #3d231433}.dock a:active,.dock a.pressed{transform:translateY(2px) scale(.98);box-shadow:inset 0 2px 4px #3d231422}.nav a,.footer-links a,.service-link,.email,.brand{transition:filter .2s,scale .2s}.nav a.pressed,.footer-links a.pressed,.service-link.pressed,.email.pressed,.brand.pressed{filter:brightness(.8);scale:.97}summary{transition:background .2s,padding .2s}summary.pressed{background:#ffd79555;padding-left:8px}.flip:active .flip-inner{scale:.97}.flip-inner{transition:transform .65s,scale .2s}.check-option{position:relative}.check-option input{position:relative;z-index:1;opacity:0}.check-option:focus-within{outline:3px solid #a64300;outline-offset:3px}.check-stamp{position:absolute;left:12px;width:24px;height:24px;border:2px solid #ab7954;border-radius:50%;display:grid;place-content:center;font-style:normal;color:transparent;pointer-events:none;transition:.3s}.check-option.checked .check-stamp{background:#b34400;border-color:#b34400;color:white;animation:stamp-in .35s cubic-bezier(.2,1.6,.6,1)}.stamp-row{display:flex;justify-content:space-between;gap:6px;margin-top:23px}.stamp-row span{font-family:var(--round);font-size:11px;color:#997c65;width:48px;height:48px;border-radius:50%;display:grid;place-content:center;border:2px dashed #d0bca7;transition:.3s}.stamp-row .stamped{background:#fff0b4;color:#ad4200;border:2px solid #e85d04;box-shadow:0 0 0 3px #e85d0410;transform:rotate(-9deg);animation:stamp-in .35s cubic-bezier(.2,1.6,.6,1)}.suggestions{list-style:none;margin:16px 0 0;padding:0}.suggestions li{border-left:3px solid #e85d04;padding:2px 0 2px 13px;margin-bottom:14px;animation:copy-in .3s ease-out}.suggestions b{display:block;font-family:var(--round);font-size:14px;line-height:1.7}.suggestions span{display:block;font-size:12px;line-height:1.8;margin-top:4px}.reset-check{display:block;background:transparent;color:#7e4723;border:0;border-bottom:1px solid #b88765;font-size:12px;padding:4px 0;margin-top:20px;transition:.2s}.reset-check.pressed{transform:translateY(2px)}.complete-seal{display:none}.complete .complete-seal{display:block;margin:24px auto 5px;width:175px;border:3px double #e85d04;border-radius:7px;padding:10px;text-align:center;font:600 24px Fredoka;color:#b74700;transform:rotate(-6deg);animation:stamp-in .45s cubic-bezier(.2,1.6,.6,1)}.complete-seal b{display:block;font-size:11px;letter-spacing:.08em}.passport.complete{box-shadow:10px 12px 0 #9b3d0240,0 0 0 5px #ffdb70}.btn.control-arrived,.scene-tab.control-arrived,.flip.control-arrived{animation:control-in .45s ease-out}.btn:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#fff7 45%,transparent 65%);transform:translateX(-130%);pointer-events:none}.btn:hover:before{animation:button-shine .65s ease-out}.gallery figure{position:relative}.gallery figure:before{content:'写真を拡大 ＋';position:absolute;z-index:1;top:15px;right:15px;color:#fff;background:#3d231499;padding:5px 12px;font-size:11px;border-radius:30px;pointer-events:none}.hero-bg{cursor:default}.hero .actions{max-width:650px}.photo-stack img:first-child{width:100%}
@keyframes stamp-in{from{opacity:0;scale:1.5}to{opacity:1;scale:1}}@keyframes control-in{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes button-shine{to{transform:translateX(130%)}}@keyframes dialog-enter{from{opacity:0;scale:.94}to{opacity:1;scale:1}}
@media(max-width:900px){.hero-scenes{right:5%;bottom:115px}.hero-content{padding-top:140px}.hero h1{font-size:58px}.hero .actions{max-width:550px}.scene-tab{font-size:11px;padding:8px}.hero-scenes p{font-size:11px}}
@media(max-width:600px){.header{gap:10px}.brand{font-size:20px;gap:7px}.brand img{width:38px;height:38px}.sound{margin-left:auto;padding:7px 9px}.mobile-menu{display:block;border:0;position:relative}.mobile-menu summary{padding:6px 10px;font-size:19px;border:1px solid #ffffff80;border-radius:9px;color:white;background:#3d231450;line-height:1.6;box-shadow:0 3px 0 #3d231440}.mobile-menu summary:before,.mobile-menu summary:after{display:none}.mobile-menu nav{position:absolute;right:0;top:53px;width:260px;background:#fff8f0;color:#3d2314;border:1px solid #e3bc90;border-radius:14px;padding:14px;box-shadow:0 15px 40px #24140f44}.mobile-menu nav a{display:block;padding:12px 10px;border-bottom:1px solid #e9d4bd;font-size:14px;font-weight:700}.mobile-menu nav a:last-child{background:#ffdc80;border:0;border-radius:8px;margin-top:6px}.hero{height:auto;min-height:840px;padding-bottom:220px}.hero-content{padding-top:122px}.hero h1{font-size:44px}.hero .lead{max-width:none;font-size:13px}.hero .actions{max-width:100%;gap:14px}.hero-scenes{bottom:91px;left:6%;right:6%;padding:12px}.scene-controls{gap:7px}.scene-tab{flex:1;font-size:11px;padding:8px 5px}.scene-tab span{font-size:15px;margin-right:2px}.hero-scenes p{margin-bottom:7px;font-size:10px}.hero-enlarge{font-size:10px;margin-top:2px;padding-top:7px}.hero-bottom{bottom:23px}.hero-bottom>span:last-child{max-width:150px;font-size:9px}.hero-bottom b{font-size:16px}.hero-bg{object-position:59% center}.check-stamp{left:4px}.photo-dialog{padding:65px 15px 22px;width:95vw;border-radius:15px}.photo-full{height:55dvh}.photo-caption{font-size:12px;line-height:1.7}.photo-controls{gap:8px}.photo-controls button{padding:9px 12px;font-size:11px}.photo-counter{font-size:13px}.photo-close{right:15px;top:15px;padding:8px 18px}.stamp-row span{width:44px;height:44px;font-size:10px}.check-option{padding-right:3px}.intro h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.image-openable,.flip-inner{transition:none}.hero-bg{animation:none}.btn.control-arrived,.scene-tab.control-arrived,.flip.control-arrived,.complete .complete-seal,.suggestions li,.stamp-row .stamped,.check-option.checked .check-stamp,.photo-dialog[open]{animation:none}.btn:hover:before{animation:none}}

.hero-enlarge,.reset-check,.mobile-menu nav a{transition:translate .2s,box-shadow .2s}.hero-enlarge.pressed,.reset-check.pressed,.mobile-menu nav a.pressed{translate:0 2px;box-shadow:inset 0 2px 3px #3d231420}
/* Revision 2: continuous guidance and resilient photo browsing. */
[hidden]{display:none!important}.header{position:fixed;transition:background .25s,box-shadow .25s;z-index:20}.header.scrolled{background:#3d2314f5;backdrop-filter:blur(16px);box-shadow:0 5px 25px #3d231426}.reading-progress{position:fixed;top:85px;left:0;right:0;height:3px;z-index:21;pointer-events:none}.reading-progress i{height:100%;width:0;display:block;background:linear-gradient(90deg,#e85d04,#ffb703);box-shadow:0 0 12px #ffb70377}.skip-link{position:fixed;top:12px;left:12px;z-index:100;padding:12px 18px;border-radius:10px;background:#fff8f0;color:#3d2314;transform:translateY(-180%)}.skip-link:focus{transform:none}.check-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:22px}.check-tools .reset-check{margin:0}.copy-check{border:1px solid #ffd36b;border-radius:10px;padding:12px 17px;background:linear-gradient(120deg,#ffe7a5,#ffb703);box-shadow:0 4px 0 #c47924;color:#3d2314;font:700 13px var(--round);transition:transform .2s,box-shadow .2s}.copy-check:active,.copy-check.pressed{transform:translateY(3px);box-shadow:0 1px 0 #c47924}.copy-check:disabled{opacity:.45;cursor:default;box-shadow:none}.copy-status{font-size:12px;line-height:1.8;margin-top:12px;color:#75401d}.copy-status:empty{display:none}.copy-fallback{margin-top:14px;font-size:12px}.copy-fallback textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #b98555;border-radius:8px;font:13px/1.8 var(--text);background:#fffdf8;color:#3d2314}.tip-link{display:inline-block;padding:8px 0 3px;color:#a43f00;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.tip-link:active,.tip-link.pressed{translate:0 2px}.photo-full{height:51dvh;touch-action:pan-y;transition:opacity .15s}.photo-loading{position:absolute;top:22px;left:25px;right:130px;font-size:12px;line-height:1.7;color:#ffdc80}.photo-thumbs{display:flex;gap:9px;overflow-x:auto;padding:7px 4px;margin:8px auto 0;max-width:700px;scrollbar-width:thin;scrollbar-color:#b98555 #3d2314}.photo-thumb{flex:0 0 64px;height:49px;border:2px solid transparent;padding:0;border-radius:7px;background:#573420;opacity:.6;transition:opacity .2s,transform .2s,border-color .2s;overflow:hidden}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-thumb[aria-pressed=true]{opacity:1;border-color:#ffb703;box-shadow:0 0 0 2px #ffb70333}.photo-thumb:hover{opacity:1}.photo-thumb:active,.photo-thumb.pressed{transform:translateY(2px) scale(.95)}.photo-controls{margin-top:14px}.faq-search{max-width:760px;margin:0 auto 36px}.faq-search label{display:block;font-family:var(--round);font-weight:700;font-size:14px;margin-bottom:10px}.faq-search input{width:100%;font:16px var(--text);padding:16px 20px;border:1px solid #d1ae87;border-radius:12px;color:#3d2314;background:linear-gradient(115deg,#fffdf8,#fff2d7);box-shadow:0 4px 0 #eedbc4}.faq-search input:focus{outline:3px solid #ffb703;outline-offset:3px}#faq-count{margin-top:12px;color:#7e4723;font-size:12px}.faq-empty{padding:25px;border:1px dashed #ba926a;border-radius:12px;font-size:14px;line-height:1.9;background:#fff2d7}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e85d04;outline-offset:4px}.photo-dialog button:focus-visible{outline-color:#ffb703}
@media(max-width:600px){.reading-progress{top:72px}.photo-full{height:44dvh}.photo-caption{margin-top:10px}.photo-thumbs{gap:7px}.photo-thumb{flex-basis:55px;height:43px}.photo-loading{left:16px;top:18px;right:125px;font-size:10px}.check-tools{gap:16px}.copy-check{font-size:12px}.faq-search{margin-bottom:25px}.faq-search input{padding:15px}.header .mobile-menu nav{max-width:calc(100vw - 38px)}}
@media(prefers-reduced-motion:reduce){.header,.copy-check,.photo-thumb,.photo-full{transition:none}}
/* Revision 3: the photographs lead to the relevant service. */
.scene-copy .scene-link{pointer-events:auto;display:inline-block;margin-top:12px;color:#ffe29a;text-decoration:underline;text-underline-offset:5px;font-weight:700;font-size:12px;padding:8px 0}.scene-copy .scene-link:active,.scene-copy .scene-link.pressed{translate:0 2px}.scene{min-height:430px}.scene-copy{padding-bottom:25px}.scene-caption{min-height:18px}.subhero-photo{position:relative;isolation:isolate;overflow:hidden;background:#3d2314;padding-top:135px}.subhero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:-2}.subhero-photo:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#2b1b10ed,#3d2314a0 55%,#3d231455)}.subhero-photo .wrap{position:relative}.breadcrumb{display:inline-block;font-size:12px;color:#ffe6b9;margin-bottom:30px;text-decoration:underline;text-underline-offset:4px}.subhero-photo h1{text-shadow:0 3px 25px #0004}.gallery-intro{font-size:14px;margin:20px 0 24px;line-height:1.9}.gallery-filters,.faq-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.gallery-filters button,.faq-shortcuts button{border:1px solid #d4a575;border-radius:40px;background:linear-gradient(130deg,#fffcf4,#f5dfba);color:#603519;box-shadow:0 4px 0 #d1a678;padding:12px 21px;font:700 13px var(--round);transition:transform .2s,box-shadow .2s,background .2s}.gallery-filters button[aria-pressed=true],.faq-shortcuts button[aria-pressed=true]{background:linear-gradient(120deg,#f78113,#e85d04);border-color:#d45203;color:white;box-shadow:0 4px 0 #9a3900}.gallery-filters button:active,.gallery-filters button.pressed,.faq-shortcuts button:active,.faq-shortcuts button.pressed{transform:translateY(3px);box-shadow:0 1px 0 #9a3900}.gallery-count{font:500 12px var(--text);color:#855130;margin:20px 0 22px}.gallery figcaption{padding:20px 2px 28px}.gallery figcaption p{margin:12px 0 7px;line-height:1.85;font-size:14px}.gallery-label{display:inline-block;padding:5px 13px;border:1px solid #b47647;border-radius:30px;font:700 12px var(--round);color:#9c440d}.gallery figcaption .service-link{font-size:12px}.faq-shortcuts{margin:17px 0 14px;gap:10px}.faq-shortcuts button{padding:9px 14px;font-size:12px}.deck-progress{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:45px 0 0;padding-bottom:13px;border-bottom:1px solid #ffe2ab66;color:#ffe2ab;font-size:13px}.deck-count{font-family:Fredoka,var(--round);font-weight:600}.deck-progress.all-open{color:#ffb703}.deck-progress.all-open .deck-count{animation:stamp-in .4s ease-out}.photo-arrived{animation:photo-unveil .9s cubic-bezier(.2,.8,.2,1) backwards}.control-arrived:not(.flip):not(.btn):not(.scene-tab){animation:control-in .4s ease-out}details[open]>p{animation:copy-in .3s ease-out}.photo-thumb{min-height:44px}.photo-close,.photo-controls button{min-height:44px}
@keyframes photo-unveil{from{opacity:.3;clip-path:inset(8% 0 0 0);filter:saturate(.5)}to{opacity:1;clip-path:inset(0);filter:saturate(1)}}
@media(max-width:600px){.subhero-photo{padding-top:115px;padding-bottom:42px}.breadcrumb{font-size:10px;margin-bottom:24px}.subhero-photo h1{font-size:36px;line-height:1.5}.subhero-photo p{font-size:13px}.subhero-image{object-position:62% center}.scene{min-height:380px}.scene-copy .scene-link{font-size:12px}.gallery-filters{gap:10px}.gallery-filters button{font-size:12px;padding:11px 16px}.gallery figcaption{padding-bottom:18px}.deck-progress{margin-top:30px;font-size:11px;align-items:flex-start}.faq-shortcuts button{font-size:11px;padding:10px 12px}.gallery-count{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.photo-arrived,.control-arrived:not(.flip):not(.btn):not(.scene-tab),details[open]>p,.deck-progress.all-open .deck-count{animation:none}.gallery-filters button,.faq-shortcuts button{transition:none}}
@media(max-width:360px){.subhero-photo h1{font-size:28px;letter-spacing:0}.subhero-photo .eyebrow{font-size:10px}}
/* Final pass: consistent touch feedback and context-aware guidance. */
:where(button,a,summary){touch-action:manipulation}:where(button):not(:disabled):active{scale:.97}:where(button):not(:disabled).pressed{scale:.97}.scene-link,.breadcrumb,.tip-link,.gallery figcaption a{transition:translate .18s,filter .18s}.scene-link.pressed,.breadcrumb.pressed,.tip-link.pressed,.gallery figcaption a.pressed{translate:0 2px;filter:brightness(.85)}.photo-controls button:disabled{opacity:.4;cursor:default;box-shadow:none}.contact-guidance{font-size:12px!important;margin:16px 0!important;color:#fff1d0}.contact-guidance:empty{display:none}.scene-status{display:block;font-size:10px;line-height:1.7;margin-bottom:5px;color:#ffe6a4}.scene-status:empty{display:none}.photo-controls button{transition:scale .18s,transform .18s,opacity .18s}.photo-thumbs button:focus-visible{outline-offset:1px}
@media(prefers-reduced-motion:reduce){.scene-link,.breadcrumb,.tip-link,.gallery figcaption a,.photo-controls button{transition:none}}

/* Safari and embedded-browser layout support. */
html { -webkit-text-size-adjust: 100%; }
.wrap { max-width: 1180px; }
.intro-grid > *, .check-grid > *, .card-grid > *, .service > * { min-width: 0; }
.check-option input:checked + .check-stamp { background: #b34400; border-color: #b34400; color: white; }
.flip-inner { -webkit-transform-style: preserve-3d; }
.flip-front, .flip-back { -webkit-backface-visibility: hidden; }
summary::-webkit-details-marker { display: none; }
button, .dock a, .mobile-menu summary { min-height: 44px; }
textarea, input[type="search"] { font-size: 16px; }
.copy-fallback textarea { font-size: 16px; }
.header.scrolled { -webkit-backdrop-filter: blur(16px); }
.hero-scenes { -webkit-backdrop-filter: blur(10px); }
.dock {
 bottom: calc(15px + env(safe-area-inset-bottom, 0px));
 -webkit-backdrop-filter: blur(15px);
}
.footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.photo-dialog {
 display: none;
 top: 12px; right: 0; bottom: 12px; left: 0;
 width: 95vw; max-width: 1100px;
 max-height: calc(100vh - 24px);
 max-height: calc(100dvh - 24px);
 padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
 overscroll-behavior: contain;
 -webkit-overflow-scrolling: touch;
}
.photo-dialog[open] { display: block; }
.photo-dialog.dialog-fallback {
 z-index: 100;
 box-shadow: 0 0 0 100vmax rgba(25, 15, 13, .92);
}
.photo-full { height: 51vh; height: 51dvh; touch-action: pan-y pinch-zoom; }
.photo-thumbs { -webkit-overflow-scrolling: touch; }
.photo-dialog button:focus { outline: 3px solid #ffb703; outline-offset: 2px; }
@media (max-width: 600px) {
 .dock { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
 .header {
  padding-left: max(6%, env(safe-area-inset-left, 0px));
  padding-right: max(6%, env(safe-area-inset-right, 0px));
 }
 .hero { max-height: none; padding-bottom: 240px; }
 .hero-scenes { bottom: 91px; }
 .photo-full { height: 44vh; height: 44dvh; }
 .photo-dialog { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
 .mobile-menu nav {
  max-height: calc(100vh - 160px);
  max-height: calc(100dvh - 160px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
 }
 .passport-head { flex-wrap: wrap; column-gap: 12px; }
 .contact .email { overflow-wrap: anywhere; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) {
 .check-option.checked .check-stamp { animation: none; }
}
.photo-backdrop {
 position: fixed;
 top: 0; right: 0; bottom: 0; left: 0;
 z-index: 90;
 background: rgba(25, 15, 13, .92);
}
