a {transition: 0.6s;}
a:hover {opacity: 0.7;}

.inner {
	padding: 0 3.4rem;
}

.keni-container, .keni-mv_wrap {
	overflow: hidden;
	background-image:url( https://tajima-biyou.com/wp-content/uploads/2025/01/hama-bk.webp);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;

}

.qa {
	background: url(https://tajima-biyou.com/wp-content/uploads/2025/01/qa-bg.webp);
	background-size: cover;
}

h2:not(.title_no-style) {
	background: none;
	color: #EB5671!important;
}

.qa h2 {
	position: relative;
	text-align: center;
	font-size: 4rem;
	padding-top: 5rem;
}

.qa h2:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	width: 5rem;
	height: 0.5rem;
	background:#EB5671;
	bottom: -3rem;
	left: 50%;
	transform: translate(-50%,-50%);
}

.qa__inner {
	padding: 3.4rem;
}

/*よくある質問ーアコーディオン*/
details {
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: justify;
	background: white;
	border-radius: 2rem;
	padding: 2.4rem 6rem 2.4rem 7rem;
}

details p {
    padding: 2rem 0 0.5rem 0!important;
    margin: 2rem 0 0!important;
    position: relative;
	border-top: solid 1px gray;
	text-align: justify;
	color: #646464;
	font-size: 1.8rem;
}

details p:before {
    position: absolute;
	top: 2rem;
	left: -4.2rem;
	content: "A.";
	color: gray;
    font-size: 3rem;
	font-weight: bold;
}

details summary {
	border: solid 1px var(--brown);
    color: #7A656B;
	list-style: none;
	cursor: pointer;
	position:relative;
	border-radius: 5px;
}

details summary::before {
    position: absolute;
	top: -0.3rem;
	left: -4.5rem;
	content: "Q.";
	color: #EB5671;
    font-size: 3.4rem;
	font-weight: bold;
}

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

details summary::after {
	content: "";
	position:absolute;
	background: url(https://tajima-biyou.com/wp-content/uploads/2025/01/arrow.png);
	background-size: cover;
	width: 3rem;
	height: 3rem;
	top:0;
	right:-4rem;
}
/*アコーディオンオープン時マイナスアイコンに変更*/
details[open] summary::after {
	content: "";
	position: absolute;
	background: url(https://tajima-biyou.com/wp-content/uploads/2025/01/arrow2.png);
	background-size: cover;
	width: 3rem;
	height: 3rem;
	top: 0;
	right: -4rem;
}

/*Q&Aの三角を消す*/
summary {
  display: block;
  list-style: none;
}
/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display:none;
}

/*アクセス*/
.access {
	background: url(https://tajima-biyou.com/wp-content/uploads/2025/01/access-bk.webp);
	background-size: cover;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

iframe {
	padding-top: 2rem;
}

/*フッター*/
.keni-copyright_wrap {
	border-top: none!important;
}

.keni-footer_wrap {
	background: #FF8D73!important;
	text-align: center;
	color: white;
	margin-top: -4rem;
}

/*フッターボタン*/
.footer__contact {
    position: fixed;
    bottom: 6px;
    right: 10px;
    width: 400px;
    z-index: 1000;
    transition-duration: 0.6S;
}

.footer__contact-btn{
  transition: 0.6s;
}

.footer__contact-btn:hover{
  transform:scale(1.05,1.05);
}

@media (max-width:600px){
	.inner {
		padding: 0 5%;
	}
	
	.footer__contact{
		display: flex;
		bottom: 0px;
		right: 0px;
		width: 100%
	}
	
	.footer__contact-btn {
		width: 50%;
	}

	.qa h2 {
		font-size: 2.6rem;
		padding-top: 3rem;
	}

	.qa h2:after {
		width: 4rem;
		height: 0.3rem;
		bottom: -2rem;
	}

	.qa__inner {
		padding: 3.4rem 5%;
	}
	
	/*よくある質問ーアコーディオン*/
	details {
		margin-bottom: 20px;
		font-size: 1.8rem;
		border-radius: 1rem;
		padding: 2rem 4rem 2rem 4.5rem;
	}

	details p {
		font-size: 1.6rem;
	}

	details p:before {
		left: -3.2rem;
		content: "A.";
		font-size: 2rem;
	}

	details summary::before {
		position: absolute;
		top: -0.3rem;
		left: -3.5rem;
		content: "Q.";
		color: #EB5671;
		font-size: 2.4rem;
		font-weight: bold;
	}
	
	details summary::after {
		width: 2rem;
		height: 2rem;
		top:0.5rem;
		right:-2.8rem;
	}

	/*アコーディオンオープン時マイナスアイコンに変更*/
	details[open] summary::after {
		width: 2rem;
		height: 2rem;
		top: 0.5rem;
		right: -2.8rem;
	}
	
	iframe {
	padding-bottom: 2rem;
}
}

