@charset "UTF-8";

@import url("./wp.css");


/*---------------------------------------------------------
m_img
---------------------------------------------------------*/
.m_img {background-image: url(../images/medical/m_img_med@2x.jpg);}
.symptom .m_img {background-image: url(../images/medical/m_img_sym@2x.jpg);}
.disease .m_img {background-image: url(../images/medical/m_img_dis@2x.jpg);}


/*---------------------------------------------------------
med_leadbox
---------------------------------------------------------*/
.med_leadbox {
	position: relative;
	background-color: #edf6f3;
	padding-bottom: 100px;
	margin-bottom: 80px;
}
.med_leadbox::before {
	content: "";
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 20vw;
	max-height: 240px;
	background: url("../images/medical/med_obj@2x.png") no-repeat center center;
	background-size: contain;
	left: 0;
	top: 0;
	transform: translateY(-15%);
}
.med_leadbox h1 {
	position: relative;
	text-align: center;
	font-size: min(366%,5vw);
	letter-spacing: .15em;
	line-height: 1.2em;
	margin: 1.5em auto;
}
.mokuzi_box {
	background-color: #fff;
	box-sizing: border-box;
	padding: 70px 5%;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.med_leadbox {
	padding-bottom: 10%;
	margin-bottom: 8%;
}
.med_leadbox h1 {
	letter-spacing: .1em;
	margin: 1.2em auto;
}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.med_leadbox {
	padding-bottom: 12%;
	margin-bottom: 10%;
}
.med_leadbox h1 {
	font-size: 150%;
	letter-spacing: .05em;
	margin: 1.2em auto;
}
.mokuzi_box {
	padding: 7% 6% 10%;
}
}


/*---------------------------------------------------------
med_anc_links
---------------------------------------------------------*/
.med_anc_links {
	font-weight: bold;
	letter-spacing: .15em;
	line-height: 1.4em;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(3,31%);
}
.med_anc_links > li {
	border-bottom: solid 1px #b3b9bc;
}
.med_anc_links a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 5.5em;
	padding-left: 4em;
}
.med_anc_links a::before {
	position: absolute;
	display: block;
	font-family: 'fontello';
	content: '\e801';
	color: #FFF;
	text-align: center;
	font-weight: normal;
	letter-spacing: normal;
	line-height: 1.6;
	background-color: #47a789;
	border-radius: 50%;
	width: 1.6em;
	left: 1em;
	top: 50%;
	translate: 0 -50%;
	transition: all .4s;
}
.med_anc_links a:hover {
	color: #47a789;
}
.med_anc_links a:hover::before {
	top: 54%;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.med_anc_links {
	font-size: 90%;
	letter-spacing: .05em;
}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.med_anc_links {
	font-size: 90%;
	letter-spacing: normal;
	grid-template-columns: repeat(2,48.5%);
}
.med_anc_links a {
	height: 4.5em;
	padding-left: 2.5em;
}
.med_anc_links a::before {
	left: 0;
	font-size: 90%;
}
}


/*---------------------------------------------------------
med_flow_list
---------------------------------------------------------*/
.med_flow_list {
	counter-reset: mycounter;
}
.med_flow_list dl {
	margin-bottom: 40px;
}
.med_flow_list dl:last-of-type {
	margin-bottom: 0;
}
.med_flow_list dt {
	position: relative;
	font-size: min(200%,2.8vw);
	letter-spacing: .1em;
	line-height: 1.6;
	padding-left: 3.8em;
	padding-top: .3em;
	margin-bottom: 1em;
}
.med_flow_list dt .no {
	position: absolute;
	font-family: "adobe-garamond-pro", serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: #FFF;
	font-size: 116%;
	letter-spacing: .1em;
	line-height: 1;
	background-color: #7ecdb6;
	padding: .4em .6em .4em .7em;
	left: 0;
	top: 0;
}
.med_flow_list dt .no::before {
	display: block;
	counter-increment: mycounter;
	content: counter(mycounter, decimal-leading-zero);
}
.med_flow_list dt .no::after {
	position: absolute;
	content: "";
	background-color: inherit;
	width: .5em;
	height: .3em;
	left: 0;
	right: 0;
	top: 99%;
	margin: auto;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.med_flow_list dd .img_r {
	max-width: 340px;
}
.med_flow_list dd .img_r img {
	width: 100%;
	margin: 0;
}
/* PC,Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) {
.med_flow_list dd .img_r {
	float: right;
	width: 32%;
	margin: 0 0 .5em 4%;
}
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.med_flow_list dl {
	margin-bottom: 4%;
}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.med_flow_list dl {
	margin-bottom: 6%;
}
.med_flow_list dt {
	font-size: 120%;
	letter-spacing: .1em;
}
.med_flow_list dd .img_r {
	width: 70%;
	margin: 0 auto 5%;
}
}


/*---------------------------------------------------------
med_links
---------------------------------------------------------*/
.med_links {
	background-color: #f6f5f4;
	padding-top: 80px;
	padding-bottom: 80px;
	margin-top: 70px;
}
.med_links dl {
	margin-bottom: 40px;
}
.med_links dl:last-child {
	margin-bottom: 0;
}
.med_links dt {
	font-size: 133%;
	letter-spacing: .2em;
	line-height: 1.4em;
	padding-left: 1.0em;
	position: relative;
}
.med_links dt::before {
	content: "";
	position: absolute;
	width: .6em;
	height: .6em;
	border-radius: 50%;
	box-sizing: border-box;
	border: solid 4px #99a3a6;
	left: 0;
	top: .4em;
}
.med_links dd {
	font-weight: bold;
	letter-spacing: .15em;
	line-height: 1.0em;
}
.med_links .links_list {
	display: flex;
    flex-wrap: wrap;
}
.med_links .links_list p,
.med_links .links_list li {
	margin-left: 1.0em;
	border-left: solid 1px #000;
	padding-left: 1.0em;
	margin-top: 1.0em;
}  
.med_links .links_list p:first-child,
.med_links .links_list li:first-child {
	margin-left: 0;
	border-left: none;
	padding-left: 0;
}
.med_links .links_list a:hover {
	text-decoration: underline;
	color: #666;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.med_links {
	padding-top: 4%;
	padding-bottom: 4%;
	margin-top: 6%;
}
.med_links dl {
	margin-bottom: 5%;
}
.med_links dt {
	font-size: 115%;
	letter-spacing: .15em;
}
.med_links dd {
	letter-spacing: .1em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.med_links {
	padding-top: 8%;
	padding-bottom: 8%;
	margin-top: 10%;
}
.med_links dl {
	margin-bottom: 6%;
}
.med_links dd {
	font-size: 90%;
	letter-spacing: normal;
}
}


/*---------------------------------------------------------
color
---------------------------------------------------------*/
/*診療科目*/
.medical .med_leadbox {background-color: #f3f4f4;}
.medical a.free_btn1::after,
.medical .med_anc_links a::before,
.medical .single_page h2 {background-color: #878f8e;}
.medical .med_anc_links a:hover,
.medical .single_page h3::before,
.medical .free_area ol > li::before {color: #878f8e;}
.medical .single_page h4 {color: #646e8e;}
.medical .single_page h4::before {background-color: #abb1b0;}
.medical .single_page h5 {background-color: #e1e3e3;}
.medical .free_area ul > li::before {color: #e1e3e3;}
.medical .com_faq dt {background-color: #eaedf4;}
.medical .com_faq dt:hover {background-color: #dae1ed;}
.medical .com_faq dt .icon_open,
.medical .com_faq dt::before,
.medical .com_faq dd::before {color: #98a3c6;}
.medical .med_flow_list .no {background-color: #98a3c6;}
/*疾患*/
.disease .med_leadbox {background-color: #edf5f9;}
.disease a.free_btn1::after,
.disease .med_anc_links a::before,
.disease .single_page h2 {background-color: #4e9bc0;}
.disease .med_anc_links a:hover,
.disease .single_page h3::before,
.disease .free_area ol > li::before {color: #4e9bc0;}
.disease .single_page h4 {color: #1078aa;}
.disease .single_page h4::before {background-color: #83b9d3;}
.disease .single_page h5 {background-color: #d3e6ef;}
.disease .free_area ul > li::before {color: #d3e6ef;}
.disease .com_faq dt {background-color: #dff4f6;}
.disease .com_faq dt:hover {background-color: #cef0f2;}
.disease .com_faq dt .icon_open,
.disease .com_faq dt::before,
.disease .com_faq dd::before {color: #60c6d2;}
.disease .med_flow_list .no {background-color: #60c6d2;}


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

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

/* PC,Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) {

}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {


}
