/* ========================================
   08_site-unique.css
   サイト固有スタイル（2ページ以上で使うもの）
======================================== */

/* WordPress + レガシーCSS併用時の調整（旧 body margin-top 用・padding-top 移行後は不要） */

/* ----- 下層ページ見出し帯（04上書き・案件デザイン） -----
   画像到着後: 01_variables の --sec_page_btit_bg / _sp を url(...) に差替え */
.sec_page_btit {
	position: relative;
	background-color: var(--color_brand_strong);
	background-image: var(--sec_page_btit_bg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: var(--sec_page_btit_padding) 0;
	height: var(--sec_page_btit_height);
	display: flex;
	align-items: center;
	text-align: center;
}

.sec_page_btit::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sec_page_btit_overlay);
	pointer-events: none;
}

.sec_page_btit .wrap {
	position: relative;
	width: 100%;
}

.sec_page_btit h1 {
	color: var(--color_text_inverse);
	font-size: 2.2em;
	font-weight: 700;
	display: inline-block;
	margin-bottom: 0.4em;
}

.sec_page_btit p,
.sec_page_btit .sec_page_btit__sub {
	margin-bottom: 0;
	color: var(--color_text_inverse);
	line-height: 1.6;
}

.sec_page_btit .sec_page_btit__sub {
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.12em;
}

.sec_page_btit h2::before {
	display: none;
	content: none;
}

.res_subsec_title {
	margin: 0 0 12px;
	font-family: var(--font_base);
	font-size: 1.25em;
	font-weight: 700;
	color: var(--color_text);
}

@media (max-width: 767px) {
	.sec_page_btit {
		background-image: var(--sec_page_btit_bg_sp);
		height: var(--sec_page_btit_height_sp);
	}

	.sec_page_btit h1 {
		font-size: 1.75em;
	}
}

/* ----- 3色ラジアル背景 ----- */
.bg_3colors_soft {
	background-color: #fff;
	background-image:
		radial-gradient(ellipse 120% 85% at 0% 0%, rgb(224 242 254) 0%, rgba(224, 242, 254, 0) 52%),
		radial-gradient(ellipse 120% 85% at 100% 0%, rgb(240 253 244) 0%, rgba(240, 253, 244, 0) 52%),
		radial-gradient(ellipse 100% 80% at 50% 100%, rgb(254 252 232) 0%, rgba(254, 252, 232, 0) 50%);
}

/* ----- グラデーション見出し（サイト標準） ----- */
.res_heading_grad {
	font-family: var(--font_base);
	font-weight: 700;
	display: table;
	margin-left: auto;
	margin-right: auto;
	background: var(--res_heading_gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25));
}

.res_heading_grad--md {
	font-size: clamp(24px, 3.2vw, 32px);
	letter-spacing: 0.04em;
	line-height: 1.35;
}

.res_heading_grad--md-spacious {
	letter-spacing: 0.05em;
	line-height: 1.45;
}

.res_heading_grad--lg {
	font-size: clamp(28px, 3.8vw, 40px);
	letter-spacing: 0.06em;
	line-height: 1.25;
}

.res_heading_grad--center {
	display: table;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* グラデ見出しラッパー（セクション内 h2 用） */
.res_grad_heading {
	position: relative;
	display: block;
	width: 100%;
	text-align: center;
}

.res_grad_heading__text {
	margin: 0 auto 30px;
	text-align: center;
	letter-spacing: 0.04em;
}

.res_section_lead {
	margin: 1.2em auto 0;
	max-width: 40em;
	font-size: clamp(15px, 1.6vw, 16px);
	line-height: 1.8;
	text-align: center;
}

/* ----- CTAボタン（トップ・下層共通） ----- */
.res_more_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 65px;
	padding: 10px 32px;
	font-size: 1em;
	font-weight: 700;
	color: var(--color_text);
	text-decoration: none;
	border-radius: 50px;
	background: #fff;
	border: 2px solid var(--res_btn_outline);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
	box-sizing: border-box;
	transition: transform var(--transition_base), box-shadow var(--transition_base), opacity var(--transition_base);
}

.res_more_btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	text-decoration: none;
	color: var(--color_text);
}

.res_more_btn i {
	font-size: 0.95em;
}

.res_btn_primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 71px;
	padding: 8px 24px;
	font-size: 1em;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border-radius: 42px;
	background: linear-gradient(90deg, var(--res_btn_primary_start) 0%, var(--res_btn_primary_mid) 45%, var(--res_btn_primary_end) 100%);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
	transition: transform var(--transition_base), opacity var(--transition_base);
}

.res_btn_primary:hover {
	transform: translateY(-1px);
	opacity: 0.95;
	text-decoration: none;
	color: #fff;
}

.res_btn_stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

/* ----- 理由カード（3カラム） ----- */
.res_reason_card {
	background: #fff;
	border-radius: 10px;
	box-shadow: var(--res_card_shadow);
	padding: 40px 25px 32px;
	box-sizing: border-box;
}

/* カード上部の写真（カード幅いっぱいにブリード） */
.res_reason_card_fig {
	margin: -40px -25px 22px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
	background: #e5e5e5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-size: 14px;
	font-weight: 700;
}

.res_reason_card_fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.res_reason_card_head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 14px;
	margin-bottom: 18px;
	border-bottom: 2px solid var(--res_light_blue);
}

.res_reason_card_num {
	flex: 0 0 41px;
	width: 41px;
	height: 41px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	background: var(--res_light_blue);
}

.res_reason_card_title {
	margin: 0;
	font-size: clamp(17px, 1.8vw, 19px);
	font-weight: 700;
	line-height: 1.35;
}

.res_reason_card_body {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}

/* ----- 事例カード（2カラム・下層共通） ----- */
.res_cases_title {
	margin: 0 auto 40px;
	text-align: center;
	max-width: 900px;
}

.res_cases_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 36px;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.res_cases_card {
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	padding: 30px 30px 25px;
	box-sizing: border-box;
}

.res_cases_card__title {
	margin: 0 0 12px;
	font-size: 1.25em;
	font-weight: 700;
	color: var(--color_text);
	text-align: center;
}

.res_cases_card__fig {
	position: relative;
	margin: 0 0 20px;
	aspect-ratio: 431 / 276;
	max-height: 320px;
	background: #e5e5e5;
	overflow: hidden;
	text-align: center;
}

.res_cases_card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.res_cases_more {
	margin: 0;
	text-align: center;
}

/* ----- 2カラム（テキスト + 画像・下層共通） ----- */
.res_two_col {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
	justify-content: center;
}

.res_two_col__txt {
	flex: 1 1 300px;
	max-width: 520px;
}

.res_two_col__txt p {
	margin: 0 0 1em;
	line-height: 1.65;
}

.res_two_col__txt p:last-child {
	margin-bottom: 0;
}

.res_two_col__fig {
	flex: 1 1 280px;
	max-width: 520px;
	overflow: hidden;
}

.res_two_col__fig img {
	width: 100%;
	height: auto;
	display: block;
}

.res_two_col__fig--placeholder {
	min-height: 280px;
	background: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.res_ph_img {
	margin: 0;
	font-size: 14.4px;
	font-weight: 700;
	color: #777;
	text-align: center;
	line-height: 1.8;
}

/* ----- FAQ（下層共通） ----- */
.res_faq_sec {
	background: #fff;
}

.res_faq_title {
	margin: 0 0 40px;
	text-align: center;
}

/* FAQカテゴリブロック（余白・区切りのみ。見出しは共通クラスを使う） */
.res_faq_group {
	margin: 0 0 clamp(40px, 6vw, 56px);
	padding: clamp(28px, 4vw, 40px) clamp(16px, 3vw, 28px);
}

.res_faq_group:last-child {
	margin-bottom: 0;
}

.res_faq_group .res_grad_heading {
	margin-bottom: clamp(24px, 4vw, 32px);
}

.res_faq_subgroup + .res_faq_subgroup {
	margin-top: clamp(28px, 4vw, 36px);
	padding-top: clamp(28px, 4vw, 36px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.res_faq_subgroup .res_subsec_title {
	margin-bottom: 20px;
}

.res_faq_list {
	max-width: 900px;
	margin: 0 auto;
}

.res_faq_item {
	margin: 0;
}

.res_faq_q {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 12px;
	font-weight: 700;
	color: var(--res_light_blue);
}

.res_faq_num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 41px;
	width: 41px;
	height: 41px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--res_light_blue);
}

.res_faq_q__text {
	flex: 1;
	min-width: 0;
}

.res_faq_a__box {
	margin: 0 0 0 55px;
	padding: 16px 20px;
	background: var(--res_light_blue_bg);
	border-radius: 10px;
	box-sizing: border-box;
}

.res_faq_a__box p {
	margin: 0;
}

.res_faq_sep {
	height: 1px;
	margin: 28px 0;
	background: #c5c5c5;
}

.res_faq_a__box ul {
	margin: 0.75em 0 0;
	padding-left: 1.25em;
}

.res_faq_a__box li + li {
	margin-top: 0.35em;
}

.res_faq_a__box a {
	font-weight: 700;
}

/* ご請求フロー（FAQ内・下層共通） */
.res_faq_flow {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 8px 6px;
	margin: 0 0 1em;
}

.res_faq_flow_step {
	flex: 1 1 140px;
	max-width: 200px;
	padding: 14px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--res_light_blue_border);
	box-sizing: border-box;
	text-align: center;
}

.res_faq_flow_step__title {
	margin: 0 0 6px;
	font-size: 0.95em;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color_text);
}

.res_faq_flow_step__desc {
	margin: 0;
	font-size: 0.82em;
	line-height: 1.5;
	color: var(--color_text_light);
}

.res_faq_flow_arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	font-weight: 700;
	color: var(--res_light_blue);
}

.res_faq_flow_img {
	margin: 0 0 1em;
	text-align: center;
}

.res_faq_flow_img img {
	width: 100%;
	display: inline-block;
}

/* パンくず（下層共通） */
.res_breadcrumb {
	margin: 0 0 28px;
	font-size: 0.875em;
	line-height: 1.6;
	color: var(--color_text_light);
}

.res_breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.res_breadcrumb li + li::before {
	content: ">";
	margin-right: 0.5em;
	color: #bbb;
}

.res_breadcrumb a {
	color: var(--color_text_light);
	text-decoration: none;
}

.res_breadcrumb a:hover {
	color: var(--color_accent);
	text-decoration: underline;
}

/* ----- お知らせリスト ----- */
.res_news_list {
	max-width: 800px;
	margin: 0 auto;
}

.res_news_item {
	border-bottom: 1px solid var(--res_accent_blue);
}

.res_news_item a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 22px 0;
	color: var(--color_text);
	text-decoration: none;
}

.res_news_item a:hover {
	opacity: 0.8;
}

.res_news_date {
	flex: 0 0 100px;
	font-size: 15.9px;
}

.res_news_tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 0 15px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--res_light_blue);
}

.res_news_title {
	flex: 1 1 200px;
	font-size: 16px;
	line-height: 1.6;
}

/* ----- セクション内ブロック余白（about-3res互換） ----- */
.sec_page_wrap + .sec_page_wrap {
	margin-top: var(--space_section_block_pc);
}

@media (max-width: 767px) {
	.sec_page_wrap + .sec_page_wrap {
		margin-top: var(--space_section_block_sp);
	}

	.res_btn_stack {
		width: 100%;
	}

	.res_btn_primary,
	.res_more_btn {
		width: 100%;
		max-width: 100%;
	}

	.res_cases_grid {
		grid-template-columns: 1fr;
	}

	.res_faq_a__box {
		margin-left: 0;
	}

	.res_faq_flow {
		flex-direction: column;
		align-items: center;
	}

	.res_faq_flow_step {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.res_faq_flow_arrow {
		transform: rotate(90deg);
	}
}

/* ----- 採用ページ共通：ソフト背景（TOPの bg_3colors_soft とは配色が異なる） ----- */
.bg_recruit_soft {
	background-color: #fff;
	background-image: var(--recruit_bg_soft);
}

/* ----- アクションボタン骨格（TOP採用バナー・採用ページで配色修飾を足す） ----- */
.res_action_btn {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 65px;
	padding: 16px 24px 16px 32px;
	border-radius: 70px;
	font-weight: 700;
	color: var(--color_text);
	text-decoration: none;
	box-sizing: border-box;
	transition: transform var(--transition_base), box-shadow var(--transition_base);
}

.res_action_btn__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: left;
}

.res_action_btn__sub {
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.4;
}

.res_action_btn__main {
	font-size: clamp(13px, 1.6vw, 14.5px);
	line-height: 1.4;
}

.res_action_btn_ico {
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 14px;
}

.res_action_btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

/* 採用ページ：ソリッドグリーンCTA */
.page_recruit .res_action_btn--recruit_green {
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px 20px 32px;
	min-height: 74px;
	color: #fff;
	background: var(--recruit_green);
	box-shadow: 0 4px 16px rgba(124, 182, 56, 0.28);
}

.page_recruit .res_action_btn--recruit_green .res_action_btn_ico {
	flex: 0 0 25px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--recruit_green);
}

.page_recruit .res_action_btn--recruit_green:hover {
	color: #fff;
	box-shadow: 0 6px 20px rgba(124, 182, 56, 0.35);
}

/* 採用ページ：白抜きピル（緑バナー内） */
.page_recruit .res_action_btn--recruit_white {
	justify-content: center;
	min-height: 107px;
	padding: 20px 32px;
	color: var(--color_text);
	background: var(--recruit_btn_white_bg);
	box-shadow: var(--res_card_shadow);
}

.page_recruit .res_action_btn--recruit_white .res_action_btn_ico {
	background: var(--recruit_green);
	color: #fff;
}

.page_recruit .res_action_btn--recruit_white:hover {
	color: var(--color_text);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ----- CVエリア（ご相談・お問い合わせ） ----- */
.res_cv_sec {
	position: relative;
	overflow: hidden;
	min-height: 380px;
}

.res_cv_bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background:
		linear-gradient(105deg, rgba(110, 200, 190, 0.55) 0%, rgba(120, 200, 230, 0.5) 100%),
		var(--res_cv_bg, none),
		linear-gradient(160deg, #9fd9cf 0%, #7ec8e0 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.res_cv_bg_script {
	position: absolute;
	right: 4%;
	bottom: 0;
	z-index: 1;
	margin: 0;
	font-size: clamp(2.75rem, 6vw, 5.25rem);
	color: rgba(255, 255, 255, 0.92);
	line-height: 1;
	pointer-events: none;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
	transform: rotate(-10deg);
}

.res_cv_inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 70px 0;
	box-sizing: border-box;
}

.res_cv_panel {
	width: 90%;
	max-width: 820px;
	padding: 60px 40px 45px;
	background: rgba(255, 255, 255, 0.7);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
}

.res_cv_sec .res_cv_panel .res_heading_grad,
.res_cv_sec .res_cv_panel .res_grad_heading__text {
	display: table;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.wrap .res_cv_lead {
	margin: 0 0 25px;
	text-align: center;
	font-size: 0.95rem;
}

.res_cv_row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px 40px;
}

.res_cv_tel_blk {
	text-align: center;
}

.wrap .res_cv_tel {
	font-size: 18px;
	margin: 0;
	font-weight: 400;
}

.res_cv_tel a:hover {
	text-decoration: underline;
}

.res_cv_tel_num {
	font-size: 1.8em;
	letter-spacing: 0.04em;
}

.res_cv_hours {
	margin: 0;
	font-size: 0.87em;
	line-height: 1.2;
}

.res_cv_sec .res_more_btn {
	min-height: auto;
	padding: 14px 28px;
	border: none;
	background: linear-gradient(90deg, #bae6fd 0%, #a7f3d0 100%);
	box-shadow: 0 4px 16px rgba(45, 180, 160, 0.25);
	font-weight: 700;
}

.res_cv_sec .res_more_btn:hover {
	border: none;
	transform: none;
	box-shadow: 0 4px 16px rgba(45, 180, 160, 0.25);
	opacity: 0.95;
}

.res_cv_sec .res_more_btn i {
	font-size: 1.25em;
	color: var(--res_grad_teal);
}

@media (max-width: 640px) {
	.wrap .res_cv_lead {
		margin: 0 0 15px;
	}

	.res_cv_panel {
		padding: 55px 30px 30px;
	}

	.res_cv_row {
		flex-direction: column;
		gap: 0;
	}

	.res_action_btn__main {
		font-size: clamp(15px, 1.6vw, 14.5px);
	}
}

/* =========================================================
   下層：サービス紹介（グループホーム／小規模多機能）共通
   ========================================================= */

/* 下層ページ FV（採用ページFVと同様：写真背景＋テキスト） */
.res_lower_fv {
	position: relative;
	min-height: clamp(420px, 58vw, 560px);
	padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 80px);
	overflow: hidden;
	background: #ddd;
}

.res_lower_fv_bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.res_lower_fv_bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.res_lower_fv_inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.res_lower_fv_badge {
	display: inline-block;
	margin: 0 0 20px;
	padding: 10px 18px;
	border: 2px solid #111;
	border-radius: 0;
	background: #fff;
	color: var(--color_text);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
}

.res_lower_fv_title {
	margin: 0 0 40px;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--color_text);
	text-shadow: 1px 1px 2px #fff;
}

.res_lower_fv_lead {
	margin: 0;
	font-size: clamp(15px, 1.8vw, 18px);
	font-weight: 700;
	line-height: 1.8;
	color: var(--color_text);
	text-shadow: 1px 1px 3px #fff;
}

@media (max-width: 767px) {
	.res_lower_fv {
		min-height: 0;
	}

	.res_lower_fv_inner {
		max-width: none;
	}
}

/* 写真＋タイトル＋説明の縦積みブロック（3カラム／split内で使用） */
.res_photo_item {
	display: flex;
	flex-direction: column;
}

.res_photo_item_fig {
	margin: 0 0 16px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: #e5e5e5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-size: 14px;
	font-weight: 700;
}

.res_photo_item_fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.res_photo_item_title {
	margin: 0 0 10px;
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--color_text);
}

/* ギャラリー写真キャプション（タイトルではない補足テキスト） */
.res_photo_item > p {
	margin: 0 0 10px;
	font-size: clamp(13px, 1.5vw, 15px);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color_text);
	text-align: center;
}

.res_photo_item_body {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}

/* 定義リスト（小見出し＋説明の縦積み） */
.res_def_list {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 28px);
}

.res_def_item > *:last-child {
	margin-bottom: 0;
}

/* 補足ハイライト枠（成果エピソード等） */
.res_note_box {
	margin: 8px 0 0;
	padding: 20px 24px;
	background: #fff;
	border-left: 4px solid var(--color_accent);
	box-shadow: var(--res_card_shadow);
	border-radius: 0 8px 8px 0;
}

.res_note_box > *:last-child {
	margin-bottom: 0;
}

.res_note_box__label {
	margin: 0 0 6px;
	font-weight: 700;
	color: var(--color_text);
}

/* 画像プレースホルダ（汎用） */
.res_ph_box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 16px;
	background: #e5e5e5;
	color: #777;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
}

.res_ph_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.res_ph_box--tall {
	min-height: 320px;
	height: 100%;
}

/* 画像グリッド（2×2） */
.res_media_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* 白パネル（内容をまとめる枠） */
.res_panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: clamp(28px, 4vw, 60px) clamp(20px, 3vw, 40px);
	box-sizing: border-box;
}

/* 3R サイクル（再生・再活性・休息）：幅に応じて3→2→1カラムへ折り返し、余りは中央寄せ */
.res_3r_cycle {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(20px, 3vw, 40px);
}

.res_3r_cycle_item {
	flex: 1 1 220px;
	min-width: 200px;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
}

.res_3r_cycle_ja {
	display: block;
	font-size: clamp(20px, 2.4vw, 25px);
	font-weight: 700;
	color: var(--color_text);
	line-height: 1.3;
}

.res_3r_cycle_en {
	display: block;
	font-size: 0.9em;
	color: var(--color_text_light);
}

.res_3r_cycle_fig {
	width: clamp(170px, 20vw, 220px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: #eee;
	border: 2px solid #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.res_3r_cycle_fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.res_3r_cycle_label {
	margin: 0;
	font-size: clamp(16px, 1.8vw, 19px);
	font-weight: 700;
	line-height: 1.4;
}

/* 3R サイクル：カラー（再生＝緑／再活性＝橙／休息＝青。about-3res の柱と統一） */
.wrap .res_3r_cycle_head {
	margin-bottom: 0;
}

.res_3r_cycle_item--regen .res_3r_cycle_ja,
.res_3r_cycle_item--regen .res_3r_cycle_en {
	background: linear-gradient(90deg, #95bd20 0%, #2bbd20 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.res_3r_cycle_item--react .res_3r_cycle_ja,
.res_3r_cycle_item--react .res_3r_cycle_en {
	background: linear-gradient(90deg, #e37d0f 0%, #e3480f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.res_3r_cycle_item--rest .res_3r_cycle_ja,
.res_3r_cycle_item--rest .res_3r_cycle_en {
	background: linear-gradient(90deg, #2396d4 0%, #236ad4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.res_3r_cycle_item--regen .res_3r_cycle_fig {
	border-color: #95bd20;
}

.res_3r_cycle_item--react .res_3r_cycle_fig {
	border-color: #e37d0f;
}

.res_3r_cycle_item--rest .res_3r_cycle_fig {
	border-color: #2396d4;
}

/* タイムライン（1日の流れ） */
.res_flow_group + .res_flow_group {
	margin-top: clamp(32px, 5vw, 48px);
}

.res_flow_head {
	margin: 0 0 20px;
	font-size: clamp(20px, 2.4vw, 25px);
	font-weight: 700;
	color: var(--color_text);
}

.res_flow_list {
	position: relative;
	margin: 0;
	padding: 0 0 0 40px;
	list-style: none;
}

.res_flow_list::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: #ddd;
}

.res_flow_item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0 0 28px;
}

.res_flow_item:last-child {
	padding-bottom: 0;
}

.res_flow_item::before {
	content: "";
	position: absolute;
	left: -42px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	/* 既定（3Rのいずれにも該当しない項目）は中立色（白＋黒縁） */
	background: #fff;
	border: 3px solid var(--color_text);
	box-sizing: border-box;
}

/* タイムラインの丸：再生＝緑／再活性＝橙／休息＝青（3Rの意味に対応）。縁だけでなく中も塗る */
.res_flow_item--regen::before {
	background: #95bd20;
	border-color: #95bd20;
}

.res_flow_item--react::before {
	background: #e37d0f;
	border-color: #e37d0f;
}

.res_flow_item--rest::before {
	background: #2396d4;
	border-color: #2396d4;
}

.res_flow_time {
	flex: 0 0 88px;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 700;
	color: var(--color_text);
	line-height: 1.4;
}

.res_flow_body {
	flex: 1 1 240px;
}

.wrap .res_flow_title {
	margin: 0 0 2px;
	font-size: clamp(16px, 1.9vw, 20px);
	font-weight: 700;
	color: var(--color_text);
	line-height: 1.4;
}

.wrap .res_flow_desc {
	margin: 0;
	font-size: 15px;
	color: var(--color_text_light);
	line-height: 1.6;
}

/* 料金表 */
.res_fee_table {
	max-width: 640px;
	margin-inline: auto;
}

.res_fee_table table {
	margin: 0;
}

.res_fee_table th,
.res_fee_table td {
	border: 1px solid var(--res_light_blue_border);
	padding: 14px 16px;
	vertical-align: middle;
}

/* ベースの table 上端ボーダー（#333）を打ち消して枠色を統一 */
.res_fee_table tr:first-of-type th,
.res_fee_table tr:first-of-type td {
	border-top: 1px solid var(--res_light_blue_border);
}

.res_fee_table th {
	width: 42%;
	background: var(--res_light_blue_bg);
	color: var(--color_text);
	text-align: left;
	font-weight: 700;
}

.res_fee_table td {
	background: #fff;
}

.res_fee_note {
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--color_text_light);
	text-align: center;
}

/* ボタン横並び（中央） */
.res_btn_center {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

@media (max-width: 767px) {
	.res_flow_time {
		flex-basis: 70px;
	}

	.res_flow_note {
		margin-left: 0;
	}

	.res_btn_center .res_more_btn,
	.res_btn_center .res_btn_primary {
		width: 100%;
		max-width: 360px;
	}
}

/* アクセス：施設外観（2カラム右側を広めに・列幅いっぱいに表示） */
.page_access .split_media img {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.page_access .split .split_media {
		flex-basis: 56%;
		max-width: 56%;
	}

	.page_access .split .split_body {
		flex-basis: 38%;
		max-width: 38%;
	}
}

/* YouTube埋め込み：
   04の padding-% アスペクト比は、max-width 制限時に「親幅基準」で縦長になり左右が欠ける。
   要素自身の幅に追従する aspect-ratio で 16:9 を維持する */
.youtube_blk {
	height: auto;
	padding: 0;
	aspect-ratio: 16 / 9;
	margin: 10px auto 20px;
}

.youtube_blk iframe {
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
}

@media (min-width: 768px) {
	.youtube_blk {
		padding: 0;
		margin: 30px auto;
	}

	.youtube_blk iframe {
		width: 100%;
		left: 0;
		right: 0;
	}
}
