@charset "utf-8";

body {
}

/* スマホ用メニュー
----------------------------------------------------------------------------------------------------*/

#drawer-icon::before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 50px;
	height: 50px;
	background: url("../../img/icon_medical.png");
	background-repeat: no-repeat;
	background-position: left 14px top calc(50% + 1px);
	background-size: auto 32px;
}

#drawer-icon {
	width: 100px;
	background: #e4737a;
	top: 20px;
	
}
#drawer-icon span,
#drawer-icon span::before,
#drawer-icon span::after {
	height: 4px;
	background: #fff;
}
#drawer-icon span {
	left: auto;
	right: 10px;
}

#drawer-checkbox:checked ~ #drawer-icon {
	width: 50px;
	background: #e4737a;

}
#drawer-checkbox:checked ~ #drawer-icon::before {
	background-position: left 11px top calc(50% + 1px);
}

@media screen and (max-width:896px) { 
	#drawer-content::-webkit-scrollbar-thumb {
		background: #e4737a;
		border-radius: 2px;
		border-radius: 5px;
	}
}


/* ヘッダーサブメニュー
----------------------------------------------------------------------------------------------------*/
.submenu > li.medical {
	pointer-events: none;
}
.submenu > li:not(.medical) {
	will-change: filter, transform;
	filter: grayscale(100%);
	transition: 0.3s;
}
.submenu > li:not(.medical) a {
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.submenu > li:not(.medical):hover {
	transform: scale(1.05);
}
.submenu > li:not(.medical):hover,
.submenu > li:not(.medical):active {
	filter: grayscale(0%);
	transition: 0.3s;
}
.submenu > li:not(.medical):hover a,
.submenu > li:not(.medical):active a {
	box-shadow: none;
}



#menu h2 {
	display: flex;
	flex-dilection: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 50px;
	color: #fff;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.2;
	background: #e4737a;
	background-position: 0% 50%; 
	background-repeat: no-repeat;
	background-size: 100% auto;
	text-indent: 0;
	position: relative;
}
#menu h2::before {
	content: "";
	width: 43px;
	height: 43px;
	background: url("../../img/icon_medical.png");
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
	position: relative;
}
@media screen and (min-width: 769px) {
	#menu h2::before {
		width: 35px;
		height: 35px;
	}
}
/* 
#menu h2::after {
	content: "";
	width: calc(100% - 4px);
	height: calc(100% - 2px);
	border-right: 2px solid rgba(255, 255, 255, 0.3);
	border-left: 2px solid rgba(255, 255, 255, 0.3);
	position: absolute;
}
 */
#toTop {
//	background-image: url("../../img/totop_member.png"), linear-gradient(#1b50bd, #527bcd);
}

@media screen and (min-width:481px) {
//	#toTop {
//		background: url("../../img/totop_member.png") left top no-repeat;
//		background-size: 100% auto;
//	}
}

/* 医療従事者 会員向けトップページ（スライダー、お知らせ）
----------------------------------------------------------------------------------------------------*/
.medical_top h2 {
	color: #fff;
	background: #e4737a;
}

#medical .news {
	border: 1px solid #e4737a;
}
#medical .news h2::after {
	border-top: 25px solid #e4737a;
}

.medical_information h2 {
	color: #fff;
	background: #e4737a;
}


/* コンテンツ下部のリンクボタン
----------------------------------------------------------------------------------------------------*/
.contents_link {
	overflow: hidden;
	width: calc(100% - 0px);
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 30px;
	margin-right: auto;
	margin-left: auto;
}
body:not(.topPage) .maincol .contents_link > h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	min-height: 44px;
	color: #fff;
	font-size: clamp(16px, 4vw, 18px);
	font-weight: normal;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(50, 0, 20, 0.3);
	padding: 8px 10px;
	border: none;
	background: #2E98C8;
	border-radius: 3px;
	box-shadow: none;
	margin-bottom: 10px;
	position: relative;
}
body:not(.topPage) .maincol .contents_link > h2 span {
	font-size: clamp(12px, 2.5vw, 14px);
}
body:not(.topPage) .maincol .contents_link > h2::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 28px;
	background: url("../..//img/icon_general.png");
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: none;
	position: absolute;
	left: auto;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
body:not(.topPage) .maincol .contents_link > h2::after {
	content: none;
}
.maincol article .contents_link ul {
	display: flex;
	gap: 10px;
	flex-direction: column;
	flex-wrap: wrap;
	padding: 0;
}
.maincol article .contents_link ul > li {
	width: 100%;
	position: relative;
}
.maincol article .contents_link ul li::after {
	content: "";
	width: 5px;
	height: 5px;
	border-top: 1px solid #999;
	border-right: 1px solid #999;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: rotateZ(45deg) translateY(-50%);
}
.maincol article .contents_link ul > li a {
	display: flex;
	justify-content: center;
	height: 100%;
	align-items: center;
	text-decoration: none;
	padding: 10px;
	border: 1px solid #b6c2df;
	color: #333;
	font-size: clamp(14px, 2vw, 16px);
	text-decoration: none;
	padding: 10px 25px 10px 15px;
	border: 2px solid #b6c2df;
	border-top: 1px solid #b6c2df;
	position: relative;
	z-index: 0;
	transition: 0.3s;
}

.maincol article .contents_link ul > li a:hover {
	background: rgba(218, 224, 239, 0.3);
}

@media screen and (min-width: 481px) {
	.maincol article .contents_link ul {
		flex-direction: row;
	}
	.maincol article .contents_link ul > li {
		max-width: calc(calc(100% - 10px) / 2);
	}
}
@media screen and (min-width: 1220px) {
	body:not(.topPage) .maincol .contents_link > h2 {
		flex-direction: row;
	}
	.maincol article .contents_link ul > li {
		max-width: calc(calc(100% - 30px) / 4);
	}
}
