/*
Theme Name:だて整形外科
Theme URI:
Version: 1.0
Author: takami
Author URI: https://agree-works.com/
License: takami
*/


/*--------------
    common
--------------*/
html{
    font-size: 62.5%;
}

body{
    font-size: 1.6rem;
    font-family: 'Zen Kaku Gothic New',"游ゴシック", YuGothic ,Hiragino Mincho ProN,"ヒラギノ明朝 ProN",sans-serif;
    line-height: 1.75;
	letter-spacing: 0.08em;
    color: #514e4d;
    margin: 0;
    padding: 0;
    position: relative;
}

h1{
    font-size: 6.4rem;
}

h2{
    font-size: 3.4rem;
}

h3{
    font-size: 2.24rem;
    line-height: 1.4;
}

h4{
    font-size: 1.83rem;
}

small{
    font-size: 1.16rem;
}

h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
    font-weight: 500;
}

ul,dl,dt,dd,td,p{
    margin: 0;
    padding: 0;
}

li{
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    margin: 0;
    padding: 0;
	text-decoration:none;
    font-weight: 500;
    color: #eb9605;
    transition: all 0.3s;
    box-sizing: border-box;
}

img{
    max-width:100%;
    height: auto;
    box-sizing: border-box;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
    border-radius: 1em;
}

table{
    clear: both;
    border-collapse: collapse;
    width: 100%;
}

th,tr{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contents {
    margin: 0px auto;
    width: 90%;
    max-width: 1140px;
}

.contents-section{
    margin-top: 92px;
}

.contents-title{
    text-align: center;
    line-height: 1.5;
    padding-bottom: 56px;
    font-weight: 500;
    letter-spacing: 0.24em;
}

.contents-title span{
    font-weight: 500;
    font-size: 2rem;
    display: block;
    color: #eda01e;
    text-transform: uppercase;
}

.link-box {
    padding: 12px 16px;
    position: relative;
    box-sizing: border-box;
    text-align: center;
    border: solid 2px #eb9605;
    background: #fefefe;
    border-radius: 0.6em;
    transition: all .6s;
}

.link-box:hover{
    background: #eb9605;
    color: #fefefe;
}

.linkList ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 8px;
}

.linkList li{
    width: 48%;
}

.linkList a{
    display: block;
    letter-spacing: .02em;
}

.bg-or{
    background: #fdf4e6;
}

/*----- fade-in -----*/
.fade-in {
    opacity: 0;
    transition-duration: 1000ms;
    transition-property: opacity, transform;
  }

.fade-in-up {
    transform: translate(0, 30px);
}

.scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}

/*----- Google map youtube -----*/
.googleMap{
    position: relative;
    padding-bottom: 62.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }

.googleMap iframe,
.googleMap object,
.googleMap embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/*----- breadcrumbs/pageTop -----*/
.breadcrumbs{
    margin: 20px auto;
    text-align: center;
    font-size: 1.24rem;
}

.breadcrumbs span{
padding: 0 2px;
}

#page-top {
    bottom: 20px;
    text-align: right;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

#page-top a img{
    transition: all 0.3s;
    position: relative;
    top: 8px;
}

/*----- modal -----*/
.modal{
    display: none;
}

.fancybox__content{
    background: #82d764;
    color: #fefefe;
    border-radius: 1em;
    max-width: 630px;
    width: 90%;
}

.fancybox__content h3{
    text-align: center;
    padding-bottom: 24px;
    font-weight: 500;
}

.fancybox__content p{
    font-size: 1.83rem;
}

.aboutUs-modal_reservation{
    padding-top: 16px;
    margin-top: 16px;
    border-top: dashed 2px #fefefe;
}

.fancybox__content>.carousel__button.is-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #82d764;
    background: #fefefe;
    border-radius: 50%;
}

.fancybox__backdrop{
    background: var(--fancybox-bg, rgba(255, 255, 255, 0.75));
}

/*----- loading -----*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #fefefe;
    text-align: center;
  }

#loading_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loading .kvArea {
width: 100%;
}

#loading .kvArea .img_box {
text-align: center;
}

#loading .kvArea img {
    max-width: 300px;
    width: 40%;
    height: auto;
}

/*--------------
    header
--------------*/
header{
    background: #fefefe;
}

header a:hover{
    opacity: 0.8;
}

header h1{
    width: 78%;
    max-width: 146px;
    margin: auto 20px;
}

header h1 img{
    border-radius: 0;
}

.headerWrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-menu{
    width: 100%;
}

.header-menu ul li{
    border-top: dashed 1px #82d764;
    font-size: 2rem;
}

.header-menu ul li span{
    font-size: 1.4rem;
    color: #eb9605;
    text-transform: uppercase;
    display: block;
    letter-spacing: 0.3em;
}

.header-menu ul li a{
    display: block;
    padding: 24px 0;
    text-align: center;
    color: #514e4d;
}

.header-menu ul li a span{
    color: #eb9605;
}

.header-menu a:hover{
    opacity: 0.6;
}

/*--------------
    KV
--------------*/
.main-KV{
    display: flex;
    height: 90vh;
    min-height: 712px;
}

.main-KV header{
    width: 288px;
    min-width: 288px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-KV_image{
    width: calc(100% - 288px);
}

.reservation-list{
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 3;
}

.reservation-list li:first-of-type{
    padding-bottom: 16px;
}

.reservation-list a{
    position: relative;
    display: block;
    background:#fefefe;
    border-top: solid 2px #82d764;
    border-left: solid 2px #82d764;
    border-bottom: solid 2px #82d764;
    border-radius: 2em 0 0 2em;
    color: #514e4d;
    letter-spacing: 0.06em;
    font-size: 3.2rem;
    padding: 2px 28px;
    text-transform: uppercase;
    transition: all .4s;
}

.reservation-list a:hover{
    border-top: solid 2px #fefefe;
    border-left: solid 2px #fefefe;
    border-bottom: solid 2px #fefefe;
    background:#82d764;
    color: #fefefe;
}

.reservation-list a span{
    position: relative;
    padding-left: 38px;
}

.reservation-list a span::before{
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 30px;
    height: 30px;
}

.reservation-list a.reservation-list_tel span::before{
    background: url(img/icon-tel.png) no-repeat center;
    background-size: 100%;
}

.reservation-list a.reservation-list_tel span:hover::before{
    background: url(img/icon-tel_wh.png) no-repeat center;
    background-size: 100%;
}

.reservation-list a.reservation-list_web span::before{
    background: url(img/icon-resavation.png) no-repeat center;
    background-size: 100%;
}

.reservation-list a.reservation-list_web span:hover::before{
    background: url(img/icon-resavation_wh.png) no-repeat center;
    background-size: 100%;
}



/*------- slider -------*/
.slider {
    position:relative;
    height: 100vh;
    opacity: 0;
    transition: opacity 2s ease;
}

.slider.slick-initialized {
    display: block;
    opacity: 1;
}

.slider-image1{
    background: url(img/slider-image1.jpg) no-repeat center;
}
.slider-image2{
    background: url(img/slider-image2.jpg) no-repeat center;
}
.slider-image3{
    background: url(img/slider-image3.jpg) no-repeat center;
}
.slider-image4{
    background: url(img/slider-image4.jpg) no-repeat center;
}
.slider-image5{
    background: url(img/slider-image5.jpg) no-repeat center;
}
.slider-image6{
    background: url(img/slider-image6.jpg) no-repeat center;
}


.slider-image {
    width: 100%;
    height: 90vh;
    min-height: 712px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/*--------------
topics
--------------*/
.topics{
    box-sizing: border-box;
    padding: 64px 0 92px;
}

.topics a{
    color: #514e4d;
}

.topics a:hover{
    opacity: 0.8;
}

.topics-wrapper{
    position: relative;
}

.topics-wrapper h2{
    position: absolute;
    width: 187px;
    left: 0;
    bottom: -92px;
    z-index: 1;
}

.topics-list{
    background: #fefefe;
    border: solid 2px #eb9605;
    border-radius: 1em;
    box-sizing: border-box;
    padding: 24px 32px;
    width: 80%;
    margin: 0 0 0 auto;
    position: relative;
}

.topics-list::before,
.topics-list::after{
    display: block;
    content: '';
    position: absolute;
    top: -66px;
    background: #eb9605;
    width: 3px;
    height: 82px;
}

.topics-list::before{
    left: 140px;
}

.topics-list::after{
    right: 140px;
}

.topics-list ul{
    padding-bottom: 24px;
}

.topics li{
    position: relative;
    margin: 16px 0px 0 20px;
    box-sizing: border-box;
    display: flex;
    line-height: 1.4;
    gap: 4px 16px;
    align-items: baseline;
    font-weight: 500;
}

.topics li::before{
    content: "";
    position: absolute;
    background-color: #eb9605;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    top: 30%;
    left: -17px;
    transform: translate(0%, 30%);
}

.topics li h3 a{
    font-size: 2.24rem;
}

.topics-links{
    text-align: right;
}

.topics-links a span{
    position: relative;
    padding-left: 20px;
}

.topics-links a span::before{
    content: "";
    position: absolute;
    background-color: #eb9605;
    color: #514e4d;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translate(0%, -36%);
}

.date{
    font-size: 1.83rem;
    letter-spacing: 0.1em;
}

/*--------------
当院について
--------------*/
.aboutUs-explanation{
    padding-bottom: 116px;
}

.box-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 16px 8px;
}

.box-list_item{
    box-sizing: border-box;
    width: 48%;
    padding: 24px 16px;
    background: #dddddd;
}

.box-list_item__image{
    width: 50%;
    display: block;
}

.box-list_item__textArea{
    width: 44%;
}

.aboutUs .box-list_item__textArea{
    display: flex;
    flex-direction: column;
}

.aboutUs-copy{
    color: #eb9605;
    font-size: 2.6rem;
    letter-spacing: 0.1em;
    line-height: 2;
}

.aboutUs-copy span{
    display: block;
}

.aboutUs-explanation__textArea{
    border-top: dashed 2px #82d764;
    padding-top: 25px;
    margin-top: 25px;
}

.aboutUs-explanation__textArea p:nth-of-type(1){
    padding-bottom: 15px;
}

.aboutUs-explanation__textArea .linkList{
    padding-top: 25px;
}

.aboutUs-banner {
    padding-top: 30px;
}

.aboutUs-banner a {
    display: block;
}

.aboutUs-banner a:hover {
    opacity: 0.7;
}

.aboutUs-banner a img {
    border-radius: 0;
}

.aboutUs-first_imageArea-top ul,
.aboutUs-first_imageArea-bottom ul{
    display: flex;
    gap: 28px;
}

.aboutUs-first_imageArea-top{
    padding-bottom: 40px;
}

.aboutUs-first_title{
    position: relative;
    width: 412px;
}

.aboutUs-first_title a:hover{
    opacity: 0.8;
}

/*--------------
主な診療内容
--------------*/
.information{
    padding: 88px 0;
}

.information-wrapper{
    display: flex;
    flex-direction: column;
}

.information-wrapper ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.information-list_item{
    width: calc((100% - calc(24px * 2)) / 3);
    padding: min(48px);
    position: relative;
}

.information-list_item a:hover{
    opacity: 0.8;
}

.information-list_item h3{
    text-align: center;
    padding-top: 6px;
}

.information-list_item h3{
    color: #514e4d;
    font-weight: 500;
}


/*--------------
診療時間
--------------*/
.indexInformation-character{
    width: calc(100% - 80%);
    margin: auto;
}

.hospital-hour_wrapper{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.hospital-hour_imageTitle {
    width: 210px;
}

.hospital-hour{
    width: calc(100% - 24%);
}

.hospital-hour table{
    border: 2px solid #eb9605;
    letter-spacing: 0.1em;
}

.hospital-hour table tr:first-child th{
    background: #eb9605;
    color: #fefefe;
    border-left: 1px solid #fefefe;
    font-weight: 400;
    padding: 16px;
    font-size: 1.83rem;
}

.hospital-hour table tr:first-child th:first-child{
    width: 192px;
}

.hospital-hour table td{
    border-right: 1px solid #eb9605;
    border-bottom: 1px solid #eb9605;
    padding: 16px 0;
    text-align: center;
    color: #eb9605;
    font-size: 2.24rem;
}

.hospital-hour table td.hour{
    font-size: 2.24rem;
    color: #514e4d;
}

.hospital-hour_other{
    padding-top: 8px;
    font-size: 2.24rem;
}

.hospital-hour_other li{
    text-indent: -2.24rem;
    padding-left: 24px;
}

.hospital-hour_other li span{
    color: #eb9605;
}

.wanted-list{
    padding-top: 16px;
}

.wanted-list li{
    text-indent: -1.6rem;
    padding-left: 16px;
    padding-bottom: 4px;
}

.wanted-list li a{
    text-decoration: underline;
}

.indexInformation .contents{
    max-width: 990px;
}

.indexInformation-contact{
    padding-top: 32px;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}

.indexInformation-contact__item{
    width: 48%;
}

.indexInformation-contact__item a{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 2px #82d764;
    background: #fefefe;
    color: #514e4d;
    border-radius: 20px;
    padding: 12px 20px;
    letter-spacing: 0.1em;
    transition: all .5s;
}

.indexInformation-contact__item a:hover{
    background: #82d764;
    border: solid 2px #fefefe;
    color: #fefefe;
}

.indexInformation-contact__item a.contact-web .indexInformation-contact__link:hover::before{
    background: url(img/icon-resavation_wh.png) no-repeat center;
    background-size: 100%;
}

.indexInformation-contact__item a.contact-tel .indexInformation-contact__link:hover::before{
    background: url(img/icon-tel_wh.png) no-repeat center;
    background-size: 100%;
}

.indexInformation-contact__link{
    position: relative;
    display: block;
    font-size: 3.2rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    padding-left: 64px;
}

.indexInformation-contact__item a span{
    font-size: 1.8rem;
    display: block;
}

.indexInformation-contact__link::before{
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    background: url(img/icon-tel.png) no-repeat center;
    background-size: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.indexInformation-contact__item a.contact-tel .indexInformation-contact__link::before{
    background: url(img/icon-tel.png) no-repeat center;
    background-size: 100%;
}

.indexInformation-contact__item a.contact-web .indexInformation-contact__link::before{
    background: url(img/icon-resavation.png) no-repeat center;
    background-size: 100%;
}

.hospital-image{
    padding-top: 32px;
}


/*--------------
special partner
--------------*/
.partners{
    margin-bottom: 184px;
}

/* .partners .contents{
    max-width: 990px;
} */

.partners-list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.partners-list li{
    width: 23%;
    margin: 5px;
}

.partners-list a{
    border: solid 2px #eb9605;
    border-radius: 14px;
    padding: 16px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
    text-align: center;
    font-size: 2.24rem;
    line-height: 1.6;
}

.partners-list a img{
    border-radius: 0;
}

.partners-list a:hover{
    opacity: 0.8;
}

/* guidance */
.guidance {
    margin: 92px 0;
}
.guidance-list li {
    margin: 40px 0;
    border-bottom: solid 1px #b4b1b0;
}
.guidance-list h4 {
    display: inline-block;
    color: #eb9605;
    /* border-bottom: solid 2px #eb9605; */
}

/*--------------
contact
--------------*/
/*----- contact form7 -----*/
.wpcf7-form {
    padding: 20px 0;
    margin-top:-50px;
}

.wpcf7-form span.red  {
    color: #aa0000;
}

.wpcf7-form textarea{
    width:100%;
    height:150px;
}

.wpcf7-form .wpcf7-submit{
    width: 30%;
}


/*--------------
footer
--------------*/
footer{
    padding: 80px 0 32px;
    text-align: center;
}

footer img{
    border-radius: 0;
}

footer a:hover{
    opacity: 0.6;
}

.footer-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-information{
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-information-logo {
    max-width: 390px;
    width: 70%;
    margin: 0 auto;
}

.footer-information-logo img{
    border-radius: 0;
}

.footer-information_company li:nth-of-type(1){
    font-size: 2.24rem;
}

.footer-information_company li:nth-of-type(2){
    font-size: 3rem;
}

.footer-information_company li span{
    font-size: 1.6rem;
}

.footer-information_company li a{
    color: #514e4d;
    text-transform: uppercase;
    font-size: 3.4rem;
    font-weight: 300;
}

.fax {
    font-size: 3.4rem;
}

.footer-sns{
    max-width: 38px;
    margin: auto;
    padding-top: 24px;
}

.footer-map{
    width: 48%;
}

footer small{
    display: block;
    text-align: center;
    padding-top: 72px;
}


/*--------------
responsive
--------------*/
nav.globalMenuSp{
    display: none;
}


@media screen and (max-width: 1024px){
/*--------------
/* common
--------------*/
.reservation-list{
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    display: flex;
}

.reservation-list a{
    border-radius: 0;
    text-align: center;
    padding: 4px 24px;
}

.reservation-list li{
    width: calc(100% / 2);
}

.reservation-list li:first-of-type{
    padding-bottom: 0;
}

.reservation-list a{
    border-top: solid 2px #82d764;
    border-right: solid 2px #82d764;
    border-left: solid 2px #82d764;
    border-bottom: solid 2px #82d764;
}

/*--------------
/* header
--------------*/
.header-menu{
    display: none;
}

/*----- hamburger -----*/
.hamburger {
    position: fixed;
    z-index: 4;
    right: 13px;
    top: 12px;
    width: 50px;
    height: 50px;
    background: #fefefe;
    border-radius: 50%;
    border: solid 2px #eb9605;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 28px;
    height: 2px;
    left: 11px;
    background: #eb9605;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 18px;
  }
  .hamburger span:nth-child(2) {
    top: 24px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }

  .hamburger.active span:nth-child(1) {
    top : 24px;
  }

  .hamburger.active span:nth-child(3) {
    top: 24px;
  }

  nav.globalMenuSp {
    display: block;
    position: fixed;
    z-index: 3;
    top: 0;
    background:#fdf4e6;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  .globalMenuSp-wrapper{
    width: 80%;
    margin: 116px auto;
  }

  nav.globalMenuSp ul {
    padding: 0;
  }

  nav.globalMenuSp ul li {
    width: 100%;
    transition: .4s all;
    padding: 24px 0;
    border-bottom: dashed #82d764 1px;
  }

  nav.globalMenuSp .globalMenuSp-menu{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }

  nav.globalMenuSp .globalMenuSp-menu li{
    width: 48%;
  }

  nav.globalMenuSp .globalMenuSp-menu li .accordion-area li{
    width: 100%;
    padding: 0;
    border-bottom: none;
  }

  nav.globalMenuSp .globalMenuSp-menu li h3{
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1.75;
  }

  nav.globalMenuSp .globalMenuSp-menu li h3 a{
    color: #514e4d;
  }

    nav.globalMenuSp .globalMenuSp-menu li h3.title{
    display: block;
    color: #514e4d;
  }

  nav.globalMenuSp .globalMenuSp-menu li h3.title::after{
    background: url(img/allow-green.png) no-repeat center;
    background-size: 100%;
  }

  nav.globalMenuSp .globalMenuSp-menu li h3 span{
    color: #eb9605;
    font-size: 1.24rem;
    display: block;
}

  nav.globalMenuSp ul li .globalMenuSp-innerMenu{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  nav.globalMenuSp ul li .globalMenuSp-innerMenu li{
    width: 100%;
    padding-bottom: 0;
  }

  nav.globalMenuSp ul li .globalMenuSp-innerMenu li a{
    font-size: 1.83rem;
    position: relative;
    padding-left: 14px;
  }

  nav.globalMenuSp ul li .globalMenuSp-innerMenu li a::before{
    content: "";
    position: absolute;
    background: #eb9605;
    width: 8px;
    height: 2px;
    top: 50%;
    left: 0;
  }

  nav.globalMenuSp.active {
    opacity: 100;
    visibility: visible;
    overflow-x: auto;
  }

/*--------------
KV
--------------*/
.main-KV{
    display: block;
    overflow: hidden;
    height: 72vh;
    min-height: 578px;
}

.main-KV header{
    margin: auto;
    width: 100px;
    min-width: 110px;
    padding: 16px 0;
}

.main-KV_image{
    width: 100%;
}

/*--------------
topics
--------------*/
.topics{
    padding: 64px 0;
}

.topics li::before {
    top: 4%;
}

.topics li h3{
    width: 100%;
}

.topics-wrapper h2{
    bottom: -62px;
    width: 147px;
}

.hospital-hour_imageTitle {
    width: 190px;
}

/*--------------
主な診療内容
--------------*/
.box-list_item__image{
    width: 48%;
}

.box-list_item__textArea{
    width: 48%;
}

.aboutUs-copy{
    font-size: 2.24rem;
}

/* .aboutUs-explanation__textArea{
    padding-top: 24px;
    margin-top: 24px;
}

.aboutUs-explanation__textArea .linkList {
    padding-top: 24px;
} */

.aboutUs-first_imageArea-top {
    padding-bottom: 31px;
}

.partners-list a{
    padding: 16px 24px;
}


}

@media screen and (max-width: 768px){

/*--------------*/
/*  common
/*--------------*/
    body{
        font-size: 1.4rem;
    }

    h1{
        font-size:5.6rem;
        line-height: 1.5;
    }

    h2{
        font-size: 2.24rem;
        line-height: 1.5;
    }

    h3{
        font-size: 1.87rem;
        line-height: 1.5;
    }

    h4{
        font-size: 1.6rem;
    }

    small{
        font-size: 1.02rem;
    }

    img{
        border-radius: 0.5em;
    }

    .link-box{
        padding: 8px;
    }

    .contents-section {
        margin-top: 56px;
    }

    .contents-title{
        padding-bottom: 32px;
    }

    .contents-title span{
        font-size: 1.4rem;
    }

    .reservation-list a{
        font-size: 1.83rem;
        padding: 6px 4px;
        border-top: solid 1px #82d764;
        border-right: solid 1px #82d764;
        border-left: solid 1px #82d764;
        border-bottom: solid 1px #82d764;
    }

    .reservation-list a span {
        padding-left: 30px;
    }

    .reservation-list a span::before {
        left: 0;
        top: 2px;
        width: 24px;
        height: 24px;
    }

    .link-box,
    .partners-list a{
        border: solid 1px #eb9605;
    }

/*------- modal -------*/
    .fancybox__content p{
        font-size: 1.4rem;
    }



/*--------------*/
/*  header
/*--------------*/
header{
    margin: 16px auto 16px;
}

.globalMenuSp-wrapper{
    margin: 92px auto;
    width: 86%;
}

nav.globalMenuSp ul li .globalMenuSp-innerMenu{
    gap: 4px;
}

nav.globalMenuSp .globalMenuSp-menu{
    padding-bottom: 32px;
}

nav.globalMenuSp .globalMenuSp-menu li{
    width: 100%;
    padding: 16px 0;
}

nav.globalMenuSp ul li .globalMenuSp-innerMenu li a{
    font-size: 1.6rem;
}

/*--------------*/
/*  KV
/*--------------*/
.main-KV,
.slider-image{
    height: 40vh;
    min-height: 486px
}

.main-KV{
    min-height: 486px
}

.main-KV header{
    min-width: 90px;
    width: 90px;
}

/*--------------
お知らせ
--------------*/
.topics{
    padding: 40px 0;
}

.topics li{
    flex-wrap: wrap;
}

.topics li h3 a{
    font-size: 1.83rem;
}

.topics-wrapper h2 {
    display: none;
}

.topics-list{
    padding: 16px 24px;
    width: 100%;
    margin: auto;
}

.topics-list::before, .topics-list::after{
    top: -42px;
    height: 56px;
}

.topics-list::before {
    left: 60px;
}

.topics-list::after {
    right: 60px;
}

.topics-list ul{
    padding-bottom: 16px;
}

.date{
    font-size: 1.4rem;
}

/*--------------
当院について
--------------*/
.box-list_item__image{
    width: 100%;
}

.box-list_item__textArea{
    width: 100%;
}

.aboutUs-copy{
    font-size: 1.83rem;
    letter-spacing: 0.06em;
    line-height: 1.8;
}

.aboutUs-explanation__textArea {
    padding-top: 16px;
    margin-top: 16px;
}

.aboutUs-explanation__textArea p:nth-of-type(1) {
    padding-bottom: 8px;
}

.aboutUs-explanation {
    padding-bottom: 40px;
}

.aboutUs-first_imageArea-top {
    padding-bottom: 16px;
}

.aboutUs-first_imageArea-top li,
.aboutUs-first_imageArea-bottom li{
    width: 48%;
}

.aboutUs-first_imageArea-top li.aboutUs-first_title{
    width: 60%;
    margin: auto;
}

.aboutUs-first_imageArea-top li.aboutUs-first_title img{
    width: 160px;
    margin: auto;
    display: block;
}

.aboutUs-first_imageArea-top ul, .aboutUs-first_imageArea-bottom ul{
    gap: 16px;
    flex-wrap: wrap;
}

.linkList li{
    width: 100%;
}

/*--------------
主な診療内容
--------------*/
.information {
    padding: 56px 0;
}

.information-list_item{
    width: calc(100% / 2);
    padding: min(8px);
}

.indexInformation-contact__item a{
    border: solid 1px #82d764;
}

/*--------------
診療時間
--------------*/
.hospital-hour{
    width: 100%;
    max-width: 100%;
}

.hospital-hour table td.hour{
    font-size: 1.26rem;
}

.hospital-hour table td{
    padding: 8px 0;
    font-size: 1.26rem;
}

.hospital-hour table tr:first-child th{
    padding: 8px;
    font-size: 1.26rem;
}

.hospital-hour table tr:first-child th:first-child {
    width: 92px;
}

.hospital-hour_other{
    font-size: 1.6rem;
}

.hospital-hour_wrapper{
    display: block;
}

.hospital-hour_imageTitle {
    max-width: 160px;
    width: 38%;
    margin: auto;
    padding-bottom: 16px;
}

.hospital-hour_other li:last-of-type span{
    font-size: 1.4rem;
}

.indexInformation-character{
    width: 38%;
    margin: auto;
    max-width: 180px;
    padding-top: 24px;
}

.indexInformation-contact{
    gap: 16px;
    padding-top: 16px;
}

.indexInformation-contact__item {
    width: 100%;
}

.indexInformation-contact__link{
    font-size: 2.24rem;
    padding-left: 50px;
}

.indexInformation-contact__link::before{
    width: 40px;
    height: 40px;
}

.indexInformation-contact__item a span{
    font-size: 1.4rem;
}

.indexInformation-contact__item a span::before{
    width: 32px;
    height: 32px;
}

.hospital-image {
    padding-top: 16px;
}

/*--------------
special partner
--------------*/
.partners-list{
    gap: 16px;
}

.partners-list li {
    width: 48%;
    margin: auto;
}

/*--------------
footer
--------------*/
footer{
    padding: 56px 0 24px;
}

.footer-wrapper{
    display: block;
}

.footer-information{
    width: 100%;
    gap: 16px;
}

.footer-map{
    width: 100%;
    padding-top: 32px;
}

}

@media screen and (max-width: 521px){
/*--------------*/
/*  section name
/*--------------*/
.box-list_item {
    width: 100%;
}

/*--------------*/
/*  topics
/*--------------*/
.topics {
    padding: 32px 0 40px;
}

.topics-list{
    padding: 16px;
    width: 92%;
}

.topics-list::before, .topics-list::after {
    top: -34px;
    height: 42px;
}

.topics li{
    margin: 10px 0px 0 18px;
}

.topics li::before{
    width: 8px;
    height: 8px;
}

.topics li h3 a{
    font-size: 1.6rem;
}

.date{
    font-size: 1.24rem;
}

.wanted-list{
    font-size: 1.24rem;
}

/*--------------
予約はこちら
--------------*/
.partners-list a{
    padding: 18px 32px;
    min-height: 120px;
    text-align: center;
}

.partners-list li {
    width: 100%;
}

/*--------------
当院について
--------------*/
.aboutUs-first_imageArea-top ul, .aboutUs-first_imageArea-bottom ul{
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.aboutUs-first_title img{
    width: 120px;
    margin: 0 0 0 auto;
    display: block;
}

.aboutUs-first_imageArea-top li{
    width: 48%;
}

.aboutUs-first_imageArea-bottom li{
    width: 48%;
}

.aboutUs-first_imageArea-top li.aboutUs-first_title img{
    width: 128px;
}

/*--------------*/
/*  footer
/*--------------*/
.footer-information_company li:nth-of-type(1){
    font-size: 1.6rem;
}

.footer-information_company li:nth-of-type(2){
    font-size: 2.24rem;
}

.footer-sns{
    padding-top: 16px;
}
}