/* MiraHome — 明るい紫・若葉・クリーム。トップと費用記事の共通デザイン */
:root{--mh-purple:#7042b5;--mh-purple-dark:#4d2785;--mh-leaf:#70bd48;--mh-ink:#30283d;--mh-muted:#6c6477;--mh-paper:#fffcf6;--mh-lilac:#f0e8fc;--mh-yellow:#ffe89a;--mh-coral:#ffcfb6;--mh-mint:#e6f4db;--mh-line:#e5dded}
body.home.page,body.postid-10{background:var(--mh-paper);color:var(--mh-ink)}
.home.page #header-container,.home.page .header-container,.postid-10 #header-container,.postid-10 .header-container{display:none}
.home.page #navi,.postid-10 #navi{display:none}
.home.page .article-header,.home.page .entry-title,.home.page .date-tags,.home.page .author-info,.home.page .toc,.home.page .sns-share,.home.page .sns-follow,.postid-10 .entry-title,.postid-10 .article-header,.postid-10 .eye-catch-wrap,.postid-10 .eye-catch,.postid-10 .toc{display:none}
.home.page #sidebar,.postid-10 #sidebar{display:none}
.home.page #main,.postid-10 #main{width:100%;float:none;padding:0!important;background:transparent!important;border:0}
.home.page .content-in,.postid-10 .content-in{max-width:1160px;margin:auto}
.home.page #content,.postid-10 #content{margin-top:0}
.home.page .article,.postid-10 .article{padding:0}
.home.page .entry-content,.postid-10 .entry-content{margin:0}
.home.page #footer,.postid-10 #footer{background:#f1eaf8;color:var(--mh-purple-dark)}
.mh-wrap,.mh-wrap *{box-sizing:border-box}
.mh-wrap{max-width:1120px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:17px;line-height:1.95;color:var(--mh-ink);overflow-wrap:anywhere}
.mh-wrap h1,.mh-wrap h2,.mh-wrap h3{font-family:inherit;color:var(--mh-ink);background:none!important;border:0!important;box-shadow:none!important;letter-spacing:.025em}
.mh-wrap h1::before,.mh-wrap h1::after,.mh-wrap h2::before,.mh-wrap h2::after,.mh-wrap h3::before,.mh-wrap h3::after{display:none!important}
.mh-wrap h1{font-size:clamp(34px,4.3vw,54px);font-weight:800;line-height:1.48;margin:14px 0 20px;padding:0!important}
.mh-wrap h2{font-size:clamp(26px,3.1vw,35px);line-height:1.5;margin:0 0 20px;padding:0!important;font-weight:800}
.mh-wrap h3{font-size:22px;line-height:1.6;margin:0 0 12px;padding:0!important}
.mh-wrap p{margin:0 0 20px;line-height:1.95}
.mh-wrap a{color:var(--mh-purple-dark);text-underline-offset:4px}
.mh-wrap a:focus-visible,.mh-wrap summary:focus-visible{outline:3px solid #c16a17;outline-offset:5px;border-radius:4px}
.mh-wrap img{max-width:100%;height:auto;display:block}
.mh-wrap figure{margin:0}
.mh-wrap figcaption{font-size:12px;color:var(--mh-muted);line-height:1.8;margin-top:8px}
.mh-wrap ul,.mh-wrap ol{padding-left:1.5em;margin:0 0 20px}
.mh-wrap li{margin:8px 0}
.mh-site-head{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:94px;padding:16px 4px 18px;border-bottom:1px solid var(--mh-line);margin-bottom:28px}
.mh-brand{display:flex;align-items:center;gap:8px;text-decoration:none!important;line-height:1.4;flex-shrink:0}
.mh-brand img{width:44px;height:64px;object-fit:contain}
.mh-brand b{display:block;font-size:26px;color:var(--mh-purple-dark);letter-spacing:.08em}
.mh-brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.12em;color:var(--mh-muted)}
.mh-head-nav{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:700}
.mh-head-nav a{text-decoration:none;white-space:nowrap}
.mh-head-nav .mh-head-visit{background:var(--mh-purple);color:#fff;border-radius:100px;padding:10px 24px}
.mh-hero{display:grid;grid-template-columns:1fr 1.08fr;gap:38px;align-items:center;padding:42px 40px;background:#fff2ca;border-radius:28px 28px 96px 28px;position:relative}
.mh-kicker{font-size:13px!important;letter-spacing:.12em;color:var(--mh-purple-dark);font-weight:800;margin:0 0 14px!important}
.mh-hero h1 em{font-style:normal;color:var(--mh-purple-dark);background:linear-gradient(transparent 70%,#e4d3fa 70%)}
.mh-hero p{font-size:16px}
.mh-hero-art img{width:100%;aspect-ratio:1.22;object-fit:cover;border-radius:40px 40px 80px 40px}
.mh-hero-art figcaption{text-align:right;font-size:11px}
.mh-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 12px}
.mh-wrap .mh-btn{display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:52px;padding:13px 24px;background:var(--mh-purple);color:#fff!important;border:2px solid var(--mh-purple);border-radius:100px;font-size:15px;font-weight:700;line-height:1.6;text-decoration:none;transition:background .18s,transform .18s}
.mh-wrap .mh-btn:hover{background:var(--mh-purple-dark);border-color:var(--mh-purple-dark);transform:translateY(-2px)}
.mh-wrap .mh-btn-light{color:var(--mh-purple-dark)!important;background:#fff;border-color:#c4aade}
.mh-wrap .mh-btn-light:hover{background:var(--mh-lilac);border-color:var(--mh-purple)}
.mh-wrap .mh-btn-leaf{background:var(--mh-mint);border-color:var(--mh-mint);color:#244a27!important}
.mh-wrap .mh-btn-leaf:hover{background:#d6eec2;border-color:#d6eec2}
.mh-small{font-size:13px!important;color:var(--mh-muted);line-height:1.8!important}
.mh-section{padding:76px 22px 0;scroll-margin-top:40px}
.mh-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}
.mh-section-head h2{margin-bottom:0}
.mh-section-head p{font-size:14px;color:var(--mh-muted);margin:0;max-width:350px}
.mh-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.mh-topic{display:block;background:#fff;border-radius:20px;overflow:hidden;text-decoration:none!important;border:1px solid var(--mh-line);transition:transform .18s}
.mh-topic:hover{transform:translateY(-5px)}
.mh-topic img{width:100%;height:150px;object-fit:cover}
.mh-topic-text{padding:20px 18px 18px}
.mh-topic h3{font-size:19px;margin-bottom:10px}
.mh-topic p{font-size:13px;color:var(--mh-muted);line-height:1.8;margin:0 0 12px}
.mh-topic span{font-size:13px;font-weight:700;color:var(--mh-purple-dark)}
.mh-topic:nth-child(1){border-bottom:5px solid #c9adeb}.mh-topic:nth-child(2){border-bottom:5px solid #f3cf62}.mh-topic:nth-child(3){border-bottom:5px solid #ffa67b}.mh-topic:nth-child(4){border-bottom:5px solid #9dcf77}
.mh-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#f1eafb;border-radius:28px;overflow:hidden}
.mh-feature>figure img{width:100%;height:350px;object-fit:cover}
.mh-feature-copy{padding:36px}
.mh-feature-copy p{font-size:15px}
.mh-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mh-photo-card{background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--mh-line)}
.mh-photo-card img{width:100%;height:250px;object-fit:cover}
.mh-photo-card h3{font-size:18px;padding:17px 20px 0!important;margin:0}
.mh-photo-card figcaption{padding:4px 20px 18px;margin:0;font-size:13px}
.mh-photo-note{font-size:12px!important;color:var(--mh-muted);margin:16px 0 0!important}
.mh-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mh-faq{padding:24px;border-radius:18px;border:1px solid var(--mh-line);background:#fff;scroll-margin-top:30px}
.mh-faq summary{cursor:pointer;list-style:none;display:flex;gap:12px;font-weight:700;line-height:1.7}
.mh-faq summary::-webkit-details-marker{display:none}
.mh-faq summary::before{content:'Q';color:var(--mh-purple);font-size:23px;line-height:1.3}
.mh-faq summary::after{content:'＋';margin-left:auto;color:var(--mh-purple);flex-shrink:0}
.mh-faq[open] summary::after{content:'−'}
.mh-faq p{padding:14px 0 0 29px;font-size:14px;margin:0}
.mh-visit{margin:72px 0 0;padding:38px;background:#e9f5dc;border-radius:28px;display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:center;scroll-margin-top:30px}
.mh-visit img{border-radius:22px;width:100%;aspect-ratio:1.45;object-fit:cover}
.mh-visit h2{font-size:30px}
/* 淡い背景の2見出しは、テーマ側の白文字指定より優先する。 */
.mh-wrap .mh-feature-copy h2,.mh-wrap .mh-visit h2{color:#4d2785!important}
.mh-visit p{font-size:15px}
.mh-visit .mh-actions{margin-bottom:0}
.mh-policy{padding:40px 22px 28px;display:grid;grid-template-columns:130px 1fr;gap:30px;align-items:center}
.mh-policy img{width:110px;height:154px;object-fit:contain}
.mh-policy h2{font-size:18px;margin-bottom:10px}
.mh-policy p{font-size:12px;color:var(--mh-muted);margin:0}
.mh-breadcrumb{font-size:12px;color:var(--mh-muted);margin:14px 8px 24px}
.mh-article-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;padding:34px;background:#f2eafb;border-radius:28px}
.mh-article-hero h1{font-size:clamp(29px,3.5vw,43px);margin:12px 0 20px}
.mh-tag{display:inline-block;font-size:12px;font-weight:700;color:var(--mh-purple-dark);background:#fff;border-radius:100px;padding:5px 15px;letter-spacing:.06em}
.mh-article-hero img{width:100%;aspect-ratio:1.35;object-fit:cover;border-radius:22px}
.mh-article-hero p{font-size:14px;margin:0}
.mh-h1-prefix{display:block;font-size:20px;line-height:1.6;margin:0 0 12px;font-weight:700}
.mh-article-lead{max-width:800px;margin:34px auto 0;padding:0 20px}
.mh-takeaway{max-width:800px;margin:30px auto;background:#fff2cc;border-radius:20px;padding:26px 30px}
.mh-takeaway h2{font-size:20px;margin:0 0 12px}
.mh-takeaway ul{margin:0;list-style:none;padding:0;font-size:15px}
.mh-takeaway li{padding-left:26px;position:relative;margin:9px 0}
.mh-takeaway li::before{content:'✓';position:absolute;left:0;color:var(--mh-purple);font-weight:800}
.mh-contents{max-width:800px;margin:24px auto 40px;padding:20px 26px;border-top:1px solid var(--mh-line);border-bottom:1px solid var(--mh-line);font-size:14px}
.mh-contents b{display:block;margin-bottom:8px}
.mh-contents ol{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:3px 28px}
.mh-contents li{margin:3px 0}
.mh-reading{max-width:800px;margin:0 auto;padding:0 20px}
.mh-reading section{padding-top:38px;scroll-margin-top:30px}
.mh-reading h2{font-size:28px;padding-bottom:16px!important;border-bottom:3px solid #dbc6ef!important;margin-bottom:24px}
.mh-reading h2 .mh-num{font-size:15px;color:var(--mh-purple);display:block;margin-bottom:6px;letter-spacing:.12em}
.mh-reading h3{font-size:21px;margin:30px 0 14px}
.mh-reading p{font-size:16px;margin-bottom:24px}
.mh-fees{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.mh-fee{padding:20px 18px;border-radius:16px;background:#f1eafa}
.mh-fee:nth-child(2){background:#edf5e5}.mh-fee:nth-child(3){background:#fff1cd}
.mh-fee b{display:block;font-size:17px;margin-bottom:6px}
.mh-fee p{font-size:13px;margin:0;line-height:1.8}
.mh-note{border-left:4px solid var(--mh-purple);background:#f3eef9;padding:18px 22px;margin:24px 0;border-radius:0 14px 14px 0;font-size:14px}
.mh-note p{font-size:14px;margin:0}
.mh-source{font-size:12px!important;color:var(--mh-muted);line-height:1.8!important}
.mh-table-wrap{overflow-x:auto;margin:24px 0}
.mh-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.mh-table th,.mh-table td{padding:14px 16px;border:1px solid var(--mh-line);text-align:left;line-height:1.7}
.mh-table thead th{background:#eee3fa;color:var(--mh-purple-dark)}
.mh-table tbody th{background:#faf7fe;font-weight:500}
.mh-amount{display:flex;gap:22px;align-items:center;padding:24px 28px;background:#eef7e7;border-radius:20px;margin:24px 0}
.mh-amount strong{font-size:38px;line-height:1.2;white-space:nowrap;color:#325d22}
.mh-amount strong small{font-size:16px}
.mh-amount p{font-size:14px;margin:0}
.mh-article-art{margin:26px 0!important}
.mh-article-art img{border-radius:20px;max-height:380px;width:100%;object-fit:cover}
.mh-checks{background:#fff4d9;border-radius:20px;padding:26px 30px;margin:24px 0}
.mh-checks h3{margin:0 0 12px}
.mh-checks ul{list-style:none;padding:0;margin:0;font-size:15px}
.mh-checks li{border-bottom:1px dashed #d9ca9f;padding:9px 0;margin:0}
.mh-checks li:last-child{border-bottom:0}
.mh-checks li::before{content:'□';color:var(--mh-purple);margin-right:12px}
.mh-article-tail{max-width:800px;margin:30px auto 0;padding:20px;border-top:1px solid var(--mh-line)}
.mh-article-tail p{font-size:12px;color:var(--mh-muted)}
.mh-article .mh-visit{max-width:1000px;margin:40px auto 0}
.mh-back{display:block;text-align:center;margin:30px 0;font-size:14px}
.mh-preview-page{margin:0;padding:0 26px;background:var(--mh-paper)}
.mh-preview-page main{max-width:1160px;margin:auto}
.mh-preview-page .mh-preview-footer{max-width:1120px;margin:24px auto 0;padding:25px;border-top:1px solid var(--mh-line);text-align:center;font-size:12px;color:var(--mh-muted)}
@media(max-width:900px){.mh-wrap{font-size:16px}.mh-hero{padding:28px;gap:22px}.mh-head-nav{gap:16px}.mh-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-topic img{height:180px}.mh-photo-card img{height:210px}.mh-feature-copy{padding:28px}.mh-section-head{display:block}.mh-section-head p{margin-top:12px;max-width:none}.mh-section{padding-top:54px}.mh-visit{padding:28px;gap:24px}}
@media(max-width:640px){.mh-preview-page{padding:0 16px}.home.page .content-in,.postid-10 .content-in{padding:0 16px}.mh-site-head{min-height:76px;gap:10px;margin-bottom:20px;padding:10px 0}.mh-brand img{width:31px;height:45px}.mh-brand b{font-size:22px}.mh-brand small{font-size:10px;letter-spacing:.05em}.mh-head-nav{gap:0}.mh-head-nav>a:not(.mh-head-visit){display:none}.mh-head-nav .mh-head-visit{padding:9px 14px;font-size:12px}.mh-hero{display:flex;flex-direction:column;padding:28px 24px 24px;gap:14px;border-radius:24px 24px 56px 24px}.mh-hero h1{font-size:36px;line-height:1.5}.mh-hero p{font-size:15px}.mh-hero-art img{aspect-ratio:1.45;border-radius:24px 24px 46px 24px}.mh-actions{gap:10px;margin-top:20px}.mh-wrap .mh-btn{font-size:14px;padding:12px 18px;min-height:48px}.mh-hero .mh-btn{width:100%}.mh-section{padding:46px 0 0}.mh-section h2{font-size:26px}.mh-topic-grid{gap:12px}.mh-topic img{height:114px}.mh-topic-text{padding:15px 12px}.mh-topic h3{font-size:17px}.mh-topic p{font-size:12px}.mh-feature{grid-template-columns:1fr}.mh-feature>figure img{height:auto;aspect-ratio:1.6}.mh-feature-copy{padding:26px 24px}.mh-photo-grid{grid-template-columns:1fr;gap:20px}.mh-photo-card img{height:auto;max-height:330px;object-fit:cover}.mh-faq-grid{grid-template-columns:1fr;gap:12px}.mh-faq{padding:21px}.mh-visit{grid-template-columns:1fr;margin-top:46px;padding:26px 24px;gap:18px;border-radius:24px}.mh-visit h2{font-size:26px}.mh-visit .mh-btn{width:100%}.mh-policy{grid-template-columns:68px 1fr;padding:28px 0;gap:18px}.mh-policy img{width:68px;height:105px}.mh-policy h2{font-size:16px}.mh-policy p{font-size:11px}.mh-article-hero{grid-template-columns:1fr;padding:24px;gap:20px;border-radius:24px}.mh-article-hero h1{font-size:30px}.mh-article-hero img{aspect-ratio:1.55}.mh-article-lead,.mh-reading,.mh-article-tail{padding-left:4px;padding-right:4px}.mh-takeaway{padding:23px 22px}.mh-contents{padding:18px 16px}.mh-contents ol{grid-template-columns:1fr}.mh-reading section{padding-top:28px}.mh-reading h2{font-size:24px}.mh-reading p{font-size:16px}.mh-fees{grid-template-columns:1fr;gap:10px}.mh-fee{padding:16px 20px}.mh-amount{display:block;padding:22px}.mh-amount strong{font-size:36px;display:block;margin-bottom:12px}.mh-table th,.mh-table td{padding:12px 10px;font-size:13px}.mh-checks{padding:22px}.mh-article-art img{max-height:300px}.mh-breadcrumb{font-size:11px;margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.mh-wrap *{scroll-behavior:auto!important;transition:none!important}}
