@charset "utf-8";

/* =========================================================
   FAQ 個別質問ページ（single-question）用CSS
   /faq（.page-faq）スコープのCSSを質問ページ向けに再適用
   ========================================================= */

.page-faq div.more a {
    color: #404040 !important;
    text-decoration: none !important;
}
   
.single-question .text a.blank {
    background: none;
}
.single-question .pageimg {
    height: auto !important;
    padding: 13px 50px 0 50px;
}
.single-question .main {
    width: 100%;
    max-width: 70%;
}
@media screen and (max-width: 896px) {
    .single-question .pageimg {
        padding: 20px 20px 15px 20px;
    }
}

/* --- ページャー：お知らせ詳細(.single-post)のCSSを質問ページ用に再スコープ
       元 = archive.css の .single-post .section .section_inner .main .link 系
       （flex横並び・中央寄せ・gap30px・赤枠ボタン #C1291F・ホバーで赤背景） --- */
.single-question section .section_inner .main .link {
	margin-top: 90px;
}
.single-question section .section_inner .main .link ul {
	display: flex;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
.single-question section .section_inner .main .link ul li a {
	display: block;
	padding: 15px 42px;
	border: 1px solid #C1291F;
	border-radius: 10px;
	color: #C1291F;
}
.single-question section .section_inner .main .link ul li a:hover {
	color: #fff;
	background: #C1291F;
	text-decoration: none;
}
@media screen and (max-width: 1080px) {
    .single-question section .section_inner .main {
        max-width: 100%;
        width: 100%;
    }
} 

@media screen and (max-width: 896px) {
    
    .single-question section .section_inner .main .link.sp {
        display: block;
        margin-top: 40px;
    }
	.single-question section .section_inner .main .link ul li a {
        display: block;
		box-sizing: border-box;
		width: 110px;
		padding: 10px;
		display: block;
		text-align: center;
	}
}

@media screen and (max-width: 480px) {
    .single-question section .section_inner .main .link ul{
        gap: 16px;
    }
    .single-question section .section_inner .main .link ul li a {
        width: 90px;
    }
}

/* --- 回答コンテンツ（archive.css の .page-faq dl.faq_list dd 配下 由来） --- */
.single-question .text table {
	margin: 30px auto;
}
.single-question .text table th {
	padding: 3px 20px;
	border: #dfdfdf 2px solid;
	background: #404040;
	color: #fff;
}
.single-question .text table.nonbank th:nth-child(4) {
	background: #C1291F;
	color: #fff;
}
.single-question .text table td {
	padding: 3px 20px;
	border: #dfdfdf 2px solid;
	text-align: center;
}
.single-question .text table.nonbank td:nth-child(1) {
	background: #f4f4f4;
	text-align: left;
}
.single-question .text table.nonbank td:nth-child(4) {
	color: #C1291F;
	font-weight: bold;
}
.single-question .text a {
	color: #74B5C7;
	text-decoration: underline;
}
.single-question .text a.blank {
	color: #404040;
	text-decoration: none;
	display: inline-block;
	margin: 30px auto;
	padding: 16px 60px;
	border: 1px solid;
	border-radius: 10px;
}
.single-question .text a.blank:after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 13px;
	background: url(../images/faq/window.svg) center center no-repeat;
	margin-left: 12px;
}
.single-question .text a.blank:hover {
	background: #F4F4F4;
}
.single-question .text p {
	max-width: 850px;
}

/* --- レスポンシブ（archive.css と同じ 896px） --- */
@media screen and (max-width: 896px) {
	.single-question .text table.nonbank td:nth-child(1) {
		padding-left: 3px;
		width: 55px;
	}
	.single-question .text p {
		font-size: 14px;
	}
	.single-question .text table th {
		padding: 5px 0;
	}
	.single-question .text table td {
		padding: 3px 2px;
	}
}

/* --- H1「Question」/ 回答「Answer」ラベル（legal-station /faq 参考・色は赤） --- */
.single-question .main h1 {
    line-height: 1.2;
    margin-bottom: 40px;
}
.single-question .main h1::before {
	content: "Question";
	display: block;
	font-weight: bold;
	font-size: 20px;
	line-height: 1;
	margin-bottom: 10px;
	color: #C1291F;
}
.single-question .main .text::before {
	content: "Answer";
	display: block;
	font-weight: bold;
	font-size: 20px;
	line-height: 1;
	margin-bottom: 4px;
	color: #C1291F;
}

/* --- サイドバー（legal-station aside 参考・色は赤）
       ※幅/位置はPMGの2カラム(aside float 310px)を尊重し、ここでは見た目だけ --- */
.single-question aside .tit {
	margin-bottom: 10px;
	background: #C1291F;
	color: #fff;
	padding: 15px 8px;
}
.single-question aside .tit a {
	display: block;
    font-weight: bold;
	color: #fff;
}
.single-question aside nav ul li {
	margin-bottom: 1px;
}
.single-question aside nav ul li a {
	display: block;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	padding: 10px 5px;
}
.single-question aside nav ul li a:hover {
	background-color: #f0f2f4;
	text-decoration: none;
}
.single-question aside nav ul li.current-cat > a {
	color: #C1291F;
}
.single-question aside nav ul li.current-cat > a::before {
	content: "\f0da";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding-right: 4px;
	color: #C1291F;
}

/* --- レイアウト：main と aside を float ではなく flexbox で2カラム化 --- */
.single-question section .section_inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
}
.single-question section .section_inner .main,
.single-question section .section_inner aside {
	float: none;
}
.single-question section .section_inner aside {
	flex-shrink: 0;
}
@media screen and (max-width: 896px) {
	.single-question section .section_inner {
		flex-direction: column;
	}
}
