@charset "UTF-8";
/* ==========================================================
   大樹 カスタムCSS（最小限）
   - 色・幅・ボタン色・カードの枠線などはSWELL設定／ブロック設定で管理
   - デスクトップファースト（max-width）、メディアクエリは末尾にまとめる
========================================================== */

/* ----------------------------------------------------------
   共通
---------------------------------------------------------- */

/* アウトラインボタンの背景を白に */
.is-style-btn_line .swell-block-button__link {
	background: #fff;
	font-weight: 700;
}

/* MOREボタン → 下線リンク */
.is-style-more_btn {
	margin: 0;
}

.is-style-more_btn a {
	display: inline-flex;
	align-items: center;
	gap: 1em;
	min-width: 0;
	padding: 12px 0;
	background: none;
	box-shadow: none;
	border-bottom: 1px solid #9ebdb0;
	border-radius: 0;
	color: var(--color_main);
	font-weight: 700;
}

.is-style-more_btn a::after {
	content: none;
}

.is-style-more_btn a:hover {
	background: none;
	color: var(--color_main);
	opacity: .75;
}

/* ボタニカル背景（フルワイドのアンカー名で指定） */
#top-fv::before,
#news::before,
#facility::before,
#recruit::before,
#contact::before,
.l-footer::before {
	content: "";
	position: absolute;
	top: 160px;
	left: 0;
	width: 260px;
	height: calc(100% - 160px);
	background: url(../img/botanical.webp) no-repeat left top / contain;
	opacity: .24;
	pointer-events: none;
	z-index: 0;
}

#news::before,
#recruit::before,
#contact::before,
.l-footer::before {
	left: auto;
	right: 0;
	transform: scaleX(-1);
}

#facility::before {
	height: 640px;
}

/* 通常ボタン：影なし・ホバーで拡大 */
.is-style-btn_normal a {
	transition: transform .25s;
}

.is-style-btn_normal a,
.is-style-btn_normal a:hover {
	box-shadow: none;
}

.is-style-btn_normal a:hover {
	transform: scale(1.03);
}

/* ----------------------------------------------------------
   ヘッダー
---------------------------------------------------------- */

/* ロゴ左／電話番号・グロナビ右（SWELL「ヘッダーナビを下に」を左右配置に調整） */
.-parallel .l-header__inner {
	max-width: calc(var(--container_size, 1120px) + 48px);
	padding-inline: 24px;
	align-items: center;
}

.-parallel .l-header__logo {
	width: auto;
	text-align: left;
}

.l-header.-parallel .w-header {
	width: auto;
	margin-left: auto;
}

.-parallel .l-header__gnav .c-gnav {
	justify-content: flex-end;
}

/* グロナビ：太字 */
.c-gnav>.menu-item>a {
	font-weight: 600;
}

/* サブメニューがある項目に下矢印 */
.c-gnav>.menu-item-has-children>a .ttl::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}

/* ハンバーガーボタン（SP） */
.l-header__menuBtn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.l-header__menuBtn .c-iconBtn {
	width: 44px;
	height: 44px;
	border: 1px solid #dce6d8;
	border-radius: 50%;
	color: var(--color_main);
}

.l-header__menuBtn .c-iconBtn__icon {
	font-size: 21px;
}

/* ----------------------------------------------------------
   開閉メニュー（SP）
---------------------------------------------------------- */
.p-spMenu__overlay {
	background: #12271b66;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.p-spMenu__inner {
	width: 380px;
	max-width: 88vw;
	padding-top: 0;
}

.p-spMenu__inner::before {
	background: #fff;
	opacity: 1;
}

.p-spMenu__closeBtn {
	top: 22px;
	right: 18px;
	width: 44px;
	height: 44px;
	color: var(--color_main);
}

.p-spMenu__closeBtn .c-iconBtn__icon {
	font-size: 22px;
}

.p-spMenu__body {
	padding: 22px 24px 40px;
}

.c-widget__title.-spmenu {
	margin: 0 0 20px;
	padding: 0;
	background: none;
	color: #18251e;
	font-size: 25px;
	font-weight: 600;
	line-height: 44px;
	text-align: left;
}

.c-widget__title.-spmenu::before,
.c-widget__title.-spmenu::after {
	content: none;
}

.p-spMenu__nav {
	margin-top: 0;
}

.c-spnav>.menu-item {
	border-bottom: 1px solid #e3eade;
}

.c-spnav a {
	padding: 17px 40px 17px 0;
	border-bottom: 0;
	font-size: 16px;
	font-weight: 600;
}

.c-spnav a::before {
	content: none;
}

.c-spnav a:hover {
	background: none;
	opacity: .7;
}

.c-spnav .sub-menu a {
	padding: 12px 0 3px 14px;
	font-size: 14px;
	font-weight: 400;
}

.c-spnav .sub-menu.is-opened {
	padding-bottom: 17px;
}

.c-spnav>.menu-item-has-children>a:has(+ .sub-menu.is-opened) {
	padding-bottom: 5px;
}

/* サブメニュー開閉：＋／− */
.c-spnav .c-submenuToggleBtn {
	right: 0;
	color: var(--color_main);
}

.c-spnav .c-submenuToggleBtn::before {
	content: "+";
	font-family: inherit;
	font-size: 18px;
	font-weight: 400;
}

.c-spnav .c-submenuToggleBtn.is-opened::before {
	content: "−";
	transform: none;
}

.c-spnav .c-submenuToggleBtn::after {
	content: none;
}

/* 開閉メニュー下（ウィジェット）：電話番号（ブログパーツ共通。PCヘッダーの横並びを縦積みに） */
.p-spMenu__bottom {
	margin-top: 32px;
}

.p-spMenu__bottom .is-layout-flex {
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

/* PC用の縦線・左余白はブロック設定（インライン）なので !important で消す */
.p-spMenu__bottom .is-layout-flex>.wp-block-group {
	padding-left: 0 !important;
	border-left: 0 !important;
}

/* ----------------------------------------------------------
   TOP
---------------------------------------------------------- */

/* FVをヘッダー直下に配置 */
.top #content {
	padding-top: 0;
}

/* FV */
#top-fv .swell-block-fullWide__inner>.swell-block-columns>.swell-block-columns__inner>.swell-block-column:first-child {
	align-self: center;
	padding: 72px 56px 72px max(24px, calc((100vw - 1120px) / 2 - 72px));
}

#top-fv .wp-block-image.fv-photo {
	height: 100%;
	margin: 0;
}

#top-fv .fv-photo img {
	width: 100%;
	height: 100%;
	min-height: 640px;
	object-fit: cover;
	border-radius: 0 0 50% 50% / 0 0 72px 72px;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
	mask-image: linear-gradient(to right, transparent 0, #000 16%);
}

/* FV：緑のふわふわ背景（.hero-blob） */
#top-fv {
	z-index: 2;
	overflow-x: clip;
}

#top-fv::after {
	content: "";
	position: absolute;
	top: 50px;
	left: -120px;
	width: 720px;
	height: min(720px, calc(100% - 50px));
	border-radius: 42% 58% 70% 30% / 45% 38% 62% 55%;
	background: radial-gradient(ellipse at 20% 70%, #dbe5b8 0, #f2e5c8 52%, #fcf7ea 74%);
	filter: blur(12px);
	opacity: .6;
	pointer-events: none;
	z-index: -1;
}

/* FV：ボタン */
#top-fv .fv-btns .swell-block-button__link {
	gap: 3px;
	min-width: 0;
	padding: 1.1em 7px;
	font-size: 13px;
	letter-spacing: 0;
	white-space: nowrap;
}

/* FV下 */
.post_content .fv-gap {
	margin: 0;
}

/* 費用・入居条件 */
#empathy {
	background-repeat: repeat;
	background-size: 420px;
}

/* グループの「ブロックの間隔」はSWELL環境では出力されないためCSSで指定 */
#empathy .is-layout-flex {
	gap: 20px;
}

/* お知らせ */
#news .wp-block-post-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 3.2em;
	overflow: hidden;
}

/* 施設のご紹介 */
#group-home .swell-block-column>.wp-block-group .wp-block-image,
#day-service .swell-block-column>.wp-block-group .wp-block-image {
	margin-bottom: 0;
}

/* 採用 */
#recruit .swell-block-column .swell-block-columns {
	margin-top: 2em;
}

#recruit .swell-block-columns__inner:has(> .swell-block-column > .wp-block-image .wp-image-94)>.swell-block-column {
	padding: 0 3px;
}

#recruit .swell-block-columns__inner:has(> .swell-block-column > .wp-block-image .wp-image-94)>.swell-block-column+.swell-block-column {
	border-left: 1px solid #e2d9c9;
}

#recruit .wp-block-image.size-large {
	max-width: 86%;
	margin-left: auto;
}

#recruit .wp-block-image.size-large img {
	-webkit-mask-image: linear-gradient(105deg, transparent 0, #000 24%);
	mask-image: linear-gradient(105deg, transparent 0, #000 24%);
}

/* お問い合わせ */
#contact .wp-block-media-text__media {
	align-self: stretch;
}

#contact .wp-block-media-text__media img {
	height: 100% !important;
	object-fit: cover;
	border-radius: 16px;
}

#contact .wp-block-media-text__content>* {
	margin: 0;
}

#contact .wp-block-media-text__content>*+* {
	margin-top: 10px;
}

/* お知らせ */
.post_content .wp-block-post-template {
	padding: 0;
	list-style: none;
}

.post_content .wp-block-post-template>li::before {
	content: none;
}

.wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.news-cat a {
	display: inline-block;
	white-space: nowrap;
	padding: 3px 12px;
	border-radius: 999px;
	background: #fff0e3;
	color: #ce4c00;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.news-cat a[href*="/category/info/"] {
	background: #eef6eb;
	color: var(--color_main);
}

.news-cat .wp-block-post-terms__separator {
	display: none;
}

/* よくあるご質問 */
#faq>.swell-block-fullWide__inner {
	max-width: calc(1000px + var(--swl-pad_container, 0px) * 2);
}

.swell-block-faq .swell-block-faq__item {
	border: 1px solid #e2ebdf;
	border-radius: 12px;
	background: #fff;
}

.swell-block-faq .swell-block-faq__item+.swell-block-faq__item {
	margin-top: 8px;
}

.swell-block-faq .faq_q {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
}

.post_content .swell-block-faq .faq_q {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
}

.swell-block-faq .faq_a {
	padding: 0 24px 20px 60px;
}

.swell-block-faq[data-q] .faq_q::before,
.swell-block-faq[data-a] .faq_a::before {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e3efe0;
	box-shadow: none;
	color: var(--color_main);
	font-family: inherit;
	font-weight: 700;
	line-height: 1;
}

.swell-block-faq[data-q] .faq_q::before {
	position: static;
	flex: 0 0 26px;
}

.swell-block-faq[data-a] .faq_a::before {
	top: 0;
	left: 20px;
	background: #fff1e3;
	color: #ce4c00;
}

/* ----------------------------------------------------------
   フッター
---------------------------------------------------------- */
.l-footer {
	position: relative;
	overflow: clip;
}

.l-footer::before {
	top: auto;
	bottom: -160px;
	height: 100%;
	background-position: left bottom;
}

.l-footer>* {
	position: relative;
	z-index: 1;
}

.w-footer ul.wp-block-list {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}

.w-footer .swell-block-column>.swell-block-columns:first-child {
	margin-bottom: 32px;
}

.w-footer ul.wp-block-list li {
	margin-bottom: .6em;
}

.w-footer a {
	color: inherit;
	text-decoration: none;
}

.w-footer .wp-block-image {
	text-align: left;
}

.l-footer .copyright {
	text-align: left;
}

/* ----------------------------------------------------------
   追従CTA（ブログパーツ「追従CTA（LINE相談）」）
---------------------------------------------------------- */
/* ウィジェット「フッター直前」に配置。 */
#before_footer_widget:has(.float-cta) {
	height: 0;
	margin: 0;
}

.float-cta {
	position: fixed;
	right: 0;
	bottom: 105px;
	z-index: 30;
	filter: drop-shadow(0 3px 8px #16372220);
}

.float-cta>.wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.float-cta .float-cta__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 120px;
	min-height: 76px;
	margin: 0;
	padding: 12px 6px;
	border-radius: 35px 0 0 35px;
	transition: opacity .25s;
}

.float-cta .float-cta__btn:hover {
	opacity: .85;
}

.float-cta .wp-block-image {
	flex: 0 0 auto;
	margin: 0;
}

.float-cta .wp-block-image img {
	width: 20px !important;
}

.float-cta p {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.float-cta p .u-fz-xs {
	display: block;
	margin-top: 2px;
	font-size: 10px;
}

.float-cta a {
	color: inherit;
	text-decoration: none;
}

.float-cta a::after {
	content: "";
	position: absolute;
	inset: 0;
}

[data-spmenu="opened"] .float-cta {
	z-index: 0;
}

/* ----------------------------------------------------------
   小PC（1200px以下）
---------------------------------------------------------- */
@media (max-width: 1200px) {
	#top-fv .fv-btns .swell-block-button__link {
		font-size: 12px;
	}
}

@media (min-width: 960px) and (max-width: 1200px) {

	/* 施設のご紹介 */
	#group-home .swell-block-columns,
	#day-service .swell-block-columns {
		--clmn-w--pc: 50% !important;
	}
}

/* ----------------------------------------------------------
   追従CTAを画面下に（1390px以下）
---------------------------------------------------------- */
@media (max-width: 1390px) {
	.float-cta {
		left: 0;
		bottom: 0;
		padding: 8px;
		background: #fffffff5;
		box-shadow: 0 -3px 18px #2442250e;
		filter: none;
	}

	.float-cta>.wp-block-group__inner-container {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 240px));
		justify-content: center;
	}

	.float-cta .float-cta__btn {
		gap: 10px;
		width: 100%;
		min-height: 54px;
		padding: 8px 12px;
		border-radius: 30px;
	}

	.float-cta .wp-block-image img {
		width: 24px !important;
	}

	.float-cta p {
		font-size: 13px;
	}

	.float-cta p .u-fz-xs {
		font-size: 11px;
	}

	.l-footer {
		padding-bottom: 70px;
	}

	.p-fixBtnWrap {
		bottom: 86px;
	}
}

/* ----------------------------------------------------------
   小PC・タブレット以下（1100px以下）
---------------------------------------------------------- */
@media (max-width: 1100px) {

	/* FV */
	#top-fv .fv-btns {
		max-width: 350px;
	}

	#top-fv .fv-btns .swell-block-column {
		--clmn-w--pc: 100%;
	}

	#top-fv .fv-btns .swell-block-button__link {
		padding: .9em 18px;
		font-size: 14px;
	}
}

/* ----------------------------------------------------------
   タブレット・スマホ（959px以下）
---------------------------------------------------------- */
@media (max-width: 959px) {

	/* FV */
	#top-fv .swell-block-fullWide__inner>.swell-block-columns>.swell-block-columns__inner>.swell-block-column:first-child {
		padding: 40px 20px 8px;
	}

	#top-fv .fv-photo img {
		min-height: 0;
		height: auto;
		aspect-ratio: 4 / 3;
		border-radius: 0 0 50% 50% / 0 0 40px 40px;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
		mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
	}

	#top-fv::before,
	#news::before,
	#facility::before,
	#recruit::before,
	#contact::before,
	.l-footer::before {
		width: 160px;
	}

	.l-footer::before {
		bottom: 0;
	}

	#top-fv::before {
		content: none;
	}

	#top-fv .swell-block-fullWide__inner>.swell-block-columns>.swell-block-columns__inner>.swell-block-column:first-child {
		position: relative;
		isolation: isolate;
	}

	#top-fv .swell-block-fullWide__inner>.swell-block-columns>.swell-block-columns__inner>.swell-block-column:first-child::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 160px;
		height: 100%;
		background: url(../img/botanical.webp) no-repeat left center / contain;
		opacity: .24;
		pointer-events: none;
		z-index: -1;
	}

	#recruit .wp-block-image.size-large {
		max-width: none;
	}

	/* ロゴを大きく（ロゴサイズはSWELL設定 56px、上下余白を詰める） */
	.l-header__logo .c-headLogo__link {
		padding-block: 5px;
	}

	/* フッター */
	.w-footer .wp-block-group[style*="border-left"] {
		padding-top: 24px !important;
		padding-left: 0 !important;
		border-top: 1px solid #dfe3dc;
		border-left: 0 !important;
	}

	/* お知らせ */
	#news .wp-block-post-title a {
		min-height: 0;
	}

	/* 費用・入居条件 */
	#empathy .wp-block-group[style*="border-left"] {
		padding-left: 0 !important;
		border-left: 0 !important;
	}

	/* さいごに */
	#closing {
		background-size: 100% auto;
		background-position: center bottom !important;
	}

	#closing .wp-block-spacer {
		height: clamp(40px, calc(24vw - 40px), 120px) !important;
	}
}

/* ----------------------------------------------------------
   スマホ（768px以下）
---------------------------------------------------------- */
@media (max-width: 768px) {
	#top-fv::after {
		left: -220px;
		width: 440px;
		height: min(540px, calc(100% - 50px));
	}

	#top-fv .fv-btns {
		max-width: none;
	}

	#empathy {
		background-size: 290px;
	}

	/* 中央揃えの見出し（葉＋見出し＋葉）と直後のテキストを左寄せに */
	.wp-block-group:has(> .deco-leaf + .wp-block-heading + .deco-leaf) {
		position: relative;
		width: fit-content;
		margin-inline: 0;
	}

	.wp-block-group:has(> .deco-leaf + .wp-block-heading + .deco-leaf)+.has-text-align-center {
		text-align: left;
	}

	/* 左の葉は非表示、右の葉は見出しの右横に */
	.wp-block-group>.deco-leaf:has(+ .wp-block-heading + .deco-leaf) {
		display: none;
	}

	.wp-block-group:has(> .deco-leaf + .wp-block-heading + .deco-leaf)>.deco-leaf:last-child {
		position: absolute;
		top: 50%;
		left: 100%;
		width: 36px;
		margin: 0 0 0 8px;
		transform: translateY(-50%);
	}

	/* さいごに */
	#closing .deco-leaf {
		display: none;
	}

	#closing p br {
		display: none;
	}

	/* 採用*/
	#recruit p:not(.is-style-serif) br {
		display: none;
	}

	#recruit .swell-block-columns__inner:has(> .swell-block-column > .wp-block-image .wp-image-94)>.swell-block-column p {
		font-size: clamp(10px, 2.7vw, 12px) !important;
		letter-spacing: 0;
	}

	#recruit .swell-block-columns__inner:has(> .swell-block-column > .wp-block-image .wp-image-94)>.swell-block-column p br {
		display: inline;
	}

	/* 追従CTA */
	.float-cta {
		padding: 0 0 env(safe-area-inset-bottom, 0px);
		background: #fff;
		box-shadow: 0 -4px 20px #14352118;
	}

	.float-cta>.wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
	}

	.float-cta .float-cta__btn {
		min-height: 68px;
		padding: 10px 12px;
		border: 3px solid #fff;
		border-bottom: 0;
		border-radius: 0;
	}

	.float-cta .float-cta__btn:first-child {
		border-right-width: 1.5px;
		border-radius: 16px 0 0 0;
	}

	.float-cta .float-cta__btn:last-child {
		border-left-width: 1.5px;
		border-radius: 0 16px 0 0;
	}

	.float-cta .wp-block-image img {
		width: 25px !important;
	}

	.l-footer {
		padding-bottom: 68px;
	}
}

/* ----------------------------------------------------------
   スマホ（599px以下：SWELLのカラム1列）
---------------------------------------------------------- */
@media (max-width: 599px) {

	/* 施設のご紹介 */
	#group-home .swell-block-column>.wp-block-group,
	#day-service .swell-block-column>.wp-block-group {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		min-height: 90px;
		padding: 12px 6px !important;
	}

	#group-home .swell-block-column>.wp-block-group>.wp-block-group__inner-container,
	#day-service .swell-block-column>.wp-block-group>.wp-block-group__inner-container {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	#group-home .swell-block-column>.wp-block-group>.wp-block-group__inner-container>*,
	#day-service .swell-block-column>.wp-block-group>.wp-block-group__inner-container>* {
		flex: 0 0 auto;
		margin: 0 !important;
	}

	#group-home .swell-block-column>.wp-block-group .wp-block-image img,
	#day-service .swell-block-column>.wp-block-group .wp-block-image img {
		width: 38px !important;
	}

	#group-home .swell-block-column>.wp-block-group p,
	#day-service .swell-block-column>.wp-block-group p {
		text-align: left;
	}

	/* お知らせ */
	#news .is-style-more_btn {
		text-align: left;
	}
}