@charset "utf-8";

:root {
	--txt-blue: #007a92;
	--tab-color-patient: #0080a3;
	--tab-color-family: #00a077;
	--btn-txt-blue: #0f5f91;
	--btn-bg-yellow: #f4ce76;
	--btn-ico-right-blue: #0095b2;
	--line-gray: #ddd;
	--radius-size: 12px;
	--audio-size: 380px;
	--ico-size: 51px;
	/* --ico-size-m: 36px; */
	--ico-pd: 55px;
	/* --ico-pd-m: 52px; */
	--btn-h: 60px;
	/* --btn-h-m: 56px; */
}

@media screen and (max-width: 767px) {
	:root {
		--ico-size: 38px;
		--ico-pd: 52px;
		--btn-h: 56px;
	}
}

/* サイト共通設定の上書き */
body {
	color: #333;
}
#wrapper {
	padding-top: 0;
	padding-bottom: 90px;
}
#header {
	position: inherit;
}
#contents {
	padding-bottom: 0;
	letter-spacing: 0.1em;
}
#contents-body {
	background-color: #fff;
	background-image: none;
	padding-top: 0;
	padding-bottom: 0;
}
#contents-body .txt {
	letter-spacing: 0.1em;
}
#contents-body .inner {
	max-width: 980px;
}
#contents-body *:not(.fig-ttl) + .fig {
	margin-top: 30px;
}
a:hover span {
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	#wrapper {
		padding-bottom: 76px;
	}
	#contents-body {
		padding: 0;
	}
}

/* ============= ▼▼ここからコンテンツ▼▼ ============= */
/* ------------------------------
   common
------------------------------ */
button:focus-visible {
	outline: solid 2px #f49c24;
}
/* utility */
.ilb {
	display: inline-block;
}
.indent {
	padding-left: 1em;
	text-indent: -1em;
}
.txt-mb {
	margin-bottom: 1.6em;
}

/* ------------------------------
   kv
------------------------------ */
#contents .kv .inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 0;
}

/* ------------------------------
   section 共通
------------------------------ */
.sec {
	margin-top: 100px;
}
.sec-head {
	margin-bottom: 30px;
	&.sec-head-bg-pastel {
		padding-block: 10px;
		background: url(/others/03/img/bg_ttl_pastel.png);
	}
	&.ttl_bg-blue {
		margin-bottom: 60px;
		color: #fff;
		padding-block: 10px;
		background: url(/others/03/img/bg_ttl_blue.png);
		.audio-txt {
			color: #fff;
		}
	}
}
.sec-ttl {
	margin-top: 10px;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0;
}
.audioPanel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
	margin-top: 0;
	.audioPanel-player {
		width: min(calc(100vw - 40px), var(--audio-size));
	}
	&.is-open {
		display: inline-block;
		opacity: 1;
		max-height: 120px;
		margin-top: 14px;
	}
}

/* セクション音声 */
.audio {
	display: flex;
	gap: 10px;
}
.audio-btn {
	min-height: var(--ico-size);
	padding: 0 0 0 var(--ico-pd);
	border: none;
	background-color: transparent;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: left 0 top 0;
	background-size: var(--ico-size) var(--ico-size);
	&.audio-btn-blue {
		background-image: url(/others/03/img/ico_audio.png);
	}
	&.audio-btn-white {
		background-image: url(/others/03/img/ico_audio_white.png);
	}
}
.audio-txt {
	display: grid;
	grid-template-rows: auto auto;
	gap: 8px;
	color: var(--txt-blue);
	text-align: left;
}
.audioTitle {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.33;
}
.audioTitle-sec {
	position: relative;
	margin-inline: -0.5em -0.2em;
	&.is-all-audio {
		margin-inline: 0;
	}
	&::after {
		content: '';
		position: absolute;
		left: 0.5em;
		right: 0;
		bottom: 3px;
		height: 1px;
		background: currentColor;
	}
}
.audioTitle-status {
	position: relative;
	&::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 3px;
		height: 1px;
		background: currentColor;
	}
}
.audio-time {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
}
.audio-stop {
	display: none;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1;
	text-decoration: underline;
}

/* セクション音声（再生時） */
.audio-btn[aria-expanded="true"] {
	&.audio-btn-blue {
		background-image: url(/others/03/img/ico_stop.png);
	}
	&.audio-btn-white {
		background-image: url(/others/03/img/ico_stop_white.png);
	}
	 .audioTitle {
		font-size: 0.875rem;
		font-weight: 500;
	}
	.audioTitle-sec::after,
	.audioTitle-status::after {
		content: none;
	}
	.audio-time {
		display: none;
	}
	.audio-stop {
		display: block;
	}
}

#contents-body .sec-body .inner {
	max-width: 950px;
}
#contents-body .sec-body .inner-large {
	max-width: 980px;
}

.note {
	font-size: 0.9375rem;
	line-height: 1.33;
}

/* リファレンス */
.reference {
	display: grid;
	gap: 10px;
	margin-top: 30px;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
}
.reference a {
	text-decoration: underline;
}


@media screen and (max-width: 767px) {
	.sec {
		margin-top: 60px;
	}
}

/* ------------------------------
   section はじめに
------------------------------ */
.leadArea {
	display: grid;
	gap: 1.5em;
	margin-bottom: 16px;
}
#sec01 .txt {
	font-size: 1.25rem;
	font-weight: bold;
}

@media screen and (max-width: 767px) {
	.audio-btn {
		--ico-size: 51px;
		--ico-pd: 56px;
	}
	.reference {
		font-size: 0.6875rem;
	}
}

/* ------------------------------
   こんな思いをお持ちではありませんか？
------------------------------ */
.tabContents {
	margin-bottom: 80px;
	color: #fff;
}
[role="tablist"] {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}
[role="tab"] {
	min-width: 160px;
	padding: 14px;
	font-size: 1.125rem;
	line-height: 1;
	color: #555;
	font-weight: bold;
	border: none;
	border-radius: var(--radius-size) var(--radius-size) 0 0;
	cursor: pointer;
}

@media screen and (max-width: 767px) {
	[role="tab"] {
		width: calc(50% - 4px);
		padding-inline: 8px;
	}
}

/* タブ アクティブ状態 */
[role="tab"][aria-selected="true"] {
	padding-top: 24px;
	padding-bottom: 18px;
	font-size: 1.25rem;
	color: #fff;
}

/* 各タブ色 */
[role="tab"][data-tab="tab1"] {
	background-color: color-mix(in srgb, var(--tab-color-patient) 50%, white 100%);
}
[role="tab"][data-tab="tab1"][aria-selected="true"] {
	background: var(--tab-color-patient);
}
[role="tabpanel"][data-tab="tab1"] {
	border-top: 4px solid var(--tab-color-patient);
}

[role="tab"][data-tab="tab2"] {
	background-color: color-mix(in srgb, var(--tab-color-family) 50%, white 100%);
}
[role="tab"][data-tab="tab2"][aria-selected="true"] {
	background: var(--tab-color-family);
}
[role="tabpanel"][data-tab="tab2"] {
	border-top: 4px solid var(--tab-color-family);
}

/* タブ パネル */
[role="tabpanel"] {
	padding: 16px 16px 26px;
	border-radius: 0 0 var(--radius-size) var(--radius-size);
}
[role="tabpanel"][data-tab="tab1"] {
	background: var(--tab-color-patient);
}
[role="tabpanel"][data-tab="tab2"] {
	background: var(--tab-color-family);
}

.tabItems {
	display: grid;
	gap: 14px;
	margin-bottom: 40px;
	.tabItems-item {
		padding: 14px;
		color: #555;
		line-height: 1.75;
		border-radius: var(--radius-size);
		background-color: #fff;
	}
}

.tabMsg {
	display: grid;
	gap: 30px;
	padding-inline: 8px;
	.tabMsg-heding {
		font-size: 1.375rem;
	}
	.tabMsg-txt {
		line-height: 2;
	}
}

/* 相談カード */
#discussCard {
	max-width: 510px;
	margin-inline: auto;
}
.card {
	border-radius: var(--radius-size);
	padding: 5px;
	background-color: var(--txt-blue);
	.card-head {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		padding: 14px;
		color: var(--txt-blue);
		border-radius: 8px 8px 0 0;
		background-color: #fff;
	}
	.card-ttl {
		font-size: 1.625rem;
		font-weight: bold;
		line-height: 1;
	}
}
.card-head {
	.card-txt {
		font-size: 0.9375rem;
		font-weight: 500;
		line-height: 1.33;
		text-align: center;
	}
}
.card-body {
	text-align: center;
	padding: 30px 10px;
	color: #fff;
	[class^='card-body-'] {
		flex-direction: column;
		align-items: center;
	}
	.card-body-default {
		display: flex;
		gap: 20px;
	}
	.card-body-open {
		display: none;
		gap: 20px;
	}
	.txt-1 {
		font-size: 1.625rem;
		font-weight: bold;
		line-height: 1.5;
		letter-spacing: 0;
	}
	.txt-2 {
		font-size: 1rem;
		line-height: 1.75;
		font-weight: bold;
		letter-spacing: 0.05em;
	}
	.card-date{
		font-size: 0.9375rem;
		align-self: self-end;
		letter-spacing: 0.05em;
	}
}

/* ボタン（黄色） */
.btn {
	display: grid;
	place-content: center;
	width: 290px;
	height: 48px;
	font-weight: bold;
	color: var(--btn-txt-blue);
	border: 0;
	border-radius: 30px;
	background-color: var(--btn-bg-yellow);
	&:hover,
	&:focus {
		text-decoration: none;
	}
}

.card-body-default .btn {
	font-size: 1.625rem;
	cursor: pointer;
}
.cardDownload {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: 18px;
	color: var(--txt-blue);
}
/* 相談カード（オープン表示） */
#discussCard.is-open {
	.card-body-default {
		display: none;
	}
	.card-body-open,
	.cardDownload {
		display: flex;
	}
}

/* ------------------------------
   ガイダンス
------------------------------ */
.guidance {
	padding-top: 172px;
	background: url(/others/03/img/line_genome.png) repeat-x left 50% top 0;
	.inner {
		text-align: center;
	}
	.sec-ttl {
		margin-bottom: 20px;
		font-size: 1.25rem;
		font-weight: bold;
		color: var(--txt-blue);
		line-height: 1.75;
	}
}
.guidanceLink {
	display: grid;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
	padding: 30px 20px;
	background-color: #ffead7;
	.guidanceLink-txt {
		font-size: 0.9375rem;
		font-weight: bold;
		text-align: center;
	}
	.guidanceLink-btns {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 30px;
	}
}
.btn-ico-right {
	display: grid;
	align-items: center;
	width: 240px;
	height: 68px;
	padding-inline: 22px 72px;
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: 0.02em;
	color: var(--txt-blue);
	border: 2px solid var(--btn-ico-right-blue);
	border-radius: 34px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: right 4px top 50%;
	background-size: 60px 60px;
	&:hover,
	&:focus {
		text-decoration: none;
	}
	&.icon-map {
		background-image: url(/others/03/img/ico_map.png);
	}
	&.icon-genome {
		background-image: url(/others/03/img/ico_genome.png);
	}
	.txt-icon-blank::after {
		content: '';
		display: inline-block;
		width: 12px;
		height: 12px;
		margin-left: 5px;
		background: url(/others/03/img/ico_blank.png) no-repeat left 0 top 50% / contain;
	}
}

.created {
	padding-block: 20px;
	border-bottom: 1px solid var(--line-gray);
	.created-date {
		font-size: 0.75rem;
		font-weight: bold;
		text-align: right;
		letter-spacing: 0.03em;
	}
}

/* ------------------------------
   フローティングボタン
------------------------------ */
.floating {
	position: fixed;
	bottom: 0;
	width: 100%;
	border-top: 1px solid var(--line-gray);
	z-index: 10;
}
.floating-btns {
	display: grid;
	grid-template-rows: repeat(2, auto);
	align-items: center;
	grid-template-areas:
		'floating-top'
		'floating-bottom';
}
.floating-btns-top {
	grid-area: floating-top;
	display: flex;
	justify-content: flex-end;
	padding: 15px 10px;
	background-color: #fff;
}
.floting-audioBtns {
	position: fixed;
	left: 10px;
	bottom: 15px;
	display: flex;
	justify-content: space-between;
	z-index: 20;
	&.is-show {
		bottom: 105px;
	}
}

.btn-line {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	height: var(--btn-h);
	padding-inline: var(--btn-h) 22px;
	text-align: left;
	color: var(--txt-blue);
	border: 2px solid var(--txt-blue);
	border-radius: 30px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: left 4px top 50%;
	background-size: var(--ico-size) var(--ico-size);
	cursor: pointer;
	&.icon-audio {
		background-image: url(/others/03/img/ico_audio.png);
	}
	&.icon-stop {
		background-image: url(/others/03/img/ico_stop.png);
	}
	.btn-txt {
		font-size: 1.25rem;
		font-weight: bold;
		line-height: 1;
	}
	.audioTitle {
		font-size: 0.875rem;
		font-weight: 500;
		line-height: 1;
		text-decoration: none;
	}
	.audioTitle-sec::after,
	.audioTitle-status::after {
		content: none;
	}
	/* フローティング 音声ボタン（表示切替え用） */
	&.is-hidden {
		display: none;
	}
}

.floating-btns-bottom {
	grid-area: floating-bottom;
	height: 0;
	background-color: var(--txt-blue);
	transition: 0.1s ease;
	.btn {
		width: 300px;
		height: var(--btn-h);
		margin-inline: auto;
		font-size: 1.25rem;
	}
	&.is-show {
		height: initial;
		padding-block: 15px;
	}
}

@media screen and (max-width: 767px) {
	.floating {
		border-top: none;
	}
	.floating-btns-top {
		padding-block: 10px;
		background-color: transparent;
	}
	.floting-audioBtns {
		bottom: 10px;
		&.is-show {
			bottom: 86px;
		}
	}
	.btn-line {
		gap: 8px;
		padding-right: 20px;
		.btn-txt {
			font-size: 1.125rem;
		}
	}
	.floating-btns-bottom {
		&.is-show {
			padding-block: 10px;
		}
	}
}

/* ------------------------------
   モーダル
------------------------------ */
.modal {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 9999;
	&.is-open {
		display: grid;
		place-items: center;
	}
	.audio {
		display: flex;
		flex-direction: column;
		gap: 10px;
		max-width: var(--audio-size);
		margin: 20px auto;
	}
	.audioPanel-player {
		width: min(calc(100vw - 80px), var(--audio-size));
	}
	.audio-btn {
		width: min(100%, var(--audio-size));
		height: var(--btn-h);
		padding-top: 4px;
		padding-inline: var(--ico-pd) 23px;
		border: 2px solid var(--txt-blue);
		border-radius: 30px;
		background: url(/others/03/img/ico_audio.png) no-repeat left 4px top 50% / var(--ico-size) var(--ico-size);
	}
	.audioTitle-sec {
		margin-inline: 0;
	}
	.audioTitle-sec::after,
	.audioTitle-status::after {
		content: none;
	}
	.audio-txt {
		gap: 4px;
		text-align: center;
	}
	.audioTitle {
		justify-content: center;
		font-size: 1.125rem;
		font-weight: bold;
		line-height: 1;
		text-decoration: none;
	}
	.audio-time {
		font-size: 0.8125rem;
		font-weight: 500;
		line-height: 1;
	}
	.audio-stop {
		display: none;
		font-size: 1.125rem;
		font-weight: bold;
		line-height: 1;
		text-decoration: none;
	}
	/* 再生中表示 */
	.audio-btn[aria-expanded="true"] {
		background-image: url(/others/03/img/ico_stop.png);
		.audio-time {
			display: none;
		}
		.audio-stop {
			display: block;
		}
	}
}
.modalOverlay {
	position: absolute;
	inset: 0;
	background: rgba(51, 51, 51, 0.5);
}

.modalContent {
	position: relative;
	z-index: 1;
	max-height: calc(100vh - 80px);
	background: #fff;
	padding: 20px;
	margin: 0;
}
.modalCloseBtn {
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
	&.btn-close {
		position: absolute;
		top: -50px;
		right: -5px;
		width: 45px;
		height: 45px;
		img {
			width: 100%;
			height: auto;
		}
	}
	&.icon-close {
		width: 150px;
		height: 48px;
		padding-inline: 35px 20px;
		border: 2px solid var(--txt-blue);
		border-radius: 24px;
		font-size: 1.125rem;
		font-weight: bold;
		color: var(--txt-blue);
		letter-spacing: 0.2em;
		background: url(/others/03/img/ico_close.png) no-repeat left 4px top 50% / 35px 35px;
	}
}
.modalClose {
	display: grid;
	justify-content: center;
	width: var(--audio-size);
	margin-inline: auto;
	padding-top: 20px;
	border-top: 1px solid var(--line-gray);
}

@media screen and (max-width: 767px) {
	.modalContent {
		width: calc(100% - 80px);
	}
	/* .modal .audio-btn {
		width: 100%;
	} */
	.modalClose {
		width: 100%;
	}
}

/* ------------------------------
   ページトップ
------------------------------ */
#pagetop {
	position: initial;
	bottom: initial;
	left: initial;
	right: initial;
	width: initial;
	height: initial;
	margin: 5px 0;
	background-color: transparent;
}
#pagetop.dead-end {
	position: absolute;
}
#pagetop a {
	position: initial;
	right: initial;
	bottom: initial;
}

/*ランドスケープ時*/
#wrapper.landscape #pagetop a {
	bottom: -150px;
}
#wrapper.landscape #pagetop a.show {
	bottom: 15px;
}

#special_footer {
	text-align: center;
	padding: 40px 0 10px;
}

@media screen and (max-width: 767px) {
	#header .inner {
		height: max(12vw, 45px);
	}
	#header .chugai-logo {
		width: inherit;
		padding-right: 4%;
	}
	#contents-body .txt {
		font-size: 1.125rem;
	}
	#special_footer {
		text-align: center;
		padding: 12px 0;
	}
	#special_footer .chugai-logo {
		width: 137px;
		margin: 0 auto;
	}
	#special_footer .chugai-logo img {
		width: 100%;
		height: auto;
	}
}

/** LP先行公開対応 **/
/* ----------------------------
  外部サイトリンク
---------------------------- */
#modal-link {
	max-width: 880px;
	box-sizing: border-box;
	padding: 65px 30px;
	background-color: #FFF;
	position: relative;
}
#modal-link .ex-ttl {
	font-size: 22px;
	font-weight: bold;
	color: #596875;
	text-align: center;
	margin-bottom: 25px;
}
#modal-link .ex-txt {
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	margin-bottom: 30px;
}

#modal-link .ex-btn {
	color: #d54307;
	text-align: center;
}
#modal-link .ex-btn a {
	display: inline-block;
	min-width: 350px;
	border: 1px solid #d54307;
	padding: 17px 25px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: bold;
	color: #d54307;
	text-align: center;
	text-decoration: none;
}
#modal-link .ex-btn a:hover {
	text-decoration: underline;
}
#modal-link .ex-btn a::after {
	content: "";
	display: inline-block;
	background: url(/others/03/img/ico_blank_orange.png) no-repeat left 50% top 50% / contain;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	margin-left: 8px;
	margin-top: -2px;
}

#modal-link .btn-close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
}

.remodal-overlay {
	background-color: rgba(122,138,152,0.3);
}
@media screen and (max-width: 767px) {
	#modal-link {
		width: 100%;
		box-sizing: border-box;
		padding: 30px 20px;
		background-color: #FFF;
		position: relative;
	}
	#modal-link .ex-ttl {
		font-size: 16px;
		font-weight: bold;
		color: #596875;
		text-align: center;
		margin-bottom: 15px;
	}
	#modal-link .ex-txt {
		font-size: 13px;
		line-height: 1.8;
		text-align: center;
		margin-bottom: 20px;
	}

	#modal-link .ex-btn {
		color: #d54307;
		text-align: center;
	}
	#modal-link .ex-btn a {
		display: block;
		min-width: 0;
		border: 1px solid #d54307;
		padding: 10px;
		box-sizing: border-box;
		font-size: 12px;
		font-weight: bold;
		color: #d54307;
		text-align: center;
		text-decoration: none;
	}
	#modal-link .ex-btn a:hover {
		text-decoration: underline;
	}
	#modal-link .ex-btn a::after {
		display: inline-block;
		width: 10px;
		height: 10px;
		margin-left: 5px;
	}

	#modal-link .btn-close {
		display: block;
		width: 30px;
		height: 30px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 10;
	}
	#modal-link .btn-close img {
		width: 100%;
		height: auto;
	}

	.remodal-overlay {
		background-color: rgba(122,138,152,0.3);
	}
}

/* ----------------------------
  外部サイトリンク 汎用パーツ
---------------------------- */
a.icon-blank::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 5px;
	vertical-align: middle;
	background: url(/others/03/img/ico_blank_gray.png) no-repeat left 0 top 50% / contain;
}


.sp_disp {
	display: none!important;
}

.disp-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media screen and (max-width: 767px) {
	.pc_disp {
		display: none!important;
	}
	.sp_disp {
		display: block!important;
	}
	table.sp_disp {
		display: table!important;
	}
	tbody.sp_disp {
		display: table-row-group!important;
	}
	img.sp_disp {
		display: inline-block!important;
	}
	br.sp_disp {
		display: inline!important;
	}
}