@charset "utf-8";

/* -------------------------------------------------- */

.sp_only {
	display: inherit;
}

.pc_only {
	display: none;
}

@media(min-width: 768px) {
	.sp_only {
		display: none;
	}

	.pc_only {
		display: inherit;
	}
}

/* -------------------------------------------------- */

.fv {
	position: relative;
	height: 300px;
	background-image: url(../img/diagnosis/fv_clinic.png);
	background-position: center;
	background-size: cover;
}

.fv_text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: max-content;
	font-size: 2rem;
	color: #fff;
}

@media(min-width: 768px) {
	.fv {
		height: auto;
		background-image: none;
	}
}

@media(min-width: 1440px) {
	.fv_text {
		font-size: 3.4rem;
	}
}

/* -------------------------------------------------- */

.content_home_inner {
	padding: 20% 5%;
}

@media(min-width: 768px) {
	.content_home_inner {
		padding: 10% 5%;
	}
}

/* -------------------------------------------------- */

.category:not(:first-of-type) {
	margin: 10% auto 0;
}

.category_content:not(:first-of-type) {
	margin: 10% auto 0;
}

/* -------------------------------------------------- */

.belt {
	position: relative;
	width: 100%;
	margin-bottom: 5%;
	background-color: #DCDACD;
}
.belt::before {
	content: "";
	position: absolute;
	top: 10%;
	width: 100%;
	height: 1px;
	background-color: #fff;
}
.belt::after {
	content: "";
	position: absolute;
	bottom: 10%;
	width: 100%;
	height: 1px;
	background-color: #fff;
}

.headline {
	padding: 0.75em 0;
	text-align: center;
	font-size: 1.6rem;
}

.headline_sub {
	margin-bottom: 5%;
	font-size: 1.4rem;
	line-height: 1.5;
	color: #00524E;
}

@media(min-width: 1440px) {
	.headline {
		font-size: 3rem;
	}

	.headline_sub {
		font-size: 2rem;
	}
}

/* -------------------------------------------------- */

.text {
	font-size: 1rem;
}

@media(min-width: 1440px) {
	.text {
		font-size: 1.2rem;
	}
}

/* -------------------------------------------------- */

.flexBox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
	padding: 0 5%;
}

.flexBox_content {
	flex: 1;
}

.flexBox_textArea {
	padding: 5%;
	text-align: center;
}

.flexBox_text {
	color: #fff;
}

.flexBox_content:nth-of-type(odd) .flexBox_textArea {
	background-color: #CFB17F;
}

.flexBox_content:nth-of-type(even) .flexBox_textArea {
	background-color: #CCC782;
}

@media(min-width: 768px) {
	.flexBox {
		flex-direction: row;
	}
}

@media(min-width: 1440px) {
	.flexBox {
		gap: 24px;
		padding: 0 5%;
	}

	.flexBox_text {
		font-size: 1.2rem;
	}
}

/* -------------------------------------------------- */

.category_qa .textArea {
	text-align: center;
}

/* ----- アコーディオン ----- */

details {
	border-bottom: 1px solid #ccc;
}

details:not(:last-child) {
	margin-bottom: 20px;
}

details summary {
	position: relative;
	list-style: none; /* デフォルト三角削除 */
	cursor: pointer;
}

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

details summary::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 0%;
	transform: translate(0, -50%);
	width: 16px;
	height: 16px;
	background-image: url(../img/clinic/arrow.png);
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
}

details[open] summary::before {
	content: '';
	transform: translate(0, -50%) rotate(180deg);
}

.qArea,
.aArea {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5% 10%;
}

.qArea_i,
.aArea_i {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	aspect-ratio: 1 / 1;
}

.qArea_i {
	background-color: #01A29D;
}

.aArea_i {
	background-color: #96894A;
}

.qArea_i span,
.aArea_i span {
	font-size: 1.5rem;
}

@media(min-width: 768px) {
	.qArea,
	.aArea {
		flex-direction: row;
		justify-content: flex-start;
		gap: 12px;
		width: 90%;
		padding: 2.55% 0;
	}

	.qArea_i,
	.aArea_i {
		width: 36px;
		height: 36px;
	}
}

@media(min-width: 1440px) {
	details summary::before {
		width: 32px;
		height: 32px;
	}

	.qArea_i,
	.aArea_i {
		width: 48px;
		height: 48px;
	}

	.qArea_i span,
	.aArea_i span {
		font-size: 2rem;
	}

	.qArea_t p,
	.aArea_t p {
		font-size: 1.2rem;
	}
}

@media(min-width: 1440px) {
	.qArea_i,
	.aArea_i {
		width: 60px;
		height: 60px;
	}
}
