@charset "utf-8";


#reservation_area2 ul li.web_reserve_btn a {
    pointer-events: auto;
}

.newsPage {
	padding-bottom: 45px !important;
}


.mod_top-notice__content,
.mod_top-notice__content p {
	color: #111;
}

@media (max-width: 480px) {
  #reservation_area2 ul li.mobile_tel_btn a::after {
    content: "019-643-6776";
  }
}



/*診療カレンダー XO Event Calendar*/
.xo-event-calendar {
  font-size: 1.2em;
  /*ここのサイズ変えればセルの高さも変わる*/
}

.xo-event-calendar table.xo-month .month-dayname td div {
  text-align: center;
  line-height: 2.5em;
}

.xo-event-calendar table.xo-month .month-dayname td div.today {
  /*本日*/
  text-decoration: underline;
  /*background-color: #f9fdb1;*/
}

.container.wp100 {
  max-width: 95%;
}

@media (min-width: 768px) {
  .xo-month-wrap {
    width: 50%;
    float: left;
    padding: 0 2%;
  }
  .holiday-title span {
    margin-left: 2em !important;
  }
  .xo-months:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
  }
}

.calendar {
  padding: 50px 0;
}

/*診療カレンダー XO Event Calendar end*/



/* --- top news ---- */

.top-notice__item.top-notice__item_fullview {
	flex-wrap: wrap;
}
.top-notice__item.top-notice__item_fullview .top-notice__head,
.top-notice__item.top-notice__item_fullview .mod_top-notice__content{
	width: 100%;
}




/* color-set */
#aboutDoctor .title {
	border-color: #231815;
}
#aboutDoctor .title h3 {
	background-color: rgba(35,24,21,0.1);
	color: #231815;
}
#aboutDoctor h4 {
	color: #231815;
}


/* content */

#aboutDoctor {
	padding: 50px 15px;
}
.aboutDoctorContentWrap {
	width: 100%;
	max-width: 970px;
	margin: 0 auto;
	box-sizing: border-box;
}

#aboutDoctor .title {
	padding: 4px 0;
	border-width: 2px 0;
	border-style: solid;
	margin: 0 0 35px 0;
}

#aboutDoctor .title h3 {
    margin: 0;
    padding: 0.7em 1em;
    font-size: 20px;
    position: static;
    font-weight: 700;
	line-height: 1.2;
}
#aboutDoctor h4 {/* reset & override */
    margin: 0 0 1em 0;
    padding-left: 0;
    font-size: 20px;
    position: static;
    font-weight: 700;
}

#aboutDoctor h3::before,
#aboutDoctor h3::after,
#aboutDoctor h4::before,
#aboutDoctor h4::after {
	display: none; /* reset */
}

.aboutDoctorContentWrap .aboutDoctorBody {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding-bottom: 35px;
	margin-bottom: 35px;
	border-bottom: 1px dashed #666;
}
.aboutDoctorContentWrap .aboutDoctorBody > div {
	box-sizing: border-box;
}

.aboutDoctorContentWrap .aboutDoctorBody .photo {
	width: 30.927%;
	padding-right: 20px;
	margin: 0;
}
.aboutDoctorContentWrap .aboutDoctorBody .photo p {
	margin: 0;
}
.aboutDoctorContentWrap .aboutDoctorBody .text {
	width: 69.072%;
	padding: 0 10px;
}
.aboutDoctorContentWrap .aboutDoctorBody .text p {
	text-align: justify;
	font-size: 16px;
	margin: 0;
	letter-spacing: 0.02em;
}

.aboutDoctorContentWrap .aboutDoctorBody:nth-child(odd) {
	flex-direction: row-reverse;
}
.aboutDoctorContentWrap .aboutDoctorBody:nth-child(odd) .photo {
	padding-right: 0;
	padding-left: 20px;
}

@media (max-width:767px) {

	#aboutDoctor {
		padding-left: 0;
		padding-right: 0;
	}

	.aboutDoctorContentWrap .aboutDoctorBody {
		display: block;
		padding-bottom: 24px;
		margin-bottom: 24px;
	}

	#aboutDoctor .title {
		margin-bottom: 25px;
	}

	#aboutDoctor .title h3,
	#aboutDoctor h4 {
		font-size: 16px;
	}

	.aboutDoctorContentWrap .aboutDoctorBody .photo,
	.aboutDoctorContentWrap .aboutDoctorBody .text {
		width: 100%;
	}

	.aboutDoctorContentWrap .aboutDoctorBody .photo,
	.aboutDoctorContentWrap .aboutDoctorBody:nth-child(odd) .photo {
		padding: 0;
		text-align: center;
		margin-bottom: 24px;
	}

	.aboutDoctorContentWrap .aboutDoctorBody .photo p img {
		width: 40%; /* 正方形時のみ */
	}

	.aboutDoctorContentWrap .aboutDoctorBody .text p {
		font-size: 14px;
		text-align: justify;
	}
}



/* ---------------------------------------------------- dpctor quality ----------------------------------- */



#page_doctor_quality p {
	margin: 0;
	padding: 0;
	letter-spacing: 0.03em;
	line-height: 1.6em;
	text-align: justify;
}

#page_doctor_quality .doctor_quality_photo_left,
#page_doctor_quality .doctor_quality_photo_right,
#page_doctor_quality .doctor_quality_photo_none {
	padding: 15px;
}

#page_doctor_quality .doctor_quality_photo_left::after,
#page_doctor_quality .doctor_quality_photo_right::after {
	content: "";
	display: block;
	clear: both;
}

#page_doctor_quality .doctor_quality_photo_left .pht,
#page_doctor_quality .doctor_quality_photo_right .pht {
	border: 3px solid #FFF;
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	box-sizing: border-box;
	width: 320px;
	height: auto;
}

#page_doctor_quality .doctor_quality_photo_left .doctor_quality_subtitle {
	width: 100%;
	padding-left: 335px;
	box-sizing: border-box;
}

#page_doctor_quality .doctor_quality_photo_right .doctor_quality_subtitle {
	width: 100%;
	padding-right: 335px;
	box-sizing: border-box;
}


#page_doctor_quality h3 {
    font-size: 2rem;
}

#page_doctor_quality .doctor_quality_subtitle h4 {
	font-size: 1.8rem;
	font-weight: 600;
}

#page_doctor_quality .doctor_quality_subtitle p {
	border-bottom: 2px solid #F00;
}

#page_doctor_quality .doctor_quality_photo_left .pht {
	float: left;
	margin: 0.5em 20px 5px 0;
}
#page_doctor_quality .doctor_quality_photo_right .pht {
	float: right;
	margin: 0.5em 0 5px 20px;
}

@media (max-width:767px) {
    #page_doctor_quality .doctor_quality_photo_left .pht,
    #page_doctor_quality .doctor_quality_photo_right .pht {
        float: none;
        margin: 0 0 10px 0;
        width: 100%;
    }
    #page_doctor_quality .doctor_quality_photo_left .doctor_quality_subtitle,
    #page_doctor_quality .doctor_quality_photo_right .doctor_quality_subtitle {
        padding: 0 !important;
        width: 100%;
    }
}


/*#page_doctor_quality .ttl_D {
	background-color: #142CD9;
}*/

/*#page_doctor_quality .ttl_N::after {
    background: linear-gradient(to right, rgb(102, 102, 102), transparent);
}*/

.footer-info__name{
	font-size:1.8em;
	color:#fff;
	width:40%;
}

.header__head a{
	font-size:2.8em;
}


.reserve {
    width: 100%;
	height: 900px;
}
.reserve iframe{
    width:100%;
    height:100%;
}

@media (max-width:767px){
  .reserve {
height:900px;
  }
}


/*追加*/
h1 {
font-size:1.75em;
color:#333333;
}

h2 {
clear: both;
}

div.gazo-box {
float: left;
padding-right: 20px;
width: 300px;
}

.top-banner{
	display: flex;
	flex-wrap:wrap;
}
.top-banner li {
	width: calc(100%/2);/*←画像を横に2つ並べる場合*/
	padding:0 5px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.top-banner li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
	border:solid 1px #ccc; /*←画像を1pxのグレーの枠線で囲む指定の場合*/
}

.header__head {
width: 60%;
}

@media (max-width: 768px) {
    .header__head:not(.title) {
        width: 80%;
    }
}

.top-medical__item {
    padding: 0 calc(30px / 2);
    width: 26%;
}





/* ---- top service ---- */


#top_service {
    box-sizing: border-box;
    padding: 0 15px 80px 15px;
}
#top_service .serviceBody {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

#top_service .serviceBody ul {
    list-style: none;
    width: calc(100% + 30px);
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 0 -15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#top_service .serviceBody ul li {
    box-sizing: border-box;
    width: 25%;
}
#top_service .serviceBody ul li > a {
    display: block;
    box-sizing: border-box;
    padding: 15px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    border: 1px solid #FFF;
    transition: all 0.3s;
}
#top_service .serviceBody ul li > a:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border: 1px solid #EEE;
}

#top_service .serviceBody ul li > a .pht {
    border: 1px solid #CCC;
    box-sizing: border-box;
    line-height: 1;
}
#top_service .serviceBody ul li > a .pht img {
    display: block;
}

#top_service .serviceBody ul li > a .txt {
    padding-top: 10px;
}
#top_service .serviceBody ul li > a .txt h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}
#top_service .serviceBody ul li > a .txt p {
    font-size: 16px;
    margin: 0;
    text-align: justify;
}

@media (max-width: 767px) {
    #top_service .serviceBody ul {
        width: 100%;
        margin: 0;
    }
    #top_service .serviceBody ul li {
        width: 100%;
        padding: 0 0 15px 0;
        border-bottom: 1px dashed #CCC;
        margin-bottom: 15px;
    }
    #top_service .serviceBody ul li > a {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px;
    }
    #top_service .serviceBody ul li > a .pht {
        width: 100px;
    }
    #top_service .serviceBody ul li > a .txt {
        width: calc(100% - 100px);
        padding: 0 0 0 15px;
    }
    #top_service .serviceBody ul li > a .txt h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    #top_service .serviceBody ul li > a .txt p {
        font-size: 14px;
        line-height: 1.3;
        letter-spacing: -0.05em;
    }
}


/* ---- top greetngs ---- */

#top_greetings {
    padding: 0 15px 75px 15px;
    background-color: rgba(35, 24, 21, 0.05);
}

#top_greetings .greetingsBody {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#top_greetings .greetingsBody .pht {
    order: 2;
    width: 35%;
    padding: 0 0 0 20px;
    box-sizing: border-box;
}

#top_greetings .greetingsBody .pht p {
    margin: 0;
    padding: 0;
    position: relative;
}

#top_greetings .greetingsBody .pht img {
    display: block;
}

#top_greetings .greetingsBody .pht p span.cap {
    font-size: 11px;
    color: #FFF;
    display: block;
    text-shadow: 0 0 10px #000,0 0 5px #000,0 0 10px #000,0 0 3px #000;
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-weight: 600;
    letter-spacing: 0;
}

#top_greetings .greetingsBody .txt {
    order: 1;
    width: 65%;
    padding-right: 20px;
    box-sizing: border-box;
}
#top_greetings .greetingsBody .txt p {
    margin: 0;
    text-align: justify;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

@media (max-width: 767px) {
    #top_greetings .greetingsBody .pht {
        order: 1;
        width: 100%;
        padding: 0;
        margin-bottom: 25px;
    }
    #top_greetings .greetingsBody .txt {
        order: 2;
        width: 100%;
        padding: 0;
        margin-bottom: 25px;
    }
    #top_greetings .greetingsBody .txt p {
        font-size: 14px;
        line-height: 1.4;
    }
}

.footer__links .sub-menu a {
	color:#ffffff;
}

@media (max-width: 768px) {
    .footer-info__name {
        width:90%;
        margin:0 auto;
    }
}



/* -- gNav -- */

#gNav {
    width: 100%;
    position: relative;
    z-index: 100;
}

@media (max-width: 768px) {
    #gNav {
        display: none;
    }
}

#gNav > ul {
    list-style: none;
    padding: 15px 0 0 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

#gNav > ul > li {
    width: calc(100% / 6);
    height: 45px;
    box-sizing: border-box;
}

#gNav > ul > li > a {
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0 10px;
    position: relative;
    border-radius: 5px;
    background-color: rgba(232, 71, 32, 0);
}

#gNav > ul > li > a:hover {
    background-color: rgba(20, 44, 217, 0.5);
}



#gNav > ul > li > a::after {
    content: "";
    display: block;
    width: 1px;
    height: 50%;
    top: 25%;
    right: 0;
    background-color: #999;
    position: absolute;
}

#gNav > ul > li:last-child > a::after {
    display: none;
}

#gNav .subChild {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    top: 100%;
    background-color: #FAFAFA;
    display: none;
}

#gNav .subChild ul {
    padding: 10px 20px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    list-style: none;
}

#gNav .subChild ul li {
    box-sizing: border-box;
    height: 35px;
}

#gNav .subChild ul li a {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 30px;
    font-size: 16px;
}

#gNav .subChild ul li a:hover {
    text-decoration: underline;
}



/* -- service -- */

.serviceList {
    list-style: none;
    padding: 0 0 50px 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.serviceList li {
    width: 31%;
}

.serviceList li a {
    display: block;
    text-decoration: none;
}

.serviceList li a > div {
    padding: 0 15px;
}

.serviceList li a h3 {
    border: 1px solid #231815;
    border-width: 0 0 1px 3px;
    padding: 0 5px 3px 8px;
    margin-bottom: 15px;
}

.serviceList li a p {
    margin: 0 0 10px 0;
}

.serviceList li a p.pht {
    box-sizing: border-box;
    border: 1px solid #CCC;
}

.serviceList li a p.pht img {
    display: block;
}

.serviceList li a p.txt {
    text-align: justify;
}

@media (max-width: 767px) {
    .serviceList li {
        width: 100%;
        margin-bottom: 40px;
    }
    .serviceList li a {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .serviceList li a h3 {
        width: 100%;
    }
    .serviceList li a > div {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .serviceList li a p.pht {
        width: 80px;
    }
    .serviceList li a p.txt {
        box-sizing: border-box;
        width: calc(100% - 80px);
        padding-left: 20px;
    }
}

#faq div[id^="anc"] {
    padding-top: 120px;
    margin: -120px 0 60px 0;
}

.faqSubtitle {
    font-weight: 600;
    font-size: 125%;
    margin: 0 0 30px 0;
}


/* -- MV --*/

#MV {
    width: 100%;
}

#MV .stage {
    position: relative;
    width: 100%;
    background-color: #FFF;
}

#MV .stage .base {
    visibility: hidden;
}
#MV .stage .base img {
    width: 100%;
    height: auto;
    display: block;
}

#MV .stage .pht {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#MV .stage .pht .ph {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#MV .stage .pht .ph img {
    width: 100%;
    height: auto;
    display: block;
}

#MV .stage .catch {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#MV .stage .catch .txt {
    position: absolute;
    font-size: 38px;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 600;
    width: 100%;
    text-align: center;
    top:50%;
    left: 0;
    transform: translateY(-100%);
    transition: all 1s;
}

#MV .stage .catch .txt.active {
    color: #1b1b1b;
    top: 78%;
    transform: translateY(0);
    /*text-shadow: 0 0 10px rgba(0,0,0,1);*/
	background: rgba(192, 192, 252, 0.9);
    padding: 10px;
}

#MV .stage .catch .txt p {
	font-size: inherit;
}

@media(max-width:767px) {
    #MV .stage .catch .txt {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.05em;
    }

    /*#MV .stage .catch .txt.active {
        text-shadow: 0 0 10px rgba(0,0,0,1),0 0 10px rgba(0,0,0,1);
    }*/
}
@media(max-width:400px) {
    #MV .stage .catch .txt {
        font-size: 16px;
    }
}




#MV .stage .mask {
    background-color: #FFF;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.top_service {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.top_service a {
	text-decoration: none;
}

.serviceWrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: calc(100% + 15px);
}

.serviceWrap .box {
    box-sizing: border-box;
    width: 25%;
    padding: 0 15px 20px 0;
}

@media (max-width:767px) {
    .serviceWrap .box {
        width: 50%;
    }
}

.top_clinicWrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.top_clinicWrap > div:first-child {
	width: 40%;
	padding-right: 10px;
	box-sizing: border-box;
}
.top_clinicWrap > div:last-child {
	box-sizing: border-box;
	width: 60%;
	padding-left: 10px;
}
.top_clinicWrap > div table {
	margin-top: 0 !important;
}

@media (max-width:767px) {
	.top_clinicWrap > div {
		width: 100% !important;
		padding: 0 !important;
		margin-bottom: 10px;
	}
}

.footer__links > ul > li {
    width: 20%;
}


.contactForm {
    width: 100%;
    box-sizing: border-box;
    background-color: #EEE;
    padding: 15px;
}

.contactForm dl {
    display: flex;
    flex-wrap: wrap;
}

.contactForm dl dt {
    width: 15em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contactForm dl dt span.imp {
    display: inline-block;
    font-size: 12px;
    padding: 2px 5px;
    background-color: #F00;
    color: #FFF;
    border-radius: 5px;
    margin-left: 5px;
}

.contactForm dl dd {
    width: calc(100% - 15em);
    margin-bottom: 15px;
}

.contactForm .contactFormSubmit {
    text-align: center;
}

.contactForm .text {
    width: 100%;
    border: 1px solid #666;
    box-sizing: border-box;
    padding: 3px;
    font-size: 16px;
}

@media (max-width:767px) {
    .contactForm dl dt,
    .contactForm dl dd {
        width: 100%;
        margin-bottom: 5px;
    }
    .contactForm dl dd {
        margin-bottom: 15px;
    }
}

.contactForm {
    width: 100%;
    box-sizing: border-box;
    background-color: #EEE;
    padding: 15px;
}

.contactForm dl {
    display: flex;
    flex-wrap: wrap;
}

.contactForm dl dt {
    width: 15em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contactForm dl dt span.imp {
    display: inline-block;
    font-size: 12px;
    padding: 2px 5px;
    background-color: #F00;
    color: #FFF;
    border-radius: 5px;
    margin-left: 5px;
}

.contactForm dl dd {
    width: calc(100% - 15em);
    margin-bottom: 15px;
}

.contactForm .contactFormSubmit {
    text-align: center;
}

.contactForm .text {
    width: 100%;
    border: 1px solid #666;
    box-sizing: border-box;
    padding: 3px;
    font-size: 16px;
}

@media (max-width:767px) {
    .contactForm dl dt,
    .contactForm dl dd {
        width: 100%;
        margin-bottom: 5px;
    }
    .contactForm dl dd {
        margin-bottom: 15px;
    }
}

article.row.article_list {
	margin-bottom: 30px;
}

.t-in-table {
	margin-left: 0;
}

.t-in-table td, .t-in-table th {
    border: 0px;
    line-height: 0.2;
    color: #1b1b1b;
	padding: 0.7em 0;
}

@media (max-width:767px) {
.t-in-table td, .t-in-table th {
	display: block;
    }

.t-in-table tr {
    border-bottom: 1px dotted;
    margin-bottom: 10px;
    }
}

.pt0 {
	padding-top: 0!important;
}

.mt20 {
	margin-top: 20px!important;
}

.mt30 {
	margin-top: 30px!important;
}

.mb10 {
	margin-bottom: 10px!important;
}

.mb30 {
	margin-bottom: 30px!important;
}

.mb60 {
	margin-bottom: 60px!important;
}

/* 下層ページ表組 1 */
.table-default__contents th {
    background: rgba(198, 229, 247, 0.7);
    color: #1b1b1b;
    font-weight: 700!important;
    vertical-align: middle;
}

.table-default__contents td, .table-default__contents th {
    border: 1px solid #c6e5f7;
}

.table-default__contents tr:not(:last-child) th {
    border-bottom: 1px solid #fff;
}

#page_doctor_quality table{
	width: 100%;
}

@media (max-width: 767px){
#page_doctor_quality table th, #page_doctor_quality table td {
    display: block;
    width: 100% !important;
    padding: 0.5em;
    font-size: 1.2rem;
    }

	.table-default__contents {
		width: 100%;
	}

	.table-default__contents td, .table-default__contents th {
    border-left: 1px solid #c6e5f7;
    border-right: 1px solid #c6e5f7;
    border-top: none;
    border-bottom: 1px solid #c6e5f7;
    }
}

/*.youtube-iframe {
	text-align: center;
}

@media (max-width: 768px){
	.youtube-iframe {
	width: 90%;
    }
}*/

div.center {
    display: flex;
    justify-content: center;
}

.youtube-iframe {
  width: 60%;
  aspect-ratio: 16 / 9;
}
.youtube-iframe iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px){
.youtube-iframe {
  width: 90%;
  }
}

/* top-medical */
.l-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.top-medical {
  padding-bottom: $gap_a;
  background: #f4f4f4;
  @media (max-width : 767px) {
    padding-bottom: $gap_a_sp;
  }
}

.top-medical__items__wrapper {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: center;
}


.top-medical__item {
  display: table;
  table-layout: fixed;
  width: 100%;
  background: #fff;
  a {
    display: table;
    width: 100%;
    @media (max-width : 767px) {
      display: flex;
      flex-direction: column;
    }
  }
  &:nth-child(n+2) {
    @media (max-width : 767px) {
      margin-top: $gap_b_sp;
    }
  }
  &:nth-child(2n) > a {
    @media (max-width : 767px) {
      flex-direction: column-reverse;
    }
  }
}
.top-medical__item .bg_d {
  display: table-cell;
  height: 250px;
  background-position:center;
  background-repeat: no-repeat;
  background-size: cover;
  @media (max-width : 767px) {
    width: 100%;
    margin-top: 0;
    padding-top: calc(25000% / 500);
    height: inherit;
  }
}
.top-medical__item .top-medical__block {
  display: table-cell;
  text-align: left;
  padding: 20px;
  width: 50%;
  vertical-align: top;
  @media (max-width : 767px) {
    padding: 15px;
    width: 100%;
  }
}

.top-medical__item--1 .bg_d {
  background-image: url(/wordpress/wp-content/uploads/13_service1_taisei_2.jpg);
  background-position: center;
}

.top-medical__item--2 .bg_d {
  background-image: url(/wordpress/wp-content/uploads/14_service2_taisei.jpg);
  background-position: top center;
}


.top-medical__item--3 .bg_d {
  background-image: url(/wordpress/wp-content/uploads/15_service3_taisei_2.jpg);
  background-position: top center;
}


.top-medical__item--4 .bg_d {
  background-image: url(/wordpress/wp-content/uploads/16_service4_taisei.jpg);
  background-position: top center;
}


a.top-medical__link {
  text-decoration: none;
}
a.top-medical__link:hover {
  opacity: .7;
}
.top-medical__image {
  width: 50%;
}


 @media (max-width : 767px) {
   .top-medical__item a {
    display: flex;
    flex-direction: column;
     }
}

@media (max-width: 767px){
.top-medical__item .bg_d {
    width: 100%;
    /* margin-top: 0; */
    padding-top: calc(25000% / 500);
    height: inherit;
    }
}

@media (max-width: 767px){
.top-medical__item .top-medical__block {
    padding: 15px;
    width: 100%;
    }
}

@media (max-width: 767px){
.top-medical__item:nth-child(n+2) {
    margin-top: 20px;
    }
}

@media (max-width: 767px){
.top-medical__item:nth-child(2n) > a {
    flex-direction: column-reverse;
    }
}

@media (max-width: 767px){
.top-medical__items:nth-child(n+2) {
    margin-top: 20px;
    }
}

@media (max-width: 767px){
p {
   margin-top: 15px;
   }
}

.heading-3, .heading-4 {
    position: relative;
    table-layout: fixed;
    margin: 0 auto;
    padding-bottom: 2px;
    word-wrap: break-word;
    font-weight: bold;
    font-size: 1.7rem;
}

img.w80 {
	width: 80%;
}

.mr20 {
	margin-right: 20px;
}

/* スマホのアンカー位置調整 */
@media (max-width: 768px){
    #anc01, #anc02, #anc03, #anc04, #anc05, #anc06, #anc07, #anc08, #anc09, #anc10 {
    display: block;
    margin-top: -60px;
    padding-top: 60px;
    }
}


#MV2 {
    position: relative;
    width: 100%;
}

#MV2 img {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0;
}

#MV2 .ph {
    width: 100%;
    margin: 0;
}

#MV2 .stage {
    width: 100%;
    margin: 0;
}

#MV2 .catch {
    margin: 0;
    font-size: 38px;
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #1b1b1b;
    top: 78%;
    transform: translateY(0);
    background: rgba(192, 192, 252, 0.9);
    padding: 10px;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

@media (max-width: 767px){
    #MV2 .catch {
        font-size: 18px;
        position: static;
    }
}


table.certified th,
table.certified td {
border-color: #000;
color: #000;
background-color: #fff;
text-align: center;
}
table.certified th {
  font-weight: bold;
}
