@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_diagnosis.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;
	}
}

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

.flexBoxArea {
	padding: 5%;
	background-color: #FAF8ED;
}

.flexBox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
}

.flexBoxArea .flexBox:nth-of-type(2) {
	margin-top: 5%;
}

.flexbox_text {
	font-size: 1rem;
}

@media(min-width: 768px) {
	.flexBoxArea {
		position: relative;
		padding: 5% 0 5% 5%;
	}

	.flexBoxArea::after {
		content: "";
		position: absolute;
		top: 0;
		right: -10%;
		width: 100%;
		height: 100%;
		background-color: #FAF8ED;
		z-index: -1;
	}

	.flexBox {
		flex-direction: row;
		gap: 24px;
	}

	.flexBoxArea .flexBox:nth-of-type(2) {
		margin-top: 5%;
	}

	.flexBox_reverse {
		flex-direction: row-reverse;
	}

	.flexbox_textArea {
		flex: 5.5;
	}

	.flexbox_imgArea {
		flex: 4.5;
	}

	.flexbox_textArea_2 {
		flex: 6;
	}

	.flexbox_imgArea_2 {
		flex: 4;
	}
}

@media(min-width: 1440px) {
	.flexBox {
		gap: 48px;
	}

	.flexbox_textArea {
		font-size: 1.2rem;
	}

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

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

.tableArea {
	width: 90%;
	margin: 0 auto 0;
}

.tableArea table {
	width: 100%;
	border: 1px #01A29D solid;
}

.tableArea th,
.tableArea td {
	display: block;
	width: 100%;
	padding: 0.5em;
	text-align: left;
}

.tableArea th {
	background-color: #01A29D;
	color: #fff;
}

.tableArea td {
	background-color: #fff;
	color: #01A29D;
}

.tableArea_title {
	display: block;
	width: fit-content;
	margin: 0 auto 2.5%;
	color: #01A29D;
}

.tableArea_comment {
	display: block;
	width: fit-content;
	margin: 2.5% 0 0 auto;
	color: #01A29D;
}

@media(min-width: 768px) {
	.tableArea table {
		border: 1px #01A29D solid;
	}

	.tableArea th,
	.tableArea td {
		display: table-cell;
		padding: 1em;
		border-top: 1px #F2F2F2 solid;
	}

	.tableArea th {
		width: 40%;
		border-left: 1px #01A29D solid;
	}

	.tableArea td {
		width: 60%;
		border-right: 1px #01A29D solid;
	}

	.tableArea .th_top,
	.tableArea .td_top {
		border-top: 1px #01A29D solid;
	}
}

@media(min-width: 1440px) {
	.tableArea th,
	.tableArea td {
		font-size: 1.2rem;
	}

	.tableArea th {
		width: 30%;
	}

	.tableArea td {
		width: 70%;
	}

	.tableArea_title {
		font-size: 1.2rem;
	}

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