:root {
	--pink: #A21C6E;
	--gray: #4F547A;
}

.section-inner {
	padding: 0 3.4rem;
}

/*メインコンテンツとサブコンテンツの背景色*/
.keni-main{
		overflow: hidden;
	background: url(https://diet-kanzenkouryakujuku.com/wp-content/uploads/2024/12/bk.webp);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}


/*よくある質問*/
.qa {
	padding: 3.4rem;
	background: url(https://diet-kanzenkouryakujuku.com/wp-content/uploads/2024/12/qa-bg.webp);
	background-size: cover;
}

.qa h2 {
	position: relative;
	background: none;
	color: var(--gray);
	text-align: center;
	font-size: 3.6rem;
	margin-bottom: 4rem!important;
}

.qa h2:after {
	position: absolute;
	    position: absolute;
	content: "";
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--gray);
	width: 10%;
	height: 4px;
	bottom: -1.7rem;
	left: 50%;
	transform: translate(-50%,-50%);
}

details {
    background: white;
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-align: justify;
	border-radius: 2rem;
	padding: 2rem;
}

details p {
    padding: 2.5rem 1rem 0.5rem 5rem;
    margin: 0!important;
    position: relative;
	color: #333333;
}

details p:before {
    position: absolute;
	top: 2.4rem;
	left: 1rem;
	content: "A.";
	color: gray;
    font-size: 2.2rem;
	font-weight: bold;
}

details p:after {
    position: absolute;
	content: "";
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: #c8c2be;
	width: 100%;
	height: 1px;
	top: 1rem;
	left: 0;
}

details summary {
    padding:0.5rem 4rem 0.5rem 5rem;
	background: white;
    color: black;
	list-style: none;
	cursor: pointer;
	position:relative;
	border-radius: 2rem;
}

details summary::before {
    position: absolute;
	top: 0.5rem;
	left: 1rem;
	content: "Q.";
	color: var(--pink);
    font-size: 2.2rem;
	font-weight: bold;
}

/*Chrome用のデフォルト三角削除*/
details summary::-webkit-details-marker {
  display: none;
}

/*Q&Aの三角を消す*/
summary {
  display: block;
  list-style: none;
}

/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display:none;
}

details summary::after {
	content: "";
	background: url(https://diet-kanzenkouryakujuku.com/wp-content/uploads/2024/12/arrow-down.png);
	background-size: cover;
	width: 2.6rem;
	height: 2.6rem;
	position:absolute;
	top:8px;
	right:1rem;
}

/*アコーディオンオープン時マイナスアイコンに変更*/
details[open] summary::after {
	content: "";
	background: url(https://diet-kanzenkouryakujuku.com/wp-content/uploads/2024/12/arrow-up.png);
	background-size: cover;
	width: 2.6rem;
	height: 2.6rem;
	position: absolute;
	top: 8px;
	right: 1rem;
}

/*LINE・インスタボタン*/
.line-btn, .line-friends, .insta-bn {
	transition: 0.6s;
}

.insta-bn {
	margin-bottom: 3rem;
}

.line-btn:hover, .footer-btn:hover, .insta-bn:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	transition-property: all;
	transition-duration: 0.6S;
}

.line-friends:hover {
	opacity: 0.7;
}

/*フッターボタン*/
.footer-btn {
    display: block;
    position: fixed;
    bottom: 6px;
    right: 10px;
    width: 400px;
    z-index: 10;
    transition-duration: 0.6S;
}
	
/*フッター*/
	
.keni-footer_wrap {
	background: #5a544b!important;
}
	
.keni-copyright_wrap {
	border-top: none!important;
}
	
.keni-copyright {
	color: white!important;
	text-align: center;
}

/*下部スペース詰める*/
.col1 .keni-section_wrap {
	margin-bottom: 0!important;
}

.home .article-body {
	padding-bottom:2rem;
}


/*==================== SP =====================*/

@media (max-width: 768px) {
	.section-inner {
		padding: 0 5%;
	}
	
	/*Q&A*/
		.qa {
		padding: 5%;
	}
	
	details {
		margin-bottom: 1.5rem;
		font-size: 2rem;
		padding: 1.5rem;
	}
	
	/*フッターボタン*/
	.footer-btn{
	    width: 100%;
		bottom: 0px;
		right: 0px;
		transition: 0.5s;
		display: block;
	}
}