@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
	--bg: #F2F2F2;
	--text: #111;
	--muted: #545454;
	--primary: #1e88ff;
	--card: #F8F8F8;
	--border: #e6e9ef;
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	color: var(--text);
	background: var(--bg);
}

.l-page { 
	min-height: 100vh; 
	position: relative;
	background: #fff;
	padding-top: 160px;
}
.l-page:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 26vh;
	background: url(../images/bg_01.jpg) center center no-repeat;
	z-index: 0;
}

.l-hero__inner,
.l-result__inner,
.l-services__inner,
.l-popular__inner,
.l-confirm__inner {
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	overflow: hidden;
}


.l-hero {
	max-width: 720px;
	padding: 0 24px 120px;
	margin: 0 auto;
	position: relative;
}
.l-hero.l-hero--confirm {
	padding: 0 24px;
}
.l-hero__inner {
	background: #fff;
	border-radius: 8px;
}

.c-logo {
	margin: 0 auto;
	padding: 32px 16px 0px;
	text-align: center;
}
.c-logo img {
	max-width: 280px;
}

.c-lead {
	margin: 6px 0 0;
	color: var(--muted);
	font-weight: 700;
}

.c-h2 {
	margin: 18px 0 10px;
	font-size: 18px;
	font-weight: 900;
}

.c-h2--center { text-align: center; }

.c-card {
	background: var(--card);
	border-radius: 14px;
	padding: 24px;
	margin-top: 32px;
}
.c-form {
	max-width: calc(100% - 128px);
	margin: auto;
}
/* step badges for quick diagnosis */
.c-form--step {
}
.c-form__row.c-step {
	position: relative;
	padding-left: 52px;
	max-width: calc(100% - 64px);
	box-sizing: border-box;
	margin: auto;
	margin-bottom: 24px;
}
@media (max-width: 560px) {
	.c-card {
		padding: 16px;
		margin-top: 24px;
		padding-right: 0;
		padding-left: 8px;
	}
	.c-form {
		max-width: calc(100% - 16px);
	}
	.c-form__row.c-step {
		padding-left: 32px;
		max-width: calc(100% - 16px);
		box-sizing: border-box;
		margin: auto;
		margin-bottom: 24px;
	}
}
.c-form__row.c-step:last-child {
	margin-bottom: 0;
}
.c-form--step .c-form__row.c-step[data-step="GO"] {
	background: #fff;
	padding: 16px;
}
.more_link {
	max-width: calc(100% - 128px);
	margin: auto;
	padding: 16px;
}
@media (max-width: 560px) {
.more_link {
	max-width: calc(100% - 32px);
	margin: auto;
	padding: 16px;
}
}
.c-form--step .c-form__row.c-step::before {
	content: attr(data-step);
	position: absolute;
	left: -16px;
	top: -4px;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: #8AB7D9;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.02em;
}
.c-confirm.c-form--step .c-form__row.c-step::before {
	top: 5px;
}
.c-form--step .c-form__row.c-step::after {
	content: '';
	position: absolute;
	left: 0px;
	top: 25px;
	width: 2px;
	height: calc(100% + 12px);
	background: #111;
	opacity: 0.18;
}
.c-form--step .c-form__row.c-step:last-of-type::after {
	display: none;
}
/* GO badge */
.c-form--step .c-form__row.c-step[data-step="GO"]::before {
	background: var(--primary);
	font-size: 11px;
	width: 40px;
	height: 40px;
	font-size: 16px;
	background: #FFED6E;
	color: #2F8AD7;
}

.c-form__row { margin-top: 12px; }
.c-label {font-weight: 700;display: flex;align-items: center;justify-content: space-between;gap: 10px;margin-bottom: 6px;}
.c-required {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: #2F8AD7;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	flex-shrink: 0;
}
.c-optional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: #aaa;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}
.c-help {margin: 6px 0;color: var(--muted);font-size: 12px;}

.c-input {
	width: 100%;
	padding: 12px 12px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 16px;
}

.c-radio { 
	display: flex; 
	gap: 16px;
}
.c-radio__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}
/* postal candidates (radio list) */
.c-radio--stack {
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}
.c-postal-candidates {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
}
/* 候補ラジオの崩れ対策：ラベルを横幅いっぱいにして、テキストが1文字ずつ縦に割れないようにする */
.c-postal-candidates .c-radio__item {
	width: 100%;
	align-items: flex-start;
}
.c-postal-candidates .c-radio__item span {
	flex: 1;
	min-width: 0;
	white-space: normal;
	word-break: keep-all;
	overflow-wrap: anywhere;
	line-height: 1.4;
}
.c-check {display: flex;gap: 10px;flex-wrap: wrap;}
.c-check__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.c-check__item input[disabled] + span { opacity: 0.5; }

.c-btn {
	width: 100%;
	padding: 14px 12px;
	border-radius: 4px;
	border: 1px solid transparent;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.c-btn--primary { background: var(--primary); color: #fff; }
.c-btn--ghost {
	background: #fff;
	border: 1px solid #2696E9;
	color: #2696E9;
	width: 100%;
}

.c-resultline {
	margin: 12px 0 4px;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 4px;
}

.c-resultline__label { 
	color: var(--muted); 
	font-weight: 700; 
}
.c-resultline__value { 
	font-weight: 600; 
	font-size: 17px;
}



.l-services {
	/* min-height: 100vh; */
	position: relative;
	padding-top: 160px;
	background: #fff;
}
.l-services:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 26vh;
	background: url(../images/bg_01.jpg) center center no-repeat;
	z-index: 0;
}
.l-hero {
	max-width: 720px;
	padding: 0 24px 180px;
	margin: 0 auto;
	position: relative;
}
.l-services__inner {
	background: #fff;
	max-width: 720px;
	padding: 0 24px 64px;
	margin: 0 auto;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}
@media (max-width: 560px) {
	.l-services__inner {
	padding: 0 16px 40px;
	}
}

.l-request {
	position: relative;
	padding-top: 160px;
	background: #fff;
	padding-bottom: 80px;
}
.l-request:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 160px;
	background: url(../images/bg_02.jpg) center center no-repeat;
	z-index: 0;
}
.l-popular {
	padding: 60px 0 80px;
	background: var(--bg);
}
.l-popular__inner {
	max-width: 800px;
	padding: 0 24px 64px;
	margin: 0 auto;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}
.l-popular .c-popular {
}
@media (max-width: 560px) {
	.l-request {
		padding-top: 120px;
		padding-bottom: 40px;
	}
	.l-request:before {
		height: 120px;
		background: url(../images/bg_02.jpg) center center no-repeat;
		background-size: cover;
	}
	.l-popular__inner {
		max-width: 800px;
		padding: 0 16px 40px;
		margin: 0 auto;
		position: relative;
		border-radius: 8px;
		overflow: hidden;
	}
}

.c-heading {
	margin: 0 auto;
	padding: 24px 16px;
	text-align: center;
}
.c-h2 {
	text-align: center;
	color: #2696E9;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 16px;
}
.c-h2 img {
	max-width: 220px;
}
.l-request .c-h2 {
	font-size: 36px;
	color: #2696E9;
	margin-top: 40px;
}

@media (max-width: 560px) {
	.c-h2 {
		font-size: 20px;
	}
	.l-request .c-h2 {
		font-size: 26px;
	}
}
.c-services { display: grid; gap: 10px; }
/* SP/PC è¡¨ç¤ºåˆ‡æ›¿ */
.c-services-grid { display: none; }
/* results table (åˆ¤å®šçµæžœ) */
.c-services-table {
	width: 100%;
	table-layout: fixed;
	max-width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}
.c-services-table th,
.c-services-table td {
	padding: 8px 4px;
	border-bottom: 1px solid var(--border);
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	white-space: normal;
	word-break: break-word;
	/* colgroup指定を優先する */
	width: auto;
}
/* results mark icons (○/×/ー) */
.c-mark {
	display: inline-block;
	width: 26px;
	height: 26px;
	vertical-align: middle;
}
@media (max-width: 560px) {
	.c-mark {
		width: 20px;
		height: 20px;
	}
}
.c-services-table thead th {
	background: #f7f8fa;
	color: var(--muted);
	font-size: 17px;
	font-weight: 700;
}
.c-services-table thead th:first-child {
	font-size: 18px;
	font-weight: 700;
}
.c-services-table thead th .speed_label {
	font-size: 12px;
	font-weight: 700;
}
/* ③ 速度数字 大きく・太字 */
.speed_num {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}
.c-services-table tbody th[scope="row"] {
	text-align: center;
	color: var(--text);
	width: 28%;
	display: table-cell;
}
.c-services-table__provider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.c-services-table__logo {
	width: auto;
	height: 24px;
	max-width: 180px;
	display: block;
}

.c-services-table tbody tr:last-child th,
.c-services-table tbody tr:last-child td {
	border-bottom: none;
}
.c-services-table tbody tr.is-unavailable {
	opacity: 0.45;
}
.c-services-table tbody tr.is-available td {
	color: var(--primary);
}
.c-services-table tbody tr.is-unavailable td {
	color: var(--muted);
}
.l-services__inner .caption {
	font-size: 14px;
}
.cta_area {
	margin-top: 60px;
	background: #f8f8f8;
	padding: 40px 16px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
}
.cta_area .popup {
	position: relative;
	height: 120px;
}
.cta_area .popup img {
	position: absolute;
	top: 0;
	left: calc(50% - 10%);
}
.cta_area .copy {
	text-align: center;
	margin-top: 8px;
	margin-bottom: 12px;
	font-size: 18px;
}
.cta_area .copy .underline {
	text-decoration: underline;
}
.cta_area .more_link {
	padding: 0 64px;
}

@media (max-width: 560px) {
	.cta_area .more_link {
		padding: 0 16px;
	}
	.cta_area .popup img {
		left: calc(50% - 19%);
	}
	.cta_area .copy br {
		display: none;
	}
}


.service-item {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
}

.service-item.unavailable { opacity: 0.45; }

.btn-detail {
	padding: 10px 10px;
	border-radius: 4px;
	border: 1px solid var(--border);
	background: var(--primary);
	color: #fff;
	font-weight: 900;
	cursor: pointer;
	white-space: nowrap;
	/* PC tableの詳細列が潰れないように最低幅を確保 */
	min-width: 72px;
}
/* SP grid（判定結果・SP専用） */
@media (max-width: 560px) {
	.c-services-table { display: none; }
	.c-services-grid { display: block; }
	.c-services-grid__header,
	.c-services-grid__row {
		display: grid;
		grid-template-columns: 30% repeat(5, 1fr) 36px;
		align-items: center;
		border-bottom: 1px solid var(--border);
	}
	.c-services-grid__header {
		background: #f7f8fa;
		font-weight: 700;
		color: var(--muted);
	}
	.c-services-grid__cell {
		padding: 8px 2px;
		text-align: center;
		font-size: 13px;
		font-weight: 600;
		word-break: break-word;
	}
	.c-services-grid__cell.is-service {
		text-align: center;
		padding-left: 0;
	}
	.c-services-grid__header .c-services-grid__cell.is-service {font-size: 15px;}
	/* 速度列ヘッダーに「Gbps」をCSSで付加 */
	.c-services-grid__header .c-services-grid__cell:not(.is-service):not(.is-detail)::after {
		content: 'Gbps';
		display: block;
		font-size: 9px;
		font-weight: 700;
		line-height: 1;
	}
	/* 詳細ボタンを「＞」アロー表示 */
	.c-services-grid .btn-detail {
		width: 36px;
		min-width: 36px;
		height: 36px;
		padding: 0;
		border-radius: 6px;
		font-size: 0;
		line-height: 0;
	}
	.c-services-grid .btn-detail::before {
		content: '＞';
		font-size: 16px;
		line-height: 36px;
	}
	.c-services-grid__logo {
		max-width: 100%;
		width: 100%;
		/* height: 18px; */
		object-fit: contain;
		object-position: center center;
		display: block;
	}
	.c-services-grid__name { font-size: 11px; font-weight: 700; }
	/* ③ 速度数字 SP */
	.speed_num { font-size: 16px; font-weight: 900; }
	.c-services-grid__row.is-unavailable { opacity: 0.45; }
	.c-services-grid__empty {
		padding: 16px;
		text-align: center;
		color: var(--muted);
		font-size: 14px;
	}
}
/* SPのみ：テーブル内の「詳細」ボタンを「＞」表示にする（カード側は対象外） */
@media (max-width: 560px) {
	.c-services-table .btn-detail {
		width: 36px;
		min-width: 36px;
		height: 36px;
		padding: 0;
		border-radius: 6px;
		font-size: 0; /* 元テキストを非表示 */
		line-height: 0;
	}
	.c-services-table .btn-detail::before {
		content: '＞';
		font-size: 16px;
		line-height: 36px;
	}
	/* テーブルを枠内に収める（横スクロールなし） */
	.c-services-table th,
	.c-services-table td {
		padding: 8px 0px;
	}
	/* SP：thead側で列幅を確定（table-layout:fixed は first row で決まる） */
	.c-services-table thead th:first-child {
		width: 30%;
	}
	.c-services-table thead th:not(:first-child):not(:last-child) {
		width: 10%;
	}
	.c-services-table thead th:last-child {
		width: 10%;
	}
	/* SP：速度列ヘッダーの文字サイズを抑える */
	.c-services-table thead th {
		font-size: 13px;
	}
	.c-services-table thead th .speed_label {
		font-size: 9px;
	}
	/* サービス名列ヘッダーのみさらに小さく */
	.c-services-table thead th:first-child {
		font-size: 14px;
		font-weight: 900;
	}
	.c-services-table__logo {
		max-width: 100%;
		width: 100%;
		height: 18px;
		object-fit: contain;
		object-position: center center;
	}
}

.c-error {
	width: min(420px, 100%);
	margin: 12px auto 0;
	padding: 10px 14px;
	background: #fff0f0;
	border: 1px solid #ffd0d0;
	color: #b00020;
	border-radius: 12px;
}
/* フィールドの次に入るエラーメッセージ */
.c-field-error {
	display: block;
	margin: 8px 0 0;
	padding: 8px 12px;
	background: #fff0f0;
	border: 1px solid #ffc0c0;
	border-radius: 6px;
	color: #b00020;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.c-loading {
	width: min(420px, 100%);
	margin: 18px auto 0;
	padding: 14px;
	text-align: center;
}

.c-loading__spinner {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 3px solid #dbe6ff;
	border-top-color: var(--primary);
	margin: 0 auto 8px;
	animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	z-index: 9999;
}

.modal-overlay.is-open { display: flex; }

.modal {
	width: min(680px, 100%);
	/* background: #fff; */
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 999px;
	background: #f2f2f2;
	font-size: 18px;
	cursor: pointer;
}

.modal-body {padding: 16px;max-height: 80vh;overflow: auto;background: #fff;}

.provider-item {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px;
	background: #fff;
}
.provider-head {
	display: grid;
	gap: 6px;
}
.provider-logo {
	max-width: 260px;
	width: 100%;
	height: auto;
	display: block;
}
.provider-desc {
	margin: 10px 0 0;
	color: var(--muted);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
}
/* modal features: horizontal (6 items) */
.provider-features {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 12px;
}
@media (max-width: 560px) {
	.provider-features {
		grid-template-columns: repeat(3, 1fr);
	}
}
.provider-cta {
	margin-top: 14px;
}
.provider-apply {
	width: 100%;
	padding: 14px;
	border: none;
	border-radius: 8px;
	background: #1c1c1c;
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}

.provider-title { font-size: 28px; font-weight: 900; }
.provider-sub {margin-top: 6px;font-weight: 800;font-family: 'Roboto', sans-serif;font-size: 20px;line-height: 1;}

.provider-price {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
}

.provider-price-num {font-size: 42px;font-weight: 700;color: #e4007f;font-family: 'Roboto', sans-serif;letter-spacing: -1px;margin-right: 3px;}
.provider-price-unit {
	font-weight: 700;
}
.provider-icons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 14px;
}

.provider-icon {
	padding: 10px;
	border-radius: 12px;
	background: #f3f3f3;
	font-size: 12px;
	font-weight: 900;
	text-align: center;
}

.provider-icon.is-off { opacity: 0.35; filter: grayscale(1); }

.provider-more {
	width: 100%;
	margin-top: 14px;
	padding: 14px;
	border: none;
	border-radius: 12px;
	background: #111;
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}
/* popular providers (ã‚«ãƒ¼ãƒ‰) */
.c-popular {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
	justify-items: center;
	margin-top: 32px;
}
/* SPã¯1åˆ— */
@media (max-width: 560px) {
	.c-popular {
		grid-template-columns: 1fr;
	}
}
.p-provider-card {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	padding: 18px;
	box-shadow: 0 2px 14px rgba(0,0,0,0.08);
	width: 100%;
	max-width: 360px;
}
.p-provider-card__title {
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0.01em;
}
.p-provider-card__logo {
	width: auto;
	height: 100%;
	max-height: 40px;
	height: auto;
	display: block;
}

/* プロバイダーごとのロゴサイズ調整（人気回線カード） */
/* 使い方: [data-provider="プロバイダー名"] .c-services-table__logo { max-height: XXpx; } */
[data-provider="ドコモ光"] .c-services-table__logo { 
	height: 22px;
}
[data-provider="BIGLOBE光"] .c-services-table__logo { 
	height: 31px;
}
/* [data-provider="ソフトバンク光"] .c-services-table__logo { max-height: 36px; } */
/* [data-provider="とくとくBB光"] .c-services-table__logo { max-height: 36px; } */
[data-provider="NURO光"] .c-services-table__logo { 
	height: 21px;
}
[data-provider="auひかり"] .c-services-table__logo {
	height: 18px;
}
[data-provider="コミュファ光"] .c-services-table__logo { 
	height: 28px;
}
[data-provider="eo光"] .c-services-table__logo { 
	height: 30px;
}
/* [data-provider="メガ・エッグ"] .c-services-table__logo { max-height: 36px; } */
[data-provider="ピカラ光"] .c-services-table__logo { 
	height: 21px;
}
[data-provider="BBIQ"] .c-services-table__logo { 
	height: 33px;
}

.p-provider-card__sub {
	margin-top: 4px;
	font-size: 20px;
	font-weight: 700;
}
.p-provider-card__price {
	margin-top: 8px;
	display: flex;
	align-items: flex-end;
	gap: 6px;
}
.p-provider-card__priceLabel {
	font-size: 19px;
	font-weight: 700;
	color: #e4007f;
	writing-mode: vertical-rl;
	text-orientation: upright;
	line-height: 1;
}
.p-provider-card__priceNum {
	font-size: 64px;
	font-weight: 700;
	line-height: 0.9;
	color: #e4007f;
	font-family: 'Roboto', sans-serif;
	letter-spacing: -2px;
}
.p-provider-card__priceUnit {
	font-size: 18px;
	font-weight: 900;
	color: #e4007f;
}
.p-provider-card__divider {
	margin: 14px 0;
	height: 1px;
	background: #cfcfcf;
}
.p-provider-card__features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.p-feature {
	display: grid;
	place-items: center;
	min-height: 84px;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	text-align: center;
	padding: 10px;
}
.p-feature[data-color="pink"] { background: #f06d6d; }
.p-feature[data-color="yellow"] { background: #d7c234; }
.p-feature[data-color="green"] { background: #56c526; }
.p-feature[data-color="teal"] { background: #2bb7c0; }
.p-feature[data-color="blue"] { background: #4c52db; }
.p-feature[data-color="purple"] { background: #bb49db; }
.p-feature.is-off {
	filter: grayscale(1);
	opacity: 0.28;
}
/* feature: conditional mark (â–³) */
.p-feature.is-conditional {
	position: relative;
}
.p-feature.is-conditional::after {
	content: '*';
	position: absolute;
	top: 6px;
	right: 6px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-weight: 900;
	font-size: 12px;
	line-height: 16px;
	text-align: center;
}
/* conditional + off: keep visible */
.p-feature.is-conditional.is-off::after {
	background: rgba(0, 0, 0, 0.45);
}
.p-feature__text {
	font-size: 16px;
	line-height: 1.1;
}
.p-feature__icon {
	width: 100%;
	max-width: 72px;
	height: auto;
	display: block;
}
/* icons-only mode (text hidden if remaining in markup) */
.p-feature__text { display: none; }
.p-provider-card__cta {
	margin-top: 14px;
	/* width: 100%; */
	padding: 14px;
	border: none;
	border-radius: 4px;
	background: #111;
	color: #fff;
	font-weight: 900;
	cursor: pointer;
	display: block;
	margin: 16px auto;
}

/* Footer */
.l-footer {
	/* margin-top: 22px; */
	background: #111;
	color: #fff;
	padding: 65px 0;
	position: relative;
}
.l-footer__inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	gap: 16px;
	justify-items: center;
	text-align: center;
}
.l-footer__logo {
	width: min(260px, 72vw);
	height: auto;
	display: block;
	margin-bottom: 40px;
}
.l-footer__copy {
	display: block;
	color: rgba(255,255,255,0.78);
	font-weight: 700;
	letter-spacing: 0.02em;
}
.l-footer .notice {
	margin: 0;
	color: rgba(255,255,255,0.78);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.7;
}
.l-footer .link {
	margin: 0;
	display: flex;
	gap: 18px;
	justify-content: center;
	font-size: 13px;
}
.l-footer .link a {
	color: #fff;
	text-decoration: none;
}
.l-footer .link a:hover {
	text-decoration: underline;
}
.l-footer__backTop {
	text-decoration: none;
	position: absolute;
	right: 2%;
	top: -60px;
	transition: transform 160ms ease, filter 160ms ease;
	will-change: transform;
}
.l-footer__backTop:hover {
	transform: translateY(-6px);
	filter: brightness(1.05);
}
.l-footer__backTop:focus-visible {
	outline: 2px solid rgba(255,255,255,0.75);
	outline-offset: 4px;
}
/* provider modal: description below features */
.provider-desc {
	margin: 12px 0 0;
}
/* Legal modal */
.legal-modal {
	max-width: 680px;
}
.legal-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 900;
}
.legal-modal__content {
	margin-top: 10px;
	color: #111;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.8;
}
.legal-modal__content p { margin: 0 0 12px; }

.c-link { color: var(--muted); text-decoration: underline; }

/* Back to top button */
.c-back-top {
	text-align: center;
	margin-top: 32px;
}

.c-btn--back {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 14px 48px;
	border-radius: 4px;
	border: 2px solid #2696E9;
	background: #fff;
	color: #2696E9;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease;
}

.c-btn--back:hover {
	background: #2696E9;
	color: #fff;
}

/* l-popular（グレー背景）内ではプライマリスタイルに反転 */
.l-popular .c-btn--back {
	background: #2696E9;
	color: #fff;
	border-color: #2696E9;
}

.l-popular .c-btn--back:hover {
	background: #1e88ff;
	border-color: #1e88ff;
}

@media (max-width: 560px) {
	.c-btn--back {
		padding: 14px 32px;
		font-size: 15px;
	}
}

.c-actions {display: grid;gap: 10px;margin-top: 14px;padding: 16px;background: #fff;}

.form_box {
	background: var(--bg);
	/* border: 1px solid var(--border); */
	border-radius: 8px;
	padding: 32px;
	margin-top: 32px;
}

.l-confirm__inner {
	max-width: 720px;
	padding: 0 32px;
}
.c-confirm__row {
	/* display: grid; */
	grid-template-columns: 120px 1fr;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px dashed var(--border);
}

.c-confirm__row:first-child { border-top: none; }

.c-confirm__key {/* color: var(--muted); */font-weight: 700;margin-bottom: 16px;}
.c-confirm__val {/* font-weight: 900; */}

.c-note { color: var(--muted); font-weight: 700; }