/* 2026-11-13 Figma「自社HP改善案r29」(section 330:463): TOP の受け取れるもの、料金の向き・不向き／レポートとプランの変更／月額に含まれないもの */

/* TOP */
.r27-home .r27-hero-lead.is-r29{max-width:640px;font-size:22px;line-height:1.75}
.r27-home .r27-op-lead{max-width:880px;font-size:22px;line-height:1.7;letter-spacing:.04em}
.r27-home .r29-receive{padding:56px var(--side) 64px;background:#f0f5fc}
.r27-home .r29-receive-title{font-size:34px;font-weight:700;line-height:1.45;color:var(--r27-ink)}
.r27-home .r29-receive-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.r27-home .r29-receive-card{padding:28px 32px;border:2px solid #dde4ee;border-radius:8px;background:#fff}
.r27-home .r29-receive-tag{font-size:17px;font-weight:700;line-height:1.5;color:var(--r27-blue)}
.r27-home .r29-receive-card h3{margin-top:6px;font-size:28px;font-weight:700;line-height:1.45}
.r27-home .r29-receive-text{margin-top:8px;font-size:20px;line-height:1.6;color:var(--r27-sub)}
.r27-home .r29-receive-note{margin-top:24px;font-size:18px;line-height:1.6;color:var(--r27-sub)}

/* 料金 */
.r28-pricing .r29-terms2{margin:28px 8px 0;padding:28px 40px;border-radius:8px;background:var(--tint)}
.r28-pricing .r29-terms2-title{font-size:30px;font-weight:700;line-height:1.45}
.r28-pricing .r29-terms2-text{margin-top:14px;font-size:22px;line-height:1.6}
.r28-pricing .r29-terms2-text span,.r28-pricing .r29-exclude-text span{font-weight:700}
.r28-pricing .r29-fit-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:56px}
.r28-pricing .r29-fit-col{padding:28px 36px;border:2px solid var(--line);border-radius:8px;background:#f7f8fa}
.r28-pricing .r29-fit-col.is-good{border-color:var(--blue);background:#fff}
.r28-pricing .r29-fit-col h3{font-size:28px;font-weight:700;line-height:1.45;color:var(--gray)}
.r28-pricing .r29-fit-col.is-good h3{color:var(--blue)}
.r28-pricing .r29-fit-col h3::before{content:"× "}
.r28-pricing .r29-fit-col.is-good h3::before{content:"○ "}
.r28-pricing .r29-fit-col ul{margin:12px 0 0;padding:0;list-style:none}
.r28-pricing .r29-fit-col li{margin-top:8px;font-size:22px;font-weight:500;line-height:1.6}
.r28-pricing .r29-fit-col li::before{content:"・"}
.r28-pricing .r29-fit-note{margin-top:20px;font-size:20px;line-height:1.6}
.r28-pricing .r29-exclude{margin:27px calc(var(--side) + 19px) 0;padding:24px 36px;border-radius:8px;background:#e3edfb}
.r28-pricing .r29-exclude-title{font-size:23px;font-weight:700;line-height:1.5}
.r28-pricing .r29-exclude-text{margin-top:6px;font-size:21px;line-height:1.6}

/* 支援事例 /smartka/ の成果の表 */
.r29-case-table :is(th,td):nth-child(-n+2){white-space:nowrap}

@media(max-width:900px){
 .r27-home .r29-receive-cards{grid-template-columns:minmax(0,1fr);gap:16px}
 .r28-pricing .r29-fit-cols{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:36px}
 .r28-pricing .r29-terms2{margin-inline:0}
}
@media(max-width:760px){
 .r27-home .r27-hero-lead.is-r29{font-size:16px;line-height:1.8}
 .r27-home .r27-op-lead{font-size:16px}
 .r27-home .r29-receive{padding:40px 20px 44px}
 .r27-home .r29-receive-title{font-size:24px}
 .r27-home .r29-receive-card{padding:20px 22px}
 .r27-home .r29-receive-card h3{font-size:22px}
 .r27-home .r29-receive-text{font-size:16px}
 .r27-home .r29-receive-tag,.r27-home .r29-receive-note{font-size:14px}
 .r28-pricing .r29-terms2{margin-top:20px;padding:22px 20px}
 .r28-pricing .r29-terms2-title{font-size:20px}
 .r28-pricing .r29-terms2-text,.r28-pricing .r29-fit-col li{font-size:16px}
 .r28-pricing .r29-fit-col{padding:20px 22px}
 .r28-pricing .r29-fit-col h3{font-size:20px}
 .r28-pricing .r29-fit-note{font-size:15px}
 .r28-pricing .r29-exclude{margin-inline:0;padding:20px}
 .r28-pricing .r29-exclude-title{font-size:18px}
 .r28-pricing .r29-exclude-text{font-size:15px}
}

/* 2026-11-19 TOPのPC表示（幅901〜1340px）の崩れ補正: 料金カードの金額が「55,00／0」と折り返す、下部CTAのボタン・見出しの落ち字 */
.r27-home .r27-plan-amount{flex-wrap:nowrap;white-space:nowrap;gap:6px}
.r27-home .r27-plan-amount strong{font-size:clamp(30px,3.9vw,50px)}
.r27-home .r27-plan-amount small{white-space:nowrap;margin-left:-2px;font-size:clamp(11px,1.2vw,16px)}
.r27-home .r27-btn.is-light{white-space:nowrap;padding-inline:20px;font-size:clamp(18px,2vw,24px)}
.r27-home .r27-cta h2{text-wrap:balance}
.r27-home :is(p,li,h2,h3,dd,span){text-wrap:pretty}
@media(max-width:900px){
 .r27-home .r27-plan-amount strong{font-size:42px}.r27-home .r27-plan-amount small{font-size:16px}
 .r27-home .r27-btn.is-light{font-size:24px}
}
@media(max-width:760px){
 .r27-home .r27-plan-amount strong{font-size:38px}.r27-home .r27-plan-amount small{font-size:13px}
 .r27-home .r27-btn.is-light{font-size:18px}
}

/* 2026-11-19 お問い合わせ（/contact/）のPC表示補正: 上部の3つのバッジ（901〜1100px）とラジオ（〜900px台）で文字が1字だけ折り返す */
.r27-contact .r27c-badges p{gap:clamp(10px,1.4vw,22px);padding-inline:12px;font-size:clamp(15px,1.85vw,26px)}
.r27-contact .r27c-badges p::before{width:clamp(30px,3.5vw,44px);height:clamp(30px,3.5vw,44px)}
.r27-contact .aoki-cf7-form .wpcf7-radio label{gap:clamp(8px,1.1vw,14px);padding-inline:10px;font-size:clamp(16px,2.4vw,24px)}
.r27-contact :is(p,li,h1,h2,dd,span){text-wrap:pretty}
@media(max-width:900px){.r27-contact .r27c-badges p{font-size:22px;gap:22px;padding-inline:16px}.r27-contact .r27c-badges p::before{width:44px;height:44px}}
@media(max-width:760px){.r27-contact .r27c-badges p{font-size:17px;gap:14px}.r27-contact .r27c-badges p::before{width:30px;height:30px}}

/* 2026-11-19 事例（/smartka/）ほか記事本文: 最後の行に1字だけ残る折り返しを避ける（見た目のみ） */
.post_content :is(p,li,td,th,h2,h3,h4){text-wrap:pretty}

/* 2026-11-19 運営者ページ（/about/）末尾の標準ボタンをサイトの青にそろえる。色を個別指定したボタン（has-background）は除く */
.post_content .wp-block-button__link:not(.has-background){background:#0b56d0;color:#fff;border:1.5px solid #0b56d0;transition:background .2s}
.post_content .wp-block-button__link:not(.has-background):hover{background:#0846ad;color:#fff}
.post_content .wp-block-button__link:not(.has-background):focus-visible{outline:3px solid #d26800;outline-offset:2px}

/* 2026-11-19 お問い合わせ（/contact/）のスマホ表示補正: 見出しが言葉の途中で改行される、運営者ブロックのロゴ「a.」の「.」が下に落ちる、質問の「？」だけが次の行に落ちる */
.r27-contact .r27c-op-mark{flex:none;white-space:nowrap}
.r27-contact .r27c-title{text-wrap:balance;word-break:auto-phrase}
.r27-contact :is(.r27c-qa summary,.r27c-qa p,.r27c-lead,.r27c-checks li,.r27c-steps li,.r27c-op-lead){text-wrap:pretty}
@media(max-width:760px){.r27-contact .r27c-title{font-size:clamp(20px,6.4vw,26px)}}

/* 2026-11-19 料金（/pricing/）のスマホ表示補正: 比較表の見出し・行見出しが「Web管／理」「提／案」と途中で折り返す、詳しい対応内容の表が横スクロールになる、言葉の途中で改行される */
.r28-pricing :is(p,li,dd,dt,h2,h3,summary){text-wrap:pretty}
@media(max-width:760px){
 .r28-pricing :is(p,li,dd,dt,summary,h2,h3){word-break:auto-phrase}
 .r28-pricing table.r28-compare-table{font-size:clamp(11px,3.5vw,14px)}
 .r28-pricing .r28-compare-table thead th{font-size:clamp(11px,3.5vw,14px);white-space:nowrap;padding-inline:2px}
 .r28-pricing .r28-compare-table thead th:nth-child(1){width:36%}
 .r28-pricing .r28-compare-table tbody th{padding-left:10px;padding-right:4px}
 .r28-pricing .r28-more table.r26-compare{display:table;overflow:visible;min-width:0;width:100%;font-size:clamp(10.5px,3.3vw,13px)}
 .r28-pricing .r28-more .r26-compare :is(th,td){padding:10px 4px}
 .r28-pricing .r28-more .r26-compare thead th{white-space:nowrap}
 .r28-pricing .r28-more .r26-compare :is(th,td):first-child{width:45%;text-align:left;padding-left:8px;text-wrap:pretty}
}

/* 2026-11-19 事例（/smartka/）ほか記事本文のスマホ表示補正: 表の左の見出し列が「支援前／の状態」「担当し／たこと」と途中で折り返す（tbody の th は事例・運営者ページだけで、いずれも6字以下） */
@media(max-width:760px){
 .post_content .wp-block-table tbody th{white-space:nowrap}
 .post_content .wp-block-table :is(td,th){word-break:auto-phrase}
}

/* 2026-11-19 運営者（/about/）のスマホ表示補正: 固定幅の表（has-fixed-layout）が左右50%ずつで、右の列が狭く言葉の途中で折り返す。項目名の列（tbody th）がある表だけ、列幅を自動にして左を34%にする。コラム記事の表（tbody th なし）には効かない */
@media(max-width:760px){
 .post_content .wp-block-table table.has-fixed-layout:has(tbody th){table-layout:auto}
 .post_content .wp-block-table table:has(tbody th) tbody th{width:34%}
}
