/*
Theme Name: MediCare YOTSUBA
Theme URI: https://example.com/
Author: Studio
Description: メディケアよつば コーポレートサイト用テーマ
Version: 1.0.0
Text Domain: mcy
*/

/* =====================================================
   Variables
===================================================== */
:root {
	--color-brown: #945b4d;
	--color-brown-dark: #8f6656;
	--color-teal: #14685f;
	--color-teal-dark: #0d4c45;
	--color-green: #87ad49;
	--color-green-dark: #7c9558;
	--color-red: #c23a30;
	--color-dark: #874442;
	--color-text: #322a23;
	--color-text-light: #8a8a8a;
	--color-cream: #f7f5f0;
	--font-en: 'Oswald', sans-serif;
	--font-jp: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	--maxw: 1100px;
}

/* =====================================================
   Reset / Base
===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
	margin: 0;
	font-family: var(--font-jp);
	color: var(--color-text);
	line-height: 1.8;
	font-size: 17px;
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; transition: .2s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--color-teal);
	outline-offset: 2px;
}

/* Placeholder image blocks (画像差し替え用) */
.ph-img {
	background: linear-gradient(135deg, #e3e0d8 25%, #d8d4c8 25%, #d8d4c8 50%, #e3e0d8 50%, #e3e0d8 75%, #d8d4c8 75%, #d8d4c8 100%);
	background-size: 24px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9a9384;
	font-size: 12px;
	letter-spacing: .05em;
	text-align: center;
	width: 100%;
	height: 100%;
	position: relative;
}
.ph-img span {
	background: rgba(255,255,255,.75);
	padding: 4px 10px;
	border-radius: 3px;
}

/* 写真を差し込むコンテナ共通: img は常にコンテナいっぱいにcoverで表示 */
.hero-bg,
.intro-band-photo img,
.facility-card-photo img,
.service-card-photo img,
.join-phone img,
.join-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =====================================================
   Section heading (diagonal banner) 共通
===================================================== */
.diagonal-banner {
	position: relative;
	overflow: hidden;
	padding: 87px 24px 87px;
	text-align: center;
	color: #fff;
	margin-bottom: 115px;
}
.diagonal-banner h2 {
	line-height: 1;
}
.diagonal-banner img {
	width: 100%;
	max-width: 710px;
	margin: 0 auto 14px;
}
.diagonal-banner small.banner-jp {
	font-size: 22px;
	letter-spacing: .3em;
	font-weight: 500;
	display: block;
	margin-top: 23px;
}
.diagonal-banner.brown { background: var(--color-brown); }
.diagonal-banner.teal { background: var(--color-teal); }
.diagonal-banner.green { background: var(--color-green); }

@media(max-width: 560px) {
	.diagonal-banner {
		padding: 35px 24px;
	}
}

/* =====================================================
   Header
===================================================== */
.site-header {
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #eee;
	position: fixed;
   top: 0;
   left: 0;
   right: 0;
}
@media(min-width: 1200px) {
	.site-header {
		padding-right: 0px;
	}	
	.site-header .container {
		padding-right: 0;
	}
}
@media(max-width: 1199px) {
	.site-header {
		padding: 10px 0;
	}
}

.site-header .container {
	max-width: 1280px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0px;
	padding-bottom: 0px;
}
.site-branding {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 240px;
}
.site-branding img {
	width: 80%;
}
.main-navigation {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 975px;
   justify-content: space-between;
   gap: 1em;
}
.main-navigation ul {
	display: flex;
	gap: 34px;
}
.main-navigation a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .03em;
	color: #333;
	position: relative;
}
.header-cta-wrap {
	display: flex;
	gap: 1px;
}
.header-cta {
	display: block;
	align-items: center;
	gap: 8px;
	background: #d80a2a;
	color: #fff !important;
	padding: 10px 22px;
	font-size: 13px;
	letter-spacing: .05em;
	white-space: nowrap;
	width: 115px;
	text-align: center;
}
.header-cta img { width: 36px; vertical-align:middle; display: inline-block;}
.header-cta span { vertical-align:middle; display: block; font-size: 95%; font-weight: 600;}
.header-cta-sp { background: #007bc7; }
.header-cta-line { background: #009944; }
.menu-toggle {
	display: none;
	background: none;
	border: 0;
	width: 40px;
	height: 24px;
	position: relative;
	cursor: pointer;
	z-index: 210;
	margin-top: -6px;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: #874442;
	/*transition: transform .28s ease, opacity .2s ease, background-color .2s ease; */
}
.menu-toggle-bars { top: 11px; }
.menu-toggle-bars::before { top: -8px; }
.menu-toggle-bars::after { top: 8px; }

/* ハンバーガー → × アニメーション */
.menu-toggle.is-active .menu-toggle-bars {
	background: transparent;
}
.menu-toggle.is-active .menu-toggle-bars::before {
	top: 0;
	transform: rotate(45deg);
}
.menu-toggle.is-active .menu-toggle-bars::after {
	top: 0;
	transform: rotate(-45deg);
}

/* メニュー展開時の背景オーバーレイ */
.nav-overlay {
	position: fixed;
	inset: 0;	
	background: rgba(0, 0, 0, .4);
	z-index: 190;
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease;
}
.nav-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}
main {
	margin-top: 80px;
}
@media(max-width: 780px) {
	main {
		margin-top: 71px;
	}	
}
/* =====================================================
   Hero
===================================================== */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	overflow: hidden;
/*	background: linear-gradient(120deg, #e9d9d2, #cfa89a 55%, #e2c9bd);*/
}
.hero-bg { position: absolute; inset: 0; }
/*.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(90,60,50,.55) 0%, rgba(90,60,50,.15) 55%, rgba(90,60,50,0) 80%);
}*/
.hero-inner {
	position: relative;
	z-index: 2;
	padding: 40px 24px;
	max-width: 640px;
	margin: 0 auto 0 8%;
}
.hero-eyebrow {
	width: 55%;
	margin-bottom: 10px;
	letter-spacing: .04em;
}
.hero-title {
	font-size: clamp(30px, 9vw, 47px);
	font-weight: 600;
	color: #fff;
	letter-spacing: 5px;
	line-height: 1.5;
	margin-bottom: 10px;
	text-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.hero-desc {
	font-size: 17px;
	color: #fff;
	line-height: 1.9;
	letter-spacing: .8px;
}

/* =====================================================
   Intro (医療と介護で...)
===================================================== */
.intro-band {
	position: relative;
	background: linear-gradient(90deg, #cfe0c4 0%, #eef1e4 45%, #fff 100%);
	overflow: hidden;
}
.intro-band-photo {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.intro-band-text {
	padding: 30px 24px 30px 0;
	width: 50%;
   position: absolute;
   top: 50%;
   right: 0;
   transform: translateY(-50%);
}
.intro-band-text h2 {
	font-size: clamp(29px, 3vw, 33px);
	font-weight: 500;
	letter-spacing: 4px;
	line-height: 1.5;
	color: #322a23;
	margin-bottom: 18px;
}
.intro-band-text p {
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 3px;
	color: var(--color-text);
}
@media(max-width: 780px) {

	br.only-pc {
		display: none;
	}
	.intro-band-photo {
		display: none;
	}
	.intro-band {
		background-image: url("/wp-content/themes/medicare-yotsuba/assets/images/top/mcy-sp-intro-bg.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: bottom;
	}
	.intro-band-text {
		position: relative;
		top: 0;
		transform: none;
		left: 0;
		margin: auto;
		padding: 30px 24px 75px;
		width: 100%;
	}
	.intro-band-text p {
		font-size: 15px;
	}
}

/* =====================================================
   Facility list (INTRODUCTION)
===================================================== */
.facility-section {
	padding: 0px 0 90px;
	background: #fff;
	position: relative;
}
.facility-lead {
	text-align: center;
	font-size: 13px;
	letter-spacing: .1em;
	color: var(--color-text-light);
	margin-bottom: 40px;
}
.facility-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 30px;
	max-width: 920px;
	margin: 0 auto;
}
.facility-card {
	background: #fff;
	box-shadow: 0px 2px 4px 0px #898989;
}
.facility-card-photo {
	margin-bottom: 14px;
	overflow: hidden;
}
.facility-card-text {
	padding-left: 17px;
	padding-right: 17px;
}
.facility-card-badge {
	display: inline-block;
	font-size: 13px;
	margin-bottom: -2px;
}
.facility-card-name {
	font-size: 22px;
	display: inline-block;
	font-weight: 700;
	color: #333;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.facility-card-info {
	font-size: 15px;
	display: grid;
	grid-template-columns: 44px 1fr;
	row-gap: 4px;
	margin-bottom: 20px;
	margin-top: 0;
}
@media(max-width: 560px) {
	.facility-card-info {
		font-size: 14px;
	}

}
.facility-card-info dt { font-weight: 500; color: #595757; }
.facility-card-info dd { margin: 0; padding-left: 20px;}
.facility-card-map {
	height: 160px;
}
@media(min-width: 781px) {
	#Facility-fukuoka	.facility-card-map {
		height: 100%;
		max-height: 243px;
	}
}
.facility-card-map
.facility-card-map .ph-img { font-size: 11px; }

.facility-detail-btn {
   display: block;
   text-align: center;
   background: var(--color-brown);
   color: #fff;
   padding: 8px;
   font-size: 15px;
   width: 90%;
   margin: 20px auto;
 }

/* =====================================================
   よつば通信 (news / instagram)
===================================================== */
.news-section {
	padding: 60px 0 70px;
	background: #fff;
}
.news-heading {
	background: var(--color-text);
	color: #fff;
	text-align: center;
	padding: 8px 0;
	font-size: 17px;
	letter-spacing: .1em;
	max-width: 920px;
	margin: 0 auto 34px;
}
#sb_instagram {
	max-width: 920px;
}
#sb_instagram .sbi_follow_btn a {
	background: #c23a30;
}
.instagram-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 14px;
	max-width: 920px;
	margin: 0 auto 30px;
}
.insta-item-photo { height: 130px; margin-bottom: 8px; }
.insta-item-cat { font-size: 10px; color: var(--color-red); margin-bottom: 4px; }
.insta-item-title { font-size: 12px; line-height: 1.6; color: #333; }
.mcy-instagram-placeholder {
	max-width: 920px;
	margin: 0 auto 30px;
	padding: 40px;
	text-align: center;
	border: 1px dashed #ccc;
	color: var(--color-text-light);
	font-size: 13px;
}
.insta-follow {
	text-align: center;
	display: none;
}
.insta-follow img {
	width: 20px;
}
.insta-follow a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-red);
	color: #fff;
	font-size: 12px;
	letter-spacing: .05em;
	padding: 10px 26px;
}

/* =====================================================
   Service section
===================================================== */
.service-section { background: #efefef; padding-bottom: 180px; }
.service-section .diagonal-banner img {
	max-width: 450px;
}
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	max-width: 920px;
	margin: -30px auto 0;
	position: relative;
	z-index: 2;
}
.service-card {
	background: #fff;
	padding-bottom: 24px;
}
.service-card-photo { margin-bottom: 16px; overflow: hidden; }
.service-card h3 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 10px;
	padding: 0 22px;
}
.service-card p {
	font-size: 14.5px;
	line-height: 1.6;
	padding: 0 22px;
}
@media(max-width: 560px) {
	.service-card-photo img { display: none }
	.service-card h3 {
		font-size: 21px;
	}
	.service-section {
		padding-bottom: 40px;
	}
}


/* =====================================================
   Join us section
===================================================== */
.join-section {
	background: #fff;
}
.join-section .diagonal-banner img {
	max-width: 360px;
}
.join-section .diagonal-banner { margin-bottom: 0; }
.join-cover {
	position: relative;
}
.join-cover img.mcy-staff-img {
	object-fit: cover;
	min-height: 740px;
}
.join-section .container {
   position: absolute;
   top: 50%;
   left: 0;
   right: 0;
   transform: translateY(-50%);
   padding: 24px;
}
.join-grid {
	display: grid;
	grid-template-columns: .8fr 1fr;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto 0;
	position: relative;
	z-index: 2;
}
.join-text h2 {
	font-size: clamp(29px, 3vw, 33px);
	font-weight: 500;
	letter-spacing: 4px;
	line-height: 1.5;
	color: #322a23;
	margin-bottom: 38px;
}
.join-text p {
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 3px;
	color: var(--color-text);
	margin-bottom: 15px;
}
.join-sns { display: flex; flex-direction: column; gap: 13px; max-width: 240px; }
.join-sns a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	color: #fff;
	border-radius: 3px;
}
.join-sns a.line { background: #06c755; }
.join-sns a.youtube { background: #ff0000; }
.join-sns a.instagram { background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }
.join-photo { overflow: hidden; }

.mcy-staff-img-sp,
.join-phone-sp {
	display: none;
}
@media(max-width: 560px) {
	.diagonal-banner img {
		width: 72%;
	}
	.diagonal-banner small.banner-jp {
		font-size: 18px;
		margin-top: 20px;
	}
	.mcy-staff-img,
	.join-phone {
		display: none;
	}
	.mcy-staff-img-sp,
	.join-phone-sp {
		display: block;
	}
	.join-text h2 {
		margin-top: -25px;
		margin-bottom: 25px;
	}

}

/* =====================================================
   Footer
===================================================== */
.site-footer {
	background: var(--color-text);
	color: #fff;
	padding: 50px 24px 30px;
	text-align: center;
}
.footer-company {
	font-size: 15px;
	line-height: 2;
}
.footer-badge {
	max-width: 390px;
	margin: 25px auto 50px;
}
.footer-copy {
	font-size: 10px;
	color: #fff;
	letter-spacing: .04em;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 900px) {
	.intro-band .container { grid-template-columns: 1fr; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.join-grid { grid-template-columns: 1fr; }
	.join-cover img.mcy-staff-img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		bottom: 0;
	}
	.join-section .container {
		position: relative;
		top: 0;
		transform: none;
		padding: 60px 24px;
	}

}
.sp-hero-desc { display: none; }
.sp-menu-text { display: none; }
.sp-only-cta { display: none; }
@media (max-width: 1199px) {
	.pc-only-cta { display: none; }
	.sp-only-cta {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 99;
		gap: 0;
	}
	.menu-toggle { display: block; }

	.main-navigation {
		position: fixed;
		top: 0;
		right: 0;
		width: min(78vw, 320px);
		height: 100vh;
		z-index: 200;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		background: #fff;
		padding: 90px 32px 32px;
		box-shadow: -4px 0 24px rgba(0,0,0,.08);
		opacity: 0;
		visibility: hidden;
		transition: opacity .28s ease, visibility 0s linear .28s;
	}
	.main-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transition: opacity .28s ease, visibility 0s linear 0s;
	}
	.main-navigation ul {
		display: flex;
		flex-direction: column;
		gap: 0;
		width: 100%;
	}
	.main-navigation ul li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}
	.main-navigation ul li a {
		display: block;
		padding: 16px 4px;
		font-size: 15px;
	}
	.header-cta.sp-only-cta {
		width: 100%;
		justify-content: center;
		padding: 10px;
	}
	.header-cta-wrap.sp-only-cta span.label { font-size: 14px;}
	.header-cta-wrap.sp-only-cta img { width: 27px; }
	.header-cta-wrap.sp-only-cta a {
		width: 100%;
	   padding: 14px 22px 5px;
	}
	.header-cta-wrap a:not(:first-child) {
		margin-top: 0;
	}
	.facility-grid { grid-template-columns: 1fr; max-width: 420px; margin-top: -40px; }
	.instagram-grid { grid-template-columns: repeat(2, 1fr); }
	.hero {
/*		min-height: calc(100vh - 144px);*/
		min-height: calc(100svh - 140px);
	}
	.sp-menu-text {
		display: block;
		position: absolute;
		right: 23px;
		bottom: 4px;
		font-size: 13px;
		color: #874442;
		font-weight: 700;
		font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	}
}
.hero-bg-sp {
	display: none;
}
@media (max-width: 560px) {
	.service-grid { grid-template-columns: 1fr; max-width: 320px; }
	.diagonal-banner .banner-en { font-size: 42px; }
	.join-text p { font-size: 15px; margin-bottom: 32px;}
	.facility-card-text { padding-left: 14px; padding-right: 14px;}
	.hero-inner {
		margin: 0 auto;
		margin-left: 0;
		padding: 45px 20px 32px;
		position: absolute;
		top: 0;
		width: 100%;
	}
	.hero-eyebrow {
		width: 54%;
	}
	.hero-desc {
		display: none;
	}
	.hero-bg {
		height: 100%;
	}
	.hero-bg-pc {
		display: none;
	}
	.hero-bg-sp {
		display: block;
		object-position: 0;
	}
	.sp-hero-desc {
		background: #604c3f;
		padding: 18px 21px;
		color: #fff;
		display: block;
		position: absolute;
		left: 0;
		width: 100%;
		font-size: 16px;
		bottom: 0;
		letter-spacing: 1px;
		display: none;

	}
	.join-text {
		display: flex;
		flex-direction: column;
	}
	.join-sns {
		order: 5;
		max-width: 100%;
		gap: 20px;
	}
	.site-branding img {
		width: 180px;
	}
}

/* =====================================================
   Page: よつばについて (page_about.php)
===================================================== */

/* ---------- Page title band ---------- */
.page-title-band {
	position: relative;
	overflow: hidden;

}
.page-title-inner {
	position: absolute;
	top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
	z-index: 2;
	text-align: center;
	width: 100%;
}
.page-title-text {
	font-size: clamp(20px, 3vw, 33px);
	font-weight: 600;
	letter-spacing: .08em;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/* ---------- About section ---------- */
.about-section {
	padding: 70px 0 0;
	text-align: center;
}
.about-heading-en {
	line-height: 1;
	max-width: 360px;
	margin: 0 auto 52px;
}
.about-heading-jp {
	font-size: clamp(24px, 2.6vw, 31px);
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.5;
	color: #333;
	margin-bottom: 20px;
}
.about-lead {
	max-width: 760px;
	margin: 0 auto 60px;
	font-size: 17px;
	letter-spacing: 1px;
	line-height: 1.7;
	color: var(--color-text);
}
.about-lead p + p {
	margin-top: 30px;
}

.about-photo-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.about-photo-strip-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Service list section ---------- */
.about-service-section {
	background: #efefef;
	padding: 95px 0 160px;
}
.about-service-section.bg-logo-pattern::before,
.about-service-section.bg-logo-pattern::after {
	background-image: url('/wp-content/themes/medicare-yotsuba/assets/images/common/mcy-back-log-white.svg');
	background-repeat: no-repeat;
	background-size: contain;
	height: 100%;
	background-position: top center;
}
.about-service-section.bg-logo-pattern::before {
	top: 140px;
	right: -180px;
}
.about-service-section.bg-logo-pattern::after {
	top: 30%;
	left: -180px;
}
.service-bg-icon-right,
.service-bg-icon-left {
	position: absolute;
	z-index: 0;
	min-width: 560px;
	width: 50vw;
	height: auto;
}
.service-bg-icon-right {
	right: -180px;
	bottom: 25%;
}
.service-bg-icon-left {
	bottom: -3%;
	left: -180px;
}
.section-heading-simple {
	text-align: center;
	font-size: clamp(21px, 2.4vw, 26px);
	font-weight: 600;
	letter-spacing: .1em;
	margin-bottom: 45px;
}

.service-block {
	max-width: 820px;
	margin: 0 auto 54px;
}
.service-block:last-child { margin-bottom: 0; }

.service-block-badge {
	display: inline-block;
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .1em;
	padding: 5px 34px;
	border-radius: 24px 24px 0 0;
	width: 410px;
	text-align: center;
}
.service-block-badge--orange { background: #b75c35; }
.service-block-badge--teal   { background: #118c8e; }
.service-block-badge--olive  { background: #939e25; }
.service-block-badge--green  { background: #008dc7; }
.service-block-badge--red    { background: #c23a30; }
.service-block-badge--brown  { background: #7a6a56; }

.service-block-grid {
	display: grid;
	grid-template-columns: 410px 1fr;
	gap: 34px;
	background: #fff;
}
.service-block-photo {
	overflow: hidden;
}
.service-block-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.service-block-desc {
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 1.7;
	padding: 22px;
}
.service-block-info {
	padding-top: 32px;
   padding-bottom: 32px;
}
.service-block-info-heading {
	font-size: 17px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}
.service-block-checklist {
	margin-bottom: 30px;
}
.service-block-checklist li {
	position: relative;
	font-size: 14px;
	color: var(--color-text);
	padding-left: 26px;
	margin-bottom: 10px;
	line-height: 1.5;
}
.service-block-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 15px;
	height: 15px;
	border: 1.5px solid var(--color-text);
}
.service-block-checklist li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 7px;
	width: 8px;
	height: 4px;
	border-left: 1.5px solid var(--color-text);
	border-bottom: 1.5px solid var(--color-text);
	transform: rotate(-45deg);
}
.service-block-facilities li {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
	.service-block-grid { grid-template-columns: 1fr; }
	.service-block-info {
		padding: 0 24px 24px;
	}
	.service-block-grid { gap: 10px; }
}

@media (max-width: 560px) {
	.about-photo-strip { grid-template-columns: repeat(2, 1fr); }
	.service-block-badge { padding: 9px 24px; font-size: 20px; width: 100%; }
	.about-lead { font-size: 15px; }
}

/* =====================================================
   Page: 会社概要 (page-companyprofile.php)
===================================================== */

.page-title-band--company {
	background: linear-gradient(100deg, #6f9a5e 0%, #93ac6c 55%, #c3d6a0 100%);
}

.company-section {
	background: #efefef;
	padding: 100px 0 190px;
}

.company-table-wrap {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 42px 70px;
}
.company-table {
	margin-top: 0;
}
.company-table-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 20px;
	padding: 18px 0;
	border-bottom: .5px solid #322a23;
}
.company-table-row:last-child { border-bottom: none; }

.company-table-row dt {
	font-size: 17px;
	color: var(--color-text);
	font-weight: 500;
	letter-spacing: 1px;
}
.company-table-row dd {
	margin: 0;
	font-size: 17px;
	color: var(--color-text);
	line-height: 1.9;
	letter-spacing: 1px;
}
.company-list li {
	list-style: none;
}
.company-list-label {
	display: inline-block;
	min-width: 6.5em;
}
.company-list--plain li {
	line-height: 1.9;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.company-table-wrap { padding: 34px 24px; }
	.company-table-row { grid-template-columns: 1fr; gap: 8px; }
	.company-list-label { margin-bottom: 2px; }
	.company-table-row dd { font-size: 15px; }
	.company-section { padding-bottom: 80px; }
}

/* =====================================================
   Page: 採用情報 (page-recruit.php)
===================================================== */

.page-title-band--recruit {
	background: linear-gradient(100deg, #6f9a5e 0%, #93ac6c 55%, #c3d6a0 100%);
}

/* ---------- Intro ---------- */
.recruit-intro-text {
	padding: 30px 24px 30px 24px;
   width: 90%;
   left: 0;
   right: 0;
   margin: 0 auto;
}

/* ---------- App / SNS full-bleed banner ---------- */
.recruit-app-banner {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #efe9df;
}
.recruit-app-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.recruit-app-phone {
	padding-top: 90px;
	padding-bottom: 180px;
	position: relative;
	z-index: 2;
	width: 100%;
}
@media(max-width: 780px) {
	.recruit-app-phone {
		padding-bottom: 60px;
		max-width: 360px;
      width: 86%;
	}
}

/* ---------- SNS section ---------- */
.recruit-sns-section {
	padding: 60px 0 20px;
	background: #efefef;
	text-align: center;
}
.recruit-sns-lead {
	max-width: 695px;
	margin: 0 auto 40px;
	font-size: 17px;
	line-height: 2;
	letter-spacing: 1px;
	color: var(--color-text);
}
.recruit-sns-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-bottom: 40px;
}
.recruit-sns-btn {
	width: min(100%, 275px);	
}
.recruit-sns-note {
	font-size: 17px;
	line-height: 2;
	color: var(--color-text);
	padding-bottom: 70px;
	letter-spacing: 1px;
}
@media(max-width: 560px) {
	.recruit-sns-note {
		padding-bottom: 30px;
	}
}
/* ---------- Apply box ---------- */
.recruit-apply-section {
	background: #efefef;
	padding-bottom: 90px;
}
.recruit-apply-box {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 46px 40px 50px;
	text-align: center;
}
.recruit-line-btn {
	width: 100%;
	max-width: 285px;
	margin: 0 auto 24px;
	display: block;
}
.recruit-apply-section .section-heading-simple {
	margin-bottom: 22px;
}
.recruit-apply-desc {
	font-size: 17px;
	line-height: 2;
	margin-bottom: 15px;
}
.recruit-apply-shot {
	overflow: hidden;
	max-width: 320px;
	margin: 0 auto;
}
.recruit-apply-shot img {
	width: 100%;
	display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
	.recruit-intro-grid { grid-template-columns: 1fr; }
	.recruit-intro-photo { height: 260px; }
	.recruit-app-banner { min-height: 420px; }
}

@media (max-width: 560px) {
	.recruit-apply-box { padding: 34px 22px 40px; }
	.recruit-sns-lead,
	.recruit-sns-note,
	.recruit-apply-desc { font-size:15px; }
}

/* =====================================================
   Page: 施設詳細 (page_facilities-〇〇.php 共通)
===================================================== */

/* INTRODUCTION 見出し */
.facility-outline-heading {
	text-align: center;
	padding: 70px 24px ;
	margin-bottom: 0px;
}
.facility-outline-heading-bg {
	background: #efefef;
	position: relative;
	z-index: 0;
	overflow: hidden;
}

.facility-outline-heading img {
	width: 95%;
	max-width: 800px;
	margin: 0 auto;
}

/* ---------- Facility gallery ---------- */
.facility-gallery-section {
	padding: 80px 0 70px;
}
.facility-name-heading {
	text-align: center;
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 600;
	letter-spacing: 4px;
	margin-bottom: 40px;
}
.facility-hero-photo {
	overflow: hidden;
	margin-bottom: 25px;
}
.facility-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.facility-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
.facility-gallery-item {
	overflow: hidden;
}
.facility-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.facility-gallery-section .container {
	max-width: 975px;
}

/* ---------- Badge bar (category ribbon, full width) ---------- */
.facility-badge-bar {
	background: var(--color-green);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 8px 24px;
}
.facility-badge-bar--sub {
	font-size: 18px;
	padding: 8px 20px;
	margin-bottom: 20px !important;
}

/* ---------- Lead (category description) ---------- */
.facility-lead-section {
	padding-bottom: 70px;
}
.facility-lead-section .facility-badge-bar {
	max-width: 925px;
	margin: 0 auto 30px;
}
.facility-lead-grid {
	max-width: 925px;
	margin: 0 auto 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
.facility-lead-text h3 {
	font-size: clamp(24px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 18px;
	letter-spacing: 2px;
}
.facility-lead-text p {
	font-size: 17px;
	line-height: 1.9;
	letter-spacing: 1px;
}
.facility-lead-photo {
	overflow: hidden;
}
.facility-lead-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.facility-sub-grid {
	max-width: 925px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
.facility-sub-card { background: transparent; }

.facility-sub-card-body h4 {
	font-size: clamp(24px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 12px;
	letter-spacing: 2px;
}
.facility-sub-card-body p {
	font-size: 17px;
	line-height: 1.9;
	letter-spacing: 1px;
}


.facility-symptoms-treatment-grid {
	background: #fff;
	padding: 30px 90px;
	margin-bottom: 50px;
}

.facility-symptoms-treatment-label {
	color: #c23a30;
	font-weight: 600;
	font-size: 20px;
	padding-bottom: 10px;
}

.facility-symptoms-treatment-grid ul.service-block-checklist li {
	font-size: 18px;
	margin-bottom: 5px;
}
.facility-symptoms-treatment-grid ul.service-block-checklist li::before {
	top: 5px;
}
.facility-symptoms-treatment-grid ul.service-block-checklist li::after {
	top: 9px;
}
.facility-symptoms-treatment-text {
	font-size: 18px;
}
@media(max-width: 780px) {
	.facility-symptoms-treatment-grid {
		gap: 5px;
		padding: 30px 35px 40px;
	}
	.facility-lead-text p,
	.facility-sub-card-body p {
		font-size: 15px;
	}
}

.facility-cta-wrap {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	max-width: calc(925px + 24px + 24px);
	padding: 24px;
	margin: 50px auto;
}
.facility-cta {
	width: calc(100%/3 - 10px);
	display: block;
	padding: 18px 24px;
	background: #d80a2a;
	text-align: center;
}
.facility-cta-sp {
	background: #007bc7;
}
.facility-cta-line {
	background: #009944;
}
.facility-cta img {
	width: 30px;
	vertical-align: middle;
	display: inline-block;
}
.facility-cta span {
	font-size: 21px;
	font-weight: 600;
	margin-left: 10px;
	color: #fff;
	display: inline-block;
	vertical-align: middle;
}
@media(max-width: 640px) {
	.facility-cta-wrap {
		flex-wrap: wrap;
		margin: 30px auto;
	}
	.facility-cta {
		width: 100%;
	}
	.facility-cta span {
		font-size: 18px;
	}
}
/* ---------- １日の流れ ---------- */
.facility-detail-bar small {
	text-align: right;
	position: absolute;
	top: -40px;
	left: 0;
	right: 0;
	color: var(--color-text);
	font-size: 70%;
	font-weight: 500;
	display: block;
}
.facility-flow-table {
	position: relative;
	max-width: 925px;
	margin: 0 auto 60px;
	z-index: 0;

}
.facility-flow-table dl {
	display: grid;
	border-bottom: .5px solid #322a23;
	align-items: center;
	margin: 0;
	grid-template-columns: 190px 1fr;
}
.facility-flow-table dl dt {
	padding: 25px;
	letter-spacing: 2px;
}
.facility-flow-table dl dd {
	background: #fff;
	padding: 25px;
	min-height: 110px;
	position: relative;
}
.facility-flow-table dl dd span {
	position: absolute;
	left: 25px;
	top: 50%;
	transform: translateY(-50%);
}
.facility-flow-img-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: column;
	position: absolute;
	right: 25px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 200px;
	height: 100%;

}
@media(max-width: 850px) {
	.facility-flow-img-wrap {
		display: none;
	}
	.facility-flow-table dl {
		grid-template-columns: 120px 1fr;
	}
	.facility-flow-table dl dt {
		padding-right: 0;
	}
	.facility-flow-table dl dd {
		margin-left: 0;
		min-height: auto;
	}
	.facility-flow-table dl dd span {
		left: 0;
		position: relative;
		top: 0;
		transform: none;
	}
}
@media(max-width: 780px) {
	.facility-detail-bar small {
		text-align: center;
		top: -33px;
		font-size: 13px;
	}
	.facility-flow-table {
		padding: 0 24px;
	}
	.facility-flow-table dl dt {
		padding: 12px 0;
		font-size: 15px;
	}
	.facility-flow-table dl dd {
		margin-left: 0;
		padding: 12px 0;
		font-size: 15px;
	}
}
/* ---------- 施設概要 / 施設詳細 ---------- */
.facility-detail-section {
	padding-bottom: 30px;
}
.facility-detail-bar {
	max-width: 925px;
	margin: 0 auto 0;
	background: #322a23;
	color: #fff;
	text-align: center;
	font-size: 20px;
	letter-spacing: .1em;
	padding: 6px 0;
	font-weight: 600;
	position: relative;
	z-index: 1;
}
.facility-overview-wrap {
	max-width: 925px;
	margin: 0 auto 30px;
	padding: 0;
	background: none;
}
.facility-overview-wrap .company-table-row:last-child { border-bottom: .5px solid #322a23; }
.facility-overview-wrap .company-table-row {
	padding: 0;
	background: none;
	    grid-template-columns: 190px 1fr;
}
.facility-overview-wrap .company-table-row dt {
	padding: 25px;
	letter-spacing: 2px;
}
.facility-overview-wrap .company-table-row dd {
	padding: 25px;
	letter-spacing: 2px;
	background: #fff;

}
.facility-address-wrap { margin-bottom: 24px; }
.facility-address-wrap .company-table-row {
	border-bottom: none !important;
}
.facility-address-wrap .company-table-row dd {
	background: none;
}

.facility-doc-btn-wrap {
	text-align: center;
	margin: 0 auto 100px;
}
.facility-doc-btn {
	display: inline-block;
	border: 1px solid #322a23;
	padding: 12px 34px;
	letter-spacing: 2px;
    background: #fff;
    width: 300px;
}

.facility-map {
	max-width: 925px;
	margin: 0 auto;
	height: 450px;
}
.news-section .facility-detail-bar {
	margin-bottom: 30px;
}

/* ---------- Responsive ---------- */
.sp-only {
	display: none;
}
.sp-only-insta {
	display: none;
}
@media(max-width: 1199px) {
	.sp-only-insta {
		display: block;
	}
}
@media (max-width: 780px) {
	.facility-outline-heading, .facility-name-heading { display: none; }
	.facility-gallery-section { padding-top: 50px; }
	.facility-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.facility-lead-grid { grid-template-columns: 1fr; }
	.facility-sub-grid { grid-template-columns: 1fr; }

	.facility-overview-wrap .company-table-row dt,
	.facility-overview-wrap .company-table-row dd {
		padding: 15px 25px;
	}
	.facility-address-wrap  .company-table-row dd {
		padding-top: 0;
	}
	.news-section .facility-detail-bar {
		margin-bottom: 20px;
	}
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
	.company-table-row.sp-only {
		display: grid;
		border-bottom: none !important;
	}
	.facility-detail-section {
		background: #fff;
	}
	.facility-detail-section::before,
	.facility-detail-section::after {
		display: none;
	}
	.news-section {
		padding-top: 0;
	}
	.facility-overview-wrap {
		margin-bottom: 0;
	}
	.facility-detail-section iframe {
		margin-bottom: 30px;
		height: 240px !important;
	}
	.facility-overview-wrap .company-table-row dt,
	.facility-overview-wrap .company-table-row dd {
		padding: 12px 0;
		font-size: 15px;
	}
	.facility-overview-wrap .company-table-row {
		grid-template-columns: 100px 1fr;
	}
	.facility-doc-btn {
		font-size: 14px;
   	width: 230px;
   	padding: 6px;
	}

}
@media(max-width: 560px) {
	.subhead-pc-only {
		display: none;
	}
}

/* =====================================================
   背景ロゴ透かし (mcy-back-logo.svg)
   グレー背景セクションの角に薄く配置する装飾パターン
===================================================== */
.bg-logo-pattern {
	position: relative;
	overflow: hidden;
}
.bg-logo-pattern::before,
.bg-logo-pattern::after {
	content: "";
	position: absolute;
	width: 720px;
	height: 720px;
	background: url('/wp-content/themes/medicare-yotsuba/assets/images/common/mcy-back-logo.svg') no-repeat center / contain;
	pointer-events: none;
	z-index: 0;
}
.bg-logo-pattern::before { top: -90px; right: -110px; }
.bg-logo-pattern::after { bottom: -90px; left: -110px; }

/* コンテンツを透かしより手前に表示 */
.bg-logo-pattern > .container,
.bg-logo-pattern > .facility-badge-bar {
	position: relative;
	z-index: 1;
}
.service-section.bg-logo-pattern::after,
.facility-section.bg-logo-pattern::after {
   display: none;
}
.facility-section.bg-logo-pattern::before {
	top: 82vh;
}
.service-section.bg-logo-pattern::before {
	top: 58vh;
	background: url('/wp-content/themes/medicare-yotsuba/assets/images/common/mcy-back-log-white.svg') no-repeat center / contain;
}
.facility-gallery-section.bg-logo-pattern::before {
	background: url('/wp-content/themes/medicare-yotsuba/assets/images/common/mcy-back-log-white.svg') no-repeat center / contain;
}
.facility-gallery-section.bg-logo-pattern::after {
	display: none;
}
.facility-gallery-section.bg-logo-pattern::before {
	top: 120px;
	right: -270px;
}
img.facility-bg-logo-left-1,
img.facility-bg-logo-left-2,
img.facility-bg-logo-right-2 {
	position: absolute;
	width: 720px;
	height: 720px;
	z-index: -1;
}

img.facility-bg-logo-left-1,
img.facility-bg-logo-left-2 {
	left: -270px;
}
img.facility-bg-logo-right-2 {
	right: -270px;
}
img.facility-bg-logo-left-1 {
	top: 16.5%;
}
img.facility-bg-logo-right-2 {
	top: calc(16.5% + 720px + 90px);
}
img.facility-bg-logo-left-2 {
	top: calc(16.5% + 810px + 810px);
}


@media (max-width: 780px) {
	.bg-logo-pattern::before,
	.bg-logo-pattern::after {
		width: 280px;
		height: 280px;
	}
	.bg-logo-pattern::before { top: -60px; right: -70px; }
	.bg-logo-pattern::after { bottom: -60px; left: -70px; }
}

/* =====================================================
   Header: 施設紹介 サブメニュー
===================================================== */
.main-navigation .menu-item-has-children {
	position: relative;
}
.main-navigation .menu-item-has-children > a {
	position: relative;
	cursor: pointer;
	padding-right: 20px; /* 矢印分の余白 */
	/*display: block; */
}

/* 開閉矢印（↓）。画像を使わずCSSのみで表示 */
.main-navigation .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	/*transition: transform .25s ease;*/
}
.main-navigation .menu-item-has-children.is-open > a::after {
	/*transform: translateY(-35%) rotate(-135deg); */
}
.main-navigation .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}

/* ---------- PC: マウスオーバーで表示・非表示 ---------- */
@media (min-width: 1200px) {
	.main-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		background: #fff;
		border-top: 3px solid var(--color-brown);
		box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
/*		transition: opacity .2s ease, transform .2s ease, visibility .2s ease; */
		z-index: 100;
	}
	.main-navigation .menu-item-has-children:hover > .sub-menu,
	.main-navigation .menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.main-navigation .sub-menu li {
		border-bottom: 1px solid #eee;
	}
	.main-navigation .sub-menu li:last-child {
		border-bottom: none;
	}
	.main-navigation .sub-menu li a {
		display: block;
		padding: 14px 20px;
		font-size: 13px;
		white-space: nowrap;
		color: #333;
		transition: background-color .15s ease, color .15s ease;
	}
/*	.main-navigation .sub-menu li a:hover {
		background: var(--color-cream);
		color: var(--color-brown-dark);
	}*/
}

/* ---------- スマホ・タブレット: 「施設紹介」クリックで開閉 ---------- */
@media (max-width: 1199px) {
	.main-navigation .sub-menu {
		max-height: 0;
		overflow: hidden;
		background: var(--color-cream);
		transition: max-height .3s ease;
	}
	.main-navigation .menu-item-has-children.is-open > .sub-menu {
		max-height: 500px; /* 項目数が増えても収まる余裕を確保 */
	}
	.main-navigation .sub-menu li {
		border-bottom: none;
	}
	.main-navigation .sub-menu li a {
		padding: 14px 4px 14px 24px;
		font-size: 14px;
	}
}
