@charset "utf-8";

:root {
	--color-pink: #F8CBCE;
	--color-green: #C7E9E8;
}

.color--green {
	background-color: var(--color-green) !important;
}

.color--pink {
	background-color: var(--color-pink) !important;
}

.subsection-inner__body {
	margin-top: 30px;
}

.tumor-marker {

	& .intro {

		& .section-header {
			display: block;
		}

		& .section-header__txt {
			display: flex;
			flex-direction: column;
			gap: 20px;
			max-width: none;
		}

		& .section-header__read {
			max-width: none;
		}

		& .section-header__img {
			position: relative;
			max-width: 600px;
			margin-inline: auto;
			border-radius: 5px;
			overflow: hidden;
			margin-block: 30px;
		}
	}

	& .cancer-price {

		& .inspection__table {
			border-top: 1px solid rgba(0,0,0,.2);
		}

		& .inspection-table__item {
			display: flex;
			align-items: flex-start;
			justify-content: space-between;
			padding: 15px 0;
		}

		& .inspection-table__lbl {
			font-weight: 600;
			width: var(--wcalc8-3);
		}

		& .inspection-table__des {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			width: var(--wcalc8-6);
			gap: 5px;
		}

		& .addition {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			gap: 2em;

			& .marker {
				border: 1px solid rgba(100, 91, 91, .2);
				border-radius: 20px;
				text-align: center;
				line-height: 1.4;
				padding: 4px 10px;
				background-color: #fff;
				display: inline-block;
				flex-wrap: nowrap;
				box-sizing: border-box;
				position: relative;
				font-size: clamp(1.0rem, 4vw, 1.3rem);

				&.color--green,
				&.color--pink {
					border: none;
				}

				&:after {
					content: "＋";
					padding-inline: .6em;
					color: var(--color-txt);
					font-size: inherit;
					position: absolute;
					right: -2.2em;
					top: .3lh;
					bottom: 0;
				}

				&:last-child {
					
					&:after {
						content: none;
					}
				}
			}
		}

		& .price {
			display: flex;
			align-items: baseline;
			justify-content: flex-end;
			font-weight: 600;
			font-size: clamp(1.5rem, 4vw, 1.8rem);
			margin-top: 0;

			& small {
				font-size: clamp(1.1rem, 4vw, 1.2rem);

			}
		}
	}

	& .cancer__rank {
		display: flex;
		flex-direction: column;
		gap: 30px;

		& .subsection-inner__img {
			width: 100%;
			max-width: 430px;
			margin-inline: auto;
			border-radius: 10px;
			overflow: hidden;
		}

		& .inspection__table {
			display: flex;
			gap: 20px;
			justify-content: center;
		}

		& .inspection-table__item {
			display: flex;
			flex-direction: column;
			padding: 0;
			border-bottom: none;
		}

		& .table-head {
			display: flex;
			flex-direction: column-reverse;
			align-items: center;
			margin-bottom: 10px;
			width: 100%;

			& .icon {

				& svg {
					stroke-width: 1.5;
					width: 36px;
					height: 36px;
				}
			}
		}

		& .table-data {
			padding: 5px 10px;
			box-sizing: border-box;
			border-radius: 20px;
			background-color: transparent;
			text-align: center;
			display: inline-flex;
			width: 100%;
			font-weight: 600;
			justify-content: center;
			gap: 10px;

			& .rank {
				font-weight: 600;
			}
		}
	}

	& .ConversionPhone {
		display: flex;
		flex-direction: column;

		& .ConversionPhone-inner,
		& .ReservationMypage-inner {
			width: 100%;
			margin-block: 0;

			& > p {
				margin: 0;
			}
		}

		& .ConversionPhone-inner {
			padding-bottom: 20px;
			border-bottom: 1px solid rgba(0,0,0,0.2);
		}

		& .ReservationMypage-inner {
			padding-top: 20px;
			text-align: center;
			display: flex;
			flex-direction: column;
			justify-content: center;
			font-size: 1.3rem;
			gap: 10px;
		}

		& .ReservationMypage__anchor {
			font-size: 1.4rem;
			max-width: 200px;
			margin-inline: auto;

			& .icon {

				& svg {
					width: 40px;
					height: 40px;
				}
			}
		}
	}
}

@media all and (min-width: 768px) {

	.tumor-marker {

		.section-header {
			text-align: left;
		}

		& .cancer__rank {
			flex-direction: row;

			& .inspection-table__item {
				width: 50%;
			}

			& .subsection-inner__img {
				width: 50%;
				margin: auto;
			}

			& .subsection-inner__txt {
				width: 50%;
			}

			& .table-data {
				font-size: 1.4rem;
				width: 100%;
				text-align: left;
				border-radius: 40px;
				justify-content: flex-start;
				gap: 0;

				& .rank {
					width: 2.5em;
				}

				& .cancer {
					width: calc(100% - 2.5em);
					display: inline-block;
					text-align: left;
				}
			}
		}
	}
}

@media all and (min-width: 1280px) {

	.tumor-marker {

		.intro {

			& .section-header__txt {
				text-align: center;
			}

			& .section-header__read {
				text-align: center;
			}

			& .section-header__img {
				margin-block: 80px;
			}
		}

		& .cancer-price {

			& .inspection-table__item {
				align-items: center;
			}

			& .inspection-table__des {
				flex-direction: row;
				width: calc(100% - 10em);
				gap: 40px;
			}

			& .addition {
				flex-direction: row;
				justify-content: center;
			}

			& .addition {

				& .marker {
					min-width: 130px;
				}
			}

			& .price {
				margin: 0;
				justify-content: center;
			}
		}

		& .cancer__rank {
			
			& .table-head {
				flex-direction: row;
				gap: 20px;
			}

			& .table-head {
				gap: 20px;
			}
		}

		& .ConversionPhone {
			flex-direction: row;

			& .ConversionPhone-inner,
			& .ReservationMypage-inner {
				width: 50%;
			}

			& .ConversionPhone-inner {
				border-bottom: none;
				padding: 0;
				border-right: 1px solid rgba(0,0,0,0.2);
			}

			& .ReservationMypage-inner {
				padding-top: 0;
			}

			& .ConversionPhone__read {
				justify-content: center;
			}
		}
	}
}

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

.brain-atrophy {

	& .PageHeader__ttl {

		& .ja small {
			display: block;
			font-size: clamp(1.5rem, 4vw, 3rem);
			margin-top: 10px;
		}
	}

	.intro {

		& .section-header__txt {

			& .inline-footnote {
				margin-top: 30px !important;
			}
		}

		& .intro__price-wrap {
			display: flex;
			flex-direction: column-reverse;
			gap: 30px;
		}

		& .intro__img {
			margin: 0;
			border-radius: 5px;
			overflow: hidden;
		}

		& .note {
			text-align: left;
		}
	}

	& .subsection-attention {
		display: flex;
		flex-direction: column;
		gap: 20px;

		& .attention-inner__ttl {
			text-align: left;
		}

		& .attention-inner__imgWrap {
			width: clamp(150px, 15vw, 240px);
			margin-inline: auto;
		}
	}

	& .listblocks__item {

		& dl {
			justify-content: flex-start;
			gap: 15px;
		}

		& dt {
			font-size: 110%;
			width: 4em;
		}

		& dd {
			font-weight: 400;
		}
	}
}

@media all and (min-width: 1280px) {

	.brain-atrophy {

		& .intro {

			& .intro__price-wrap {
				flex-direction: row;
				align-items: center;
			}

			& .intro__img {
				max-width: 435px;
			}
		}

		& .subsection-attention {
			flex-direction: row;
			gap: 30px;

			& .attention-inner__txtWrap {
				width: calc(100% - 240px);
			}

			& .attention-inner__imgWrap {
				margin: 0;
			}
		}

		& .listblocks__item {

			& dl {
				flex-direction: column;
				align-items: flex-start;
				gap: 5px;
			}
		}
	}
}
