/* ==================================================
  オプションページ：ベース
================================================== */
body {
	color: var(--text);
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.7;
	background: var(--cream);
}

/* ==================================================
  レイアウト幅（共通）
================================================== */
.option-hero__inner,
.option-section__header,
.option-grid,
.back-home {
	width: min(350px, calc(100% - 40px));
	margin-inline: auto;
}

/* ==================================================
  ヒーロー
================================================== */
.option-hero {
	padding: 60px 20px;
}

.option-hero h1 {
	color: var(--green);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 16px;
}

.option-hero p,
.option-section__header p,
.option-card p {
	color: var(--muted);
	font-size: 14px;
}

/* ==================================================
  オプション一覧
================================================== */
.option-section {
	padding: 40px 0;
}

.option-section--cream {
	background: var(--cream);
}

.option-section__header {
	margin-bottom: 24px;
}

.option-section__header h2 {
	color: var(--green);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 4px;
}

.option-section__header p {
	font-weight: 700;
}

.option-grid {
	display: grid;
	gap: 16px;
}

.option-card {
	display: grid;
	gap: 10px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 26px 20px 24px;
	box-shadow: var(--shadow);
}

.option-card__heading {
	display: flex;
	align-items: center;
	gap: 12px;
}

.option-card__icon {
	display: block;
	flex: 0 0 auto;
	width: 25px;
	height: 25px;
}

.option-card h3 {
	font-size: 16px;
	font-weight: 700;
}

.option-card__price {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 5px;
	margin-top: 2px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.option-card__price strong {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.option-card__price span {
	color: var(--muted);
	font-size: 12px;
}

.option-card__price--estimate strong {
	font-size: 18px;
}

/* ==================================================
  トップへ戻る
================================================== */
.back-home {
	padding: 12px 0 42px;
}

/* ==================================================
  タブレット以上
================================================== */
main {
	width: 100%;
	margin-inline: auto;
	background-color: var(--white);
}

@media (min-width: 768px) {

	.option-hero {
		padding: 72px 80px;
	}

	.option-hero__inner,
	.option-section__header,
	.option-grid,
	.back-home {
		width: min(980px, calc(100% - 160px));
	}

	.option-hero h1 {
		font-size: 30px;
		text-align: center;
	}

	.option-hero p,
	.option-section__header p {
		text-align: center;
		font-weight: normal;
	}

	.option-section {
		padding: 56px 0;
	}

	.option-section__header h2 {
		text-align: center;
		font-size: 28px;
	}

	.option-grid {
		grid-template-columns: repeat(3, 1fr);
		align-items: stretch;
	}

	.option-card {
		grid-template-rows: auto 1fr auto;
	}

	.option-card h3 {
		font-size: 18px;
	}

	.back-home {
		padding-bottom: 56px;
	}
}
