@charset "UTF-8";

/* ---------------------------------------------------------
 　■ KV
--------------------------------------------------------- */
.heading-bl {
	background-image: url(../images/faq/h1_bg2_pc.webp);
}

@media (width < 768px) {
	.heading-bl {
		background-image: url(../images/faq/h1_bg2_sp.webp);
	}
}

/* === 共通 === */
main{ overflow: hidden; }

.topHeading{
	position: relative;
	padding-top: 35px;
	font-size: 48px;
	font-weight: 600;
	color: var(--DBL);
	font-family: "Noto Serif JP", serif;
	margin: 0 0 35px;
	letter-spacing: 0.2em;
	@media (1250px >= width >= 768px) {
		font-size:36px;
		}
	@media (width < 768px) {
		padding-top:20rem;
		font-size: 28px;
		text-align:center;
		letter-spacing: 0.1em;
	}
}
.topHeading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 8px;
	background: linear-gradient(90deg, var(--DBL) 0%, var(--BL) 100%);
	@media (width < 768px) {
		width: 40px;
		height: 4px;
		left: 50%;
        transform: translatex(-50%);
	}
}
.topTxt {
	font-size: 20px;
	line-height: 2;
	margin: 0;
	@media (width < 768px) {
		font-size: 18px;
		line-height: 1.556;
		letter-spacing: 0em;
	}
}
.lead{
	font-size: 20px;
	line-height:2;
	margin-top:60px;
	@media (1250px >= width >= 768px) {
		margin-top:60rem;
	}
	@media (width < 768px) {
			font-size: 18px;
			margin: 40rem 0;
		}
	}

.pc-br {
    display: block;
    @media (width < 768px) {
    	display: none;
    }
}

.sp-br {
    display: none;
    @media (width < 768px) {
    	display: block;
    }
}
.heading-large{
		@media (width < 768px) {
		margin: 40rem 0 20rem;
        padding-top: 20rem;
    }
}


/* ==========================
   FAQ
========================== */
.faq-contents{
}

.faq-sec {
}

.faq-list {
    margin-top: 38px;
}

.faq-item {
    border: 1px solid #B7B7B7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* 質問 */
.faq-question {
    width: 100%;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    @media (width < 768px) {
    	align-items: flex-start;
    	padding: 20px 10px;
    }
}

/* Q */
.q {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
	background: var(--BL);
	background: #EEF4FA;
    border-radius: 8px;
    line-height: 1.6;
	font-weight: bold;
    color: var(--DBL);
    font-size: 32px;
    flex-shrink: 0;
	@media (width < 768px) {
    	width: 40px;
    	height: 40px;
    	font-size: 24px;
    	margin-top: 5px;
    }
}

/* 質問文 */
.question-text {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7;
    @media (width < 768px) {
    	font-size:16px;
    }
}

/* ＋－ボタン */
.icon {
    width: 50px;
    height: 50px;
    border: 1px solid #B7B7B7;
    background: #fff;
    border-radius: 8px;
    position: relative;
    flex-shrink: 0;
    @media (width < 768px) {
    	width:40px;
    	height: 40px;
    	margin-top: 5px;
    }
}

/* 共通 */
.icon::before,
.icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background:var(--BL);
    transition: transform .35s ease, opacity .35s ease;
}

/* 横棒 */
.icon::before {
    width: 20px;
    height: 3px;
    transform: translate(-50%, -50%);
}

/* 縦棒 */
.icon::after {
    width: 3px;
    height: 20px;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* 開いたら縦棒が回転しながら消える */
.faq-item.active .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* 開いたら横棒はグレーに */
.faq-item.active .icon::before {
    background: #999;
}

/* 回答 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

/* 開いた状態 */
.faq-item.active .faq-answer {
    max-height: 300px;
}

/* 回答内 */
.faq-answer p {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 20px;
    padding: 24px 0;
    border-top:1px solid #B7B7B7;
    line-height: 1.6;
    font-size:20px;
    font-weight: bold;
    color:var(--BL);
    @media (width < 768px) {
    	align-items: flex-start;
    	margin: 0 20px 0 10px;
        padding: 20px 0;
        font-size: 16px;
    	margin-top: 5px;
    }
}

/* A */
.a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
	background: var(--BL);
    border-radius: 8px;
    line-height: 1.6;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    flex-shrink: 0;
    padding-bottom: 3px;
    @media (width < 768px) {
    	width: 40px;
    	height: 40px;
    	font-size: 24px;
    	margin-top: 5px;
    }
}