@charset "utf-8";
/* =============================================================================
 * お支払い方法（.pm-*）
 *   /new_guest/css/pay2.css　2026-10-15 新設
 *   基調色は青系（2026-10-15 ユーザー指示。ほかの案内ページの緑とは変える）。角丸・余白はご利用ガイド（.ug）・安心保証（.gr）と同じ。影は使わない。左だけの太い線は引かない。
 *   横に並ぶカードは行をそろえる（subgrid）。@media はCSSの最後。
 * ========================================================================== */

.pm { --pm-ink: #22303a; --pm-sub: #5a6b78; --pm-acc: #1a6fc4; --pm-acc2: #0f56a3; --pm-soft: #eef5fc; --pm-line: #d9e3ee;
	--pm-blue: #1a6fc4; --pm-gray: #f5f7f8; color: var(--pm-ink); font-size: 14.5px; line-height: 1.85; }
.pm [id] { scroll-margin-top: 150px; }
.pm p { margin: 0; }
.pm ul, .pm ol { margin: 0; padding: 0; list-style: none; }
.pm li::before { content: none !important; }
.pm a { color: var(--pm-blue); }
.pm svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm .pm-sec { margin: 0 0 34px; }
.pm h2.pm-h2 { display: block; margin: 0 0 12px !important; padding: 12px 16px !important; border: 0 !important; border-radius: 12px; background: var(--pm-soft) !important;
	font-size: 20px !important; line-height: 1.45 !important; font-weight: bold; color: var(--pm-ink) !important; text-align: left !important; }
.pm h2.pm-h2::before, .pm h2.pm-h2::after { content: none !important; }
.pm .pm-lead { margin: 0 0 12px; font-size: 14px; color: #34424d; }
.pm .pm-note { margin: 8px 0 0; font-size: 12.5px; color: var(--pm-sub); }
.pm .pm-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #e1edfa; color: var(--pm-acc); }
.pm .pm-tag { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--pm-soft); font-size: 12.5px; font-weight: bold; color: var(--pm-acc2); white-space: nowrap; }
.pm .pm-more { margin: 10px 0 0; text-align: right; }
.pm .pm-more a { font-weight: bold; }
.pm .pm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--pm-acc); border-radius: 999px;
	background: var(--pm-acc); color: #fff; font-size: 16px; font-weight: bold; text-decoration: none; }
.pm .pm-btn:hover { background: var(--pm-acc2); border-color: var(--pm-acc2); color: #fff; }
.pm .pm-btn--line { background: #fff; color: var(--pm-acc2); }
.pm .pm-btn--line:hover { background: var(--pm-soft); color: var(--pm-acc2); }

/* ---- メイン画像（現行 pay.html と同じ背景画像。見出しは白縁取りの大きな文字） ---- */
.pm .pm-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 300px; margin: 6px 0 16px; padding: 30px 20px;
	border-radius: 18px; background: #fff url("/new_guest/images/pay_top.webp") center / cover no-repeat; text-align: center; }
.pm h2.pm-hero__h { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 44px !important; line-height: 1.25 !important; font-weight: bold; color: var(--pm-ink) !important;
	text-shadow: 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff; }
.pm h2.pm-hero__h::before, .pm h2.pm-hero__h::after { content: none !important; }
.pm .pm-hero__s { padding: 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 15px; font-weight: bold; color: var(--pm-acc2); }

/* ---- はじめに ---- */
.pm .pm-top { margin: 6px 0 30px; padding: 22px 24px 20px; border: 1px solid var(--pm-line); border-radius: 18px; background: linear-gradient(180deg, #eef5fc 0, #fff 70%); }
.pm .pm-top__h { margin: 0 0 8px; font-size: 20px; line-height: 1.4; font-weight: bold; }
.pm .pm-top__lead { margin: 0 0 16px; font-size: 14px; color: #34424d; }
.pm .pm-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 12px; }
.pm .pm-q li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 6px; padding: 16px; border: 1px solid var(--pm-line); border-radius: 14px; background: #fff; }
.pm .pm-q b { font-size: 16px; }
.pm .pm-q p { font-size: 13px; line-height: 1.75; color: #44525d; }

/* ---- 比較カード ---- */
.pm .pm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; }
.pm .pm-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 12px; padding: 16px 18px 18px; border: 1px solid var(--pm-line); border-radius: 16px; background: #fff; }
.pm .pm-card__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 17px; font-weight: bold; line-height: 1.4; }
.pm .pm-card__h a { color: var(--pm-ink); text-decoration: none; }
.pm .pm-card__h a:hover { color: var(--pm-acc2); text-decoration: underline; }
.pm .pm-card__d { display: grid; grid-template-rows: auto auto auto auto; gap: 8px; margin: 0; }
.pm .pm-card__d div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; align-items: start; }
.pm .pm-card__d dt { margin: 0; padding: 2px 0; border-radius: 6px; background: var(--pm-gray); font-size: 12px; font-weight: bold; text-align: center; color: var(--pm-sub); }
.pm .pm-card__d dd { margin: 0; font-size: 13.5px; line-height: 1.7; }
.pm .pm-card__d dd b { color: var(--pm-acc2); }

/* ---- 各方式の詳細 ---- */
.pm .pm-detail { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.pm .pm-detail__p { margin: 0; padding: 6px 8px; border: 1px solid var(--pm-line); border-radius: 12px; background: #fff; }
.pm .pm-detail__p img { display: block; width: 100%; height: auto !important; aspect-ratio: 500 / 150; object-fit: contain; }
.pm .pm-detail > div > p { font-size: 14px; color: #34424d; }
.pm .pm-list { margin: 10px 0 0; }
.pm .pm-list li { position: relative; padding: 4px 0 4px 18px; font-size: 13.5px; line-height: 1.75; color: #34424d; }
.pm .pm-list li::after { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--pm-acc); }
.pm .pm-acc { width: 100%; max-width: 560px; margin: 16px 0 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--pm-line); border-radius: 14px; overflow: hidden; background: #fff; }
.pm .pm-acc caption { padding: 0 0 6px; text-align: left; font-size: 14px; font-weight: bold; }
.pm .pm-acc th, .pm .pm-acc td { padding: 10px 14px; border: 0; border-top: 1px solid var(--pm-line); text-align: left; font-size: 14px; line-height: 1.6; }
.pm .pm-acc tr:first-child th, .pm .pm-acc tr:first-child td { border-top: 0; }
.pm .pm-acc th { width: 7em; background: var(--pm-gray); font-size: 13px; color: var(--pm-sub); }
.pm .pm-acc td { font-weight: bold; }
.pm .pm-brand { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.pm .pm-brand li { display: flex; align-items: center; justify-content: center; width: 72px; height: 46px; padding: 4px; border: 1px solid var(--pm-line); border-radius: 8px; background: #fff; }
.pm .pm-brand img { max-width: 100%; max-height: 100%; height: auto; }
.pm .pm-safe { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--pm-line); border-radius: 14px; background: var(--pm-gray); }
.pm .pm-safe p { font-size: 13.5px; line-height: 1.7; }

/* ---- 流れ ---- */
.pm .pm-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; gap: 0 10px; }
.pm .pm-flow li { display: grid; grid-template-rows: subgrid; grid-row: span 4; justify-items: center; row-gap: 6px; padding: 10px 10px 14px; border: 1px solid var(--pm-line); border-radius: 14px; background: #fff; text-align: center; }
.pm .pm-flow img { display: block; width: 100%; height: auto !important; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; background: #f4faf2; }
.pm .pm-flow img.is-fit { object-fit: contain; }
.pm .pm-flow i { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pm-acc); color: #fff; font-style: normal; font-weight: bold; }
.pm .pm-flow b { font-size: 14.5px; line-height: 1.4; }
.pm .pm-flow span { font-size: 12.5px; line-height: 1.7; color: #44525d; text-align: left; }

/* ---- 計算例 ---- */
.pm .pm-calc { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--pm-line); border-radius: 14px; overflow: hidden; background: #fff; }
.pm .pm-calc th, .pm .pm-calc td { padding: 10px 14px; border: 0; border-top: 1px solid var(--pm-line); text-align: left; font-size: 14px; line-height: 1.6; vertical-align: middle; }
.pm .pm-calc thead th { border-top: 0; background: var(--pm-soft); font-size: 12.5px; color: var(--pm-sub); }
.pm .pm-calc tbody th { font-size: 13.5px; }
.pm .pm-calc td:last-child { text-align: right; white-space: nowrap; }
.pm .pm-calc td b { font-size: 18px; color: var(--pm-acc2); }
.pm .pm-calc td small { display: block; font-size: 11.5px; color: var(--pm-sub); }

/* ---- 領収証など ---- */
.pm .pm-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 12px; }
.pm .pm-info li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 6px; padding: 16px; border: 1px solid var(--pm-line); border-radius: 14px; background: #fff; }
.pm .pm-info b { font-size: 15px; }
.pm .pm-info p { font-size: 13px; line-height: 1.8; color: #44525d; }

/* ---- FAQ・関連・見積り ---- */
.pm .pm-faq details { margin: 0 0 8px; border: 1px solid var(--pm-line); border-radius: 12px; background: #fff; }
.pm .pm-faq summary { position: relative; padding: 12px 44px 12px 46px; font-weight: bold; line-height: 1.6; cursor: pointer; list-style: none; }
.pm .pm-faq summary::-webkit-details-marker { display: none; }
.pm .pm-faq summary::before { content: "Q" !important; position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--pm-acc); color: #fff; font-size: 13px; line-height: 24px; text-align: center; }
.pm .pm-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--pm-acc); border-bottom: 2px solid var(--pm-acc); transform: rotate(45deg); }
.pm .pm-faq details[open] summary::after { margin-top: -1px; transform: rotate(-135deg); }
.pm .pm-faq details p { padding: 0 16px 14px 46px; font-size: 13.5px; line-height: 1.85; color: #34424d; }
.pm .pm-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pm .pm-rel a { display: flex; align-items: center; min-height: 48px; padding: 6px 14px; border: 1px solid var(--pm-line); border-radius: 12px; background: #fff; color: var(--pm-ink); font-size: 13.5px; font-weight: bold; text-decoration: none; }
.pm .pm-rel a:hover { border-color: var(--pm-acc); }
.pm .pm-cta { padding: 20px; border: 1px solid var(--pm-line); border-radius: 18px; background: #fff; text-align: center; }
.pm .pm-cta__t { margin: 0 0 4px; font-size: 17px; font-weight: bold; }
.pm .pm-cta__b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 auto; }

/* ---- スマホ（@media はCSSの最後） ---- */
@media screen and (max-width: 767px) {
	.pm { font-size: 14px; }
	.pm [id] { scroll-margin-top: 76px; }
	.pm h2.pm-h2 { font-size: 17px !important; padding: 10px 12px !important; }
	.pm .pm-top { padding: 16px 14px; border-radius: 14px; }
	.pm .pm-top__h { font-size: 18px; }
	.pm .pm-hero { min-height: 150px; padding: 20px 12px; border-radius: 14px; }
	.pm h2.pm-hero__h { font-size: 30px !important; }
	.pm .pm-hero__s { font-size: 13px; }
	.pm .pm-q { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
	.pm .pm-q li { grid-template-rows: none; grid-row: auto; padding: 12px 14px; }
	.pm .pm-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pm .pm-card { grid-template-rows: none; grid-row: auto; padding: 14px; }
	.pm .pm-card__d div { grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; }
	.pm .pm-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pm .pm-detail__p { max-width: 320px; }
	.pm .pm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 8px; }
	.pm .pm-flow li { grid-row: span 4; padding: 8px 8px 12px; }
	.pm .pm-calc th, .pm .pm-calc td { padding: 8px 10px; font-size: 13px; }
	.pm .pm-calc td b { font-size: 16px; }
	.pm .pm-calc thead th:nth-child(2), .pm .pm-calc td:nth-child(2) { display: none; }
	.pm .pm-info { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
	.pm .pm-info li { grid-template-rows: none; grid-row: auto; }
	.pm .pm-rel { grid-template-columns: minmax(0, 1fr); }
	.pm .pm-cta { padding: 16px 12px; }
	.pm .pm-cta__b { grid-template-columns: minmax(0, 1fr); }
}
