/* 生成ページ（記事・一覧・固定ページ・サポートセンター）用。基本の色・文字・ボタンは shared.css */
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* 文字の折り返しは shared.css（文節の切れ目の <wbr> と keep-all）。ここでは指定しない */
.wrap-narrow{width:min(880px,100% - 40px)}.wrap-mid{width:min(1000px,100% - 40px)}.wrap-article{width:min(800px,100% - 40px)}.wrap-form{width:min(760px,100% - 40px)}
.empty{text-align:center;color:var(--muted);padding:40px 0}

/* ページ上部の見出し帯 */
.page-hero{position:relative;background:var(--mint);padding:72px 0 64px;text-align:center;overflow:hidden}
.page-hero:before{content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(40,107,74,.12) 1.6px,transparent 1.7px);background-size:22px 22px;mask-image:linear-gradient(90deg,#000,transparent 55%);pointer-events:none}
.page-hero .wrap{position:relative}
.page-hero-eyebrow{margin:0 0 10px;color:var(--green);font:700 15px/1.6 var(--en);letter-spacing:.08em}
.page-hero h1{font-size:clamp(30px,3.6vw,46px)}
.page-hero-lead{max-width:760px;margin:20px auto 0;color:#3f4449;font-size:18px;font-weight:700}
.page-hero-compact{padding:56px 0 48px}

/* 一覧 */
.more-wrap{display:flex;justify-content:center;margin-top:40px}
.more-button{min-width:260px}
.js .more-item.is-extra{display:none}

/* 記事 */
.article{padding:28px 0 88px}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:4px 0;list-style:none;margin:0 0 28px;padding:0;font-size:13px;color:var(--muted)}
.breadcrumb li:not(:last-child):after{content:'›';margin:0 10px;color:#9aa3a0}
.breadcrumb a{color:var(--green)}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb li[aria-current]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:24em}
.article-header{margin-bottom:32px}
.article-header time{display:inline-block;font:600 14px var(--en);color:var(--muted)}
.article-header h1{margin-top:10px;font-size:clamp(25px,3vw,34px);line-height:1.55}

/* 記事本文 */
.prose{font-size:17px;line-height:2;font-weight:400}
.prose>:first-child{margin-top:0}
.prose p{margin:0 0 1.3em}
.prose :is(h2,h3,h4){scroll-margin-top:100px}
.prose h2{margin:2.4em 0 1em;padding:.55em .9em;border-left:6px solid var(--green);border-radius:6px;background:var(--mint);font-size:24px;line-height:1.55}
.prose h3{margin:2em 0 .9em;padding-bottom:.4em;border-bottom:2px solid var(--mint-3);font-size:20px;line-height:1.6}
.prose h4{margin:1.8em 0 .7em;color:var(--green);font-size:18px}
.prose :is(ul,ol){margin:0 0 1.4em;padding-left:1.5em}
.prose li{margin:.35em 0}
.prose li>p{margin:0}
.prose a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--green-2)}
.prose strong{font-weight:700}
.prose img{height:auto;margin:1.6em auto;border-radius:12px}
.prose p>img{margin:.4em auto}
.prose blockquote{margin:1.6em 0;padding:16px 22px;border-left:4px solid var(--mint-3);background:#f7faf8;color:#3f4449}
.prose blockquote>:last-child{margin-bottom:0}
.prose hr{margin:2.4em 0;border:0;border-top:1px solid var(--line)}
.prose .table-scroll{margin:1.6em 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.prose table{min-width:520px;font-size:15px;line-height:1.7}
.prose th{background:var(--mint);font-weight:700}
.prose :is(th,td){padding:10px 14px;vertical-align:top}
.prose .embed{margin:1.6em 0}
.prose .embed iframe,.prose iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:12px}
.prose video{width:100%;border-radius:12px}
.prose code{padding:1px 6px;border-radius:4px;background:#f2f4f3;font-size:.92em}


/* 下部の相談CTA（pm.css の pm-bottom-cta と同じ） */
.pm-bottom-cta{text-align:center}.pm-bottom-cta h2{font-size:clamp(26px,3.8vw,40px)}.pm-bottom-cta .btn.secondary{color:#242528}
.pm-cta-pair{display:grid;grid-template-columns:repeat(2,minmax(0,340px));justify-content:center;gap:20px 28px;margin-top:32px}.pm-cta-pair p{margin:0 0 10px;font-size:15px;font-weight:700}.pm-cta-pair .btn{width:100%}


/* フォーム・電話 */
.form-section{padding:56px 0 72px}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start}
.form-lead{font-size:18px;font-weight:700;line-height:1.9}
.form-visual{width:100%;margin:8px 0 28px;border-radius:16px;border:1px solid var(--line)}
.check-card{padding:28px;border-radius:24px;background:var(--mint)}
.check-card h2{margin-bottom:16px;color:var(--green);font-size:22px;text-align:center}
.check-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.check-list li{position:relative;padding:14px 16px 14px 52px;border-radius:14px;background:#fff;font-weight:700;line-height:1.7}
.check-list li:before{content:'';position:absolute;left:18px;top:50%;width:18px;height:10px;border-left:3px solid var(--green);border-bottom:3px solid var(--green);transform:translateY(-70%) rotate(-45deg)}
.form-card{min-height:640px;padding:32px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.tel-section{padding:0 0 96px}
.tel-card{max-width:620px;margin:auto;padding:32px;border-radius:24px;background:var(--mint);text-align:center}
.tel-card h2{color:var(--green);font-size:20px}
.tel-number{display:inline-flex;align-items:center;gap:10px;margin:8px 0;color:var(--green);font:700 clamp(30px,4vw,40px) var(--en);letter-spacing:.02em}
.tel-number:before{content:'';width:.8em;height:.8em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center/contain no-repeat}
.tel-card p{margin:0;color:var(--muted)}
.thanks-section{padding:56px 0 96px}
.thanks-card{max-width:760px;margin:auto;padding:48px 40px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow);text-align:center}
.thanks-title{color:var(--green);font-size:22px;font-weight:900}
.thanks-card .btn{margin-top:16px}

/* 特定商取引法に基づく表記 */
.legal-section{padding:48px 0 96px}
.legal-table{margin:0;border-top:1px solid var(--line)}
.legal-table>div{display:grid;grid-template-columns:200px 1fr;border-bottom:1px solid var(--line)}
.legal-table dt{padding:18px 20px;background:var(--mint);font-weight:700}
.legal-table dd{margin:0;padding:18px 20px;line-height:1.9}

/* 404 */
.notfound{padding:96px 0 120px;text-align:center}
.notfound-code{margin:0;color:var(--mint-3);font:700 clamp(80px,12vw,140px)/1 var(--en)}
.notfound h1{margin:16px 0 20px;font-size:clamp(26px,3vw,36px)}
.notfound p{color:var(--muted)}
.notfound .btn{margin-top:16px}

/* 広告入口 /biz/lp */
.layout-bare{background:#fff}
.bizlp{display:block;max-width:1200px;margin:0 auto}
.bizlp img{width:100%}

@media(max-width:840px){
.form-layout{grid-template-columns:1fr}
}
@media(max-width:640px){
.pm-cta-pair{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:540px){
.page-hero{padding:52px 0 44px;text-align:left}
.page-hero-compact{padding:40px 0 32px}
.page-hero-lead{font-size:16px}
.article{padding:20px 0 64px}
.breadcrumb ol{margin-bottom:20px}
.breadcrumb li[aria-current]{max-width:14em}
.prose{font-size:16px;line-height:1.95}
.prose h2{font-size:20px;padding:.5em .75em}
.prose h3{font-size:18px}
.form-section{padding:32px 0 56px}
.form-card{padding:20px 16px;min-height:560px}
.check-card{padding:22px 16px}
.tel-card{padding:26px 16px}
.thanks-card{padding:32px 20px;text-align:left}
.thanks-card .btn{width:100%}
.legal-table>div{grid-template-columns:1fr}
.legal-table dt{padding:10px 14px}
.legal-table dd{padding:12px 14px}
.notfound{padding:64px 0 88px}
}
