@charset "UTF-8";
/**
 * よくある質問集（カスタム投稿タイプ faq）専用スタイル
 *
 * /faq/（アーカイブ）と /faq/xxx/（カテゴリページ）でのみ読み込む。
 *
 * 配色ルール
 *   オレンジ #ec7034（キーカラー）／濃オレンジ #c9551a（文字・リンク）
 *   グリーン #8ac221（ボタン・バッジ）／文字 #333・#666／罫線 #e8e2dd
 *   淡オレンジ #fdf2eb（見出し帯・CTA背景）
 *   ※ 青系は使用しない。
 *
 * 文字サイズ
 *   基準を 16px とし、目立たせたい箇所以外はサイズを指定しない（16px を継承）。
 */

/* -------------------------------------------------------------------------
 * 基本
 * ---------------------------------------------------------------------- */

/* テーマ側の .section.siteContent{padding-bottom:0} を上書きするため詳細度を合わせている */
.section.siteContent.faqPage {
	padding-bottom: 60px;
}

.faqPage {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

/* ボタン・入力欄は既定でフォントを継承しないため明示する */
.faqPage button,
.faqPage input,
.faqPage textarea,
.faqPage select {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

/*
 * 本文中（導入文・回答）のリンク色。テーマ共通の青リンクを打ち消す。
 * その他のリンクは各パーツ側で色を指定しているため、ここでは対象を絞る
 * （.faqPage a のような広い指定にすると各パーツの指定を上書きしてしまうため）。
 */
.faqArticle_intro a,
.faqItem_answer a,
.faqResults_hint a {
	color: #c9551a;
}

.faqArticle_intro a:hover,
.faqItem_answer a:hover,
.faqResults_hint a:hover {
	color: #ec7034;
}

/* テーマ共通の h2 装飾（グレー地＋青ボーダー）を FAQ 用見出しでは打ち消す */
.faqSearch_title,
.faqNav_title,
.faqSection_title,
.faqItem_head,
.faqCta_title {
	background: none;
	background-color: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}

.faqPage .screen-reader-text {
	display: block;
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}

.faqSection_title {
	font-size: 140%;
	font-weight: 700;
	color: #333;
	line-height: 1.5;
	margin: 0 0 20px;
	padding: 2px 0 2px 14px;
	border-left: 5px solid #ec7034;
}

.faqLead {
	margin: 0 0 32px;
	color: #555;
}

/* -------------------------------------------------------------------------
 * レイアウト（左サイドバー ＋ 右メイン）
 * ---------------------------------------------------------------------- */

.faqLayout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.faqLayout_main,
.faqLayout_side {
	min-width: 0;
}

/* サイドバーにスクロールバーを出さない（高さ固定・overflow指定はしない） */
.faqSidebar {
	overflow: visible;
}

@media (max-width: 991px) {
	.faqLayout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.faqLayout.list {
		display: flex;
		flex-wrap: wrap;
		align-items: initial;
		gap:4em;
		flex-direction: column-reverse;
	}
	.section.siteContent.faqPage {
		padding-bottom: 80px; /* スマホ下部の追従バーと重ならないように */
	}
}

/* -------------------------------------------------------------------------
 * サイドバー：検索窓
 * ---------------------------------------------------------------------- */

.faqSearch {
	background-color: #fdf2eb;
	border-radius: 10px;
	padding: 18px 16px 20px;
}

.faqSearch_title {
	font-size: 115%;
	font-weight: 700;
	color: #333;
	text-align: center;
	line-height: 1.5;
	margin-bottom: 12px;
}

.faqSearch_form {
	display: flex;
	background-color: #fff;
	border: 2px solid #ec7034;
	border-radius: 8px;
	overflow: hidden;
}

.faqSearch_input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px;
	color: #333;
	font-feature-settings: "palt" 1;
	-webkit-appearance: none;
	appearance: none;
}

.faqSearch_input:focus {
	outline: 0;
}

.faqSearch_input::-webkit-input-placeholder { color: #b3a79f; }
.faqSearch_input::placeholder { color: #b3a79f; }

.faqSearch_submit {
	flex: 0 0 auto;
	width: 54px;
	border: 0;
	background-color: #ec7034;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s;
}

.faqSearch_submit:hover,
.faqSearch_submit:focus {
	background-color: #d4591c;
}

.faqSearch_icon {
	display: block;
}

.faqSearch_keywords {
	margin-top: 16px;
}

.faqSearch_keywordsTitle {
	font-weight: 700;
	color: #7d6f66;
	margin: 0 0 8px;
}

.faqSearch_keywordList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.faqSearch_keywordList li {
	margin: 0;
}

.faqSearch_keywordList a {
	display: inline-block;
	line-height: 1.4;
	padding: 6px 12px;
	background-color: #fff;
	border: 1px solid #f2d6c4;
	border-radius: 999px;
	color: #c9551a;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}

.faqSearch_keywordList a:hover,
.faqSearch_keywordList a:focus {
	background-color: #ec7034;
	border-color: #ec7034;
	color: #fff;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * サイドバー：カテゴリ一覧（アコーディオン）
 * ---------------------------------------------------------------------- */

.faqNav {
	margin-top: 22px;
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 10px;
	overflow: hidden;
}

.faqNav_title {
	font-size: 130%;
	font-weight: 700;
	color: #333;
	background-color: #fdf2eb;
	padding: 14px 16px;
	line-height: 1.5;
}

.faqNav_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.faqNav_item + .faqNav_item {
	border-top: 1px solid #eee;
}

.faqNav_toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: left;
	background-color: #fff;
	border: 0;
	padding: 14px 16px;
	font-weight: 700;
	color: #333;
	cursor: pointer;
	transition: background-color .2s;
}

.faqNav_toggle:hover {
	background-color: #fdf7f3;
}

.faqNav_item.is-current > .faqNav_toggle {
	background-color: #fdf2eb;
	color: #c9551a;
}

.faqNav_name {
	flex: 1 1 auto;
	line-height: 1.5;
}

.faqNav_count {
	flex: 0 0 auto;
	line-height: 1;
	background-color: #8ac221;
	color: #fff;
	border-radius: 999px;
	padding: 5px 10px;
}

.faqNav_arrow {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-right: 2px;
	border-right: 2px solid #ec7034;
	border-bottom: 2px solid #ec7034;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s;
}

.faqNav_item.is-open .faqNav_arrow {
	transform: rotate(225deg) translate(-2px, -2px);
}

.faqNav_panel {
	padding: 2px 16px 16px;
	background-color: #fcfbfa;
}

.faqNav_panel[hidden] {
	display: none;
}

.faqNav_questions {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.faqNav_questions li + li {
	border-top: 1px dashed #e5e0dc;
}

.faqNav_question {
	display: block;
	position: relative;
	padding: 10px 0 10px 22px;
	line-height: 1.7;
	color: #555;
	text-decoration: none;
}

.faqNav_question::before {
	content: "Q";
	position: absolute;
	left: 0;
	top: 10px;
	font-weight: 700;
	color: #ec7034;
}

.faqNav_question:hover,
.faqNav_question:focus {
	color: #ec7034;
	text-decoration: underline;
}

.faqNav_empty {
	color: #999;
	margin: 8px 0;
}

.faqNav_all {
	display: inline-block;
	font-weight: 700;
	color: #c9551a;
	text-decoration: none;
}

.faqNav_all::after {
	content: " ›";
}

.faqNav_all:hover {
	text-decoration: underline;
}

/* サイドバー最下部：質問一覧へ戻るボタン */
.faqSidebar_indexBtn {
	display: block;
	margin-top: 22px;
	padding: 15px 16px;
	background-color: #ec7034;
	border-radius: 8px;
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s;
}

.faqSidebar_indexBtn::after {
	content: " ›";
}

.faqSidebar_indexBtn:hover,
.faqSidebar_indexBtn:focus {
	background-color: #d4591c;
	color: #fff;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * メイン：カテゴリカード
 * ---------------------------------------------------------------------- */

.faqCats {
	margin-bottom: 8px;
}

.faqCatCards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.faqCatCard {
	margin: 0;
}

.faqCatCard_link {
	display: block;
	height: 100%;
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 10px;
	padding: 20px;
	color: #333;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.faqCatCard_link:hover,
.faqCatCard_link:focus {
	border-color: #ec7034;
	background-color: #fffaf6;
	text-decoration: none;
	color: #333;
}

.faqCatCard_thumb {
	display: block;
	margin: -20px -20px 16px;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
}

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

.faqCatCard_head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.faqCatCard_title {
	font-size: 130%;
	font-weight: 700;
	color: #333;
	line-height: 1.5;
}

.faqCatCard_count {
	line-height: 1;
	color: #7d746d;
	background-color: #f3f0ed;
	border-radius: 999px;
	padding: 6px 11px;
}

.faqCatCard_preview {
	display: block;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #e8e2dd;
}

.faqCatCard_previewItem {
	display: block;
	position: relative;
	padding-left: 20px;
	line-height: 1.9;
	color: #6b635d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.faqCatCard_previewItem::before {
	content: "Q";
	position: absolute;
	left: 0;
	font-weight: 700;
	color: #ec7034;
}

.faqCatCard_more {
	display: inline-block;
	margin-top: 16px;
	font-weight: 700;
	color: #c9551a;
}

.faqCatCard_more::after {
	content: " →";
}

.faqCats_empty {
	color: #777;
}

/* -------------------------------------------------------------------------
 * メイン：検索結果
 * ---------------------------------------------------------------------- */

.faqResults {
	margin-bottom: 44px;
}

.faqResults_query {
	color: #c9551a;
}

.faqResults_count {
	display: inline-block;
	margin-left: 10px;
	font-size: 75%;
	font-weight: 600;
	color: #7d746d;
}

.faqResultList {
	list-style: none;
	margin: 0;
	padding: 0;
}

.faqResult {
	margin: 0 0 12px;
}

.faqResult_link {
	display: block;
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-left: 4px solid #8ac221;
	border-radius: 8px;
	padding: 16px 18px;
	color: #333;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.faqResult_link:hover,
.faqResult_link:focus {
	border-color: #ec7034;
	border-left-color: #ec7034;
	background-color: #fffaf6;
	text-decoration: none;
	color: #333;
}

.faqResult_cat {
	display: inline-block;
	line-height: 1;
	color: #c9551a;
	background-color: #fdf2eb;
	border-radius: 4px;
	padding: 6px 10px;
	margin-bottom: 10px;
}

.faqResult_q {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 700;
	line-height: 1.7;
}

.faqResult_mark {
	flex: 0 0 auto;
	color: #ec7034;
}

.faqResult_qText {
	flex: 1 1 auto;
}

.faqResult_excerpt {
	display: block;
	margin-top: 8px;
	line-height: 1.8;
	color: #7d746d;
}

.faqMark {
	background-color: #fff2a8;
	padding: 0 2px;
	border-radius: 2px;
	color: inherit;
}

.faqResults_none {
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 10px;
	padding: 24px;
}

.faqResults_noneLead {
	font-weight: 700;
	color: #c9551a;
	margin: 0 0 12px;
}

.faqResults_hint {
	margin: 0;
	padding-left: 1.2em;
	line-height: 1.9;
	color: #666;
}

/* -------------------------------------------------------------------------
 * カテゴリページ：質問リスト（アコーディオン）
 * ---------------------------------------------------------------------- */

.faqArticle_header {
	margin-bottom: 20px;
}

.faqArticle_title {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.faqArticle_count {
	font-size: 65%;
	font-weight: 600;
	line-height: 1;
	color: #7d746d;
	background-color: #f3f0ed;
	border-radius: 999px;
	padding: 7px 12px;
}

.faqArticle_intro {
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 24px;
	color: #555;
}

.faqArticle_intro > *:first-child { margin-top: 0; }
.faqArticle_intro > *:last-child { margin-bottom: 0; }

.faqList {
	list-style: none;
	margin: 0;
	padding: 0;
}

.faqList_empty {
	color: #777;
}

.faqItem {
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 10px;
	margin: 0 0 12px;
	scroll-margin-top: 20px;
}

.faqItem.is-open {
	border-color: #ec7034;
}

.faqItem.is-target {
	animation: faqFlash 2.2s ease-out;
}

@keyframes faqFlash {
	0%   { box-shadow: 0 0 0 4px rgba(236, 112, 52, .5); }
	100% { box-shadow: 0 0 0 4px rgba(236, 112, 52, 0); }
}

.faqItem_head {
	font-size: inherit;
	font-weight: normal;
	line-height: inherit;
}

.faqItem_toggle {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 18px;
	cursor: pointer;
	border-radius: 10px;
	transition: background-color .2s;
}

.faqItem_toggle:hover {
	background-color: #fdf7f3;
}

.faqItem_mark {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 30px;
	padding: 0 8px;
	border-radius: 4px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.faqItem_mark--q { background-color: #ec7034; }
.faqItem_mark--a { background-color: #8ac221; }

.faqItem_q {
	flex: 1 1 auto;
	font-weight: 700;
	line-height: 1.7;
	color: #333;
}

.faqItem_arrow {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin: 9px 4px 0 0;
	border-right: 2px solid #ec7034;
	border-bottom: 2px solid #ec7034;
	transform: rotate(45deg);
	transition: transform .2s;
}

.faqItem.is-open .faqItem_arrow {
	transform: rotate(225deg);
	margin-top: 13px;
}

.faqItem_body {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 18px;
	padding: 18px 0 20px;
	border-top: 1px dashed #e8e2dd;
}

.faqItem_body[hidden] {
	display: none;
}

.faqItem_answer {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.9;
	color: #444;
}

.faqItem_answer > *:first-child { margin-top: 0; }
.faqItem_answer > *:last-child { margin-bottom: 0; }

.faqItem_answer img {
	max-width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
 * よくあるご質問トップへ戻るリンク（記事下）
 * ---------------------------------------------------------------------- */

.faqPager {
	margin: 32px 0 0;
	text-align: center;
}

.faqPager_link {
	display: inline-block;
	min-width: 280px;
	max-width: 100%;
	background-color: #fff;
	border: 1px solid #e8e2dd;
	border-radius: 8px;
	padding: 14px 24px;
	color: #333;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .2s, background-color .2s, color .2s;
}

.faqPager_link:hover,
.faqPager_link:focus {
	border-color: #ec7034;
	background-color: #fffaf6;
	color: #c9551a;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * CTA（該当する質問がない場合）
 * ---------------------------------------------------------------------- */

.faqCta {
	margin-top: 3em;
	background-color: #fdf2eb;
	border: 10px solid #ffe5d8;
	padding: 30px 24px;
	text-align: center;
}

.faqCta_title {
	font-size: 125%;
	font-weight: 700;
	color: #c9551a;
	line-height: 1.5;
	margin-bottom: 12px;
}

.faqCta_lead {
	line-height: 1.9;
	color: #555;
	margin: 0 0 20px;
}

/* 電話番号エリアとお問い合わせボタンを横並びに（狭い画面では縦積み） */
.faqCta_body {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px 28px;
}

.faqCta_info {
	padding: 0 28px;
	text-align: left;
}

.faqCta_hours {
	color: #666;
	margin: 0 0 4px;
}

.faqCta_tel {
	font-size: 175%;
	font-weight: 700;
	line-height: 1.2;
	color: #333;
	margin: 0;
	letter-spacing: .02em;
}

.faqCta_tel a {
	color: #333;
	text-decoration: none;
}

.faqCta_telLabel {
	font-size: 60%;
	margin-right: 4px;
}

.faqCta_action {
	margin: 0;
}

.faqCta_btn {
	display: inline-block;
	background-color: #8ac221;
	color: #fff;
	font-weight: 700;
	padding: 17px 40px;
	border-radius: 999px;
	text-decoration: none;
	transition: opacity .2s;
}

.faqCta_btn::after {
	content: " →";
}

.faqCta_btn:hover,
.faqCta_btn:focus {
	color: #fff;
	opacity: .85;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * スマートフォン
 * ---------------------------------------------------------------------- */

@media (max-width: 767px) {
	.faqCatCards {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.faqItem_toggle {
		padding: 15px;
		gap: 10px;
	}

	.faqItem_body {
		margin: 0 15px;
		gap: 10px;
	}

	.faqCta {
		padding: 24px 16px;
	}

	.faqCta_body {
		flex-direction: column;
		gap: 18px;
	}

	.faqCta_info,
	.faqCta_action,
	.faqCta_btn {
		display: block;
		width: 100%;
	}

	.faqCta_info {
		padding: 14px 12px;
	}

	.faqCta_btn {
		padding: 17px 20px;
	}

	.faqPager_link {
		display: block;
		min-width: 0;
	}
}
