@charset "UTF-8";

/* ======================================================
pc
====================================================== */
@media (min-width: 1001px) {
	#ancselect .anclist {
		gap: 2%;
		margin-bottom: 100px;
	}
	.anclist li {
		width: 23.5%;
	}

/* recept_grid
---------------------------------------------------------------------- */
.recept_grid {
	display: flex;
	justify-content: center;
	gap: 0 3%;
	margin-bottom: 20px;
}
.recept_grid__item {
	width: 48%;
	border: 1px solid var(--primary-color);
	border-radius: 40px;
	background-color: #fff;
	text-align: center;
	padding: 2em 1em;
}
.recept_grid__label {
	display: inline-block;
	border: 1px solid var(--primary-color);
	padding: 0 .5em .1em;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 5px;
}
.recept_grid__time {
	font-size: 3.6rem;
	font-weight: 700;
	color: var(--secondary-color);
	line-height: 1;
	text-align: center;
}
.recept_grid__time span {
	/* font-size: 0.6em; */
	padding: 0 0.1em;
}
.recept_grid__note {
	font-size: 1.8rem;
	color: var(--secondary-color);
	text-align: center;
	margin-bottom: 0.3em;
}
.recept_grid__tel {
	font-size: 3.6rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}
.recept_grid__tel a {
	/* color: var(--secondary-color); */
}
.recept_grid__note2 {
	font-size: 1.4rem;
	text-align: center;
}


/* flow_box
---------------------------------------------------------------------- */
.flow_box {
	position: relative;
	border: 1px solid var(--primary-color);
	border-radius: 20px;
	background-color: #fff;
	overflow: hidden;
	margin-bottom: 40px;
}
.flow_box__ttl {
	background-color: #ffe2e4;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--primary-color);
	text-align: center;
	padding: 0.6em 2em;
	border-bottom: 1px solid var(--primary-color);
}
.flow_box__steps {
	display: flex;
	align-items: stretch;
	height: 100%;
}
.flow_box__step {
	position: relative;
	flex: 1;
	text-align: left;
	padding: 20px;
	border-right: 1px solid var(--primary-color);
}
.flow_box__step:last-child {
	border-right: none;
}
.flow_box__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background-color: var(--secondary-color);
	color: #fff;
	font-size: 2.4rem;
	font-family:"Montserrat", sans-serif;
	font-weight: 500;
}
.flow_box__step p {
	font-size: 1.6rem;
	line-height: 1.5;
}
.flow_box__step .flow_box__step_ttl {
	font-size: 2rem;
	font-weight: 400;
	text-align: center;
	margin-bottom: 0.5em;
}
#secondopinion .flow_box__step p:not(.flow_box__step_ttl) {
	font-size: 1.6rem;
}

.flow_box_grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px 3%;
	margin-bottom: 40px;
}
.flow_box_grid .flow_box {
	width: 48%;
	margin-bottom: 0;
}

.box2__label img.drugicon {
	width: 43px;
	margin-right: 1em;
	vertical-align: middle;
}

#ryouyouhi .box_grid2 {
	margin-bottom: 20px;
}


/* dept_schedule
---------------------------------------------------------------------- */
.dept_date {
	font-size: 1.6rem;
	margin-bottom: 35px;
}
.dept_schedule {
	margin-bottom: 40px;
}
.dept_ttl {
	position: relative;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1;
	color: var(--primary-color);
	padding: 0 0 0 0.8rem;
	margin-bottom: 20px;
	border-left: 4px solid var(--secondary-color);
}
.dept_ttl__sub {
	font-size: 1.6rem;
	font-weight: normal;
	margin-left: 0.8em;
	color: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	padding: 0 0.5em 0.06em;
}
.dept_schedule table.tantoui {
	margin-bottom: 20px
}
.dept_schedule .note {
	font-size: 1.3rem;
	color: var(--primary-color);
}
/* table.tantoui thead th:nth-of-type(1) ,
table.tantoui thead th:nth-of-type(2)  {
	width: 10%;
} */


/* shiharai (mochimono_grid reuse)
---------------------------------------------------------------------- */
#shiharai .mochimono_grid__item {
	width: 32%;
}
#shiharai .mochimono_grid__icon img {
	height: 100%;
	width: auto;
	max-width: 100%;
}
#shiharai .mochimono_grid__item:nth-child(2) {
	order: 3;
}
#shiharai .mochimono_grid__item:nth-child(3) {
	order: 2;
}

/* box_grid2
---------------------------------------------------------------------- */
.box_grid2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 3%;
	margin-bottom: 40px;
}
.box_grid2 .box1,
.box_grid2 .box2 {
	width: 48%;
	margin-bottom: 0;
}

/* box1 (title + body card)
---------------------------------------------------------------------- */
.box1 {
	border: 1px solid var(--primary-color);
	border-radius: 20px;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 40px;
}
.box1__ttl {
	background-color: #ffe2e4;
	border-bottom: 1px solid var(--primary-color);
	color: var(--primary-color);
	font-size: 2.4rem;
	font-weight: 400;
	text-align: center;
	line-height: 1.5;
	padding: 0.5em 0;
}
.box1__body {
	padding: 1em 1.5em;
	font-size: 1.6rem;
	line-height: 1.35;
}

/* box2 (label + body card)
---------------------------------------------------------------------- */
.box2 {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--primary-color);
	border-radius: 20px;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 40px;
}
.box2__label {
	background-color: var(--secondary-color);
	border-right: 1px solid var(--primary-color);
	color: #fff;
	font-size: 2.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 30%;
	flex-shrink: 0;
	line-height: 1.5;
}
.box2__body {
	padding: 1.2em;
	font-size: 1.6rem;
	line-height: 1.4;
	/* display: flex;
	flex-direction: column; */
}
.box2.alert .box2__label {
	background-color: var(--primary-color);
}

/* mochimono_grid
---------------------------------------------------------------------- */
.mochimono_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 2%;
	margin-bottom: 20px;
}
.mochimono_grid__item {
	width: 23.5%;
	border: 1px solid #595656;
	border-radius: 40px;
	background-color: #fff;
	text-align: center;
	padding: 2em 1em 1.6em;
	display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
}
.mochimono_grid__icon {
	height: 90px;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mochimono_grid__icon img {
	max-height: 100%;
	max-width: 100%;
}
.mochimono_grid__ttl {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 0.5em;
	text-align: center;
}
.mochimono_grid__item:not(:has(.mochimono_grid__desc)) .mochimono_grid__ttl {
	margin-bottom: 0;
}
.mochimono_grid__desc {
	font-size: 1.4rem;
	line-height: 1.3;
	text-align: center;
}


/* cnote
---------------------------------------------------------------------- */
.cnote {
	margin-bottom: 35px;
}
.cnote li {
	font-size: 1.4rem;
	line-height: 1.7142857;
	margin-bottom: 12px;
}
.cnote li a {
	color: var(--secondary-color);
}

/* pdfbtn
---------------------------------------------------------------------- */
/* .pdfbtn_wrap {
	text-align: center;
}
.pdfbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8em;
	background-color: var(--secondary-color);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 500;
	border-radius: 100px;
	padding: 0.9em 3em;
	width: 360px;
	height: 40px;
}
.pdfbtn:hover {
	opacity: 0.8;
}
.pdfbtn img {
	position: absolute;
	top: 50%;
	right: 23px;
	transform: translateY(-50%);
	width: 29px;
	height: 31px;
} */

#ryouyouhi .pdflinkbox {
	gap: 40px;
}
#secondopinion .pdflinkbox {
	flex-wrap: wrap;
	gap: 20px 3%;
}
#secondopinion .flow_box {
	margin-bottom: 20px;
}


/* shiharai (mochimono_grid reuse)
---------------------------------------------------------------------- */
#shiharai .mochimono_grid__icon {
	height: 65px;
}
#shiharai .flow_box__num {
	margin-bottom: 20px;
}
#shiharai .mochimono_grid__item:has(.mochimono_grid__desc) {
	/* margin-top: 10px; */
}



} /* End pc */

/* ======================================================
sp
====================================================== */
@media (max-width: 1000px) {

  #ancselect .anclist {
    justify-content: space-between;
    margin-bottom: 16vw;
  }

  .anclist li {
    width: 47.183098%;
  }

/* recept_grid
---------------------------------------------------------------------- */
.recept_grid {
	margin-bottom: 6vw;
}
.recept_grid__item {
	border: 1px solid var(--primary-color);
	border-radius: 5.33334vw;
	background-color: #fff;
	text-align: center;
	padding: 4vw;
	margin-bottom: 5.33334vw;
}
.recept_grid__item:last-child {
	margin-bottom: 0;
}
.recept_grid__label {
	display: inline-block;
	border: 1px solid var(--primary-color);
	padding: 0 .5em .1em;
	font-size: 3.46667vw;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	margin-bottom: 2.66667vw;
}
.recept_grid__time {
	font-size: 6.4vw;
	font-weight: 500;
	color: var(--secondary-color);
	line-height: 1;
	/* margin-bottom: 2vw; */
	text-align: center;
}
.recept_grid__time span {
	/* font-size: 0.6em; */
	padding: 0 0.1em;
}
.recept_grid__note {
	font-size: 3.46667vw;
	color: var(--secondary-color);
	text-align: center;
	margin-bottom: 1vw;
}
.recept_grid__tel {
	font-size: 6.4vw;
	font-weight: 500;
	line-height: 1;
	margin-bottom: 2vw;
	text-align: center;
}
.recept_grid__tel a {
	/* color: var(--secondary-color); */
}
.recept_grid__note2 {
	font-size: 1.2rem;
	text-align: center;
}

/* flow_box
---------------------------------------------------------------------- */
.flow_box {
	position: relative;
	border: 1px solid var(--primary-color);
	border-radius: 4vw;
	background-color: #fff;
	overflow: hidden;
	/* padding: 5vw 4vw; */
	margin-bottom: 4vw;
}
.flow_box__ttl {
	background-color: #ffe2e4;
	font-size: 4.26667vw;
	font-weight: 400;
	color: var(--primary-color);
	text-align: center;
	/* margin: -5vw -4vw 4vw; */
	padding: 3vw 4vw;
	border-bottom: 1px solid var(--primary-color);
	line-height: 1.4;
}
.flow_box__steps {
	display: flex;
	flex-direction: column;
	/* gap: 4vw; */
}
.flow_box__step {
	position: relative;
	text-align: left;
	padding: 0 2.66667vw 2.66667vw;
	border-bottom: 1px solid var(--primary-color);
}
.flow_box__step:last-child {
	/* padding-bottom: 0; */
	border-bottom: none;
}
.flow_box__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 7vw;
	height: 7vw;
	margin: 2.66667vw auto 2vw;
	border-radius: 50%;
	background-color: var(--secondary-color);
	color: #fff;
	font-size: 3.73334vw;
	font-weight: 700;
}
.flow_box__step p {
	font-size: 3.46667vw;
	line-height: 1.6;
}
.flow_box__step p.flow_box__step_ttl {
	font-weight: 400;
	text-align: center;
	line-height: 1.3;
	margin-bottom: 1.33334vw;
}
.flow_box_grid {
	display: block;
}
.flow_box_grid .flow_box {
	width: 100%;
}

.box2__label img.drugicon {
	width: 5.33334vw;
	margin-right: 2vw;
	vertical-align: middle;
}

/* dept_schedule
---------------------------------------------------------------------- */
.dept_date {
	font-size: 3.2vw;
	margin-bottom: 4vw;
}
.dept_schedule {
	margin-bottom: 8vw;
}
.dept_ttl {
	position: relative;
	font-size: 1.8rem;
	font-weight: 400;
	color: var(--primary-color);
	padding: 0 0 0 1.6vw;
	margin-bottom: 3vw;
	border-left: .8vw solid var(--secondary-color);
	line-height: 0.9;
}
.dept_ttl__sub {
	display: inline-block;
	font-size: 3.2vw;
	font-weight: normal;
	color: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	line-height: 1.2;
	padding: 0 0.25em 0.1em;
	vertical-align: middle;
	margin-top: -.3em;
}
.dept_schedule table.tantoui {
	margin-bottom: 2vw;
}
.dept_schedule .note {
	font-size: 3vw;
	color: var(--primary-color);
}

/* shiharai (mochimono_grid reuse)
---------------------------------------------------------------------- */
#shiharai .mochimono_grid__item:nth-child(3) {
	width: 100%;
}


/* box_grid2
---------------------------------------------------------------------- */
.box_grid2 {
	display: block;
	margin-bottom: 6vw;
}
.box_grid2 .box1,
.box_grid2 .box2 {
	width: 100%;
}

/* box1 (title + body card)
---------------------------------------------------------------------- */
.box1 {
	border: 1px solid var(--primary-color);
	border-radius: 3vw;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 4.66667vw;
}
.box1__ttl {
	border-bottom: 1px solid var(--primary-color);
	background-color: #ffe2e4;
	color: var(--primary-color);
	font-size: 4.8vw;
	text-align: center;
	line-height: 1.222222;
	padding: 2.93334vw 0;
}
.box1__body {
	padding: 3.46667vw 3.46667vw;
	font-size: 3.46667vw;
	line-height: 1.307692;
}

/* box2 (label + body card)
---------------------------------------------------------------------- */
.box2 {
	display: block;
	border: 1px solid var(--primary-color);
	border-radius: 3vw;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 5vw;
}
.box2__label {
	border-bottom: 1px solid var(--primary-color);
	background-color: var(--secondary-color);
	color: #fff;
	font-size: 4.8vw;
	text-align: center;
	padding: 3vw 0;
	line-height: 1.3;
}
.box2__body {
	padding: 4vw 2.93334vw;
	font-size: 3.46667vw;
	line-height: 1.307692;
}
.box2.alert .box2__label {
	background-color: var(--primary-color);
}

/* mochimono_grid
---------------------------------------------------------------------- */
.mochimono_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 4vw 3.09858%;
	margin-bottom: 6vw;
}
.mochimono_grid__item {
	width: 48.45071%;
	border: 1px solid #595656;
	border-radius: 5.33334vw;
	background-color: #fff;
	text-align: center;
	padding: 3.33334vw 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.mochimono_grid__icon {
	width: 100%;
	max-width: 13.33334vw;
	height: 12vw;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 3vw;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mochimono_grid__icon img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}
/* .mochimono_grid__item:nth-child(1) .mochimono_grid__icon img {
	max-height: 100%;
	max-width: 13.33334vw;
} */
.mochimono_grid__ttl {
	font-size: 3.73334vw;
	font-weight: 500;
	line-height: 1.375;
	margin-bottom: 3.33334vw;
	text-align: center;
}
.mochimono_grid__item:not(:has(.mochimono_grid__desc)) .mochimono_grid__ttl {
	margin-bottom: 0;
}
.mochimono_grid__desc {
	font-size: 3.2vw;
	line-height: 1.333333;
	text-align: center;
}

/* cnote
---------------------------------------------------------------------- */
.cnote {
	margin-bottom: 5vw;
}
.cnote li {
	font-size: 3.2vw;
	line-height: 1.333333;
	margin-bottom: 4vw;
}
.cnote li a {
	color: var(--secondary-color);
}

} /* End sp */

/* note text size */
.note {
	font-size: 14px;
}
.note1 {
	font-size: 16px;
}

@media screen and (max-width: 1000px) {
.note {
	font-size: 14px;
}
.note1 {
	font-size: 16px;
}
}

/* 検査のみの方：1枠のため全幅に（20261020） */
.flow_box_grid .flow_box:only-child {
	width: 100%;
}
