/* ============================================
   guidance.html 専用スタイル
   style_guidance.css
   ============================================ */

/* ============================================
   ナビ：現在地ハイライト
   ============================================ */
.gnav__link--current {
	color: var(--color-main);
	font-weight: 700;
}

/* ============================================
   ご入居可能な方（.nyukyo-eligible）
   ============================================ */
/* リード文 */
.nyukyo-eligible__lead {
	margin-bottom: 24px;
	line-height: 1.9;
}

/* リスト */
.nyukyo-eligible__list {
	list-style: disc;
	padding-left: 1.5em;
}
.nyukyo-eligible__list li {
	margin-bottom: 8px;
	line-height: 1.8;
}
.nyukyo-eligible__list li:last-child {
	margin-bottom: 0;
}

/* ※注釈テキスト */
.nyukyo-eligible__note {
	margin-top: 16px;
	line-height: 1.8;
}

/* ============================================
   ご入居費用について（.nyukyo-cost）
   ============================================ */
/* リード文 */
.nyukyo-cost__lead {
	margin-bottom: 40px;
	line-height: 1.9;
}

/* グリッド：PC 3列×2行 */
.nyukyo-cost__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	justify-items: center;
}

/* ボタン */
.nyukyo-cost__btn {
	display: block;
	position: relative;
	width: 100%;
	max-width: 300px;
	padding: 15px;
	background-color: #FFF1F4;
	border-radius: 8px;
	color: var(--color-text);
	text-decoration: none;
	transition: background-color 0.3s ease;
}

/* アイコン＋テキスト横並び */
.nyukyo-cost__btn-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 24px;/* 右矢印の分の余白 */
}
.nyukyo-cost__pdf-icon {
	flex-shrink: 0;
	width: 18px;
	height: 23px;
}
.nyukyo-cost__btn-text {
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.5;
}

/* 右矢印（btn-more::afterを流用） */
.nyukyo-cost__btn::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 2px solid #A61C4B;
	border-right: 2px solid #A61C4B;
	transform: translateY(-50%) rotate(45deg);
}

/* マウスオーバー：PCのみ・背景色がふわっと変わる */
@media (min-width: 769px) {
	.nyukyo-cost__btn:hover {
		background-color: #F2D6DE;
	}
}

/* ============================================
   ご入居費用について：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.nyukyo-cost__lead {
		font-size: 0.95rem;
		margin-bottom: 28px;
	}
	/* SP：1列縦並び・中央寄せ */
	.nyukyo-cost__grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.nyukyo-cost__btn {
		max-width: 100%;
	}
	.nyukyo-eligible__lead {
		font-size: 0.95rem;
	}
}

/* ============================================
   月額費用について（.monthly-cost）
   ============================================ */
/* 左右2カラム */
.monthly-cost__inner {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

/* 左：画像 */
.monthly-cost__img-wrap {
	flex: 0 1 500px;
	min-width: 0;
}
.monthly-cost__img {
	width: 100%;
	max-width: 500px;
	height: auto;
	display: block;
}
.monthly-cost__text {
	font-size: 0.85rem;
	margin-top: 30px;
	text-align: center;
	line-height: 1.4;
}

/* 右：テキスト */
.monthly-cost__body {
	flex: 1 1 300px;
	min-width: 0;
}

.monthly-cost__lead {
	margin-bottom: 24px;
	line-height: 1.9;
}

.monthly-cost__sub-title {
	margin-bottom: 8px;
	line-height: 1.8;
}

.monthly-cost__list {
	list-style: disc;
	padding-left: 22px;
}
.monthly-cost__list li {
	margin-bottom: 4px;
	line-height: 1.8;
}
.monthly-cost__list li:last-child {
	margin-bottom: 0;
}
.monthly-cost__list + .monthly-cost__sub-title {
	margin-top: 24px;
}

/* ============================================
   月額費用について：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	/* SP：縦並び（画像→テキスト） */
	.monthly-cost__inner {
		flex-direction: column;
		gap: 28px;
	}
	.monthly-cost__img-wrap {
		flex: none;
		width: 100%;
	}
	.monthly-cost__img {
		max-width: 100%;
	}
	.monthly-cost__body {
		flex: none;
		width: 100%;
	}
}

/* ============================================
   必要資料ダウンロード（.doc-download）
   ============================================ */
.doc-download__lead {
	margin-bottom: 40px;
	line-height: 1.9;
}

/* リンク横並び */
.doc-download__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.doc-download__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 40px;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}
.doc-download__item--last {
	margin-right: 0;
}
.doc-download__item:hover {
	color: var(--color-main);
}
.doc-download__icon {
	flex-shrink: 0;
	width: 18px;
	height: 23px;
}

/* ============================================
   必要資料ダウンロード：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.doc-download__list {
		flex-direction: column;
		align-items: flex-start;
	}
	.doc-download__item {
		margin-right: 0;
		margin-bottom: 15px;
	}
	.doc-download__item--last {
		margin-bottom: 0;
	}
}

/* ============================================
   よくある質問（.faq）
   ============================================ */
.faq__inner {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

/* ブロック（カテゴリごと） */
.faq__block {
	margin-bottom: 60px;
}
.faq__block--last {
	margin-bottom: 0;
}

/* カテゴリ小見出し */
.faq__category {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-main);
	margin-bottom: 20px;
}

/* QAリスト */
.faq__list {
	border-top: 1px solid #CCCCCC;
}

/* 各アイテム */
.faq__item {
	border-bottom: 1px solid #CCCCCC;
}

/* Q部分（クリック領域） */
.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 20px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

/* 矢印（下向き） */
.faq__arrow {
	position: relative;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
.faq__arrow::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 45%;
	width: 7px;
	height: 7px;
	border-top: 2px solid #A61C4B;
	border-right: 2px solid #A61C4B;
	transform: translateY(-50%) rotate(135deg);
	transition: transform 0.3s ease, top 0.3s ease;
}

/* 開いているとき：矢印を上向きに */
.faq__item.is-open .faq__arrow::after {
	top: 55%;
	transform: translateY(-50%) rotate(-45deg);
}

/* A部分（回答） */
.faq__answer {
	max-height: 0;
	overflow: hidden;
	background-color: #FDF6F7;
	transition: max-height 0.4s ease;
}
/* 回答テキストの内側ラッパー（paddingはアニメーションさせない） */
.faq__answer-inner {
	padding: 20px 20px;
}

/* 回答内リンク */
.faq__link {
	color: #4D908E;
	text-decoration: underline;
	transition: opacity 0.2s ease;
}
.faq__link:hover {
	opacity: 0.75;
}

/* ============================================
   よくある質問：レスポンシブ
   ============================================ */
@media (max-width: 768px) {
	.faq__block {
		margin-bottom: 30px;
	}
	.faq__category {
		font-size: 16px;
	}
	.faq__question {
		padding: 12px 10px;
	}
	.faq__answer-inner {
		padding: 12px 10px;
	}
}
