@charset "utf-8";


:where(.main-contents) h1,
:where(.main-contents) h2,
:where(.main-contents) h3,
:where(.main-contents) h4,
:where(.main-contents) h5,
:where(.main-contents) h6 {
	font-weight: 600;
	font-family: var(--serif);
}

:where(.main-contents) ul {
	padding-left: 1.5em;
}

:where(.main-contents) figure {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

:where(.main-contents) figure > * {
	margin-top: 10px;
}

:where(.main-contents) figure > *:first-child {
	margin-top: 0;
}

:where(.main-contents) img {
	display: block;
	width: 100%;
}

.PageHeader__ttl .sub {
	font-size: 1.3rem;
}

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

	.PageHeader__ttl .sub {
		transform-origin: center;
		font-size: 2rem;
	}
}

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

.section__ttl {
	margin-top: 0;
	font-weight: bold;
	font-size: 120%;
	background-color: var(--color-txt);
	color: #fff;
	padding: 10px 10px;
	border-radius: 3px;
}

.section__ttl.h-dot {
	padding-left: 25px;
}

.section__ttl.h-dot:before {
	left: 10px;
	width: 0.25em;
	height: 1.5em;
	border-radius: 2px;
}

.subsection > *:first-child {
	margin-top: 0;
}

.subsection__ttl {
	font-size: 110%;
}

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

.subsection-header__ttl {
	font-size: 2.2rem;
}

@media all and (min-width: 768px) {
	.subsection-header__ttl {
		font-size: 2.8rem;
	}
}

@media all and (min-width: 1280px) {
	.subsection-header__ttl {
		font-size: 3.6rem;
	}
}

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

.subsection-header__ttl-inner {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.subsection-header__ttl-inner small {
	font-size: 1.2rem;
	text-align: center;
	opacity: 0.8;
}

@media all and (min-width: 1280px) {
	.PageHeader__ttl .sub {
		transform-origin: center;
		font-size: 2rem;
	}

	.subsection-header__ttl-inner {
		justify-content: flex-start;
	}

	.subsection-header__ttl-inner small {
		margin-top: 1em;
	}
}

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

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

	.SectionIndexSection__list li {
		margin: 0 15px;
	}
}

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

@media (min-width: 1280px) {
	.subsection-body {
		margin-top: 80px;
	}
}

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

.listblocks__item {
	margin-left: 0;
	padding-top: 20px;
	padding-left: 20px;
	padding-bottom: 20px;
	border-left: 1px solid rgba(0,0,0,0.2);
	border-top: 1px solid rgba(0,0,0,0.2);
	box-sizing: border-box;
}

@media (min-width: 768px) {

	.listblocks__item {
		padding-top: 30px;
		padding-left: 30px;
	}
}

@media (min-width: 1280px) {

	.listblocks__item {
		padding-top: 40px;
		padding-left: 40px;
	}
}

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

.dog {
	& .subsection-inner {
		padding-bottom: 2em;
		border-bottom: 1px solid rgba(0,0,0,.1);

		&:last-child {
			border-bottom: none;
			padding-bottom: 0;
		}
	}
}

@media (min-width: 1280px) {

	.dog {
		& .subsection-inner {
			padding-bottom: 3em;
		}
	}
}




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

.std-table__item {
	border-top: 1px dashed rgba(0,0,0,.3);
	padding: 10px 0;
}

.std-table__item + .std-table__item {
	margin-top: 0;
}

/* .std-table__item:last-child {
	border-bottom: 1px dashed rgba(0,0,0,.3);
} */

.std-table__lbl {
	font-weight: bolder;
}

.des-table__des {
	margin: 0;
}


@media all and (min-width: 768px) {
	.std-table__item {
		display: flex;
		justify-content: space-between;
		padding: 20px 0;
	}

	.std-table__lbl {
		width: var(--wcalc5-1);
	}

	.std-table__des {
		width: var(--wcalc5-4);
	}
}



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


.sbs-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.sbs-content__img {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sbs-content__body {
	margin: 0;

	& ul {
		margin: 0;
	}
}

@media all and (min-width: 768px) {
	.sbs-content {
		flex-direction: row-reverse;
		justify-content: space-between;
		gap: 40px;
	}

	.sbs-content__img {
		width: var(--wcalc5-1);
	}

	.sbs-content__body {
		width: var(--wcalc5-4);
	}
}


.fig {
	& figcaption {
		margin-top: 0.5em;
		font-size: 80%;
		font-style: italic;
		line-height: 1.5;
	}
	& img {
		max-width: 160px;
		border-radius: 5px;
	}
}




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



.voice {

	& .voice__list {
		display: flex;
		flex-direction: column;
		gap: 1.5em;
	}

	& .voice__item {
		display: flex;
		flex-direction: column;
		gap: .5lh;
		padding-bottom: 3em;
		position: relative;
		border-bottom: 1px solid rgba(0,0,0,0.08);

		&:last-child {
			padding-bottom: 0;
			border-bottom: none;

			&:after {
				content: none;
			}
		}
	}

	& .voice__patient,
	& .voice__owner {
		display: flex;
		gap: 1em;
		position: relative;
	}

	& .voice__icon {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		aspect-ratio: 1 / 1;
		width: 32px;
		height: 32px;
		overflow: hidden;
		box-sizing: border-box;
		margin-inline: auto;
		z-index: 1;
		position: absolute;
		border-radius: 50%;

		& svg {
			width: 100%;
			height: 100%;
		}
	}

	& .voice__txtWrap {
		width: 85%;
		display: flex;
	}

	& .voice__txtInner {
		position: relative;
		box-sizing: border-box;
		padding: 10px 15px;
		width: auto;
		display: inline-block;
		max-width: 700px;
	}

	& .voice__txt {
		margin: 0;
		width: auto;
		display: inline-block;
	}

	& .voice__patient-wrap {
		display: flex;
		flex-direction: column;
	}

	& .voice__patient {
		align-items: flex-start;

		& .voice__icon {
			/* background-color: rgba(100,91,91,.4); */
			/* background-color: #c0bab9; */
			background-color: #ceb4b4;
			color: var(--color-bg);
			padding: 5px;
			margin-inline: -1.5em auto;
			top: 0;
			left: 0;
		}

		& .voice__txtWrap {
			justify-content: flex-start;
			align-items: flex-start;
			flex-direction: column-reverse;
			margin-top: 1em;
		}

		& .voice__txtInner {
			/* background-color: #eae4e4; */
			background-color: #eee1e1;
			border-radius: 0 20px 20px 20px;
		}

		& .voice__meta {
			opacity: .6;
			font-size: .85em;
			margin-bottom: .3em;
			text-align: right;
		}
	}

	& .voice__owner {
		align-items: flex-end;
		flex-direction: row-reverse;

		& .voice__icon {
			/* background-color: var(--color-txt); */
			background-color: #958383;
			color: var(--color-bg);
			padding: 8px;
			margin-inline: auto -1em;
			bottom: 0;
			right: 0;
		}

		& .voice__txtWrap {
			justify-content: flex-end;
			align-items: flex-end;
			flex-direction: column;
			margin-bottom: 1em;
		}

		& .voice__txtInner {
			background-color: var(--color-txt);
			color: var(--color-bg);
			border-radius: 20px 20px 0 20px;
		}
	}

	.men {
		/* & .voice__patient {

			& .voice__icon {
				background-color: #8fbde0;
			}

			& .voice__txtInner {
				background-color: rgba(70,148,209,0.15);
			}
		} */
	}

	.women {
		/* & .voice__patient {

			& .voice__icon {
				background-color: #ed98a7;
			}

			& .voice__txtInner {
				background-color: rgba(213,6,46,.08);
			}
		} */
	}
}

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

	.voice {

		& .voice__item {
			gap: 1lh;
		}

		& .voice__icon {
			margin-inline: 0 !important;
			position: relative;
			width: 48px;
			height: 48px;
		}

		& .voice__txtWrap {
			margin: 0 !important;
			width: 70%;
		}

		& .voice__patient-wrap {
			gap: .5lh;
		}

		& .voice__patient {

			& .voice__txtWrap {
				flex-direction: column;
			}

			& .voice__txtInner {
				border-radius: 0 30px 30px 30px;
			}

			& .voice__icon {
				padding: 8px;
			}
		}

		& .voice__owner {

			& .voice__txtInner {
				border-radius: 30px 30px 0 30px;
			}

			& .voice__icon {
				padding: 10px;
				background-color: var(--color-txt);
				transform: translateY(4px);
			}
		}
	}
}

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

	.voice {

		& .voice__txtWrap {
			
		}

		& .voice__txtInner {
			padding: 20px 30px;
		}

		& .voice__patient,
		& .voice__owner {
			gap: .75em;
		}

		& .voice__patient {

			& .voice__meta {
				text-align: left;
				/* padding-inline: 30px; */
			}
		}
	}
}



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


.ai {

	& .h-t {
		justify-content: center;
	}

	& .xray__img {
		border: 1px solid rgba(0,0,0,0.2);
		border-radius: 10px;
		box-sizing: border-box;
		padding: 10px;
		/* background-color: #fff; */
		display: flex;
		flex-direction: column;
	}

	& .xray__img-header {
		display: flex;
		flex-direction: column-reverse;
		gap: .5em;
		align-items: center;

		& figcaption {
			display: none;
			text-align: center;
			font-size: 1.2em;
			font-weight: 600;
		}
	}

	& .subsection-logo {
		width: 90%;
		text-align: center;
		margin-block: .5em 1em;
		margin-inline: auto;
	}

	& .subsection-logo-inner {
		margin: 0;
	}

	& .xray__img-inner {
		display: flex;
		flex-direction: row;
		gap: .5em;
	}

	& .xray__img-caption {
		text-align: center;
		position: absolute;
		bottom: 10px;
		right: 0;
		left: 0;
		margin: auto;
		overflow: hidden;

		& .lbl {
			font-size: .9em;
			font-weight: 600;
			line-height: 1.5;
			padding: 3px 7px;
			background-color: #777;
			font-family: var(--sansserif);
			box-sizing: border-box;
			display: inline-block;
			border-radius: 3px;
		}
	}

	& .xray__img-item {
		margin: 0;
		position: relative;

		/* &:before {
			content: "";
			width: calc(100% + 6px);
			height: calc(100% + 6px);
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			margin: auto;
			z-index: 0;
			border-radius: 5px;
		} */

		& img {
			border-radius: 3px;
			box-sizing: border-box;
			position: relative;
		}

		&.original {

			/* &:before {
				background-color: transparent;
			} */

			& .xray__img-caption {
				& .lbl {
					background-color: var(--color-bg);
					color: var(--color-txt);
				}
			}
		}

		&.analysis {

			/* &:before {
				background-color: var(--color-accent);
			} */

			& .xray__img-caption {
				& .lbl {
					background-color: var(--color-accent);
					color: #fff;
				}
			}
		}
	}

	& .outro {
		/* background-color: rgba(181,0,35,.05); */
		/* background-color: #eae4e4; */
		position: relative;
		background-color: rgba(0,0,0,0.025);
		border: 1px solid rgba(0,0,0,0.03);
		padding: 10px 15px;
		box-sizing: border-box;
		border-radius: 5px;

		/* & .icon {
			position: absolute;
			top: -.5em;
			left: -.5em;
			margin: 0;
		} */
	}
}

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

	.ai {

		& .xray__img {
			padding: 40px;
		}

		& .xray__img-caption {
			right: 10px;
			left: auto;
			bottom: 10px;

			& .lbl {
				padding: 5px 10px;
			}
		}
	}
}

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

	.ai {

		& .xray__img-header {
			flex-direction: row;
			justify-content: space-between;
			margin-block: -.25lh 1.25em;

			& figcaption {
				text-align: center;
				width: 50%;
			}
		}

		& .subsection-logo {
			width: 100%;
			margin: 0;
		}

		& .subsection-logo-inner {
			max-width: 400px;
			margin-inline: auto;
		}

		& .xray__img-inner {
			gap: 3em;
		}

		& .xray__img-item {

			/* &:before {
				width: calc(100% + 12px);
				height: calc(100% + 12px);
			} */
		}

		& .outro {

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