/* PC Grossup Calc — すべて .pcg の中だけに効かせる（サイト全体の見た目を変えない） */
.pcg { --g: #66b35a; --g-dark: #4f9a44; --g-bg: #f1f7ef; --line: #e3e5e3; --text: #333; --muted: #888; --red: #e2463c;
  max-width: 860px; margin: 0 auto; padding: 0 16px 40px; background: #fff; color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; line-height: 1.6; text-align: left; }
.pcg, .pcg *, .pcg *::before, .pcg *::after { box-sizing: border-box; }
.pcg [hidden] { display: none !important; }
.pcg p { margin: 0; }
/* サイト共通CSS（global.css / テーマ style.css）の上書きを打ち消す */
.pcg input[type=radio] { -webkit-appearance: radio; -moz-appearance: radio; appearance: auto; width: auto; height: auto; padding: 0; border: 0; vertical-align: -1px; }
.pcg input[type=number] { -webkit-appearance: none; -moz-appearance: textfield; appearance: none; }
.pcg select { -webkit-appearance: none; -moz-appearance: none; appearance: none; font-family: inherit; line-height: normal; }
.pcg button { font-family: inherit; }
/* 記事本文のリンク（赤＋下線）・リスト余白はテーマ側の指定が強いため !important で戻す */
.pcg a, .pcg a:hover { color: var(--g-dark) !important; border-bottom: 0 !important; text-decoration: underline; }
.pcg .link, .pcg .link:hover { text-decoration: none; }
.pcg .tag { min-width: 0; width: auto; display: inline-block; text-align: center; line-height: 1.6; background: none; }
.pcg ul { margin-left: 0 !important; }

.pcg .pcg-hero { background: var(--g-bg); padding: 28px 16px 24px; margin: 0 -16px 28px; text-align: center; }
.pcg .pcg-hero h2 { font-size: 24px; margin: 0 0 20px; padding: 0; font-weight: bold; border: 0; background: none; color: var(--text); line-height: 1.4; }
.pcg .pcg-hero h2::before, .pcg .pcg-hero h2::after { content: none; display: none; }
.pcg .steps { display: flex; justify-content: center; align-items: flex-start; gap: 0; max-width: 640px; margin: 0 auto; }
.pcg .step { flex: 1; position: relative; text-align: center; font-size: 14px; color: #aaa; }
.pcg .step .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ddd; background: #fff; color: #bbb; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-weight: bold; position: relative; z-index: 1; }
.pcg .step::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: #ddd; }
.pcg .step:first-child::before { display: none; }
.pcg .step.done .dot { background: var(--g); border-color: var(--g); color: #fff; }
.pcg .step.done { color: var(--text); font-weight: bold; }
.pcg .step.done::before { background: var(--g); }

.pcg .notice { background: var(--g-bg); color: var(--g-dark); border-radius: 8px; padding: 10px 14px; font-size: 16px; margin: 0 0 16px; display: flex; gap: 10px; }
.pcg .notice .ico { flex: 0 0 auto; }

.pcg .card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 0 0 20px; background: #fff; }
.pcg .group-h { display: flex; justify-content: space-between; align-items: baseline; font-weight: bold; font-size: 18px; margin: 0 0 10px; }
.pcg .group-h .col { font-weight: normal; font-size: 14px; color: var(--muted); width: 200px; }
.pcg .group + .group { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }

.pcg .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; margin: 0; }
.pcg .row .lbl { flex: 1; font-size: 16px; }
.pcg .row .lbl .help { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #777; color: #fff; font-size: 12px; align-items: center; justify-content: center; margin-left: 6px; vertical-align: 1px; cursor: help; }
.pcg .row .ctl { width: 200px; text-align: right; }
.pcg .row .ctl input[type=number], .pcg .row .ctl input[type=text], .pcg .row .ctl select { width: 100%; height: 38px; margin: 0; padding: 0 10px; border: 1px solid #d6d9d6; border-radius: 6px; font-size: 16px; text-align: right; background: #fff; color: var(--text); box-shadow: none; }
.pcg .row .ctl input[type=number]:focus, .pcg .row .ctl input[type=text]:focus, .pcg .row .ctl select:focus { outline: none; border-color: var(--g); }
/* 入力欄と選択欄の数字の右端をそろえる：右余白を同じ32pxにし、選択欄の▼は自前で右12pxに描く */
.pcg .row .ctl input[type=text], .pcg .row .ctl input[type=number] { padding-right: 32px; font-family: inherit; line-height: normal; }
.pcg .row .ctl select { padding-right: 32px; text-align-last: right; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%271.6%27/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px; }
.pcg .row .ctl select::-ms-expand { display: none; }
.pcg .row .ctl .fixed { font-size: 16px; }
.pcg .row .ctl .auto { color: var(--muted); font-size: 14px; }
.pcg .help { position: relative; }
.pcg .help:focus { outline: 2px solid var(--g); outline-offset: 1px; }
.pcg .help .pop { display: none; position: absolute; left: 26px; top: -12px; z-index: 10; width: 380px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); padding: 0 0 12px; font-size: 14px; font-weight: normal; line-height: 1.7; text-align: left; white-space: normal; cursor: default; }
.pcg .help .pop b { display: block; background: #f7f7f7; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; padding: 8px 14px; margin: 0 0 8px; font-size: 16px; }
.pcg .help .pop span, .pcg .help .pop ul { display: block; padding: 0 14px; margin: 0; }
.pcg .help .pop ul { padding-left: 30px; list-style: disc; }
.pcg .help .pop li { margin: 0; padding: 0; list-style: disc; }
.pcg .help:focus .pop, .pcg .help.open .pop { display: block; }
/* マウスのある端末だけ「乗せると開く」。スマホでタップ後に開きっぱなしになるのを防ぐ */
@media (hover: hover) { .pcg .help:hover .pop { display: block; } }
.pcg .count { color: var(--muted); font-size: 14px; margin-left: 6px; }

.pcg .basis { font-size: 14px; color: #666; margin: -2px 0 6px; line-height: 1.6; }
.pcg .basis .tag { display: inline-block; font-size: 12px; border: 1px solid var(--g); color: var(--g-dark); border-radius: 3px; padding: 0 5px; margin-right: 6px; }
.pcg .basis .tag.sub { border-color: #bbb; color: #777; }
.pcg .basis a { color: var(--g-dark); }

.pcg .choice { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.pcg .choice label { flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; cursor: pointer; font-size: 16px; font-weight: normal; }
.pcg .choice label small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; padding-left: 22px; }
.pcg .choice input { accent-color: var(--g); margin: 0 6px 0 0; }
.pcg .choice label.on { border-color: var(--g); background: var(--g-bg); }
.pcg .sub-box.on { border-color: var(--g); background: var(--g-bg); }
.pcg .sub-box { border: 1px solid var(--line); border-radius: 10px; padding: 6px 16px; margin: 8px 0 4px; }

.pcg .btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 26px; margin: 0; border-radius: 8px; font-size: 18px; font-weight: bold; line-height: 1; cursor: pointer; text-decoration: none; box-shadow: none; }
.pcg .btn.primary { background: var(--g); color: #fff; border: 1px solid var(--g); }
.pcg .btn.primary:hover { background: var(--g-dark); border-color: var(--g-dark); }
.pcg .btn.outline { background: #fff; color: var(--g-dark); border: 2px solid var(--g); }
.pcg .btn.small { height: 34px; padding: 0 14px; font-size: 16px; }
.pcg .btn[disabled] { opacity: .6; cursor: wait; }
.pcg .actions { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 28px; }
.pcg .link { color: var(--g-dark); font-size: 16px; font-weight: bold; text-decoration: none; }
.pcg .pcg-msg { color: var(--red); font-size: 16px; margin: -16px 0 20px; text-align: right; }

.pcg .summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; }
.pcg .summary .m { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.pcg .summary .m .k { font-size: 14px; color: var(--muted); }
.pcg .summary .m .v { font-size: 22px; font-weight: bold; word-break: break-all; }
.pcg .summary .m .s { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.pcg .summary .m.hl { border-color: var(--g); background: var(--g-bg); }
.pcg table { width: 100%; border-collapse: collapse; border: 0; font-size: 16px; margin: 0 0 12px; background: none; }
.pcg th, .pcg td { padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; vertical-align: middle; }
.pcg th { text-align: left; font-weight: normal; color: var(--muted); font-size: 14px; }
.pcg td.num, .pcg th.num { text-align: right; }
.pcg tr.total td { font-weight: bold; border-bottom: 2px solid var(--g); }
.pcg details { margin: 0; }
.pcg details summary { color: var(--g-dark); font-weight: bold; font-size: 16px; cursor: pointer; margin: 6px 0 10px; }
.pcg .pcg-cond { margin: 10px 0 0; }
.pcg .pcg-cond summary { margin: 6px 0 8px; }
.pcg .pcg-cond-body { background: #fafbfa; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px 8px; font-size: 14px; line-height: 1.7; }
.pcg .pcg-cond-h { font-weight: bold; margin: 0 0 4px; }
.pcg .pcg-cond-body ul { margin: 0 0 12px 0 !important; padding-left: 20px; }
.pcg .pcg-cond-body li { list-style: disc; margin: 0 0 2px; }
.pcg .cta { border: 1px dashed var(--g); border-radius: 10px; padding: 14px 16px; font-size: 16px; margin: 16px 0; }
.pcg .cta .cta-k { font-size: 14px; color: #888; }
.pcg .cta .cta-v { font-size: 26px; font-weight: bold; margin: 2px 0 6px; }
.pcg .cta .cta-m { font-size: 16px; font-weight: normal; color: #666; }
.pcg .cta .cta-b { font-size: 14px; color: #666; margin-bottom: 10px; }
.pcg .disclaimer { font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .pcg .row, .pcg .group-h { flex-wrap: wrap; }
  .pcg .row .ctl, .pcg .group-h .col { width: 100%; text-align: left; }
  .pcg .summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pcg .summary .m { padding: 10px; }
  .pcg .summary .m .v { font-size: 18px; white-space: nowrap; word-break: normal; }
  .pcg .step { font-size: 12px; }
  .pcg .card { padding: 16px; }
  /* スマホでは説明を項目名の下に全幅で開く（画面外にはみ出さないように） */
  .pcg .row .lbl { position: relative; }
  .pcg .help { position: static; }
  .pcg .help .pop { left: 0; top: calc(100% + 4px); width: 100%; }
  .pcg th, .pcg td { font-size: 14px; }
}

/* =========================================================================
 * コラム本文（.pc-col）用 — コラム申し送り 7-2 のCSS
 * 本文を <div class="pc-col"> で囲んだ範囲だけに効く。ツール（.pcg）は囲みの外に置くので干渉しない。
 * ========================================================================= */
.pc-col {
  --pc-red: #e8302f;
  --pc-red-dark: #b8211b;
  --pc-red-bg: #fdf0ef;
  --pc-green: #66b35a;
  --pc-green-dark: #4f9a44;
  --pc-green-bg: #f1f7ef;
  --pc-beige-bg: #f7f4f2;
  --pc-caution: #f0b429;
  --pc-caution-bg: #fff8e6;
  --pc-marker: #fff27a;
  --pc-text: #333;
  --pc-line: #e3e3e3;
  color: var(--pc-text);
  line-height: 1.9;
}
.pc-col .mk { background: linear-gradient(transparent 60%, var(--pc-marker) 60%); font-weight: bold; }
.pc-col .txt-red { color: var(--pc-red-dark); font-weight: bold; }
.pc-col .txt-green { color: var(--pc-green-dark); font-weight: bold; }
.pc-col .box { margin: 28px 0; padding: 18px 22px; border-radius: 8px; }
.pc-col .box > .box-ttl { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: bold; font-size: 1.05em; }
.pc-col .box > .box-ttl::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px; background: currentColor; -webkit-mask: none; }
.pc-col .box > :last-child { margin-bottom: 0; }
.pc-col .box-summary { background: var(--pc-beige-bg); border-left: 4px solid var(--pc-red); border-radius: 0; }
.pc-col .box-summary > .box-ttl { color: var(--pc-red-dark); }
.pc-col .box-point { background: var(--pc-green-bg); border: 1px solid var(--pc-green); }
.pc-col .box-point > .box-ttl { color: var(--pc-green-dark); }
.pc-col .box-check { background: #fff; border: 2px solid var(--pc-red); }
.pc-col .box-check > .box-ttl { color: var(--pc-red-dark); }
.pc-col .box-check ul { list-style: none; padding-left: 0; }
.pc-col .box-check li { position: relative; padding-left: 1.6em; }
.pc-col .box-check li::before { content: "✓"; position: absolute; left: 0; color: var(--pc-red); font-weight: bold; }
.pc-col .box-caution { background: var(--pc-caution-bg); border: 1px solid var(--pc-caution); }
.pc-col .box-caution > .box-ttl { color: #8a5a00; }
.pc-col .box-comment { background: #fff; border: 1px solid var(--pc-line); }
.pc-col .box-comment > .box-ttl { color: var(--pc-text); }
.pc-col .basis { font-size: .85em; color: #666; }
.pc-col .basis .tag { display: inline-block; font-size: .8em; border: 1px solid var(--pc-green); color: var(--pc-green-dark); border-radius: 3px; padding: 0 6px; margin-right: 6px; }
.pc-col .basis a { color: var(--pc-green-dark); }
.pc-col table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95em; }
.pc-col th, .pc-col td { border: 1px solid var(--pc-line); padding: 10px 12px; }
.pc-col thead th { background: var(--pc-beige-bg); font-weight: bold; text-align: left; }
.pc-col td.num, .pc-col th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-col tr.hl td { background: var(--pc-green-bg); font-weight: bold; }
.pc-col ol.steps { counter-reset: st; list-style: none; padding-left: 0; }
.pc-col ol.steps > li { counter-increment: st; position: relative; padding: 0 0 12px 44px; }
.pc-col ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--pc-red); color: #fff; font-weight: bold; text-align: center; line-height: 30px; }
.pc-col .cta-box { margin: 36px 0; padding: 22px; background: var(--pc-red-bg); border-radius: 8px; text-align: center; }
.pc-col .cta-btn { display: inline-block; padding: 14px 32px; background: var(--pc-red); color: #fff; font-weight: bold; border-radius: 6px; text-decoration: none; }
.pc-col .cta-btn:hover { background: var(--pc-red-dark); }
@media (max-width: 640px) {
  .pc-col .box { padding: 14px 16px; }
  .pc-col table { font-size: .85em; }
}

/* --- サイト共通CSS・テーマ（pcm2023）の指定に上書きされる箇所の補正 --- */
/* 共通CSSが段落・リストの余白を0にしているため、本文として読める余白を付ける */
.pc-col p { margin: 0 0 1.2em; }
.pc-col ul, .pc-col ol { margin-bottom: 1.2em; }
.pc-col .box p:last-child, .pc-col .box ul:last-child { margin-bottom: 0; }
.pc-col .basis { margin-top: -.4em; }
/* テーマの「本文中のリスト＝黒丸・数字、左余白20px」を、チェック印・番号付き手順では外す */
.pc-col .box-check ul, .pc-col ol.steps { margin-left: 0 !important; }
.pc-col .box-check li, .pc-col ol.steps > li { list-style: none !important; }
/* テーマの「本文中のリンク＝赤＋下線」を、根拠リンク（緑）とボタン（白文字）では外す */
.pc-col .basis a { color: var(--pc-green-dark) !important; border-bottom: 0 !important; text-decoration: underline; }
.pc-col a.cta-btn, .pc-col a.cta-btn:hover { color: #fff !important; border-bottom: 0 !important; text-decoration: none; }
/* 本文の直前に画像ブロック（FVなど）があるとき、キャプションと本文の間をあける */
.article-detail .detail .text .img + .pc-col { margin-top: 28px; }
.pc-col .pc-col-fig { margin: 20px auto 24px; max-width: 640px; }
.pc-col .pc-col-fig img { display: block; width: 100%; height: auto; border-radius: 8px; }
/* サイト共通の .tag（最小幅76px・左余白10px・行の高さ固定）を打ち消す */
.pc-col .basis .tag { min-width: 0; width: auto; margin-left: 0; text-align: center; line-height: 1.6; background: none; vertical-align: 1px; }
.pc-col .pc-col-fig--wide { max-width: none; margin: 32px 0 28px; }
/* スマホでは横長写真の左側（湖）を切り、人物を中央にして高さを出す */
@media (max-width: 767px) {
  .pc-col .pc-col-fig--wide img { aspect-ratio: 5 / 2; object-fit: cover; object-position: 85% 50%; }
}
/* 「ここがポイント」の下側に写真を敷く（画像URLは本文の style="--pc-bp-img: url(…)" で指定）
   上から：白の薄い透過 → 写真の上端だけの細いぼかし（頭より上で止める）
   → 左上から右下への斜めのぼかし（人物の手前で止める） → 写真（右下・高さ固定） → 枠の色 */
.pc-col .box-point.box-point--img {
  --bp-h: 170px;     /* 写真の高さ */
  --bp-top: 26px;    /* 上端のぼかし幅。人物の髪の上端（写真の上から約36px）より小さく */
  --bp-d1: 12%;      /* 斜めのぼかし：ここまでは枠の色 */
  --bp-d2: 36%;      /* 斜めのぼかし：ここで写真が全部見える。人物（写真の右約4割）にかからない値 */
  padding-bottom: 96px;
  background:
    linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)),
    linear-gradient(to bottom, var(--pc-green-bg), rgba(241, 247, 239, 0)) left 0 bottom calc(var(--bp-h) - var(--bp-top)) / 100% var(--bp-top) no-repeat,
    linear-gradient(to bottom right, var(--pc-green-bg) var(--bp-d1), rgba(241, 247, 239, 0) var(--bp-d2)) left bottom / 100% var(--bp-h) no-repeat,
    var(--pc-bp-img) right bottom / auto var(--bp-h) no-repeat,
    var(--pc-green-bg);
  overflow: hidden;
}
@media (max-width: 767px) {
  /* スマホは人物が幅いっぱいに並ぶため、斜めのぼかしは左端のごく一部だけ */
  .pc-col .box-point.box-point--img { --bp-h: 120px; --bp-top: 18px; --bp-d1: 0%; --bp-d2: 10%; padding-bottom: 104px; }  /* 「根拠」の行が人物の頭より上に来る余白 */
}
/* 下部CTA：左にマスコット、右に文言とボタン */
.pc-col .cta-box--mascot { display: flex; align-items: center; gap: 24px; text-align: left; }
.pc-col .cta-box--mascot .cta-mascot { flex: 0 0 150px; width: 150px; height: 150px; object-fit: cover; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.pc-col .cta-box--mascot .cta-body { flex: 1 1 auto; min-width: 0; }
.pc-col .cta-box--mascot .cta-body > p { margin: 0 0 12px; font-weight: bold; }
@media (max-width: 767px) {
  .pc-col .cta-box--mascot { flex-direction: column; gap: 14px; text-align: center; }
  .pc-col .cta-box--mascot .cta-mascot { flex-basis: auto; width: 110px; height: 110px; }
}
/* WordPressが画像の後ろに自動で入れる空の段落を消す */
.pc-col .cta-box--mascot > p:empty { display: none; }
/* ツール全体の外枠：灰色の台にツール（白）を載せて、記事本文との境目をはっきりさせる */
.pcg-wrap { margin: 32px 0 40px; padding: 0 20px 28px; background: #eef0f2; border: 1px solid #d9dde1; border-radius: 12px; box-shadow: inset 0 1px 0 #fff; }
.pcg-wrap-label { display: flex; align-items: center; gap: 10px; padding: 14px 4px 12px; font-size: 15px; font-weight: bold; color: #4a5056; letter-spacing: .04em; line-height: 1.4; }
.pcg-wrap-label::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: #66b35a; }
.pcg-wrap-badge { display: inline-block; padding: 1px 8px; font-size: 12px; color: #fff; background: #66b35a; border-radius: 10px; letter-spacing: 0; }
.pcg-wrap > .pcg { max-width: none; padding-top: 4px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .05); }
@media (max-width: 767px) {
  .pcg-wrap { margin: 24px -8px 32px; padding: 0 8px 20px; border-radius: 10px; }
  .pcg-wrap > .pcg { padding-left: 12px; padding-right: 12px; }
}
/* 外枠の中では、上部の緑の帯（hero）の角をカードに合わせ、スマホでは左右のはみ出しをカードの余白に合わせる */
.pcg-wrap > .pcg .pcg-hero { border-radius: 10px 10px 0 0; }
@media (max-width: 767px) {
  .pcg-wrap > .pcg .pcg-hero { margin-left: -12px; margin-right: -12px; }
  .pcg-wrap > .pcg .pcg-hero h2 { font-size: 21px; }
}
