.mb-home{
  --paper:#f7f5ee;
  --ink:#183e36;
  --muted:#53645b;
  --line:#cbd0c4;
  --orange:#b74122;
  --pale:#e9eddf;
  --white:#fffef9;
  --radius:18px}
.mb-home *{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}
.mb-home{margin:0;background:var(--paper);color:var(--ink);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.9}
.mb-home a{color:inherit;text-underline-offset:5px}
.mb-home a:hover{text-decoration:underline}
.mb-home button{font:inherit}
.mb-home a:focus-visible,
.mb-home button:focus-visible,
.mb-home summary:focus-visible{outline:3px solid #005fcc;outline-offset:5px}
.mb-home svg{display:block;max-width:100%}
.mb-home .wrap{width:min(1200px,calc(100% - 96px));margin:auto}
.mb-home .skip{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:10}
.mb-home .skip:focus{top:8px}
.mb-home .preview{background:var(--ink);color:#fff;font-size:11px;text-align:center;letter-spacing:.09em;padding:7px 20px}
.mb-home .header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 0;border-bottom:1px solid var(--line)}
.mb-home .brand{text-decoration:none;display:flex;align-items:center;gap:12px}
.mb-home .brandname{font-size:25px;font-weight:800;letter-spacing:.06em;line-height:1.2}
.mb-home .brand small{font-size:9px;display:block;letter-spacing:.22em;margin-top:6px}
.mb-home .brandmark{width:36px}
.mb-home .nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:700}
.mb-home .nav a{text-decoration:none}
.mb-home .nav a:hover{text-decoration:underline}
.mb-home .btn{display:inline-flex;justify-content:center;align-items:center;gap:28px;min-height:52px;padding:13px 24px;border:1px solid var(--ink);border-radius:5px;text-decoration:none;font-size:14px;font-weight:700;line-height:1.6;transition:background .2s,color .2s}
.mb-home .btn.primary{background:var(--ink);color:#fff}
.mb-home .btn.primary:hover{background:#28574b}
.mb-home .btn.light{background:var(--white)}
.mb-home .btn.light:hover{background:var(--pale)}
.mb-home .btn.orange{background:var(--orange);border-color:var(--orange);color:white}
.mb-home .btn .arrow{font-size:20px;font-weight:400}
.mb-home .menu{display:none}
.mb-home .eyebrow{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.16em;font-weight:700;color:var(--orange);margin:0 0 20px}
.mb-home .hero{padding:70px 0 76px;display:grid;grid-template-columns:1.15fr 1fr;gap:28px;align-items:center}
.mb-home .kicker{font-size:13px;font-weight:700;letter-spacing:.1em;margin:0 0 22px;display:flex;align-items:center;gap:10px}
.mb-home .kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange)}
.mb-home h1{font-size:clamp(38px,4.8vw,66px);font-weight:700;letter-spacing:-.045em;line-height:1.55;margin:0 0 24px}
.mb-home h1 em{font-style:normal;position:relative;color:var(--orange)}
.mb-home .hero p.lead{font-size:15px;line-height:2.1;color:var(--muted);margin:0 0 30px}
.mb-home .actions{display:flex;flex-wrap:wrap;gap:12px}
.mb-home .hero-art{position:relative;background:var(--pale);border-radius:48% 48% 8px 8px;padding:20px 12px 12px;min-width:0}
.mb-home .art-label{position:absolute;top:26px;left:32px;letter-spacing:.14em;font-size:10px}
.mb-home .art-caption{display:flex;justify-content:space-between;padding:0 22px 12px;font-size:10px;letter-spacing:.12em}
.mb-home .pathbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:90px}
.mb-home .pathbar a{padding:25px 24px;text-decoration:none;display:flex;gap:15px;align-items:center;justify-content:space-between}
.mb-home .pathbar a+a{border-left:1px solid var(--line)}
.mb-home .pathbar small{color:var(--orange);font-size:10px;display:block;letter-spacing:.1em}
.mb-home .pathbar strong{font-size:15px}
.mb-home .pathbar a:hover{background:var(--pale)}
.mb-home .section{padding:0 0 100px}
.mb-home .section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:36px}
.mb-home h2{font-size:clamp(27px,3.2vw,40px);line-height:1.65;letter-spacing:-.025em;margin:0}
.mb-home .section-head p{font-size:14px;color:var(--muted);margin:0;max-width:390px}
.mb-home .section-head .eyebrow{margin-bottom:12px;color:var(--orange)}
.mb-home .service-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}
.mb-home .service{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);padding:36px;display:flex;flex-direction:column;min-width:0}
.mb-home .service.featured{background:var(--pale);border-color:var(--pale)}
.mb-home .service-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}
.mb-home .tag{display:inline-block;border:1px solid currentColor;border-radius:99px;font-size:11px;padding:3px 12px}
.mb-home .number{font:italic 32px Georgia,serif;color:#65785c}
.mb-home .service h3{font-size:28px;line-height:1.6;margin:0 0 14px}
.mb-home .service>p{font-size:14px;margin:0 0 22px;color:var(--muted)}
.mb-home .checks{list-style:none;padding:0;margin:0 0 26px}
.mb-home .checks li{font-size:13px;padding:7px 0 7px 25px;position:relative;border-bottom:1px solid #ccd2c3}
.mb-home .checks li:before{content:"↗";position:absolute;left:0;color:var(--orange)}
.mb-home .service-bottom{margin-top:auto}
.mb-home .price{display:flex;align-items:baseline;gap:8px;margin-bottom:5px}
.mb-home .price strong{font:500 39px Arial,sans-serif;letter-spacing:-.04em}
.mb-home .price small{font-size:12px}
.mb-home .fine{font-size:11px;color:var(--muted);margin:0 0 22px}
.mb-home .service .btn{width:100%;justify-content:space-between}
.mb-home .samples{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}
.mb-home .samples summary{font-size:12px;cursor:pointer;font-weight:700;padding:7px 0}
.mb-home .sample-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;font-size:12px}
.mb-home .sample-links a{padding:8px 0}
.mb-home .note{font-size:12px;color:var(--muted);margin:18px 0 0}
.mb-home .shop{background:var(--ink);color:var(--paper);border-radius:var(--radius);display:grid;grid-template-columns:1fr 1fr;gap:44px;padding:50px;margin-bottom:100px;align-items:center}
.mb-home .shop .eyebrow{color:#e5b7a1}
.mb-home .shop p{color:#d2ddd3;font-size:14px;max-width:420px}
.mb-home .shop .btn{background:var(--paper);color:var(--ink);margin-top:14px}
.mb-home .shop-art{border:1px solid #507063;border-radius:12px;padding:30px;display:flex;gap:16px;justify-content:center;align-items:center;background:#24493e}
.mb-home .book{width:100px;aspect-ratio:3/4;padding:18px 12px;background:#e8ebd5;color:var(--ink);border-radius:2px 7px 7px 2px;box-shadow:6px 7px 0 #17382f;font-size:11px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-9deg)}
.mb-home .book:nth-child(2){background:#e5b099;transform:translateY(-10px) rotate(3deg)}
.mb-home .book:nth-child(3){background:#f6f2e6;transform:rotate(10deg)}
.mb-home .book b{font-family:Georgia,serif;font-size:30px;font-weight:400}
.mb-home .book small{font-size:8px}
.mb-home .about{display:grid;grid-template-columns:1fr 1.25fr;gap:80px}
.mb-home .about .intro{font-size:15px;color:var(--muted);margin:25px 0}
.mb-home .about-word{font:italic 50px Georgia,serif;color:#a3b09a;line-height:1.2;margin-top:28px}
.mb-home .profile{border-top:1px solid var(--ink)}
.mb-home .profile-row{padding:19px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:80px 1fr;gap:22px;font-size:13px}
.mb-home .profile-row dt{color:var(--muted)}
.mb-home .profile-row dd{margin:0}
.mb-home .profile-row .name{font-size:23px}
.mb-home .faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}
.mb-home .faq details{border-top:1px solid var(--line)}
.mb-home .faq details:last-child{border-bottom:1px solid var(--line)}
.mb-home .faq summary{cursor:pointer;font-size:14px;font-weight:700;padding:21px 32px 21px 0;position:relative;list-style:none}
.mb-home .faq summary::-webkit-details-marker{display:none}
.mb-home .faq summary:after{content:"+";position:absolute;right:5px;font-size:20px;top:17px}
.mb-home .faq details[open] summary:after{content:"−"}
.mb-home .faq details p{font-size:13px;color:var(--muted);margin:0 0 22px}
.mb-home .contact{padding:65px 48px;background:#e8eddf;border-radius:18px;text-align:center;margin-bottom:70px}
.mb-home .contact h2{font-size:clamp(28px,3.5vw,44px)}
.mb-home .contact p{font-size:14px;color:var(--muted);margin:20px 0 26px}
.mb-home .contact .fine{font-size:11px;margin:14px 0 0}
.mb-home .footer{padding:28px 0 35px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px}
.mb-home .footer .brandname{font-size:20px}
.mb-home .footer-right{text-align:right;font-size:10px;color:var(--muted)}
.mb-home .footer-right a{display:inline-block;margin-bottom:8px;min-height:24px}
.mb-home .footer p{margin:0}
.mb-home .prototype-note{font-size:11px;border-top:1px solid var(--line);padding:18px 0 28px;color:var(--muted)}
@media(max-width:1000px){.mb-home .wrap{width:calc(100% - 56px)}
.mb-home .nav{gap:18px}
.mb-home .hero{gap:18px}
.mb-home h1{font-size:45px}
.mb-home .service{padding:28px}
.mb-home .about{gap:44px}
.mb-home .shop{padding:36px}
.mb-home .book{width:80px}
.mb-home .pathbar a{padding:20px 16px}
.mb-home .pathbar strong{font-size:13px}}
@media(max-width:760px){.mb-home .wrap{width:calc(100% - 40px)}
.mb-home .header{padding:20px 0;flex-wrap:wrap}
.mb-home .brandname{font-size:22px}
.mb-home.mbh-js .menu{display:block;min-height:44px;border:1px solid var(--ink);border-radius:4px;background:transparent;padding:6px 12px;font-size:12px}
.mb-home .nav{width:100%;display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:12px}
.mb-home.mbh-js .nav:not(.open){display:none}
.mb-home .nav a{padding:10px 0}
.mb-home .nav .btn{padding:10px 18px}
.mb-home .hero{grid-template-columns:1fr;padding:44px 0 32px;gap:36px}
.mb-home h1{font-size:clamp(33px,8.7vw,58px);line-height:1.55}
.mb-home .hero p.lead{font-size:14px}
.mb-home .hero-art{max-width:480px;width:100%;margin:auto}
.mb-home .hero-art svg{max-height:340px;margin:auto}
.mb-home .art-label{top:22px}
.mb-home .pathbar{grid-template-columns:1fr;margin-bottom:58px}
.mb-home .pathbar a{padding:15px 6px}
.mb-home .pathbar a+a{border-left:0;border-top:1px solid var(--line)}
.mb-home .pathbar a>div{display:flex;gap:16px;align-items:center}
.mb-home .pathbar strong{font-size:14px}
.mb-home .section{padding-bottom:64px}
.mb-home .section-head{display:block;margin-bottom:25px}
.mb-home .section-head>p{margin-top:18px}
.mb-home .service-grid,
.mb-home .about,
.mb-home .faq,
.mb-home .shop{grid-template-columns:1fr;gap:24px}
.mb-home .service{padding:26px}
.mb-home .service h3{font-size:25px}
.mb-home .service-top{margin-bottom:20px}
.mb-home .shop{padding:30px 25px;margin-bottom:64px}
.mb-home .shop-art{grid-row:2;padding:24px}
.mb-home .book{width:90px}
.mb-home .about-word{display:none}
.mb-home .faq{gap:28px}
.mb-home .contact{padding:42px 24px;margin-bottom:40px}
.mb-home .contact p br{display:none}
.mb-home .footer{align-items:start;flex-direction:column;gap:20px}
.mb-home .footer-right{text-align:left}
.mb-home .preview{font-size:10px}
.mb-home .profile-row{gap:14px;grid-template-columns:65px 1fr}
.mb-home .btn{gap:16px}
.mb-home .actions .btn{flex:1;white-space:nowrap}
.mb-home .hero-art{border-radius:42% 42% 8px 8px}}
@media(min-width:761px) and (max-width:1000px){.mb-home .header{flex-wrap:wrap}
.mb-home .nav{width:100%;justify-content:flex-end}
.mb-home .brandname{font-size:22px}}
@media(max-width:380px){.mb-home .service{padding:22px 18px}
.mb-home .service .btn{padding:12px 14px;gap:8px}
.mb-home .shop-art{padding:20px 12px;gap:10px}
.mb-home .book{min-width:0;padding:12px 7px}
.mb-home .book b{font-size:20px}
.mb-home .book small{font-size:7px}
.mb-home .art-caption{padding-left:10px;padding-right:10px;gap:12px;font-size:9px}
.mb-home .art-label{font-size:8px;left:24px}
.mb-home .sample-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.mb-home *{transition:none!important}}

/* Scoped additions for the existing WordPress/Contact Form 7 integration. */
.mb-home .brand-logo { width: 40px; height: 40px; object-fit: contain; }
.mb-home .contact-form { text-align: left; max-width: 620px; margin: 32px auto 0; }
.mb-home #contact .musubibako-cf7 input, .mb-home #contact .musubibako-cf7 textarea, .mb-home #contact .musubibako-cf7 select { font: inherit; max-width: 100%; }
.mb-home #contact .musubibako-cf7 input[type=text], .mb-home #contact .musubibako-cf7 input[type=email], .mb-home #contact .musubibako-cf7 input[type=tel], .mb-home #contact .musubibako-cf7 textarea, .mb-home #contact .musubibako-cf7 select { background: var(--white); border-color: #738575; color: var(--ink); }
.mb-home #contact .musubibako-cf7 input:focus-visible, .mb-home #contact .musubibako-cf7 textarea:focus-visible, .mb-home #contact .musubibako-cf7 select:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; box-shadow: none; }
.mb-home #contact .musubibako-cf7 .wpcf7-submit { background: var(--orange); color: #fff; box-shadow: none; min-height: 52px; }
.mb-home #contact .musubibako-cf7 .wpcf7-submit:hover { background: #96351c; }
.mb-home #contact .musubibako-cf7 .wpcf7-not-valid-tip { color: #a52020; }
.mb-home #contact .musubibako-cf7 label { color: var(--ink); }
.mb-home .contact > .fine { margin-top: 22px; }
.mb-home [id] { scroll-margin-top: 24px; }
.mb-home .store-illustration-note { font-size: 11px; color: #d2ddd3; margin: 14px 0 0; text-align: center; }
.mb-home .menu { cursor: pointer; }
@media (max-width: 380px) { .mb-home .contact { margin-inline: -20px; padding-inline: 10px; border-radius: 0; } }

/* Allow the store illustration to shrink inside a narrow grid column. */
.mb-home .shop > * { min-width: 0; }
.mb-home .shop-art { min-width: 0; }
.mb-home .book { min-width: 0; flex: 1 1 0; max-width: 100px; }
@media (max-width: 760px) {
  .mb-home .shop { grid-template-columns: minmax(0, 1fr); }
}

/* Readability and optional motion: static content remains usable without JS. */
.mb-home { font-size:18px; line-height:1.85; }
.mb-home .hero p.lead, .mb-home .service>p, .mb-home .section-head p,
.mb-home .shop p, .mb-home .about .intro, .mb-home .faq details p,
.mb-home .contact p { font-size:17px; }
.mb-home .checks li, .mb-home .profile-row, .mb-home .faq summary,
.mb-home .btn, .mb-home .pathbar strong { font-size:16px; }
.mb-home .nav, .mb-home .fine, .mb-home .note, .mb-home .samples summary,
.mb-home .sample-links, .mb-home .tag, .mb-home .footer-right,
.mb-home .store-illustration-note { font-size:14px; }
.mb-home .section-head .eyebrow, .mb-home .eyebrow, .mb-home .kicker { font-size:14px; }
.mb-home .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.mb-home .service { padding:32px; }
.mb-home .service.featured { background:#fffef9; border-color:var(--ink); }
.mb-home .service h3 { font-size:30px; }
.mb-home .contact .fine, .mb-home .price small { font-size:14px; }

/* One large visual, restrained layout; references documented in DYNAMIC-UPDATE.md. */
.mb-home { --paper:#faf9f5; --pale:#edf0e7; }
.mb-home .wrap { width:min(1280px,calc(100% - 80px)); }
.mb-home .header { padding:24px 0; }
.mb-home .hero { min-height:660px; grid-template-columns:1.2fr 1fr; padding:68px 0 90px; gap:30px; }
.mb-home h1 { font-size:clamp(42px,5.7vw,78px); line-height:1.3; letter-spacing:-.055em; }
.mb-home .kicker { margin-bottom:32px; }
.mb-home .hero p.lead { margin:28px 0 32px; max-width:32em; }
.mb-home .motion-panel { min-width:0; }
.mb-home .motion-scene { aspect-ratio:1; color:var(--ink); }
.mb-home .knot-art { width:100%; height:auto; }
.mb-home .knot-guide { opacity:.18; }
.mb-home .knot-loop { transform-origin:240px 240px; }
.mb-home .knot-loop-one { color:var(--ink); transform:rotate(-36deg); }
.mb-home .knot-loop-two { color:var(--orange); transform:rotate(36deg); }
.mb-home .knot-dot { color:var(--orange); transform-origin:240px 240px; }
.mb-home.motion-running .knot-loop-one { animation:mb-knot-one 7s cubic-bezier(.45,0,.55,1) infinite; }
.mb-home.motion-running .knot-loop-two { animation:mb-knot-two 7s cubic-bezier(.45,0,.55,1) infinite; }
.mb-home.motion-running .knot-dot { animation:mb-knot-orbit 14s linear infinite; }
.mb-home.motion-paused .motion-scene * { animation-play-state:paused; }
@keyframes mb-knot-one { 0%,100% { transform:rotate(-36deg) scale(.92); } 50% { transform:rotate(36deg) scale(1); } }
@keyframes mb-knot-two { 0%,100% { transform:rotate(36deg) scale(.92); } 50% { transform:rotate(-36deg) scale(1); } }
@keyframes mb-knot-orbit { to { transform:rotate(360deg); } }
.mb-home .motion-controls { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:16px 0; border-top:1px solid var(--line); }
.mb-home .motion-controls p { font-size:14px; margin:0; }
.mb-home .motion-toggle { background:transparent; color:var(--ink); border:1px solid var(--ink); border-radius:99px; min-height:44px; padding:8px 18px; font-size:14px; cursor:pointer; }
.mb-home .section { padding-bottom:100px; }
.mb-home .section-head { padding-top:40px; border-top:1px solid var(--ink); }
.mb-home h2 { font-size:clamp(32px,4vw,52px); line-height:1.4; }
.mb-home .service-grid { gap:0 48px; }
.mb-home .service, .mb-home .service.featured { background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:32px 0 48px; }
.mb-home .service-top { margin-bottom:20px; }
.mb-home .service h3 { font-size:30px; }
.mb-home .service .tag { border:0; padding:0; }
.mb-home .quote strong { font-family:inherit; font-size:28px; font-weight:700; }
.mb-home .shop { display:block; border-radius:4px; padding:48px; }
.mb-home .shop p { max-width:40em; }
.mb-home .about-word { display:none; }
.mb-home .contact { border-radius:4px; }
.mb-home .contact .contact-privacy-note { font-size:14px; }
@media(max-width:1000px) {
 .mb-home .header,.mb-home .nav { flex-wrap:wrap; }
 .mb-home .wrap { width:calc(100% - 48px); }
 .mb-home .hero { min-height:0; gap:24px; }
 .mb-home h1 { font-size:clamp(42px,5.7vw,66px); }
}
@media(max-width:760px) {
 .mb-home .wrap { width:calc(100% - 40px); }
 .mb-home .hero { grid-template-columns:minmax(0,1fr); padding:48px 0; gap:30px; }
 .mb-home h1 { font-size:clamp(38px,8.8vw,64px); }
 .mb-home .hero p.lead { font-size:17px; }
 .mb-home .motion-panel { width:min(100%,440px); margin:auto; }
 .mb-home .service-grid { grid-template-columns:minmax(0,1fr); }
 .mb-home .section { padding-bottom:64px; }
 .mb-home .section-head { padding-top:28px; }
 .mb-home .shop { padding:28px 24px; margin-bottom:64px; }
 .mb-home .btn { gap:12px; padding:13px 16px; }
}
@media(prefers-reduced-motion:reduce) {
 .mb-home.motion-running .motion-scene * { animation:none!important; }
}
/* Parent and child preview. No animated decoration or flashing feedback. */
.mb-home.family-home { --paper:#fffaf0; --pale:#e7edde; --ink:#253f35; --muted:#4d6258; --orange:#a43f2b; --radius:24px; }
.mb-home.family-home .wrap { width:min(1120px,calc(100% - 56px)); }
.mb-home.family-home .header { border-bottom:0; padding:28px 0; }
.mb-home.family-home .brandname { font-size:28px; letter-spacing:.08em; }
.mb-home.family-home .nav { font-size:16px; }
.mb-home.family-home .btn { border-radius:99px; min-height:56px; padding:16px 28px; font-size:18px; }
.mb-home .family-hero { display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:44px 0 80px; align-items:center; }
.mb-home.family-home h1 { font-size:clamp(46px,6.2vw,76px); line-height:1.35; letter-spacing:.02em; }
.mb-home.family-home h1 em { color:var(--orange); }
.mb-home .family-kicker { font-size:18px; font-weight:700; margin:0 0 24px; }
.mb-home .family-lead { font-size:19px; line-height:1.9; margin:26px 0; }
.mb-home .family-art { min-width:0; text-align:center; }
.mb-home .family-art svg { width:100%; height:auto; }
.mb-home .family-art p { font-size:16px; margin:8px 0; }
.mb-home .family-section-head { text-align:center; margin-bottom:28px; }
.mb-home .family-section-head h2 { font-size:clamp(32px,4.6vw,50px); line-height:1.5; }
.mb-home .family-section-head>p { font-size:20px; }
.mb-home .family-section-head .eyebrow { font-size:16px; }
.mb-home .small-break { display:none; }
.mb-home .shape-game { background:#fff; border:2px solid #d4ddc9; border-radius:28px; padding:30px; text-align:center; }
.mb-home .shape-game [hidden] { display:none!important; }
.mb-home .game-parent-note { font-size:14px; color:var(--muted); margin:0 0 24px; }
.mb-home .shape-target { display:flex; align-items:center; flex-direction:column; gap:8px; }
.mb-home .shape-target>span { font-size:20px; }
.mb-home [data-target] { background:#fffaf0; border-radius:24px; padding:18px; border:2px dashed #82977c; }
.mb-home [data-target] svg { width:130px; height:130px; }
.mb-home [data-target-name] { font-size:25px; }
.mb-home .shape-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; max-width:640px; margin:28px auto; }
.mb-home .shape-choice { background:#fffaf0; border:3px solid #d4ddc9; border-radius:22px; padding:18px 12px; display:flex; flex-direction:column; align-items:center; gap:10px; cursor:pointer; color:var(--ink); min-width:0; font-size:22px; font-weight:700; }
.mb-home .shape-choice svg { width:min(100%,100px); height:auto; }
.mb-home .shape-choice:hover:not(:disabled) { border-color:var(--ink); background:#edf2e7; }
.mb-home .shape-choice:disabled { cursor:default; opacity:1; }
.mb-home .shape-choice.is-matched { border-color:#27715c; box-shadow:0 0 0 3px #27715c; }
.mb-home .shape-status { font-size:21px; font-weight:700; line-height:1.65; min-height:3.3em; margin:20px auto; max-width:28em; }
.mb-home .shape-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.mb-home .shape-progress { font-size:16px; color:var(--muted); }
.mb-home .shape-finish h3 { font-size:40px; margin:20px 0; }
.mb-home .shape-finish p { font-size:22px; }
.mb-home .shape-finish .btn { margin:10px 4px; }
.mb-home .book-section { background:#e7edde; border-radius:28px; padding:48px; margin-bottom:80px; display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; }
.mb-home .book-section p { font-size:18px; }
.mb-home .book-section .fine { font-size:14px; margin:16px 0 0; }
.mb-home .book-section h2 { font-size:clamp(38px,4.5vw,54px); }
.mb-home .book-intro { font-weight:700; }
.mb-home .preparing { display:inline-block; border:1px solid var(--ink); padding:8px 18px; border-radius:99px; font-size:16px; }
.mb-home .book-placeholder { text-align:center; }
.mb-home .book-placeholder svg { width:100%; height:auto; }
.mb-home .book-placeholder span { font-size:14px; }
.mb-home .grownups h2 { font-size:36px; }
.mb-home .parent-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:32px 0 40px; }
.mb-home .parent-notes h3 { font-size:20px; line-height:1.6; }
.mb-home .parent-notes p { font-size:16px; }
.mb-home .parent-store { font-size:15px; display:block; padding:12px 0; }
.mb-home .legacy-services, .mb-home .operator-details { border-top:1px solid #aab9a5; padding:20px 0; }
.mb-home .legacy-services>summary,.mb-home .operator-details>summary,.mb-home .parent-contact>summary { font-size:18px; font-weight:700; cursor:pointer; padding:12px 0; }
.mb-home .legacy-services>p { font-size:16px; }
.mb-home .operator-details .profile { margin-top:24px; }
.mb-home.family-home .contact { border-radius:28px; background:#f4e8d7; }
.mb-home.family-home .contact p { font-size:16px; }
.mb-home.family-home .contact .fine { font-size:14px; }
.mb-home.family-home .footer { font-size:14px; }
@media(max-width:760px) {
 .mb-home.family-home .wrap { width:calc(100% - 32px); }
 .mb-home .family-hero { grid-template-columns:minmax(0,1fr); padding:24px 0 54px; gap:24px; }
 .mb-home .family-hero h1 { font-size:clamp(42px,10vw,64px); }
 .mb-home .family-art { max-width:380px; margin:auto; }
 .mb-home .family-kicker { font-size:16px; }
 .mb-home .shape-game { padding:20px 14px; }
 .mb-home .shape-choices { gap:8px; }
 .mb-home .shape-choice { padding:14px 6px; font-size:18px; border-radius:16px; }
 .mb-home .shape-status { font-size:20px; }
 .mb-home .small-break { display:block; }
 .mb-home .book-section { grid-template-columns:minmax(0,1fr); padding:30px 24px; }
 .mb-home .parent-notes { grid-template-columns:minmax(0,1fr); gap:12px; }
 .mb-home.family-home .contact { padding:32px 20px; }
 .mb-home.family-home .btn { padding:14px 20px; font-size:17px; }
 .mb-home.family-home .brandname { font-size:24px; }
}

@media(max-width:380px) { .mb-home.family-home .contact { margin-inline:-16px; padding-inline:10px; border-radius:0; } }

.mb-home .shape-actions .btn { min-width:160px; }
.mb-home .shape-actions .btn:disabled { cursor:default; background:#e7edde; border-color:#aab9a5; color:#4d6258; }
@media(max-width:400px) { .mb-home .shape-choice { padding-inline:2px; font-size:16px; } .mb-home .shape-choice span { white-space:nowrap; } }
.mb-home .book-cover img { display:block; width:100%; height:auto; border-radius:20px; }
.mb-home .book-reader { grid-column:1/-1; min-width:0; border-top:1px solid #aab9a5; padding-top:20px; }
.mb-home .book-reader>summary { font-size:24px; font-weight:700; cursor:pointer; padding:16px 0; }
.mb-home .book-reader [hidden] { display:none!important; }
.mb-home .book-reader .reader-note { font-size:14px; }
.mb-home .reader-page { margin:20px auto; max-width:760px; background:#fffaf0; border-radius:20px; padding:20px; }
.mb-home .reader-page img { display:block; width:min(100%,540px); height:auto; margin:auto; border-radius:12px; }
.mb-home .reader-page figcaption p { text-align:center; font-size:22px; line-height:2; margin:24px 0 8px; overflow-wrap:anywhere; }
.mb-home .reader-controls { display:flex; justify-content:center; align-items:center; gap:16px; flex-wrap:wrap; }
.mb-home .reader-controls .btn { min-width:140px; }
.mb-home .reader-controls .btn:disabled { background:#fffaf0; color:#4d6258; border-color:#aab9a5; cursor:default; }
.mb-home .reader-end { text-align:center; }
@media(max-width:760px){.mb-home .reader-page{padding:12px;}.mb-home .reader-page figcaption p{font-size:19px;text-align:left;}.mb-home .reader-controls{gap:10px;}.mb-home .reader-controls .btn{min-width:0;padding:12px 16px;font-size:16px;}}

.mb-home .reader-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Playful parent-child revision: movement responds to input; reading and targets stay still. */
.mb-home.family-home h1,.mb-home.family-home h2,.mb-home.family-home h3,.mb-home.family-home .brandname,.mb-home.family-home .shape-game,.mb-home.family-home .reader-page { font-family:'Musubi Maru','Hiragino Maru Gothic ProN','BIZ UDPGothic','Yu Gothic',sans-serif; }
.mb-home.family-home h1,.mb-home.family-home h2 { letter-spacing:.03em; font-weight:700; }
.mb-home.family-home .family-lead { line-height:1.9; }
.mb-home.family-home .nav .parent-nav { font-size:14px; padding:10px 14px; border:1px solid #aab9a5; border-radius:999px; }
.mb-home .walk-scene { position:relative; isolation:isolate; border-radius:24px; overflow:hidden; margin:12px auto 0; max-width:760px; }
.mb-home .walk-landscape { display:block; width:100%; height:auto; }
.mb-home .walk-traveller { position:absolute; width:14%; left:3%; bottom:11%; transition:transform 1.1s cubic-bezier(.35,0,.25,1); }
.mb-home .walk-poko { display:block; width:100%; height:auto; }
.mb-home .walk-scene[data-steps="1"] .walk-traveller { transform:translateX(190%); }
.mb-home .walk-scene[data-steps="2"] .walk-traveller { transform:translateX(375%); }
.mb-home .walk-scene[data-steps="3"] .walk-traveller { transform:translateX(560%); }
.mb-home .flower-petals { opacity:0; transform:scale(.2); transition:transform .65s .3s ease,opacity .3s .3s ease; }
.mb-home .walk-scene[data-steps="1"] .flower-one .flower-petals,.mb-home .walk-scene[data-steps="2"] .flower-one .flower-petals,.mb-home .walk-scene[data-steps="2"] .flower-two .flower-petals,.mb-home .walk-scene[data-steps="3"] .flower-petals { opacity:1; transform:scale(1); }
.mb-home .is-matched-round .walk-poko { animation:poko-step 1.1s ease both; }
.mb-home .is-matched-round .shape-choice.is-matched svg { animation:shape-happy .7s ease both; }
.mb-home .walk-butterfly { position:absolute; width:9%; height:auto; left:21%; top:20%; }
.mb-home .walk-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 24px; margin:14px 0 22px; font-size:18px; }
.mb-home .shape-target { margin-top:20px; }
.mb-home .parent-lead { font-size:18px; line-height:1.9; }
.mb-home .parent-contact-link { margin-top:18px; }
.mb-home.family-home .contact h2 { font-size:clamp(29px,4vw,44px); line-height:1.5; }
.mb-home.family-home .parent-contact>summary { border:2px solid #253f35; border-radius:14px; background:#fffaf0; padding:18px 22px; margin-top:24px; font-size:18px; }
.mb-home.family-home .parent-contact[open]>summary { margin-bottom:28px; }
.mb-home .shape-game.motion-reduced *, .mb-home .shape-game.page-hidden * { animation:none!important; transition:none!important; }
@keyframes poko-step {0%,100%{transform:translateY(0) rotate(0)}25%,65%{transform:translateY(-15%) rotate(-5deg)}45%,85%{transform:translateY(0) rotate(4deg)}}
@keyframes shape-happy {0%,100%{transform:scale(1)}50%{transform:scale(1.12) rotate(6deg)}}
@media(prefers-reduced-motion:reduce){.mb-home .shape-game *{animation:none!important;transition:none!important;}}
@media(max-width:760px){.mb-home .walk-caption{font-size:16px;gap:8px;flex-direction:column;}.mb-home .walk-scene{border-radius:14px;}.mb-home.family-home .parent-contact>summary{font-size:16px;padding:16px 12px;}}

.mb-home .motion-note { font-size:14px; color:#4d6258; text-align:left; margin:0 0 12px; }

@font-face { font-family:'Musubi Maru'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/zen-maru-gothic-regular-subset.woff2?v=minimal-controls-20261105') format('woff2'); }
@font-face { font-family:'Musubi Maru'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/zen-maru-gothic-bold-subset.woff2?v=minimal-controls-20261105') format('woff2'); }
/* Leave 300px for the existing normal-size Turnstile, including a desktop scrollbar at 320px. */
@media(max-width:340px){.mb-home.family-home .contact{padding-inline:2px;}.mb-home.family-home .contact>h2,.mb-home.family-home .contact>p{padding-inline:8px;}}

/* Keep the response scene beside the answer choices, also in short mobile viewports. */
.mb-home .shape-target { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 18px; padding:12px; }
.mb-home .shape-target>[data-target] { margin:0; }
.mb-home .shape-target>[data-target] svg { width:70px; height:70px; }
.mb-home .shape-target>strong { margin:0; }
.mb-home .walk-caption { margin:12px 0; }
.mb-home .walk-scene { margin-bottom:22px; }
@media(max-width:760px){.mb-home .shape-target{gap:6px 10px;}.mb-home .shape-target>span{font-size:15px;}.mb-home .shape-target>[data-target] svg{width:54px;height:54px;}.mb-home .shape-target>strong{font-size:20px;}.mb-home .shape-status{font-size:18px;min-height:3.3em;}}

/* Automatic play: answer targets stay fixed and keyboard focus is retained. */
.mb-home .shape-choice[aria-disabled="true"] { cursor:default; }
.mb-home .balloon-game { background:#fff; border:2px solid #d4ddc9; border-radius:28px; padding:28px; text-align:center; }
.mb-home .balloon-sky { position:relative; isolation:isolate; overflow:hidden; width:100%; height:360px; display:block; padding:0; border:2px solid #9eBCb3; border-radius:24px; background:linear-gradient(#e1eeef,#f4f5e7); cursor:pointer; touch-action:manipulation; color:#253f35; }
.mb-home .sky-invite { position:absolute; inset:45% 0 auto; font:700 24px 'Musubi Maru','Hiragino Maru Gothic ProN',sans-serif; pointer-events:none; }
.mb-home .sky-cloud { position:absolute; height:22px; width:100px; border-radius:50px; background:#fffaf0; pointer-events:none; }
.mb-home .sky-cloud::before { content:''; position:absolute; width:46px; height:42px; border-radius:50%; left:20px; bottom:0; background:inherit; }
.mb-home .cloud-one { left:8%; top:18%; }.mb-home .cloud-two { right:7%; top:31%; transform:scale(.7); }
.mb-home .play-balloon { position:absolute; display:block; width:54px; height:66px; border-radius:50% 50% 47% 47%; background:radial-gradient(ellipse at 28% 23%,#ffffffb3 0 8%,transparent 10%),var(--balloon-color); pointer-events:auto; cursor:pointer; animation:balloon-rise 4.2s ease-out both; transform:translateX(-50%); }
.mb-home .play-balloon::before { content:''; position:absolute; left:22px; top:62px; width:10px; height:10px; background:var(--balloon-color); clip-path:polygon(50% 0,100% 100%,0 100%); }
.mb-home .play-balloon::after { content:''; position:absolute; left:26px; top:71px; width:13px; height:37px; border-left:1.5px solid #4d6258; border-radius:50%; }
.mb-home .balloon-status { font:700 20px/1.8 'Musubi Maru','Hiragino Maru Gothic ProN',sans-serif; min-height:3.6em; margin:20px 0; }
.mb-home .balloon-controls { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.mb-home .balloon-game .game-parent-note { margin:20px auto 0; }
.mb-home .balloon-game.page-hidden .play-balloon,.mb-home .balloon-game.page-hidden .balloon-pop { animation-play-state:paused; }
.mb-home .balloon-game.motion-reduced .play-balloon { animation:none; }
@keyframes balloon-rise {0%{transform:translate(-50%,0) scale(.85);opacity:1;}15%{transform:translate(calc(-50% + var(--drift)/3),-24px) scale(1);opacity:1;}85%{opacity:1;}100%{transform:translate(calc(-50% + var(--drift)),var(--rise)) scale(1);opacity:0;}}
@media(prefers-reduced-motion:reduce){.mb-home .balloon-game .play-balloon{animation:none;}}
@media(max-width:760px){.mb-home .balloon-game{padding:20px 12px;}.mb-home .balloon-sky{height:320px;border-radius:16px;}.mb-home .balloon-status{font-size:18px;}}

/* A hash destination keeps semantic focus without a frame around the whole game.
   Keyboard position remains visible on the heading; interactive controls keep a dark focus ring. */
.mb-home #play:focus { outline:none; }
.mb-home #play:focus-visible .family-section-head h2 { text-decoration-line:underline; text-decoration-color:#253f35; text-decoration-thickness:3px; text-underline-offset:.2em; }
.mb-home #play a:focus-visible,.mb-home #play button:focus-visible,.mb-home #play input:focus-visible { outline:3px dashed #253f35; outline-offset:5px; }
.mb-home #play [data-finish-title]:focus { outline:none; }
.mb-home #play [data-finish-title]:focus-visible { text-decoration-line:underline; text-decoration-color:#253f35; text-decoration-thickness:3px; text-underline-offset:.2em; }

/* Parent-only product information stays outside the free story reader. */
.mb-home .book-store-card { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:24px; padding:28px; border:2px solid #d4ddc9; border-radius:22px; background:#f0f3e9; font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif; }
.mb-home .book-store-label { margin:0 0 10px; color:#253f35; font-size:14px; font-weight:700; }
.mb-home .book-store-card h3 { margin:0 0 12px; font:700 22px/1.5 system-ui,-apple-system,"Noto Sans JP",sans-serif; }
.mb-home .book-store-card p { line-height:1.8; }
.mb-home .book-store-card .book-store-note { font-size:14px; margin-bottom:0; }
.mb-home .book-store-button { white-space:normal; text-align:center; min-width:0; max-width:100%; font-size:16px; }
@media(max-width:760px) { .mb-home .book-store-card { grid-template-columns:minmax(0,1fr); padding:22px 18px; gap:20px; } .mb-home .book-store-button { width:100%; } }

/* Progressive book spreads: source order is left to right; no JS keeps every scene visible. */
.mb-home .reader-ready .reader-pages { margin:24px auto; padding:8px; background:#d5c9ac; border-radius:8px 16px 16px 8px; box-shadow:0 8px 20px #253f3514; max-width:780px; }
.mb-home .reader-ready .reader-page { margin:0; max-width:none; border-radius:3px 10px 10px 3px; padding:20px; min-width:0; background:#fffdf5; animation:book-page-in 220ms ease-out; }
.mb-home .reader-ready .reader-page img { border-radius:3px; }
.mb-home .reader-ready .reader-page figcaption p { font-size:clamp(18px,2vw,22px); }
.mb-home .reader-spread .reader-pages { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2px; max-width:none; }
.mb-home .reader-spread .reader-page:nth-child(odd) { border-radius:10px 2px 2px 10px; box-shadow:inset -10px 0 18px -18px #253f35; }
.mb-home .reader-spread .reader-page:nth-child(even) { border-radius:2px 10px 10px 2px; box-shadow:inset 10px 0 18px -18px #253f35; }
@keyframes book-page-in { from { opacity:.65; transform:translateX(6px); } to { opacity:1; transform:none; } }
@media(max-width:760px) { .mb-home .reader-ready .reader-pages{padding:5px;} .mb-home .reader-ready .reader-page{padding:12px;} }
@media(prefers-reduced-motion:reduce) { .mb-home .reader-ready .reader-page{animation:none;} }

/* A small, readable directory of the three existing free web editions. */
.mb-home .book-discovery{padding-block:32px 20px}
.mb-home .book-discovery h2{font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.5;margin:0 0 18px}
.mb-home .book-discovery>p{max-width:48rem}
.mb-home .book-title-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0;padding:0;list-style:none}
.mb-home .book-title-links li{min-width:0;border-top:2px solid #aebdaf;padding-top:12px}
.mb-home .book-title-links a{display:block;padding-block:8px;font-weight:700;text-decoration:underline;text-underline-offset:5px;overflow-wrap:anywhere}
.mb-home .book-title-links span{display:block;font-size:.875rem;color:#4d6258}
@media(max-width:760px){.mb-home .book-title-links{grid-template-columns:minmax(0,1fr);gap:12px}.mb-home .book-discovery{padding-block:24px 12px}}

/* Silent, short pop feedback. The balloon is removed before this decoration appears. */
.mb-home .balloon-pop { position:absolute; width:70px; height:70px; pointer-events:none; border:4px solid var(--balloon-color); border-radius:50%; transform:translate(-50%,-50%); animation:balloon-pop 240ms ease-out both; }
.mb-home .balloon-pop::before,.mb-home .balloon-pop::after { content:''; position:absolute; inset:-12px; border:4px dashed var(--balloon-color); border-radius:50%; }
.mb-home .balloon-pop::after { inset:12px; border-width:3px; transform:rotate(25deg); }
.mb-home [data-balloon-pop][aria-disabled="true"] { opacity:.6; cursor:default; }
.mb-home .balloon-game.motion-reduced .balloon-pop { display:none; animation:none; }
@keyframes balloon-pop { from{transform:translate(-50%,-50%) scale(.45);opacity:1;}to{transform:translate(-50%,-50%) scale(1.15);opacity:0;} }
@media(prefers-reduced-motion:reduce){.mb-home .balloon-game .balloon-pop{display:none;animation:none;}}


.mb-home .home-parent-details{margin:32px 0;border:1px solid var(--line);border-radius:16px;padding:12px 20px;background:var(--white)}
.mb-home .home-parent-details>summary{cursor:pointer;min-height:48px;align-content:center;font-weight:700}
.mb-home .home-parent-details .family-guide{padding:24px 0;margin:0}
.mb-home .home-parent-details>summary:focus-visible{outline:3px solid #005fcc;outline-offset:3px}

.mb-home[data-family-kind="play"] .family-breadcrumb,.mb-home[data-family-kind="play"] #game-chooser-title{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.mb-home[data-family-kind="play"] .play-heading{padding:12px 0 20px}
.mb-home[data-family-kind="play"] .play-heading h1{font-size:clamp(26px,4vw,40px);line-height:1.4}
@media(max-width:760px){.mb-home .family-hero{padding:20px 0 28px;gap:12px}.mb-home .family-hero h1{font-size:36px;line-height:1.35}.mb-home .family-hero .family-companion--large{max-width:260px}.mb-home .family-hero .actions{margin-top:20px;gap:10px}.mb-home .family-hero .actions .btn{padding:12px 16px;min-height:52px}}
.mb-home[data-family-kind="play"] .family-breadcrumb:focus-within{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none}
