@charset "UTF-8";


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

------------------------------------------*/
.p-medical .medical__list {
	margin-top: var(--gap-80);
	width: min(100%,1376px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 3%;
	margin-bottom: var(--gap-80);
}
.p-medical .medical__list > li {
	border-bottom: solid 1px #818181;
	position: relative;
}
.p-medical .medical__list > li:nth-child(-n+3) {
	border-top: solid 1px #818181;
}
.p-medical .medical__list .medical__list-name {
	text-decoration: none;
	font: var(--font-min);
	font-size: var(--fs-24);
	letter-spacing: .05em;
	line-height: 1.3em;
	padding-left: 25%;	/*揃える*/
	position: relative;
	height: 5.0em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.p-medical .medical__list .medical__list-name::before {
	content: "";	/*アイコン*/
	position: absolute;
	width: 25%;	/*揃える*/
	height: 100%;
	left: 0;
	top: 0;
	background-image: url("../../images/icon-med2.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 2.8em auto;
}
.p-medical .medical__list .medical__list-name::after {
	content: "";
	position: absolute;
	width: 10px;
	aspect-ratio: 1 / 1;
	right: 0;
	bottom: 10px;
	background: url("../../images/corner-c.png") no-repeat left top;
	background-size: contain;
}
.p-medical .medical__list .medical__list-open {
	background: var(--color-light);
	font-size: var(--fs-12);
	letter-spacing: .1em;
	line-height: 2.0em;
	padding: 2.0em;
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 1px);
	width: 100%;
	z-index: 10;
}

.p-medical .medical__list .icon_implant .medical__list-name::before {background-image: url("../../images/icon-med2.png");}
.p-medical .medical__list .icon_perio .medical__list-name::before {background-image: url("../../images/icon-med1.png");}
.p-medical .medical__list .icon_mouthpiece .medical__list-name::before {background-image: url("../../images/icon-med7.png");}

.p-medical .medical__list .icon_boroboro .medical__list-name::before {background-image: url("../../images/icon-med11.png");}
.p-medical .medical__list .icon_root .medical__list-name::before {background-image: url("../../images/icon-med6.png");}
.p-medical .medical__list .icon_cavity .medical__list-name::before {background-image: url("../../images/icon-med12.png");}

.p-medical .medical__list .icon_wisdom-teeth .medical__list-name::before {background-image: url("../../images/icon-med13.png");}
.p-medical .medical__list .icon_whitening .medical__list-name::before {background-image: url("../../images/icon-med14.png");}
.p-medical .medical__list .icon_preventive-dentistry .medical__list-name::before {background-image: url("../../images/icon-med15.png");}

.p-medical .medical__list .icon_aesthetic .medical__list-name::before {background-image: url("../../images/icon-med8.png");}
.p-medical .medical__list .icon_transplant .medical__list-name::before {background-image: url("../../images/icon-med9.png");}
.p-medical .medical__list .icon_microscope .medical__list-name::before {background-image: url("../../images/icon-med10.png");}

.p-medical .c-med-menu__list {
	display: flex;
    justify-content: center;
}
.p-medical .c-med-menu__list li {
	border: none;
	width: min(30%,264px);
}
.p-medical .c-med-menu__list .typ-btn a {
	background: var(--color-navy);
	color: #fff;
}
.p-medical .c-med-menu__list .typ-btn a:hover {
	background: var(--color-blue);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.p-medical .medical__list {
	column-gap: 2%;
}
.p-medical .medical__list .medical__list-open {
	letter-spacing: .05em;
	line-height: 1.8em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.p-medical .medical__list {
	grid-template-columns: repeat(2, 1fr);
	column-gap: 2%;
}
.p-medical .medical__list > li:nth-child(3) {
	border-top: none;
}
.p-medical .medical__list .medical__list-name {
	text-align: center;
	font-size: var(--fs-20);
	letter-spacing: .05em;
	padding-left: 0;
	height: 7.0em;
	padding-top: 3.0em;
}
.p-medical .medical__list .medical__list-name::before {
	top: .8em;
	width: 100%;	/*アイコン*/
	height: 2.5em;
	background-size: contain;
}
.p-medical .medical__list .medical__list-name::after {
	content: "";
	position: absolute;
	width: 10px;
	aspect-ratio: 1 / 1;
	right: 0;
	bottom: 10px;
	background: url("../../images/corner-c.png") no-repeat left top;
	background-size: contain;
}
.p-medical .medical__list .medical__list-open {
	background: var(--color-light);
	font-size: var(--fs-12);
	letter-spacing: .1em;
	line-height: 2.0em;
	padding: 2.0em;
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 10;
}

.p-medical .medical__list .icon_implant .medical__list-name::before {background-image: url("../../images/icon-med2.png");}
.p-medical .medical__list .icon_perio .medical__list-name::before {background-image: url("../../images/icon-med1.png");}
.p-medical .medical__list .icon_mouthpiece .medical__list-name::before {background-image: url("../../images/icon-med7.png");}

.p-medical .medical__list .icon_boroboro .medical__list-name::before {background-image: url("../../images/icon-med11.png");}
.p-medical .medical__list .icon_root .medical__list-name::before {background-image: url("../../images/icon-med6.png");}
.p-medical .medical__list .icon_cavity .medical__list-name::before {background-image: url("../../images/icon-med12.png");}

.p-medical .medical__list .icon_wisdom-teeth .medical__list-name::before {background-image: url("../../images/icon-med13.png");}
.p-medical .medical__list .icon_whitening .medical__list-name::before {background-image: url("../../images/icon-med14.png");}
.p-medical .medical__list .icon_preventive-dentistry .medical__list-name::before {background-image: url("../../images/icon-med15.png");}

.p-medical .medical__list .icon_aesthetic .medical__list-name::before {background-image: url("../../images/icon-med8.png");}
.p-medical .medical__list .icon_transplant .medical__list-name::before {background-image: url("../../images/icon-med9.png");}
.p-medical .medical__list .icon_microscope .medical__list-name::before {background-image: url("../../images/icon-med10.png");}

.p-medical .c-med-menu__list {
    justify-content: space-between;
	column-gap: 0;
}
.p-medical .c-med-menu__list li {
	width: 50%;
}
}



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

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

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

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