@charset "UTF-8";

/* ==========================================================================
   PLAN Page Styles
   間取り一覧（plan/index.html）／間取り詳細（plan/natype.html）
   ※ すべて .plan-page / #plan-page 配下へスコープしています（他ページへは影響しません）
   ========================================================================== */

.plan-page {
	/* main color : navy */
	--plan-green: #16355f;
	--plan-green-muted: #16355f;
	--plan-green-dark: #122a4c;
	--plan-green-soft: #eef2f7;
	--plan-green-line: #8799b3;
	/* 細い区切り罫用の淡い紺 */
	--plan-green-hair: #d8e1ec;
	/* accent : gold（MVの日本語タイトルと細いアクセントのみ） */
	--plan-gold: #b8a06a;
	/* MVの写真上に載せる「淡い金」。#b8a06a のままだと17pxの和文で
	   コントラスト3.6:1しか取れず読みにくいため、写真上専用に明るく調整 */
	--plan-gold-light: #d9c68f;

	--plan-text: #211815;
	--plan-sub: #5f6d80;
	--plan-en: "Libre Baskerville", "EB Garamond", "Times New Roman", Times, serif;

	color: var(--plan-text);
	overflow-x: hidden;
}

/* 主要コンテンツ幅：PC 最大1000px 中央 ／ SP 左右20px */
.plan-page .plan_inner {
	box-sizing: border-box;
	width: min(100% - 40px, 920px);
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
	main visual
--------------------------------------------------------------*/
.plan-page .plan_mv {
	position: relative;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: clamp(300px, 26vw, 360px);
	padding: 60px 20px;
	overflow: hidden;
	background-color: var(--plan-green-dark);
	background-image: url("../img/plan/mv.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* 黒の半透明レイヤー。
   基本は黒40%。写真の明るい部分でも白／金タイトルが読めるよう、
   タイトル背後だけ緩やかに濃くしている（中央 約75% → 端 約53%）。 */
.plan-page .plan_mv::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(80% 90% at 50% 52%, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .22) 100%),
		rgba(0, 0, 0, .4);
	pointer-events: none;
}

.plan-page .plan_mv_ttl {
	position: relative;
	z-index: 1;
	margin: 0;
	text-align: center;
	font-weight: 400;
}

.plan-page .plan_mv_en {
	display: block;
	font-family: var(--plan-en);
	font-size: clamp(32px, 5.4vw, 62px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	color: #fff;
}

.plan-page .plan_mv_caption {
	position: absolute;
	right: 20px;
	bottom: 12px;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.04em;
}

.plan-page .plan_mv_ja {
	display: block;
	position: relative;
	margin-top: 30px;
	padding-top: 26px;
	font-size: clamp(13px, 1.4vw, 17px);
	letter-spacing: 0.32em;
	text-indent: 0.32em;
	line-height: 1;
	color: var(--plan-gold-light);
}

.plan-page .plan_mv_ja::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 48px;
	height: 1px;
	background: var(--plan-gold-light);
}

/*--------------------------------------------------------------
	breadcrumb
--------------------------------------------------------------*/
.plan-page .plan_breadcrumb {
	margin-top: 18px;
}

.plan-page .plan_breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.04em;
	color: var(--plan-sub);
}

.plan-page .plan_breadcrumb li {
	display: flex;
	align-items: center;
}

.plan-page .plan_breadcrumb li + li::before {
	content: "＞";
	margin: 0 0.7em;
	font-size: 10px;
	color: var(--plan-green-line);
}

.plan-page .plan_breadcrumb a {
	color: var(--plan-sub);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .3s ease, border-color .3s ease;
}

.plan-page .plan_breadcrumb a:hover {
	color: var(--plan-green);
	border-bottom-color: var(--plan-green);
}

.plan-page .plan_breadcrumb a:focus-visible {
	outline: 2px solid var(--plan-green);
	outline-offset: 3px;
}

/*--------------------------------------------------------------
	lead
--------------------------------------------------------------*/
.plan-page .plan_lead {
	margin: 70px 0 0;
	font-family: 'Noto Serif JP', serif;
	font-size: clamp(23px, 2.4vw, 31px);
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--plan-text);
}

/*--------------------------------------------------------------
	section title
--------------------------------------------------------------*/
.plan-page .plan_groups {
	margin: 84px 0 120px;
}

.plan-page .plan_group + .plan_group {
	margin-top: 84px;
}

.plan-page .plan_group_ttl {
	position: relative;
	box-sizing: border-box;
	margin: 0 0 40px;
	padding: 15px 20px 15px 24px;
	border-bottom: 1px solid var(--plan-green-line);
	background: linear-gradient(90deg, var(--plan-green-soft) 0%, rgba(238, 242, 247, 0.55) 62%, rgba(238, 242, 247, 0) 100%);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-align: left;
	color: var(--plan-green-dark);
}

.plan-page .plan_group_ttl::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--plan-gold);
}

/*--------------------------------------------------------------
	plan cards（一覧）
--------------------------------------------------------------*/
.plan-page .plan_cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.plan-page .plan_card {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 34% 1fr;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--plan-green-line);
}

/* タイプ名側：濃い紺 */
.plan-page .plan_card_type {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 34px 12px;
	background: linear-gradient(135deg, #3aabd0 0%, #0b6d9d 45%, #122a4c 100%);
}

.plan-page .plan_card_name {
	margin: 0;
	font-family: var(--plan-en);
	font-size: clamp(34px, 3.8vw, 46px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.08em;
	text-indent: 0.08em;
	color: #fff;
}

.plan-page .plan_card_label {
	margin: 12px 0 0;
	font-family: var(--plan-en);
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.26em;
	text-indent: 0.26em;
	color: #ebce8d;
}

/* 情報側：白 */
.plan-page .plan_card_info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 23px 28px 18px;
	background: #fff;
}

.plan-page .plan_card_row {
	position: relative;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 14px;
}

.plan-page .plan_card_row + .plan_card_row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--plan-green-hair);
}

.plan-page .plan_card_row dt {
	flex-shrink: 0;
	width: 6.6em;
	margin-bottom: 3px;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	color: var(--plan-sub);
}

.plan-page .plan_card_row dd {
	margin: 0;
	color: var(--plan-text);
}

.plan-page .plan_card_madori {
	font-size: clamp(20px, 2.1vw, 26px);
	line-height: 1.25;
	letter-spacing: 0.06em;
	color: var(--plan-green);
}

.plan-page .plan_card_madori_label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.plan-page .plan_card_row_madori {
	justify-content: flex-start;
}

.plan-page .plan_card_area .num {
	font-family: var(--plan-en);
	font-size: clamp(19px, 2vw, 28px);
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: var(--plan-green);
}

.plan-page .plan_card_area .unit {
	margin-left: 0.15em;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--plan-green);
}

.plan-page .plan_card_area .tsubo {
	display: inline-block;
	margin-left: 0.55em;
	font-size: 12px;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: var(--plan-sub);
}

.plan-page .plan_card_agingfree {
	position: absolute;
	right: 0;
	top: calc(50% + 12px);
	width: 54px;
	height: auto;
	transform: translateY(-50%);
}

/* カード全体を詳細ページへのリンクにする */
#plan-page .plan_card_item {
	display: flex;
}

#plan-page .plan_card_link {
	width: 100%;
	color: var(--plan-text);
	text-decoration: none;
	transition: opacity .3s ease;
}

#plan-page .plan_card_link:hover {
	opacity: .7;
}

#plan-page .plan_card_link:focus-visible {
	outline: 2px solid var(--plan-green);
	outline-offset: 3px;
}

/* ==========================================================================
   PLAN DETAIL（間取り詳細ページ）
   ========================================================================== */

#plan-page .plan_detail {
	margin: 60px 0 110px;
}

/*--------------------------------------------------------------
	detail : 詳細パネル（プラン名〜注意書きを1つの枠にまとめる）
--------------------------------------------------------------*/
#plan-page .plan_detail_panel {
	box-sizing: border-box;
	padding: 60px;
	background: #fff;
	border: 1px solid var(--plan-green-line);
	text-align: center;
}

/*--------------------------------------------------------------
	detail : プラン名
--------------------------------------------------------------*/
#plan-page .plan_detail_head_block {
	width: min(100%, 700px);
	margin-left: auto;
	margin-right: auto;
}

#plan-page .plan_detail_heading {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 28px;
}

#plan-page .plan_detail_agingfree {
	position: relative;
	top: 5px;
	flex-shrink: 0;
	width: 56.7px;
	height: auto;
	margin-left: 10px;
}

#plan-page .plan_detail_type {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	box-sizing: border-box;
	min-width: 216px;
	margin: 0;
	padding: 9px 24px 10px;
	background: linear-gradient(135deg, #3aabd0 0%, #0b6d9d 45%, #122a4c 100%);
}

#plan-page .plan_detail_type_name {
	font-family: var(--plan-en);
	font-size: clamp(38px, 4vw, 46px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.06em;
	color: #fff;
}

#plan-page .plan_detail_type_label {
	font-family: var(--plan-en);
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.26em;
	text-indent: 0.26em;
	color: #ebce8d;
}

/*--------------------------------------------------------------
	detail : 間取り（独立ブロック）
--------------------------------------------------------------*/
#plan-page .plan_detail_madori {
	box-sizing: border-box;
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 0;
	line-height: 1;
	letter-spacing: 0;
	color: var(--plan-green-dark);
}

#plan-page .plan_detail_madori_num {
	font-family: var(--plan-en);
	font-size: clamp(46px, 6vw, 58px);
	color: var(--plan-green-muted);
}

#plan-page .plan_detail_madori_name {
	font-family: var(--plan-en);
	font-size: clamp(22px, 2.8vw, 30px);
	letter-spacing: 0.06em;
	color: var(--plan-green-muted);
}

/*--------------------------------------------------------------
	detail : 面積（横並びにせず、ラベル→数値の縦積み）
--------------------------------------------------------------*/
#plan-page .plan_detail_spec {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	gap: 28px;
	margin: 20px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--plan-green-hair);
}

#plan-page .plan_detail_spec_row {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	padding: 0;
}

#plan-page .plan_detail_spec_row:not(:first-child) {
	border-bottom: 0;
	transform: translateY(-4px);
}

#plan-page .plan_detail_spec dt {
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.16em;
	text-indent: 0.16em;
	color: var(--plan-sub);
}

#plan-page .plan_detail_spec dt::after {
	content: "／";
}

#plan-page .plan_detail_spec_row:first-child dt {
	font-size: 15px;
}

#plan-page .plan_detail_spec dd {
	margin: 0;
	line-height: 1.2;
	color: var(--plan-green);
}

#plan-page .plan_detail_spec .num {
	font-family: var(--plan-en);
	font-size: clamp(28px, 3vw, 36px);
	letter-spacing: 0.02em;
	color: var(--plan-green-muted);
}

#plan-page .plan_detail_spec_row:first-child .num {
	font-size: inherit;
}

#plan-page .plan_detail_spec_row:first-child .num_main {
	font-size: clamp(40px, 4.2vw, 48px);
}

#plan-page .plan_detail_spec_row:first-child .num_sub {
	font-size: clamp(20px, 2.2vw, 25px);
}

#plan-page .plan_detail_spec_row:not(:first-child) .num {
	font-size: 14px;
}

#plan-page .plan_detail_spec .unit {
	margin-left: 0.1em;
	font-size: 14px;
}

#plan-page .plan_detail_spec_row:first-child .unit {
	font-size: 18px;
}

#plan-page .plan_detail_spec .tsubo {
	margin-left: 0.4em;
	font-size: 13px;
	color: var(--plan-sub);
}

#plan-page .plan_detail_spec_row:not(:first-child) dt,
#plan-page .plan_detail_spec_row:not(:first-child) .tsubo {
	font-size: 13px;
}

#plan-page .plan_detail_spec_with_service .plan_detail_spec_row:not(:first-child) {
	justify-content: flex-end;
	text-align: right;
}

@media screen and (min-width: 481px) {
	#plan-page .plan_detail_spec_with_service {
		row-gap: 8px;
	}

	#plan-page .plan_detail_spec_with_service .plan_detail_spec_row:first-child {
		grid-row: span 2;
		align-self: center;
	}
}

/* PCでは面積表記を1行に保ち、「／」や坪数だけが折り返すのを防ぐ */
@media screen and (min-width: 769px) {
	#plan-page .plan_detail_spec dt {
		flex-shrink: 0;
		white-space: nowrap;
	}

	#plan-page .plan_detail_spec dd {
		white-space: nowrap;
	}
}

/*--------------------------------------------------------------
	detail : 間取り図（パネル内。二重の枠は付けない）
--------------------------------------------------------------*/
#plan-page .plan_detail_figure {
	width: min(100%, 660px);
	margin: 44px auto 0;
}

/* common.css の img{width:auto} を詳細ページ内でのみ上書き */
#plan-page .plan_detail_figure > img {
	display: block;
	width: 100%;
	height: auto;
}

#plan-page .plan_detail_legend {
	margin-top: 18px;
}

#plan-page .plan_detail_abbreviations {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 1em;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--plan-text);
}

#plan-page .plan_detail_legend ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#plan-page .plan_detail_legend li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.08em;
	white-space: nowrap;
	color: var(--plan-text);
}

#plan-page .plan_detail_legend_storage {
	box-sizing: border-box;
	width: 44px;
	height: 22px;
	background: #eae4d1;
	border: 1px solid #817b6c;
}

#plan-page .plan_detail_legend_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 22px;
}

#plan-page .plan_detail_legend_icon img {
	display: block;
	width: auto;
	height: 44px;
}

#plan-page .plan_detail_legend_icon_wind img {
	transform: rotate(90deg);
}

#plan-page .plan_detail_legend_icon_light img {
	transform: rotate(-90deg);
}

/* 拡大リンク */
#plan-page .plan_detail_zoom {
	margin: 20px 0 0;
	text-align: center;
}

#plan-page .plan_detail_zoom a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 1px solid var(--plan-green-line);
	color: var(--plan-green-dark);
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

#plan-page .plan_detail_zoom a:hover {
	background: var(--plan-green);
	border-color: var(--plan-green);
	color: #fff;
}

#plan-page .plan_detail_zoom a:focus-visible {
	outline: 2px solid var(--plan-green);
	outline-offset: 3px;
}

/* 虫めがねアイコン（円＋柄）。currentColor なので hover で白へ反転 */
#plan-page .plan_detail_zoom_icon {
	position: relative;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
}

#plan-page .plan_detail_zoom_icon::before {
	content: "";
	position: absolute;
	inset: 0 4px 4px 0;
	border: 1px solid currentColor;
	border-radius: 50%;
}

#plan-page .plan_detail_zoom_icon::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 1px;
	width: 6px;
	height: 1px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: right center;
}

/*--------------------------------------------------------------
	detail : 注意書き（間取り図の直下・左揃え）
--------------------------------------------------------------*/
#plan-page .plan_detail_note {
	width: min(100%, 660px);
	margin: 22px auto 0;
	font-size: 12px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	text-align: left;
	color: var(--plan-sub);
}

/*--------------------------------------------------------------
	detail : 関連コンテンツ
--------------------------------------------------------------*/
#plan-page .plan_detail_links {
	margin-top: 60px;
}

#plan-page .plan_detail_link_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* カード高さを揃える */
#plan-page .plan_detail_link_list > li {
	display: flex;
}

#plan-page .plan_detail_link {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 24px 24px 48px;
	background: var(--plan-green-soft);
	border: 1px solid var(--plan-green-hair);
	color: var(--plan-text);
	text-decoration: none;
	transition: opacity .3s ease;
}

#plan-page .plan_detail_link:hover {
	opacity: .7;
}

#plan-page .plan_detail_link:focus-visible {
	outline: 2px solid var(--plan-green);
	outline-offset: 3px;
}

#plan-page .plan_detail_link_img {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	height: 120px;
	margin-bottom: 20px;
	padding: 18px;
	background: #fff;
}

#plan-page .plan_detail_link_img img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

/* 外部リンクを示す斜め矢印（軸＋矢じり） */
#plan-page .plan_detail_link::before,
#plan-page .plan_detail_link::after {
	content: "";
	position: absolute;
	right: 24px;
	bottom: 24px;
}

#plan-page .plan_detail_link::before {
	width: 14px;
	height: 1px;
	background: var(--plan-green);
	transform: rotate(-45deg);
	transform-origin: right center;
}

/* 矢じりの頂点（右上角）を軸の先端に合わせる */
#plan-page .plan_detail_link::after {
	bottom: 17px;
	width: 7px;
	height: 7px;
	border-top: 1px solid var(--plan-green);
	border-right: 1px solid var(--plan-green);
}

#plan-page .plan_detail_link_txt {
	display: block;
	font-size: 13px;
	line-height: 1.95;
	letter-spacing: 0.04em;
	color: var(--plan-sub);
}

/*--------------------------------------------------------------
	detail : 間取り一覧へ戻る
--------------------------------------------------------------*/
#plan-page .plan_detail_back {
	margin-top: 56px;
	text-align: center;
}

#plan-page .plan_detail_back a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 240px);
	min-height: 58px;
	padding: 14px 26px;
	background: #16355f;
	border: 1px solid #16355f;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-decoration: none;
	transition: background-color .3s ease, border-color .3s ease;
}

#plan-page .plan_detail_back a:hover {
	background: var(--plan-green-dark);
	border-color: var(--plan-green-dark);
}

#plan-page .plan_detail_back a:focus-visible {
	outline: 2px solid var(--plan-green);
	outline-offset: 3px;
}

/* 左向き矢印：::after を order:-1 で文字の左へ配置 */
#plan-page .plan_detail_back a::after {
	content: "";
	flex-shrink: 0;
	order: -1;
	width: 7px;
	height: 7px;
	margin-right: 14px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: rotate(45deg);
}

/*--------------------------------------------------------------
	tablet
--------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	.plan-page .plan_cards {
		gap: 22px;
	}

	.plan-page .plan_card_info {
		padding: 24px 22px 19px;
	}

	#plan-page .plan_detail_panel {
		padding: 44px 34px;
	}

	#plan-page .plan_detail_link_list {
		gap: 16px;
	}

	#plan-page .plan_detail_link {
		padding: 22px 20px 46px;
	}
}

/*--------------------------------------------------------------
	sp
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	.plan-page .plan_inner {
		width: min(100% - 32px, 1000px);
	}

	.plan-page .plan_mv {
		min-height: clamp(200px, 30vw, 240px);
		padding: 46px 16px;
	}

	.plan-page .plan_mv_ja {
		margin-top: 22px;
		padding-top: 20px;
	}

	.plan-page .plan_breadcrumb ol {
		font-size: 11px;
	}

	.plan-page .plan_lead {
		margin-top: 46px;
		font-size: 20px;
		text-align: center;
	}

	.plan-page .plan_groups {
		margin: 54px 0 80px;
	}

	.plan-page .plan_group + .plan_group {
		margin-top: 60px;
	}

	.plan-page .plan_group_ttl {
		margin-bottom: 26px;
		padding: 12px 14px 12px 16px;
	}

	.plan-page .plan_group_ttl::before {
		width: 3px;
	}

	.plan-page .plan_cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.plan-page .plan_card {
		grid-template-columns: 108px 1fr;
	}

	.plan-page .plan_card_type {
		padding: 24px 8px;
	}

	.plan-page .plan_card_name {
		font-size: 32px;
	}

	.plan-page .plan_card_label {
		margin-top: 10px;
		font-size: 12px;
	}

	.plan-page .plan_card_info {
		padding: 20px 18px 15px;
	}

	.plan-page .plan_card_madori {
		font-size: 20px;
	}

	.plan-page .plan_card_area .num {
		font-size: 19px;
	}

	.plan-page .plan_card_area .unit {
		font-size: 12px;
	}

	/* detail */
	#plan-page .plan_detail {
		margin: 40px 0 72px;
	}

	#plan-page .plan_detail_panel {
		padding: 26px 22px;
	}

	#plan-page .plan_detail_heading {
		gap: 16px;
	}

	#plan-page .plan_detail_agingfree {
		width: 44.1px;
	}

	#plan-page .plan_detail_type {
		min-width: 160px;
		padding: 9px 16px 10px;
	}

	#plan-page .plan_detail_type_name {
		font-size: 36px;
	}

	#plan-page .plan_detail_madori_num {
		font-size: 44px;
	}

	#plan-page .plan_detail_spec {
		gap: 16px;
		margin-top: 14px;
		padding-top: 14px;
	}

	#plan-page .plan_detail_spec_row {
		padding: 0;
	}

	#plan-page .plan_detail_spec_row:first-child {
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	#plan-page .plan_detail_spec_row:first-child dt::after {
		content: none;
	}

	#plan-page .plan_detail_spec_row:not(:first-child),
	#plan-page .plan_detail_spec_with_service .plan_detail_spec_row:not(:first-child) {
		justify-content: center;
		text-align: center;
		margin-top: 5px;
	}

	#plan-page .plan_detail_spec .num {
		font-size: 28px;
	}

	#plan-page .plan_detail_figure {
		margin-top: 30px;
	}

	#plan-page .plan_detail_abbreviations {
		font-size: 12px;
	}

	#plan-page .plan_detail_zoom a {
		box-sizing: border-box;
		width: 100%;
		justify-content: center;
	}

	#plan-page .plan_detail_links {
		margin-top: 44px;
	}

	#plan-page .plan_detail_link_list {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	#plan-page .plan_detail_link {
		padding: 20px 20px 44px;
	}

	#plan-page .plan_detail_back {
		margin-top: 40px;
	}

	#plan-page .plan_detail_back a {
		width: min(100%, 240px);
		min-height: 54px;
		font-size: 13px;
	}
}

@media screen and (max-width: 480px) {
	#plan-page .plan_detail_legend ul {
		gap: 10px;
	}

	#plan-page .plan_detail_legend li {
		gap: 6px;
		font-size: 13px;
	}

	#plan-page .plan_detail_legend_storage,
	#plan-page .plan_detail_legend_icon {
		width: 34px;
	}

	#plan-page .plan_detail_legend_icon img {
		height: 34px;
	}

	#plan-page .plan_detail_heading {
		gap: 8px;
	}

	#plan-page .plan_detail_agingfree {
		width: 37.8px;
	}

	#plan-page .plan_detail_type {
		gap: 1px;
		min-width: 124px;
		padding: 8px 10px 9px;
	}

	#plan-page .plan_detail_type_name {
		font-size: 32px;
	}

	#plan-page .plan_detail_type_label {
		font-size: 12px;
	}

	#plan-page .plan_detail_madori_num {
		font-size: 40px;
	}

	#plan-page .plan_detail_spec {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	#plan-page .plan_detail_spec_row {
		justify-content: flex-start;
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) {
		gap: 4px;
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) dt {
		font-size: clamp(10px, 3vw, 12px);
		letter-spacing: 0.02em;
		text-indent: 0;
		white-space: nowrap;
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) dd {
		white-space: nowrap;
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) .num {
		font-size: clamp(12px, 3.5vw, 14px);
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) .unit {
		font-size: 12px;
	}

	#plan-page .plan_detail_spec .plan_detail_spec_row:not(:first-child) .tsubo {
		margin-left: 0.2em;
		font-size: clamp(10px, 2.8vw, 11px);
		letter-spacing: 0;
	}

	.plan-page .plan_card {
		grid-template-columns: 96px 1fr;
	}

	.plan-page .plan_card_name {
		font-size: 28px;
	}

	.plan-page .plan_card_info {
		padding: 18px 16px 13px;
	}

	/* 幅が狭い端末では項目名を値の上に配置 */
	.plan-page .plan_card_row {
		row-gap: 4px;
	}

	.plan-page .plan_card_row dt {
		width: 100%;
	}
}

/*--------------------------------------------------------------
	reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
	.plan-page .sli-up1,
	.plan-page .slideInUp1 {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.plan-page .plan_breadcrumb a,
	#plan-page .plan_card_link,
	#plan-page .plan_detail_zoom a,
	#plan-page .plan_detail_link,
	#plan-page .plan_detail_back a {
		transition: none;
	}
}
