/*
Theme Name: Manhou Studio
Description: 万宝商事の企業サイト。OnePressのコンテンツを引き継ぐ子テーマ。
Template: onepress
Version: 1.0.0
Text Domain: manhou-studio
*/
:root{--mh-ink:#171a20;--mh-muted:#5c6066;--mh-line:#dedfe1;--mh-paper:#f4f4f4;--mh-gold:#9c8858;--mh-font:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:86px}.mh-site{font-family:var(--mh-font);color:var(--mh-ink);font-size:15px;line-height:1.9;background:#fff}.mh-site h1,.mh-site h2,.mh-site h3,.mh-site h4,.mh-site h5,.mh-site h6{font-family:var(--mh-font);color:inherit;font-weight:600;letter-spacing:.025em}.mh-site a{color:inherit}.mh-site a:hover{color:inherit;text-decoration:none}.mh-site img{max-width:100%}.mh-site button{font:inherit}.mh-site a:focus-visible,.mh-site button:focus-visible{outline:3px solid #4979c2;outline-offset:5px}.mh-skip{position:fixed;top:-100px;left:16px;z-index:100000;background:#fff;padding:8px 20px}.mh-skip:focus{top:10px}
.mh-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 3.5%;gap:25px;position:sticky;top:0;background:rgba(255,255,255,.97);backdrop-filter:blur(15px);z-index:1000;border-bottom:1px solid #e7e7e7}.admin-bar .mh-header{top:32px}.mh-brand{width:190px;flex-shrink:0;display:flex;align-items:center}.mh-brand img{width:190px;height:auto}.mh-nav{display:flex;gap:8px;align-items:center}.mh-nav a{padding:7px 12px;font-size:13px;font-weight:600;line-height:1.5;border-radius:4px;transition:background .2s}.mh-nav a:hover{background:#f0f0f0}.mh-header-contact{font-size:13px;font-weight:600;white-space:nowrap}.mh-header-contact span{margin-left:12px}.mh-menu,.mh-nav .mh-mobile-contact{display:none}
.mh-home p{margin:0}.mh-home h1,.mh-home h2,.mh-home h3{margin:0}.mh-section{padding:100px max(4.5vw,24px);scroll-margin-top:10px}.mh-eyebrow{font-size:11px;font-weight:600;letter-spacing:.2em;line-height:1.6}.mh-heading .mh-eyebrow{color:var(--mh-muted);margin-bottom:15px}.mh-heading h2{font-size:clamp(27px,2.5vw,40px);line-height:1.5;letter-spacing:.045em}.mh-section-intro{color:var(--mh-muted);line-height:2;margin-top:20px!important}.mh-hero{height:calc(100svh - 76px);min-height:600px;max-height:960px;position:relative;overflow:hidden;background:#d7dee1}.mh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(239,244,247,.22),transparent 45%,rgba(0,0,0,.38))}.mh-hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 58%}.mh-hero-copy{position:relative;z-index:1;text-align:center;padding:55px 20px 0;color:#171a20;text-shadow:0 1px 15px rgba(255,255,255,.3)}.mh-hero-copy h1{font-size:clamp(34px,3.3vw,56px);font-weight:600;line-height:1.55;letter-spacing:.065em;margin:13px 0 8px}.mh-hero-copy>p:last-child{font-size:15px;letter-spacing:.1em}.mh-mobile-break{display:none}.mh-hero-bottom{position:absolute;z-index:1;bottom:26px;left:24px;right:24px;text-align:center;color:#fff}.mh-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.mh-button{display:inline-flex;justify-content:center;align-items:center;min-width:230px;min-height:46px;padding:11px 26px;border:1px solid transparent;border-radius:3px;font-size:13px;font-weight:600;line-height:1.5;transition:background .2s,transform .2s}.mh-button:hover{transform:translateY(-2px)}.mh-button-white{background:#fff;color:#171a20!important}.mh-button-glass{background:rgba(23,26,32,.72);backdrop-filter:blur(5px);color:#fff!important}.mh-button-dark{background:#171a20;color:#fff!important}.mh-button-outline{border-color:#171a20}.mh-scroll{display:inline-flex;align-items:center;gap:14px;font-size:9px;letter-spacing:.18em;margin-top:24px}.mh-scroll span{font-size:18px}
.mh-services{padding-top:96px}.mh-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:42px}.mh-business-photo{display:block;position:relative;height:420px;overflow:hidden;border-radius:5px;color:#fff!important;background:#333}.mh-business-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.16),transparent 30%,rgba(0,0,0,.65))}.mh-business-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.mh-business-photo:hover img{transform:scale(1.035)}.mh-business-number{position:absolute;top:24px;left:25px;font-size:12px;z-index:1}.mh-business-title{position:absolute;bottom:28px;left:26px;z-index:1}.mh-business-title p{font-size:10px;letter-spacing:.15em;margin-bottom:8px}.mh-business-title h3{font-size:27px;font-weight:500}.mh-business-description{color:var(--mh-muted);font-size:13px;margin:22px 0 12px!important;line-height:1.95}.mh-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;font-size:13px;font-weight:600;padding:7px 0;border-bottom:1px solid currentColor}.mh-text-link span{font-size:18px}.mh-solution{display:grid;grid-template-columns:1.1fr 1fr;gap:6.5vw;align-items:center;background:var(--mh-paper);padding-top:64px;padding-bottom:64px}.mh-solution-visual{position:relative;min-height:620px;overflow:hidden;border-radius:5px;color:#fff}.mh-solution-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.65),rgba(0,0,0,.03) 90%)}.mh-solution-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center}.mh-solution-visual>div{position:relative;z-index:1;padding:42px}.mh-solution-visual h2{font-size:clamp(30px,3vw,44px);line-height:1.6;margin:18px 0}.mh-solution-visual>div>p:last-child{font-size:13px}.mh-solution-list article{padding:25px 0;border-bottom:1px solid #d2d3d5}.mh-solution-list article:first-child{padding-top:0}.mh-solution-list h3{font-size:24px;margin-bottom:16px}.mh-solution-list article p{font-size:14px;color:var(--mh-muted);margin:8px 0}.mh-solution-list .mh-text-link{margin-top:28px}
.mh-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:7vw;margin-top:45px}.mh-about-grid article>img{width:100%;height:285px;object-fit:contain;background:#f6f7f8;border-radius:4px;margin-bottom:30px}.mh-about-grid h3{font-size:23px;margin-bottom:20px}.mh-about-content{font-size:14px;color:var(--mh-muted);line-height:2.35}.mh-gallery{padding-top:70px;background:#f4f4f4}.mh-gallery-grid{margin-top:38px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mh-gallery-link{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;background:#e4e4e4;border-radius:3px}.mh-gallery-link img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.mh-gallery-link:hover img{transform:scale(1.05)}.mh-gallery-link span{position:absolute;right:0;bottom:0;padding:5px 10px;background:rgba(0,0,0,.65);color:#fff;font-size:10px;opacity:0;transition:opacity .2s}.mh-gallery-link:hover span,.mh-gallery-link:focus-visible span{opacity:1}.mh-team{display:grid;grid-template-columns:1.2fr 1fr;gap:7vw;align-items:center}.mh-team>div>p{color:var(--mh-muted);margin-top:25px;line-height:2}.mh-team-members article{display:flex;align-items:center;gap:30px}.mh-team-members img{width:50%;height:320px;object-fit:cover;object-position:center top;border-radius:4px}.mh-team-members .mh-eyebrow{color:var(--mh-muted);font-size:10px;letter-spacing:.1em}.mh-team-members h3{font-size:26px;margin-top:14px}.mh-news{border-top:1px solid var(--mh-line);padding-top:70px}.mh-heading-row{display:flex;justify-content:space-between;align-items:end;gap:24px}.mh-news-list{margin-top:36px}.mh-news-row{display:grid;grid-template-columns:120px 1fr 24px;gap:30px;align-items:center;padding:28px 0;border-bottom:1px solid var(--mh-line)}.mh-news-row time{font-size:12px;color:var(--mh-muted)}.mh-news-row h3{font-size:16px;line-height:1.9;font-weight:500}.mh-news-row:hover h3{text-decoration:underline;text-underline-offset:5px}.mh-news-row>span{font-size:23px}.mh-contact{display:grid;grid-template-columns:1.3fr 1fr;gap:6vw;background:#eeedeb}.mh-contact h2{font-size:clamp(36px,3.5vw,52px);line-height:1.55;margin:18px 0}.mh-contact>div>p:not(.mh-eyebrow){color:var(--mh-muted)}.mh-contact .mh-actions{justify-content:start;margin-top:30px;gap:12px}.mh-contact .mh-button{min-width:210px}.mh-access{padding:14px 0 0 5vw;border-left:1px solid #cfcfcb;align-self:center;font-size:14px;line-height:2}.mh-access h3{font-size:20px;margin:18px 0}.mh-access .mh-text-link{margin-top:22px}.mh-contact-form{grid-column:1/-1}.mh-footer{padding:55px 4.5% 25px;background:#fff;font-size:11px;color:var(--mh-muted)}.mh-footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:40px}.mh-footer-brand{font-size:22px;letter-spacing:.22em;color:var(--mh-ink)!important;font-weight:600;line-height:1.5}.mh-footer-brand span{display:block;font-size:10px;letter-spacing:.12em;margin-top:6px}.mh-footer-top p{margin:0;letter-spacing:.08em}.mh-footer-bottom{border-top:1px solid var(--mh-line);padding-top:20px;display:flex;justify-content:space-between;gap:20px}.mh-footer-bottom nav{display:flex;gap:22px;flex-wrap:wrap}.mh-lightbox{border:0;padding:50px 20px 20px;background:#111;max-width:94vw;max-height:94svh;color:#fff;border-radius:5px}.mh-lightbox::backdrop{background:rgba(0,0,0,.8)}.mh-lightbox img{display:block;max-width:85vw;max-height:78svh;object-fit:contain}.mh-lightbox-close{position:absolute;right:16px;top:10px;background:transparent;color:#fff;border:0;cursor:pointer;font-size:13px}
/* Interior pages retain their WordPress bodies and media. */
.mh-site:not(.home) .page-header{background:#f4f4f4;border:0;padding:60px 0}.mh-site .page-title{font-size:34px;letter-spacing:.04em}.mh-site .entry-content{font-size:15px;line-height:2.1}.mh-site .entry-content h2{font-size:28px;margin-top:48px}.mh-site .entry-content h3{font-size:23px;margin-top:32px}.mh-site .entry-content a{text-decoration:underline;text-underline-offset:4px}.mh-site .entry-content img{border-radius:3px}.mh-site .entry-title{letter-spacing:.025em;line-height:1.6}.mh-site .entry-meta{color:var(--mh-muted);font-size:12px}.mh-site .site-content{background:#fff}.mh-site #content-inside{padding-top:65px;padding-bottom:80px}.mh-site .btn-theme-primary,.mh-site input[type=submit]{background:#171a20;color:#fff}.mh-site .page-numbers.current{background:#171a20}.mh-interior-hero{position:relative;min-height:420px;background:#25282b;display:flex;align-items:center;padding:70px 7vw;color:#fff;overflow:hidden}.mh-interior-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mh-interior-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.1))}.mh-interior-hero>div{position:relative;z-index:1}.mh-interior-hero h1{font-size:clamp(32px,4vw,54px);margin:15px 0;line-height:1.5}.mh-page-body{max-width:1120px;margin:auto;padding:65px 30px 90px}.mh-breadcrumb{font-size:12px;color:var(--mh-muted);margin-bottom:36px}.mh-breadcrumb span{padding:0 12px}.mh-page-contact{margin-top:60px;padding:35px;background:#f4f4f4;display:flex;gap:30px;justify-content:space-between;align-items:center}.mh-page-contact p{margin:0}
@media(min-width:1600px){.mh-section{padding-left:max(5vw,calc((100vw - 1500px)/2));padding-right:max(5vw,calc((100vw - 1500px)/2))}.mh-business-photo{height:480px}}
@media(max-width:1100px){.mh-nav{gap:0}.mh-nav a{font-size:12px;padding:7px 9px}.mh-brand,.mh-brand img{width:165px}.mh-header{gap:12px;padding:0 24px}.mh-header-contact{font-size:12px}.mh-business-photo{height:340px}.mh-section{padding-top:70px;padding-bottom:70px}.mh-solution-visual{min-height:600px}.mh-solution-visual>div{padding:28px}.mh-team-members article{gap:18px}.mh-team-members h3{font-size:23px}.mh-team-members img{height:270px}.mh-contact .mh-actions{flex-direction:column;align-items:start}}
@media(max-width:800px){html{scroll-padding-top:72px}.mh-header{height:64px;padding:0 20px}.mh-brand,.mh-brand img{width:160px}.mh-header-contact{margin-left:auto;font-size:11px}.mh-menu{display:flex;gap:10px;align-items:center;border:0;border-radius:3px;background:#eee;padding:7px 10px;font-size:11px;cursor:pointer}.mh-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;padding:20px;box-shadow:0 15px 25px #0001}.mh-nav.is-open{display:flex;flex-direction:column;align-items:stretch}.mh-nav a{padding:13px;font-size:14px}.mh-nav .mh-mobile-contact{display:block}.mh-hero{height:calc(88svh - 64px);min-height:560px;max-height:800px}.mh-hero-copy{padding-top:35px}.mh-hero-copy h1{font-size:36px}.mh-hero-copy>p:last-child{font-size:12px}.mh-business-grid{gap:18px;grid-template-columns:1fr}.mh-business-photo{height:440px}.mh-business-description{max-width:650px}.mh-business-grid article{margin-bottom:20px}.mh-solution{grid-template-columns:1fr;gap:30px}.mh-solution-visual{min-height:470px}.mh-solution-list h3{font-size:23px}.mh-about-grid{gap:30px}.mh-about-grid article>img{height:220px}.mh-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mh-team{grid-template-columns:1fr;gap:36px}.mh-team-members article{max-width:550px}.mh-team-members img{width:240px;height:300px}.mh-contact{grid-template-columns:1fr;gap:45px}.mh-contact .mh-actions{flex-direction:row}.mh-access{padding:30px 0 0;border-left:0;border-top:1px solid #ccc}.mh-footer-top{align-items:start;flex-wrap:wrap}.mh-footer-top p{width:100%;order:3}.mh-footer-bottom{flex-direction:column}.mh-heading-row{align-items:start}.mh-news-row{grid-template-columns:86px 1fr 18px;gap:18px}.mh-news-row h3{font-size:14px}.mh-heading-row .mh-text-link{white-space:nowrap;font-size:11px;gap:12px}.mh-page-contact{align-items:start;flex-direction:column}.mh-interior-hero{min-height:350px}}
@media(max-width:520px){.mh-header-contact{display:none}.mh-menu{margin-left:auto}.mh-section{padding:58px 22px}.mh-hero{min-height:600px;height:calc(94svh - 64px)}.mh-mobile-break{display:block}.mh-hero-copy h1{font-size:32px;line-height:1.6;margin-top:12px}.mh-hero-copy{padding:28px 20px 0}.mh-hero-image{object-position:56% center}.mh-hero-copy>p:last-child{font-size:11px;letter-spacing:.03em}.mh-hero-bottom{left:22px;right:22px;bottom:20px}.mh-hero-bottom .mh-actions{gap:10px}.mh-hero-bottom .mh-button{min-width:0;flex:1;padding:13px 12px}.mh-heading h2{font-size:26px;line-height:1.65}.mh-section-intro{font-size:13px}.mh-business-grid{margin-top:30px}.mh-business-photo{height:370px}.mh-business-title h3{font-size:28px}.mh-solution-visual{min-height:430px}.mh-solution-visual>div{padding:25px}.mh-solution-visual h2{font-size:32px}.mh-about-grid{grid-template-columns:1fr;margin-top:30px}.mh-about-grid article>img{height:auto;max-height:300px}.mh-about-content{font-size:13px}.mh-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mh-team-members img{width:52%;height:250px}.mh-team-members h3{font-size:22px}.mh-team-members .mh-eyebrow{font-size:9px}.mh-team>div>p{font-size:13px}.mh-heading-row{flex-direction:column;gap:15px}.mh-news-row{grid-template-columns:1fr 18px;gap:8px;padding:22px 0}.mh-news-row time{grid-column:1/-1}.mh-news-row h3{font-size:14px}.mh-contact h2{font-size:38px}.mh-contact .mh-actions{flex-direction:column;align-items:stretch}.mh-contact .mh-button{width:100%}.mh-footer{padding:40px 22px 24px}.mh-footer-top p{font-size:11px}.mh-footer-bottom nav{gap:12px 20px}.mh-page-body{padding:35px 22px 55px}.mh-site .page-title{font-size:28px}.mh-interior-hero{padding:50px 24px;min-height:320px}.mh-site #content-inside{padding-top:35px}.mh-site .entry-content{font-size:14px}}
@media(max-width:782px){.admin-bar .mh-header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mh-site *{transition:none!important;animation:none!important}}
/* Premium technology hero. Previous illustrated artwork is archived separately. */
.mh-hero{background:#07121f}.mh-hero:after{background:linear-gradient(180deg,rgba(2,8,17,.15),transparent 45%,rgba(2,8,17,.3))}.mh-hero-copy{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.2)}.mh-hero-image{object-position:center 65%}.mh-hero-bottom{color:#fff}.mh-hero .mh-button-white{background:#f7f7f7;color:#171a20!important}.mh-hero .mh-button-glass{background:rgba(20,29,39,.78);color:#fff!important;border-color:rgba(255,255,255,.45);backdrop-filter:blur(6px)}
@media(max-width:600px){.mh-hero-image{object-position:center center}.mh-hero-copy>p:last-child{color:#e1e7ed}}
.mh-contact-intro{color:var(--mh-muted);font-size:15px}.mh-contact-intro h4{font-size:15px;font-weight:400;margin:0}
/* Keep the hero stationary as the opaque content sheet scrolls over it. */
.mh-home{--mh-header-height:76px;--mh-admin-height:0px;position:relative;isolation:isolate}
.admin-bar .mh-home{--mh-admin-height:32px}
.mh-home .mh-hero{position:sticky;top:calc(var(--mh-header-height) + var(--mh-admin-height));height:calc(100svh - var(--mh-header-height) - var(--mh-admin-height));min-height:0;max-height:none;z-index:0}
.mh-home-content{position:relative;z-index:1;background:#fff;box-shadow:0 -14px 45px rgba(0,0,0,.12)}
.mh-footer{position:relative;z-index:1}
.mh-group{background:#f4f4f4}
.mh-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}
.mh-group-card{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid #e2e3e5;border-radius:4px;padding:32px;min-width:0}
.mh-group-logo{width:100%;height:100px;margin-bottom:26px;display:flex;align-items:center;justify-content:flex-start}
.mh-group-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.mh-group-card h3{font-size:21px;line-height:1.65;overflow-wrap:anywhere}
.mh-group-description{font-size:14px;color:var(--mh-muted);line-height:1.95;margin:16px 0 24px!important;overflow-wrap:anywhere}
.mh-group-card .mh-text-link{margin-top:auto;padding-top:22px}
@media(max-width:1100px){.mh-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.mh-home{--mh-header-height:64px}}
@media(max-width:782px){.admin-bar .mh-home{--mh-admin-height:46px}}
@media(max-width:600px){.home.admin-bar #wpadminbar{position:fixed}.mh-group-grid{grid-template-columns:1fr}.mh-group-card{padding:26px}}
@media(max-height:500px){.mh-home .mh-hero-copy{padding-top:16px}.mh-home .mh-hero-copy h1{font-size:28px;line-height:1.4;margin:8px 0}.mh-home .mh-hero-bottom{bottom:14px}.mh-home .mh-scroll{display:none}}
@media(prefers-reduced-motion:reduce){.mh-home .mh-hero{position:relative;top:auto}}
