/*
Theme Name: Hirameki Colorful
Template: ひらめきのいえ
Version: 1.2.1
Text Domain: hirameki-colorful
*/

body{margin:0;background:#fff;color:#222;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}img{max-width:100%;height:auto} [id^="hirameki-"]{margin:auto}html{scroll-behavior:smooth} .production-article{max-width:100%;box-sizing:border-box}.article-copy{overflow-wrap:anywhere}.article-copy img{height:auto!important;max-width:100%}.wpcf7{max-width:760px;margin:auto}.wpcf7 form{display:block!important}.wpcf7 .contact__field{padding:16px 0}.wpcf7 label{font-weight:700}.wpcf7 input:not([type="radio"]):not([type="checkbox"]),.wpcf7 textarea{max-width:100%;box-sizing:border-box;font-size:16px;padding:12px;border:1px solid #194e85;border-radius:6px}.wpcf7 textarea{width:100%}.wpcf7 .contact__name-wrapper{display:flex;gap:12px;flex-wrap:wrap}.wpcf7 .contact__name-wrapper span{flex:1;min-width:100px}.wpcf7 .contact__radio-wrapper label{display:inline-block;margin:8px}.wpcf7 button{min-height:48px;border:1px solid #194e85;border-radius:26px;background:#194e85;color:#fff;padding:10px 24px;font-weight:700}.wpcf7 .contact__submit{display:flex;justify-content:center;gap:16px}.wpcf7 input[type="submit"]{background:#194e85!important;color:#fff!important;border-radius:26px!important}header .desktop-site-nav{display:none!important}@media(min-width:760px){header .desktop-site-nav{display:flex!important}}
[id^="hirameki-"]{box-sizing:border-box;max-width:100%}.wpcf7 input[type="button"]{min-height:48px;border-radius:26px!important;background:#194e85!important;color:#fff!important;font-weight:700} .wpcf7-response-output{line-height:1.8}.production-article .article-copy{font-size:16px;line-height:1.9}.production-article .article-copy h2{font-size:23px;line-height:1.6}#hirameki-contact-phone #contact-form-section h2{color:#194e85}

[id^="hirameki-"]{box-sizing:border-box!important}.hirameki-phone-preview{box-sizing:border-box!important;border:0!important;border-radius:0!important;max-width:none!important}

/* Compact shared mobile navigation */
body [id^="hirameki-"] nav.site-mobile-menu{box-sizing:border-box!important;position:relative!important;inset:auto!important;display:block!important;width:100%!important;margin:0!important;padding:10px 20px 16px!important;background:#fff!important;color:#194e85!important;border:0!important;border-bottom:4px solid #e5e51d!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;box-shadow:none!important}
body [id^="hirameki-"] nav.site-mobile-menu[hidden]{display:none!important}
body [id^="hirameki-"] .site-mobile-menu a,body [id^="hirameki-"] .site-mobile-menu summary{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:44px!important;padding:10px 4px!important;margin:0!important;font:700 16px/1.5 "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif!important;letter-spacing:0!important;color:#194e85!important;text-decoration:none!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:100%!important}
body [id^="hirameki-"] .site-mobile-menu .mobile-menu-row,body [id^="hirameki-"] .site-mobile-menu .mobile-menu-about{border-bottom:1px solid #dce4ec!important}
body [id^="hirameki-"] .site-mobile-menu details{margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
body [id^="hirameki-"] .site-mobile-menu summary{list-style:none!important;cursor:pointer}
body [id^="hirameki-"] .site-mobile-menu summary::-webkit-details-marker{display:none}
body [id^="hirameki-"] .site-mobile-menu summary:after{content:'＋'!important;display:inline-block!important;position:static!important;transform:none!important;border:0!important;width:auto!important;height:auto!important;background:none!important;font-size:18px!important;color:#e94816!important}
body [id^="hirameki-"] .site-mobile-menu details[open]>summary:after{content:'−'!important}
body [id^="hirameki-"] .site-mobile-menu .mobile-menu-about>div{padding:0 8px 6px 14px!important;border-left:3px solid #e5e51d!important;margin-left:4px!important}
body [id^="hirameki-"] .site-mobile-menu .mobile-menu-about a{font-size:15px!important;font-weight:500!important}
body [id^="hirameki-"] .site-mobile-menu .mobile-menu-actions{display:grid!important;gap:4px!important;margin:12px 0 0!important;padding:0!important}
body [id^="hirameki-"] .site-mobile-menu a.mobile-menu-trial{justify-content:center!important;min-height:46px!important;background:#e94816!important;color:#fff!important;border-radius:25px!important;padding:10px 14px!important}
body [id^="hirameki-"] .site-mobile-menu a.mobile-menu-contact{justify-content:center!important;min-height:40px!important;font-size:14px!important}
@media(min-width:760px){body [id^="hirameki-"] nav.site-mobile-menu{display:none!important}}

/* Information hierarchy */
.hirameki-quick{max-width:1000px;margin:24px auto;padding:24px;background:#fff9d3;border:2px solid #e3df20;border-radius:18px;color:#194f84}.hirameki-quick h2{margin:0 0 16px!important;font-size:24px!important}.hirameki-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hirameki-quick article{background:#fff;padding:18px;border-top:5px solid #ef4919;border-radius:10px}.hirameki-quick article:nth-child(2){border-color:#194f84}.hirameki-quick h3{font-size:21px!important;margin:0 0 8px!important}.hirameki-quick p{font-size:16px!important;line-height:1.8!important;margin:6px 0!important}.program-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.program-shortcuts a{display:block;padding:10px 16px;background:#fff;color:#194f84;border:1px solid #194f84;border-radius:24px;font-weight:700;font-size:15px}.home-latest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-latest article{background:#fff9d3;border-top:5px solid #ef4919;padding:22px;border-radius:10px}.home-latest article:nth-child(2){background:#eef4fa;border-color:#194f84}.home-latest article:nth-child(3){background:#fff1e9;border-color:#dfd91d}.home-latest time{font-size:14px;color:#194f84}.home-latest h3{font-size:20px!important;line-height:1.65!important;margin:10px 0!important}.home-latest a{color:#194f84;text-decoration:underline!important;font-weight:700}.approach-note{text-align:center;font-weight:700;color:#194f84;margin:24px 0!important}@media(max-width:759px){.hirameki-quick{margin:20px 18px;padding:20px}.hirameki-quick-grid,.home-latest{grid-template-columns:1fr}.program-shortcuts a{flex:1 1 40%;text-align:center}.home-latest article{padding:18px}}
body #hirameki-program-phone nav.program-shortcuts{display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding:12px 0 0!important;margin:12px 0 0!important;border:0!important;background:transparent!important}body #hirameki-program-phone nav.program-shortcuts a{display:block!important;padding:10px 16px!important;margin:0!important;border:1px solid #194f84!important;border-radius:24px!important;font-size:15px!important;line-height:1.6!important;background:#fff!important;color:#194f84!important}body #hirameki-program-phone nav.program-shortcuts:after{display:none!important}
@media(min-width:760px){body [id^="hirameki-"] header nav.desktop-site-nav{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px 16px!important;min-width:0!important;max-width:calc(100% - 140px)!important}body [id^="hirameki-"] header nav.desktop-site-nav>a,body [id^="hirameki-"] header nav.desktop-site-nav summary{font-size:13px!important;line-height:1.6!important;font-weight:700!important;white-space:nowrap!important;color:#194f84!important;padding:8px 0!important;border:0!important}body [id^="hirameki-"] header nav.desktop-site-nav .desktop-menu-about{position:relative;border:0!important;padding:0!important;margin:0!important;background:none!important;overflow:visible!important}body [id^="hirameki-"] header nav.desktop-site-nav summary{cursor:pointer;list-style:none}body [id^="hirameki-"] header nav.desktop-site-nav summary::-webkit-details-marker{display:none}body [id^="hirameki-"] header nav.desktop-site-nav summary:after{content:' ＋';color:#ef4919}body [id^="hirameki-"] header nav.desktop-site-nav details[open] summary:after{content:' −'}body [id^="hirameki-"] header nav.desktop-site-nav .desktop-menu-about>div{position:absolute;z-index:100;top:100%;left:0;min-width:230px;background:white;padding:12px 18px;border:1px solid #e3df20;border-radius:10px;box-shadow:0 8px 20px #194f8420}body [id^="hirameki-"] header nav.desktop-site-nav .desktop-menu-about a{display:block!important;padding:12px 0!important;font-size:14px!important;border:0!important;color:#194f84!important;white-space:nowrap}body [id^="hirameki-"] header nav.desktop-site-nav>a.desktop-trial{background:#ef4919!important;color:#fff!important;border-radius:24px!important;padding:10px 16px!important}}

/* Readable copy, meaningful line breaks and faithful photographs */
body [id^="hirameki-"] p{word-break:normal!important;line-break:strict!important;overflow-wrap:break-word;text-wrap:pretty;font-size:16px!important;line-height:1.85!important}
body [id^="hirameki-"] .phrase{display:inline-block;white-space:nowrap;max-width:100%;vertical-align:baseline}
body [id^="hirameki-"] h1,body [id^="hirameki-"] h2,body [id^="hirameki-"] h3,body [id^="hirameki-"] summary{word-break:normal;line-break:strict;text-wrap:balance}
body [id^="hirameki-"] p.eyebrow,body [id^="hirameki-"] p[class$="kicker"]{font-size:12px!important;line-height:1.7!important}
body [id^="hirameki-"] p.crumb{font-size:13px!important}body [id^="hirameki-"] p.note,body [id^="hirameki-"] .article-archive{font-size:14px!important;line-height:1.8!important}
body [id^="hirameki-"] .site-footer .footer-cta a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:50px!important;padding:12px 18px!important;border:1px solid #194e85!important;border-radius:28px!important;font-size:15px!important;font-weight:700!important;line-height:1.6!important;box-shadow:none!important}
body [id^="hirameki-"] .site-footer .footer-cta a:first-child{border-color:#ef4919!important;background:#ef4919!important;color:white!important}
body [id^="hirameki-"] .site-footer .footer-cta a:nth-child(2){background:white!important;color:#194e85!important}
body [id^="hirameki-"] .site-footer .footer-links a{font-size:15px!important;min-height:44px!important;box-sizing:border-box!important;line-height:1.6!important}
body [id^="hirameki-"] .site-footer .footer-address{font-size:14px!important}body [id^="hirameki-"] .site-footer .copyright{font-size:12px!important}
body [id^="hirameki-"] .wpcf7 .contact__submit button,body [id^="hirameki-"] .wpcf7 input[type="submit"],body [id^="hirameki-"] .wpcf7 input[type="button"]{border-radius:28px!important;min-width:180px!important;min-height:50px!important;padding:12px 24px!important;background:#194e85!important;color:white!important;font-size:16px!important;letter-spacing:normal!important;border:1px solid #194e85!important}
body #hirameki-design .intro{font-size:16px!important}body #hirameki-design .section-head>p{max-width:40em;margin:18px auto 0!important}body #hirameki-design .trial-details{font-size:16px!important;line-height:1.85!important;margin:20px 0!important}
body #hirameki-design .trial-photo{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
body #hirameki-design .moment{min-width:0!important}body #hirameki-design .moment .photo{display:block!important;width:100%!important;height:auto!important;max-width:none!important;aspect-ratio:auto!important;object-fit:contain!important;clip-path:none!important;border-radius:12px!important}
body #hirameki-design .moment{display:block!important}body #hirameki-design .moment>div{margin-top:18px!important}body #hirameki-design .moment h3{font-size:20px!important;line-height:1.6!important}
body #hirameki-design .access .exterior{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;clip-path:none!important;border-radius:14px!important}
body #hirameki-access-phone .access-hero .hero-photo,body #hirameki-access-phone .access-hero img{height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;clip-path:none!important;border-radius:14px!important}
body #hirameki-program-phone .power>img,body #hirameki-about-phone .power>img,body #hirameki-education-phone .context-photo{display:block!important;width:100%!important;max-width:620px!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;border-radius:10px!important;clip-path:none!important;margin:16px auto!important}
body #hirameki-news-phone .article-copy img:not(.emoji){display:block;max-width:100%!important;height:auto!important;object-fit:contain!important;clip-path:none!important;margin:16px auto}
body #hirameki-news-phone .article-copy .emoji{display:inline!important;margin:0!important}
body #hirameki-news-phone .article-copy h2,body #hirameki-news-phone .article-copy h3,body #hirameki-news-phone .article-heading h1{font-size:22px!important;line-height:1.65!important;text-wrap:balance!important}
body #hirameki-news-phone .article-return{display:flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;width:248px!important;box-sizing:border-box!important;min-height:48px!important;padding:12px 16px!important;border:1px solid #194e85!important;border-radius:26px!important;font-size:15px!important;font-weight:700!important;line-height:1.6!important;text-decoration:none!important}
@media(max-width:759px){body #hirameki-design .moments{display:grid!important;grid-template-columns:1fr!important;gap:20px!important}body #hirameki-design .moment{padding:20px!important}body #hirameki-design .moment .photo{max-width:100%!important}body [id^="hirameki-"] .closing{padding-top:32px!important;padding-bottom:32px!important}body [id^="hirameki-"] .site-footer{padding-top:32px!important;padding-bottom:22px!important}body #hirameki-faq-phone .faq-section summary>span:not(.q):not(.indicator){font-size:16px!important;line-height:1.7!important;min-width:0!important;text-wrap:balance}body #hirameki-design #hirameki-trial .textlink{margin-top:20px!important}}
@media(min-width:760px){body [id^="hirameki-"] p{font-size:17px!important;line-height:1.85!important}body #hirameki-design .intro{font-size:18px!important}body #hirameki-design .moments{gap:22px!important}body #hirameki-design .moment{padding:22px!important}body #hirameki-news-phone .article-copy h2,body #hirameki-news-phone .article-copy h3{font-size:24px!important}body #hirameki-news-phone .article-heading h1{font-size:30px!important}body #hirameki-design .trial-photo{max-width:420px!important}body [id^="hirameki-"] .site-footer .footer-address{font-size:15px!important}}

body [id^="hirameki-"] .phrase{display:inline-block!important;white-space:nowrap!important;vertical-align:baseline!important}
body [id^="hirameki-"] .faq-section summary>span:nth-child(2){min-width:0!important}
body #hirameki-design .moment .photo{border-radius:12px!important}
@media(min-width:760px){body [id^="hirameki-"] header nav.desktop-site-nav>a,body [id^="hirameki-"] header nav.desktop-site-nav summary{font-size:14px!important}}
@media(max-width:359px){body [id^="hirameki-"] .phrase{white-space:normal!important}}
body #hirameki-design .moment .photo{aspect-ratio:3/2!important;object-fit:contain!important;background:#fff9d3!important}
body #hirameki-news-phone .article-copy br{display:initial!important}
body #hirameki-news-phone .article-copy{max-width:760px;margin-left:auto;margin-right:auto}
body #hirameki-news-phone .article-heading,body #hirameki-news-phone .article-archive{max-width:760px;margin-left:auto;margin-right:auto}
@media(min-width:760px){body #hirameki-design .trial-photo{float:none!important;margin:0 auto 24px!important}body #hirameki-news-phone .production-article{max-width:920px;margin:auto}}
@media(min-width:1000px){body #hirameki-design #hirameki-trial .trial{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;gap:22px!important;align-items:start!important}body #hirameki-design #hirameki-trial .trial>.eyebrow,body #hirameki-design #hirameki-trial .trial>h2,body #hirameki-design #hirameki-trial .trial>.steps,body #hirameki-design #hirameki-trial .trial>.cta,body #hirameki-design #hirameki-trial .trial>.textlink{grid-column:1/-1!important}body #hirameki-design #hirameki-trial .trial>.trial-photo{grid-column:1!important;grid-row:3/span 2!important;margin:0!important}body #hirameki-design #hirameki-trial .trial>p.muted{grid-column:2!important;grid-row:3!important;margin:0!important;text-align:left!important}body #hirameki-design #hirameki-trial .trial>.trial-details{grid-column:2!important;grid-row:4!important;margin:0!important;text-align:left!important}body #hirameki-design #hirameki-trial .trial>.cta{width:320px!important;max-width:100%!important;justify-self:center!important}body #hirameki-design #hirameki-trial .trial>br{display:none!important}}
@media(max-width:759px){
body [id^="hirameki-"].scroll-menu-floating header button[aria-controls]{position:fixed!important;top:calc(14px + env(safe-area-inset-top,0px))!important;right:18px!important;left:auto!important;z-index:10003!important;width:62px!important;height:62px!important;min-height:62px!important;border-radius:50%!important;box-shadow:0 4px 16px #194e8533!important;transform:translateY(-110px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .2s ease,opacity .2s ease!important}
body [id^="hirameki-"].scroll-menu-visible header button[aria-controls]{transform:translateY(0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
body [id^="hirameki-"].scroll-menu-open nav.site-mobile-menu:not([hidden]){position:fixed!important;top:calc(86px + env(safe-area-inset-top,0px))!important;right:14px!important;left:auto!important;bottom:auto!important;z-index:10002!important;width:calc(100% - 28px)!important;max-width:390px!important;max-height:calc(100dvh - 108px - env(safe-area-inset-top,0px))!important;margin:0!important;padding:12px 18px 16px!important;border:1px solid #dce4ec!important;border-bottom:4px solid #e5e51d!important;border-radius:16px!important;box-shadow:0 8px 30px #194e8533!important;overscroll-behavior:contain}
}
@media(prefers-reduced-motion:reduce){body [id^="hirameki-"] header button[aria-controls]{transition:none!important}}
@media(max-width:759px){body [id^="hirameki-"].scroll-menu-floating{overflow-anchor:none!important}}/* Three activity photographs share one clean frame; hide the source image's transparent roof. */
body #hirameki-design #hirameki-moments .moment img.photo{display:block!important;width:100%!important;height:auto!important;min-width:0!important;max-width:none!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center bottom!important;clip-path:none!important;border-radius:12px!important;background:transparent!important;float:none!important;margin:0!important}

/* 1.2.0: concise content and responsive reading rhythm. */
body [id^="hirameki-"] p,body [id^="hirameki-"] dd{line-break:strict;word-break:normal;text-wrap:pretty}
body [id^="hirameki-"] h2,body [id^="hirameki-"] h3{text-wrap:balance}
body #hirameki-design .compact-announcement{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px;padding:14px 20px!important;margin-top:12px!important;border-left:0;border-radius:10px}
body #hirameki-design .compact-announcement a{border:0;margin:0;padding:0;font-size:15px}
body #hirameki-design #hirameki-trial .trial{display:flex!important;flex-direction:column!important;align-items:center!important;gap:18px!important;padding:52px 24px 32px!important}
body #hirameki-design #hirameki-trial .trial>h2{margin:0!important}
body #hirameki-design #hirameki-trial .trial>p.muted{margin:0!important;text-align:center!important}
body #hirameki-design #hirameki-trial .trial-details{margin:0!important;text-align:center!important}
body #hirameki-design #hirameki-trial .trial-details p{margin:0!important}
body #hirameki-design #hirameki-trial .trial>.cta{width:360px!important;max-width:100%!important;margin:0!important}
body #hirameki-design .trial-links{display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap}
body #hirameki-design .trial-links .textlink{color:var(--ink)!important;font-weight:700;margin:0!important;font-size:15px}
body #hirameki-design .moment h3{min-height:0!important;line-height:1.6!important}
body #hirameki-program-phone .class-education-link{grid-column:1/-1;margin:0!important}
body #hirameki-program-phone #program-classes>.power{margin-top:0!important}
body #hirameki-program-phone #program-classes>.power>h3{min-height:0!important}
body #hirameki-program-phone #program-classes .power>img{aspect-ratio:3/2;object-fit:contain!important;height:auto!important;max-height:none!important;background:transparent}
body #hirameki-program-phone .capacity-note{margin-top:22px!important;font-size:15px}
body #hirameki-program-phone .simple-detail{margin:0;border-bottom:1px solid #b5c4d1}
body #hirameki-program-phone .simple-detail summary{cursor:pointer;padding:16px 8px;color:var(--ink);font-size:17px;font-weight:700;line-height:1.7}
body #hirameki-program-phone .simple-detail>div{padding:0 8px 20px}
body #hirameki-education-phone .power .photo-caption{font-size:13px;color:var(--ink);margin:8px 0 16px}
body #hirameki-contact-phone .contact-intro{padding:24px 22px!important}
body #hirameki-contact-phone .contact-intro h2{font-size:24px!important;margin-bottom:12px!important}
body #hirameki-contact-phone .contact-booking{padding:16px 20px!important;margin:18px 22px!important}
body #hirameki-contact-phone .contact-booking .next{margin:10px 0!important;min-height:48px!important}
body #hirameki-contact-phone .contact-booking .note{font-size:14px!important;margin:0!important}
body #hirameki-contact-phone .contact-line-note{margin:0 24px 28px;font-size:14px;color:var(--ink)}
body #hirameki-contact-phone .contact-line-note a{text-decoration:underline}
/* Keep Google branding visible, after the page rather than over content. */
body .grecaptcha-badge{position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;display:block!important;margin:16px 16px 16px auto!important;transform:none!important}
@media(min-width:760px){
body #hirameki-design .trial-links{margin-top:2px}
body #hirameki-about-phone #about-powers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body #hirameki-about-phone #about-powers>h2{grid-column:1/-1}
body #hirameki-about-phone #about-powers .power{grid-column:auto!important;margin:0!important}
body #hirameki-about-phone #about-powers .power h3{min-height:3.2em}
body #hirameki-program-phone #program-classes{gap:24px}
body #hirameki-contact-phone .contact-intro p{max-width:720px;margin:auto}
body #hirameki-contact-phone .contact-booking{max-width:720px;margin:20px auto!important;display:block!important}
body #hirameki-contact-phone .contact-line-note{max-width:720px;margin:0 auto 32px;padding:0 24px}
}
@media(max-width:759px){body #hirameki-program-phone #program-classes{display:grid;gap:20px}body #hirameki-program-phone #program-classes>h2{margin-bottom:0!important}body #hirameki-program-phone #program-classes>.note{margin-top:0!important}}

body #hirameki-about-phone #about-powers .power h3{display:block!important;text-wrap:balance}
