/* ============================================
   リセットCSS
   ============================================ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
	scroll-behavior: smooth;
}
body {
	font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif;
	font-size: 1rem;
	color: #4A4A4A;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
ul, ol {
	list-style: none;
}
button {
	cursor: pointer;
	border: none;
	background: none;
	font: inherit;
}

/* ============================================
   CSS カスタムプロパティ（共通変数）
   ============================================ */
:root {
	/* カラー */
	--color-main: #A61C4B;
	--color-sub: #CD7E8C;
	--color-bg-life: #F5E9EB;
	--color-bg-dayservice: #FFF1F4;
	--color-bg-contact: #CECECE;
	--color-bt-recruit: #F7CEDC;
	--color-bt-contact: #CECECE;
	--color-text: #4A4A4A;
	--color-white: #ffffff;

	/* レイアウト */
	--nav-width: 300px;
	--container-max: 1200px;
	--container-padding: 20px;
}

/* ============================================
   共通レイアウト
   ============================================ */
.container {
	width: 100%;
	max-width: var(--container-max);
	padding: 0 var(--container-padding);
	margin: 0 auto;
}

/* ============================================
   共通：ボタン
   ============================================ */
.btn-more {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	max-width: 300px;
	padding: 14px 20px;
	margin: 40px auto 0;
	border: 1px solid var(--color-sub);
	border-radius: 50px;
	background-color: var(--color-white);
	font-weight: 500;
	color: var(--color-main);
	overflow: hidden;
	transition: color 0.35s ease, border-color 0.35s ease;
}
/* スライドイン背景 */
.btn-more::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--color-sub);
	transform: translateX(-100%);
	transition: transform 0.35s ease;
	border-radius: 50px;
	z-index: 0;
}
/* テキストを疑似要素より前面に */
.btn-more span {
	position: relative;
	z-index: 1;
}
/* 矢印 */
.btn-more::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 50%;
	z-index: 1;
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--color-main);
	border-right: 2px solid var(--color-main);
	transform: translateY(-50%) rotate(45deg);
	transition: border-color 0.35s ease;
}
/* マウスオーバー時（PCのみ） */
@media (min-width: 769px) {
	.btn-more:hover::before {
		transform: translateX(0);
	}
	.btn-more:hover {
		color: var(--color-white);
		border-color: var(--color-sub);
	}
	.btn-more:hover::after {
		border-color: var(--color-white);
	}
}

/* 「随時受付中」などの補足アイコン */
.supplement-icon {
	width: 100%;
	max-width: 140px;
  font-weight: 500;
	color: #FFF;
	margin: 15px auto 0;
	padding: 8px 12px;
	text-align: center;
	background-color: var(--color-main);
	border-radius: 4px;
	line-height: 1;
}

/* ============================================
   ヒーローエリア（PC：ヘッダーナビ＋MV横並び）
   ============================================ */
.hero {
	display: flex;
	align-items: stretch;
	margin-top: 40px;
}

/* ============================================
   PC用ヘッダー
   ============================================ */
.header {
	/* ナビゲーション自体の幅(280px) ＋ 動的に変化する左余白 */
	width: calc(280px + max(var(--container-padding), 50vw - (var(--container-max) / 2) + var(--container-padding)));
	flex-shrink: 0;
	background-color: var(--color-white);
}
.header__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	/* 左のpadding を動的な計算式に */
	padding: 0 30px 20px max(var(--container-padding), calc(50vw - (var(--container-max) / 2) + var(--container-padding)));
}

/* スマホ用ヘッダー（PC時は非表示） */
.header-sp {
	display: none;
}

/* ============================================
   ロゴ
   ============================================ */
.header__logo {
	margin-bottom: 30px;
}
.header__logo img {
	width: 230px;
	height: auto;
}

/* ============================================
   グローバルナビ（PC）
   ============================================ */
.gnav {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.gnav__list {
	margin: 0 0 20px 60px;
}
.gnav__item {
	position: relative;
}
.gnav__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-sub);
	transition: color 0.2s ease;
}
.gnav__link:hover {
	color: var(--color-main);
}
.gnav__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	flex-shrink: 0;
}
.gnav__icon {
	width: auto;
	height: 28px;
	flex-shrink: 0;
}

/* ドロップダウン */
.gnav__dropdown {
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 180px;
	background-color: var(--color-white);
	border-left: 3px solid var(--color-main);
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
	border-radius: 0 4px 4px 0;
	padding: 8px 0;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
	visibility: hidden;
	z-index: 1;
}
.gnav__item--has-dropdown:hover .gnav__dropdown {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
	visibility: visible;
}
.gnav__dropdown-link {
	display: block;
	padding: 10px 20px;
	font-size: 0.85rem;
	color: var(--color-text);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.gnav__dropdown-link:hover {
	background-color: var(--color-bg-life);
	color: var(--color-main);
}

/* ナビボタン */
.gnav__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-left: 60px;
}
.gnav__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 160px;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 500;
	transition: opacity 0.5s ease;
}
.gnav__btn:hover {
	opacity: 0.8;
}
.gnav__btn--recruit {
	background-color: var(--color-bt-recruit);
}
.gnav__btn--contact {
	background-color: var(--color-bt-contact);
	color: var(--color-text);
}

/* 現在地ナビリンク */
.gnav__link--current {
	color: var(--color-main);
}

/* ============================================
   ハンバーガーボタン（スマホ用・PC時は非表示）
   ============================================ */
.hamburger {
	display: none;
}

/* ============================================
   スマホメニュー（PC時は非表示）
   ============================================ */
.sp-menu {
	display: none;
}
.sp-menu-overlay {
	display: none;
}

/* ============================================
   レスポンシブ（スマホ）：ヘッダー・ナビ
   ============================================ */
@media (max-width: 768px) {
	/* ヒーローエリアを縦積みに */
	.hero {
		display: block;
	}
	/* PC用ヘッダーを非表示 */
	.header {
		display: none;
	}

	/* スマホ用ヘッダーを表示 */
	.header-sp {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 60px;
		background-color: var(--color-white);
		z-index: 300;
		box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
	}
	.header-sp__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 100%;
		padding: 0 20px;
	}
	.header-sp__logo img {
		width: 160px;
		height: auto;
	}

	/* ハンバーガーボタン */
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 8px;
		position: relative;
		z-index: 300;
	}
	.hamburger__line {
		display: block;
		width: 24px;
		height: 2px;
		background-color: var(--color-main);
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.3s ease;
		transform-origin: center;
	}
	.hamburger.is-active .hamburger__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.hamburger.is-active .hamburger__line:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}
	.hamburger.is-active .hamburger__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* スマホメニュー */
	.sp-menu {
		display: block;
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		background-color: #FDF6F7;
		z-index: 200;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 30px 30px 60px;
		/* フェードスケール演出：小さい状態から始まりふわっと現れる */
		opacity: 0;
		transform: scale(0.97);
		pointer-events: none;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}
	.sp-menu.is-open {
		opacity: 1;
		transform: scale(1);
		pointer-events: auto;
	}
	/* オーバーレイは不要になったが念のため非表示に */
	.sp-menu-overlay {
		display: none !important;
	}

	/* スマホナビ項目 */
	.sp-nav__item {
		border-bottom: 1px solid #f0e0e4;
	}
	.sp-nav__link {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 16px 0;
		font-size: 0.95rem;
		font-weight: 500;
		color: var(--color-sub);
		width: 100%;
		text-align: left;
	}
	.sp-nav__icon-wrap {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		flex-shrink: 0;
	}
	.sp-nav__icon {
		width: auto;
		height: 28px;
		flex-shrink: 0;
	}
	/* サブリスト（常時表示） */
	.sp-nav__sub-link {
		display: block;
		padding: 10px 10px 10px 8px;
		color: var(--color-text);
		border-top: 1px dotted #e0d0d4;
	}
	.sp-nav__sub-link:hover {
		color: var(--color-main);
	}

	/* スマホメニュー内：連絡先エリア */
	.sp-nav__contact {
		margin-top: 20px;
		text-align: center;
	}
	.sp-nav__tel {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		font-size: 1.8rem;
		font-weight: 700;
		color: var(--color-main);

		width: fit-content;
    margin-left: auto;
    margin-right: auto;
	}
	.sp-nav__tel-note {
		font-size: 0.85rem;
		color: var(--color-sub);
		margin-bottom: 20px;
	}
	.sp-nav__btn-contact {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 8px 28px;
		background-color: var(--color-bt-contact);
		border-radius: 50px;
		font-size: 0.9rem;
		font-weight: 500;
		color: var(--color-text);
	}
	.sp-nav__instagram {
		display: flex;
		justify-content: center;
		margin-top: 20px;

		width: fit-content;
    margin-left: auto;
    margin-right: auto;
	}

	/* スマホメニュー展開時のヘッダー・ロゴ制御 */
	.header-sp__logo {
		width: 160px;
		height: auto;
		transition: opacity 0.5s ease, visibility 0.5s ease;
		opacity: 1;
		visibility: visible;
	}
	.header-sp:has(.hamburger.is-active) {
		background-color: transparent;
		box-shadow: none;
		pointer-events: none;
		transition: background-color 0.5s ease, box-shadow 0.5s ease;
	}
	.header-sp:has(.hamburger.is-active) .header-sp__logo {
		opacity: 0;
		visibility: hidden;
	}
	.header-sp:has(.hamburger.is-active) .hamburger {
		pointer-events: auto;
	}
}

/* ============================================
   メインビジュアル（トップページ：スライダー）
   ============================================ */
.mv {
	flex: 1;
	min-width: 0;
	position: relative;
	height: 480px;
	overflow: hidden;
	border-radius: 24px 0 0 24px;
}
.mv__slider {
	position: relative;
	width: 100%;
	height: 100%;
}
.mv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}
.mv__slide.is-active {
	opacity: 1;
}
.mv__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 768px) {
	.mv {
		height: 240px;
		border-radius: 0;
	}
}

/* ============================================
   キャッチコピー
   ============================================ */
.catchcopy {
	padding: 80px 0 100px;
	text-align: center;
}
.catchcopy__text {
	font-size: 40px;
	color: var(--color-text);
	line-height: 1.6;
}

@media (max-width: 768px) {
	.catchcopy {
		padding: 50px 0;
	}
	.catchcopy__text {
		font-size: clamp(26px, 6vw, 45px);
	}
}

/* ============================================
   光の郷について
   ============================================ */
.about {
	padding-bottom: 90px;
}
.about__inner {
	display: flex;
	align-items: flex-start;
	gap: 0;
}
.about__title-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	margin-right: 60px;
}
.about__title-icon {
	width: auto;
	height: 30px;
	margin-bottom: 12px;
}
.about__title {
	font-size: 38px;
	font-weight: 700;
	color: var(--color-sub);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	line-height: 1.4;
}
.about__body {
	flex: 1;
	padding-top: 40px;
}
.about__text p {
	margin-bottom: 20px;
}
.about__text p:last-child {
	margin-bottom: 0;
}

/* 3つの項目
   ----------------------------------------
   列数を変えたい場合：grid-template-columns の repeat(3, 1fr) の数字を変える
   例）2列にしたい → repeat(2, 1fr)
   列間のスペースを変えたい場合：gap の値を変える
   例）gap: 40px → 間隔が広がる
   ---------------------------------------- */
.about__links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}
.about__link-item {
	display: flex;
	flex-direction: column;
}
.about__link-label {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-sub);
	margin-bottom: 10px;
	text-align: center;
}

/* 画像リンク（マウスオーバーで拡大） */
.about__link-img-wrap {
	display: flex;
	flex-direction: column;
}
.about__link-img-inner {
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 1 / 1;
	width: 100%;
}
.about__link-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* object-positionで見せたい部分を調整できます */
	/* 例）上部を見せたい → object-position: center top */
	/* 例）下部を見せたい → object-position: center bottom */
	object-position: center center;
	transition: transform 0.4s ease;
}
.about__link-img-wrap:hover .about__link-img {
	/* 拡大率を変えたい場合：scale(1.08) の数値を変える */
	/* 例）もっと大きく → scale(1.12) */
	transform: scale(1.08);
}
.about__link-more {
	display: block;
	text-align: center;
	color: var(--color-main);
	margin-top: 6px;
}

/* ============================================
   光の郷について：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.about {
		padding-bottom: 60px;
	}
	.about__inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.about__title-wrap {
		flex-direction: row;
		margin-right: 0;
		margin-bottom: 30px;
	}
	.about__title-icon {
		margin: 0 12px 0 0;
	}
	.about__title {
		font-size: 24px;
		writing-mode: horizontal-tb;
	}
	.about__body {
		max-width: 100%;
		padding-top: 0;
	}
	/* スマホ時は縦一列
	   ----------------------------------------
	   列数を変えたい場合：repeat(1, 1fr) の数字を変える
	   例）2列にしたい → repeat(2, 1fr)
	   ---------------------------------------- */
	.about__links {
		grid-template-columns: repeat(1, 1fr);
		gap: 30px;
		margin-top: 40px;
	}
	.about__link-label {
		font-size: 22px;
	}
	/* スマホ時の画像サイズ */
	.about__link-img-wrap {
		aspect-ratio: unset;
	}
	.about__link-img-inner {
		aspect-ratio: 5 / 3;
	}
}

/* ============================================
   光の郷での生活
   ============================================ */
.dailylife {
	background-color: var(--color-bg-life);
	padding: 100px 0;
}
.dailylife__inner {
	display: flex;
	align-items: center;
	gap: 0;
}

/* 左：テキスト＋ボタン */
.dailylife__content {
	flex: 1 1 300px;
	max-width: 460px;
	min-width: 0;
}
.dailylife__content p {
	margin-bottom: 20px;
}
.dailylife__content p:last-of-type {
	margin-bottom: 0;
}

/* 中：画像グループ */
.dailylife__images {
	flex: 1 1 400px;
	min-width: 0;
	position: relative;
	margin-left: 24px;
}
.dailylife__img-top {
	margin-bottom: 10px;
	border-radius: 12px;
	overflow: hidden;
}
.dailylife__img--top {
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center center;
	display: block;
}
.dailylife__img-bottom {
	display: flex;
	gap: 10px;
}
.dailylife__img--bottom {
	flex: 1;
	min-width: 0;
	height: 200px;
	object-fit: cover;
	object-position: center center;
	border-radius: 12px;
	display: block;
}

/* スマホ用タイトル（PC時は非表示） */
.dailylife__title-sp {
	display: none;
}

/* 右端：タイトル（縦組み） */
.dailylife__title-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	margin-left: 20px;
	align-self: flex-start;
}
.dailylife__title-icon {
	width: auto;
	height: 28px;
	margin-bottom: 12px;
}
.dailylife__title {
	font-size: 38px;
	font-weight: 700;
	color: var(--color-sub);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	line-height: 1.4;
}

/* ============================================
   光の郷での生活：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.dailylife {
		padding: 60px 0;
	}
	.dailylife__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}
	/* スマホ：PC用タイトルを非表示 */
	.dailylife__title-wrap {
		display: none;
	}
	/* スマホ用タイトルを表示 */
	.dailylife__title-sp {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 22px;
		font-weight: 700;
		color: var(--color-sub);
		margin-bottom: 24px;
		order: -2;
	}
	.dailylife__title-sp .dailylife__title-icon {
		height: 28px;
		width: auto;
		margin-bottom: 0;
	}
	.dailylife__title-sp span {
		font-size: 24px;
	}
	/* スマホ：画像をテキストより上に */
	.dailylife__images {
		width: 100%;
		margin: 0 0 24px 0;
		padding-right: 0;
		order: -1;
	}
	.dailylife__img--top {
		height: 220px;
	}
	.dailylife__img--bottom {
		flex: 1;
		height: 160px;
	}
	/* スマホ：テキストブロック */
	.dailylife__content {
		max-width: 100%;
	}
	.btn-more {
		margin-top: 32px;
	}
}

/* ============================================
   ご入居案内・料金
   ============================================ */
.guidance {
	padding: 100px 0;
}
.guidance__inner {
	/* グリッドで3カラム比率管理：タイトル / 画像 / テキスト */
	display: grid;
	grid-template-columns: 60px 1fr 1fr;
	align-items: center;
	gap: 0 30px;
}

/* 左端：タイトル（縦組み） */
.guidance__title-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: flex-start;
	margin-top: -20px;
}
.guidance__title-icon {
	width: auto;
	height: 28px;
	margin-bottom: 12px;
}
.guidance__title {
	font-size: 38px;
	font-weight: 700;
	color: var(--color-sub);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	line-height: 1.4;
}

/* 中：画像（2枚重ね） */
.guidance__images {
	position: relative;
	width: 100%;
	aspect-ratio: 520 / 470;
}
/* 下の画像（正方形トリミング） */
.guidance__img--back {
	position: absolute;
	top: 0;
	left: 0;
	width: 57.7%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center center;
	border-radius: 12px;
}
/* 上の画像（横長・前面） */
.guidance__img--front {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 76.9%;
	aspect-ratio: 400 / 266;
	object-fit: cover;
	object-position: center center;
	border-radius: 12px;
}

/* 右：テキスト＋ボタン */
.guidance__content {
	width: 100%;
}
.guidance__content p {
	margin-bottom: 20px;
}
.guidance__content p:last-of-type {
	margin-bottom: 0;
}

/* ============================================
   ご入居案内・料金：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.guidance {
		padding: 60px 0;
	}
	.guidance__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}
	/* スマホ：タイトルを横並びで上に */
	.guidance__title-wrap {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		margin: 0 0 20px 0;
	}
	.guidance__title-icon {
		margin-bottom: 0;
	}
	.guidance__title {
		font-size: 24px;
		writing-mode: horizontal-tb;
	}
	/* スマホ：画像を縦並び・重なり解除 */
	.guidance__images {
		position: static;
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-bottom: 24px;
	}
	.guidance__img--back {
		position: static;
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: auto;
		border-radius: 12px;
	}
	.guidance__img--front {
		position: static;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
		border-radius: 12px;
	}
	/* スマホ：テキスト */
	.guidance__content {
		max-width: 100%;
		margin-left: 0;
	}
}

/* ============================================
   デイサービス
   ============================================ */
.dayservice {
	padding: 0 20px;
	margin-bottom: 60px;
}
/* containerの内側に背景・角丸 */
.dayservice .container {
	background-color: var(--color-bg-dayservice);
	border-radius: 16px;
	overflow: hidden;
	padding-left: 0;
	padding-right: 0;
}
.dayservice__inner {
	display: flex;
	align-items: stretch;
	min-height: 400px;
}

/* スマホ用タイトル（PC時は非表示） */
.dayservice__title-sp {
	display: none;
}

/* 左：画像（斜めカット） */
.dayservice__img-wrap {
	position: relative;
	width: 50%;
	max-width: 600px;
	flex-shrink: 1;
	min-width: 0;
	/* 右端を斜めにカット */
	clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
	overflow: hidden;
}
.dayservice__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

/* 右：テキスト＋ボタン */
.dayservice__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 40px;
}

/* タイトル（PC用） */
.dayservice__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 38px;
	font-weight: 700;
	color: var(--color-sub);
	margin-bottom: 15px;
}
.dayservice__title-icon {
	width: auto;
	height: 28px;
	flex-shrink: 0;
}
.dayservice__content p {
	margin-bottom: 0;
}
.dayservice__content .btn-more {
	margin-top: 30px;
}

/* ============================================
   デイサービス：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.dayservice {
		border-radius: 16px;
		margin-bottom: 60px;
	}
	.dayservice__inner {
		flex-direction: column;
		height: auto;
		padding: 20px 20px 30px;
		gap: 20px;
	}
	/* スマホ用タイトルを表示 */
	.dayservice__title-sp {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 22px;
		font-weight: 700;
		color: var(--color-sub);
	}
	.dayservice__title-sp .dayservice__title-icon {
		height: 28px;
		width: auto;
	}
	.dayservice__title-sp span {
		font-size: 24px;
	}
	/* スマホ：画像は通常表示（斜めなし・幅100%） */
	.dayservice__img-wrap {
		width: 100%;
		height: 240px;
		clip-path: none;
		border-radius: 12px;
		flex-shrink: 0;
		margin: 0 auto;
	}
	/* スマホ：PC用タイトルを非表示 */
	.dayservice__title {
		display: none;
	}
	/* スマホ：テキストブロック */
	.dayservice__content {
		padding: 0;
	}
	.dayservice__content .btn-more {
		margin-top: 28px;
	}
}

/* ============================================
   Instagram
   ============================================ */
.instagram {
	position: relative;
	overflow: hidden;
}

/* 背景：左端ぴったり・右側のみ角丸 */
.instagram::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: calc(25vw + 30%);
	bottom: 0;
	background-color: #F7F7F7;
	border-radius: 0 16px 16px 0;
	z-index: -1;
}

/* コンテンツを中央配置 */
.instagram__inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 20px 20px;
}

/* タイトル */
.instagram__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 30px;
	font-weight: 700;
	color: var(--color-sub);
	margin-bottom: 5px;
	position: relative;
	z-index: 1;
}
.instagram__title img {
	flex-shrink: 0;
}

/* 画像グリッド */
.instagram__item {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	aspect-ratio: 1 / 1;
}
.instagram__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* もっと見るリンク */
.instagram__more {
	position: relative;
	text-align: right;
	z-index: 1;
}
.instagram__more-link {
	color: var(--color-main);
	transition: color 0.5s ease;
}
.instagram__more-link:hover {
	color: var(--color-sub);
}

/* ============================================
   Instagram：レスポンシブ
   ============================================ */
@media (max-width: 480px) {
	.instagram::before {
		right: calc(15vw + 15%);
	}
}

/* ============================================
   お問い合わせ
   ============================================ */
.contact {
	background-color: var(--color-bg-contact);
	margin-top: 100px;
	padding: 60px 0;
}

/* タイトル */
.contact__title {
	font-size: 34px;
	font-weight: 700;
	color: var(--color-text);
	text-align: center;
	margin-bottom: 40px;
}

/* 電話＋ボタン横並び */
.contact__body {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
}

/* 電話番号エリア */
.contact__tel-wrap {
	text-align: center;
}
.contact__tel-label {
	font-size: 14px;
	margin-bottom: 10px;
}
.contact__tel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 36px;
	font-weight: 700;
	color: var(--color-main);
	line-height: 1;
}
.contact__tel-icon {
	flex-shrink: 0;
	display: block;
	width: 30px;
	height: auto;
	transform: translateY(4px);
}
.contact__tel-note {
	font-size: 14px;
	margin-top: 10px;
}

/* フォームボタンエリア */
.contact__btn-wrap {
	text-align: center;
}
.contact__btn-label {
	font-size: 14px;
	margin-bottom: 10px;
}

/* btn-moreのカスタマイズ */
.contact__btn {
	max-width: 250px;
	padding: 10px 20px;
	border-color: var(--color-main);
	background-color: var(--color-main);
	color: var(--color-white);
}
.contact__btn::before {
	background-color: var(--color-sub);
}
.contact__btn::after {
	border-color: var(--color-white);
}
.contact__btn--form {
	margin-top: 0;
}

/* ホバー時（PCのみ） */
@media (min-width: 769px) {
	.contact__btn:hover {
		background-color: var(--color-main);
		border-color: var(--color-sub);
		color: var(--color-white);
	}
	.contact__btn:hover::before {
		border-color: var(--color-sub);
		transform: translateX(0);
	}
	.contact__btn:hover::after {
		border-color: var(--color-white);
	}
}

/* 下部テキスト（ライン付き） */
.contact__note {
	font-size: 14px;
	text-align: center;
	margin-top: 30px;
	padding-top: 30px;
	position: relative;
}
/* ラインを疑似要素で設定 */
.contact__note::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	height: 2px;
	background-color: #999999;
}

/* ============================================
   お問い合わせ：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.contact {
		margin-top: 60px;
		padding: 40px 0;
	}
	.contact__title {
		font-size: 24px;
		margin-bottom: 20px;
	}
	.contact__body {
		flex-direction: column;
		gap: 20px;
	}
	.contact__tel {
		font-size: 30px;
	}
	.contact__btn {
		margin: 0 auto;
	}
}

/* ============================================
   電話番号リンク：PCでは反応しない
   ============================================ */
@media (min-width: 769px) {
	a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}

/* ============================================
   フッター共通リンクスタイル
   ============================================ */
.footer a {
	text-decoration: none;
	transition: color 0.5s ease;
}
.footer a:hover {
	color: var(--color-main);
}

/* ============================================
   フッター本体
   ============================================ */
.footer__main {
	background-color: #FAFAFA;
	padding: 40px 0;
	text-align: center;
}

/* ボタンエリア */
.footer__buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}
.footer__icons {
	display: flex;
	align-items: center;
	gap: 12px;
}
.footer .footer__icon-link {
	display: block;
	transition: 0.5s ease;
}
.footer__icon-link:hover {
	opacity: 0.7;
}

/* テキストリンク */
.footer__nav {
	margin-bottom: 40px;
}
.footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 18px;
}
.footer__nav-list a {
	font-size: 14px;
	color: var(--color-text);
}
.footer__nav-list a:hover {
	color: var(--color-main);
}

/* ロゴ＋住所 */
.footer__info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 0;
}
.footer .footer__logo {
	flex-shrink: 0;
	margin-right: 30px;
	display: block;
	transition: 0.5s ease;
}
.footer__logo:hover {
	opacity: 0.8;
}
.footer__logo img {
	width: 190px;
	height: auto;
}
.footer__address {
	text-align: left;
}
.footer__address p {
	font-size: 14px;
	line-height: 1.8;
}

/* コピーライト */
.footer__copy {
	font-size: 12px;
	color: var(--color-text);
	margin-top: 20px;
	padding-top: 20px;
	position: relative;
}
.footer__copy::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: #D1D1D1;
}

/* ============================================
   フッターバナー
   ============================================ */
.footer__banner {
	background-color: #FFFFE1;
	padding: 30px 0;
}
.footer__banner-list {
	display: flex;
	align-items: center;
	justify-content: center;
}
.footer .footer__banner-item {
	display: block;
	margin-right: 15px;
	transition: 0.5s ease;
}
.footer__banner-item:hover {
	opacity: 0.8;
}
.footer__banner-item--last {
	margin-right: 0;
}

/* ============================================
   フッター：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	/* ボタン：縦並び */
	.footer__buttons {
		flex-direction: column;
		gap: 16px;
	}
	/* ロゴ＋住所：縦並び */
	.footer__info {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}
	.footer__logo {
		margin-right: 0;
	}
	.footer__address {
		text-align: center;
	}
	/* バナー：縦並び */
	.footer__banner-list {
		flex-direction: column;
		align-items: center;
	}
	.footer__banner-item {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.footer__banner-item--last {
		margin-bottom: 0;
	}
}

/* ============================================
   下層ページ共通：メインビジュアル（静止画）
   ============================================ */
.mv--sub {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 480px;
	overflow: hidden;
	border-radius: 24px 0 0 0;
}
.mv--sub .mv__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

/* ページタイトル：左下に配置 */
.mv__page-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 450px;
	padding: 20px 10px;
	background-color: var(--color-white);
	border-radius: 0 24px 0 0;
}
.mv__page-title h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--color-main);
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 768px) {
	.mv--sub {
		height: 200px;
		border-radius: 0;
		margin-top: 60px;
	}
	.mv__page-title {
		width: auto;
		max-width: none;
		padding: 12px 30px 12px 18px;
		border-radius: 0 16px 0 0;
	}
	.mv__page-title h1 {
		font-size: 22px;
	}
}

/* ============================================
   下層共通：セクション中見出し（h3）
   ============================================ */
.section-heading {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-main);
	margin: 80px 0 40px;
	padding: 8px 15px;
	border-left: 4px solid var(--color-main);
	line-height: 1.4;
}
.section-heading span {
	font-size: 1rem;
  font-weight: 500;
	color: #FFF;
	margin-left: 12px;
	padding: 6px 16px 7px;
	background-color: var(--color-main);
	border-radius: 4px;
	line-height: 1;
}

@media (max-width: 768px) {
	.section-heading {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		font-size: 24px;
		margin: 40px 0 30px;
	}
	.section-heading span {
		margin-left: 0;
	}
}

/* ============================================
   下層共通：セクション小見出し（h4）
   ============================================ */
.section-heading-sub {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-main);
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.section-heading-sub {
		font-size: 22px;
	}
}

/* ============================================
   ページ遷移：フェードイン／フェードアウト
   ============================================ */

/* 初期状態：非表示。JSが無効な環境では常に表示を維持するため
   .is-ready クラスが付与されてから opacity を制御する */
body.is-ready {
	opacity: 0;
	transition: opacity 0.4s ease;
}

/* フェードイン：.is-visible が付いたら表示 */
body.is-ready.is-visible {
	opacity: 1;
}

/* ============================================
   アンカーリンクの固定ヘッダーかぶり対策
   ============================================ */
html {
  scroll-padding-top: 10px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 40px;
  }
}

/* 念のため、飛び先要素側にも設定 */
[id] {
  scroll-margin-top: 10px;
}

@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 40px;
  }
}

/* ============================================
   ページトップに戻るボタン
   ============================================ */
.page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--color-main);
	cursor: pointer;
	border: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
	z-index: 100;
}
.page-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (min-width: 769px) {
	.page-top:hover {
		background-color: var(--color-sub);
	}
}

/* 矢印（疑似要素） */
.page-top::before {
	content: '';
	position: absolute;
	top: 55%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-top: 3px solid #ffffff;
	border-left: 3px solid #ffffff;
	transform: translate(-50%, -50%) rotate(45deg);
}

/* ============================================
   404
   ============================================ */
.notfound-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-main);
	margin: 80px 0 40px;
	text-align: center;
	line-height: 1.4;
}
.notfound-text {
  margin: 60px 0 0;
	text-align: center;
}
.notfound-text .link-top {
	display: inline-block;
	color: var(--color-main);
  margin-top: 60px;
	text-decoration: underline;
}
.link-top:hover {
	text-decoration: none;
}


/* ============================================
   Instagram：Smash Balloon プラグイン対応
   ============================================ */

/* プラグインが挿入する中間divをグリッドから透過させる */
.instagram__grid #sb_instagram,
.instagram__grid #sbi_images {
    display: contents;
}

/* .sbi_item を正方形グリッドセルとして扱う */
.instagram__grid .sbi_item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    width: auto !important;
    margin: 0 !important;
}

/* リンクとラップを高さ100%に（インラインstyleを!importantで上書き） */
.instagram__grid .sbi_photo_wrap {
    display: block;
    width: 100%;
    height: 100% !important;
}
.instagram__grid .sbi_photo {
    display: block;
    width: 100%;
    height: 100% !important;  /* ← ここが肝心 */
}

/* 画像をカバー表示 */
.instagram__grid .sbi_photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
}

/* プラグインの「もっと見る」ボタンは非表示 */
.instagram__grid #sbi_load {
    display: none;
}
