@charset "utf-8";
@media screen and (max-width: 960px) {
  section.greeting {
    padding: 75px 0 30px 0;
  }
  ul.greeting_list {
    position: relative;
    float: none;
    left: 0;
    width: 100%;
    margin-top: 60px;
  }
  ul.greeting_list li {
    position: relative;
    float: left;
    left: 0;
    width: 50%;
    height: auto;
    margin: 0 0 30px 0;
  }
  ul.greeting_list li img {
    width: 130px;
    height: 130px;
    border-radius: 80px;
    margin-bottom: 10px;
    text-align: center;
    display: inherit;
    margin: 0 auto 10px auto;
  }
  table.relation_tbl tr td {
    padding-left: 30px;
    padding-right: 30px;
    border-right: solid 1px #e0e4e6;
    box-sizing: border-box;
    line-height: 1.75;
  }
}

@media screen and (max-width: 896px) {
  .access_wrapper {
    display: none;
  }
  .relation_wrapper {
    padding: 30px;
  }
  table.relation_tbl tr td {
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    line-height: 1.75;
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #e0e4e6;
  }
  table.relation_tbl tr td:first-child {
    padding-top: 0px;
    padding-left: 0px;
  }
  table.relation_tbl tr td:last-child {
    border-right: none;
    border-bottom: none;
  }
  table.relation_tbl .box {
    padding-bottom: 30px;
  }
  table.relation_tbl tr td:last-child .box {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .tel_wrapper {
    display: none;
  }
  .logo_wrapper {
    display: none;
  }
  nav {
    z-index: 10;
    width: 100%;
    height: calc(100vh - 110px);
    position: fixed;
    top: -100vh;
    left: 0;
    transition: all 0.3s;
  }
  nav.active {
    top: 110px;
  }
  nav ul li:before {
    background-color: none;
    content: '';
    position: absolute;
    top: auto;
    right: auto;
    display: inline-block;
    width: 0;
    height: 0;
    -webkit-transform: none;
    transform: none;
  }
  nav ul a:first-child li:after {
    background-color: none;
    content: '';
    position: absolute;
    top: auto;
    left: auto;
    display: inline-block;
    width: 0;
    height: 0;
    -webkit-transform: none;
    transform: none;
  }
  nav ul li {
    float: none;
    font-size: 1.5rem;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 50px;
    text-align: center;
    transition: all 0.2s;
    border-bottom: solid 1px rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
  }
  .global {
    display: none;
  }
  header {
    height: 110px;
    z-index: 11;
  }
  header.active {
    position: fixed;
    top: 0;
    left: 0;
  }
  .sp_logo {
    width: 100%;
    height: 60px;
    overflow: hidden;
    position: relative;
  }
  .sp_header_space {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 110px;
  }
  .sp_header_wrapper {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 110px;
  }
  .sp_header_wrapper h1 img {
    display: block;
    width: 158.9606px;
    height: 29.1362px;
    margin: 17.1885px auto 0 auto;
  }
  ul.sp_button_list {
    overflow: hidden;
    position: relative;
    width: calc(100% - 50px);
    height: 50px;
  }
  ul.sp_button_list li {
    float: left;
    width: 37%;
    margin-right: 2%;
  }
  ul.sp_button_list a:nth-child(2n+2) li {
    width: 61%;
    margin-right: 0;
  }
  button.sp_tel {
    background-color: #3aade9;
    border: solid 1px #3aade9;
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    background-image: url(../images/common/sp_tel.svg);
    background-size: 66.7414px 16.4229px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: all 0.2s;
  }
  button.sp_tel:hover {
    background-image: url(../images/common/sp_tel_hover.svg);
    background-color: #ffffff;
  }
  button.sp_map {
    background-color: #3aade9;
    border: solid 1px #3aade9;
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    background-image: url(../images/common/sp_map.svg);
    background-size: 125.2235px 19px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: all 0.2s;
  }
  button.sp_map:hover {
    background-image: url(../images/common/sp_map_hover.svg);
    background-color: #ffffff;
  }
  #menu {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background-color: #3aade9;
    box-sizing: border-box;
    background-image: url(../images/common/sp_menu.svg);
    background-size: 32.395px 32.1318px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: all 0.2s;
  }
  #menu:hover {
    background-image: url(../images/common/sp_menu_hover.svg);
    background-color: #ffffff;
  }
  #menu.active {
    background-image: url(../images/common/close_hover.svg);
    background-size: 35.5854px 33.5313px;
    background-color: #ffffff;
  }
  section.main_visual {
    height: auto;
  }
  .slide2, .slide3 {
    display: none;
  }
  .slide1 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 0;
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    z-index: 1;
    padding-top: 82%;
  }
  .slogan {
    overflow: hidden;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: auto;
    width: 100%;
    max-width: 1140px;
    height: auto;
    z-index: 2;
  }
  .blue_line {
    display: none;
  }
  .slogan {
    background-color: #3aade9;
    overflow: hidden;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: auto;
    width: 100%;
    max-width: 1140px;
    height: auto;
    z-index: 2;
    padding: 20px 0;
    text-align: center;
  }
  .slogan span {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    padding: 0;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    -webkit- transform: none;
    width: 100%;
    display: block;
  }
  section.greeting {
    padding: 45px 0 30px 0;
  }
  ul.information_list {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 35px auto;
    padding: 0 20px;
  }
  .information_date {
    float: none;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .information_title {
    float: none;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .wrapper {
    background-color: #ffffff;
    border-radius: 40px;
    box-sizing: border-box;
    padding: 45px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  section.clinic {
    padding: 45px 0;
    text-align: center;
  }
  .half {
    float: none;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-right: 0;
    text-align: left;
  }
  .half:nth-child(2n+2) {
    padding-right: 0;
    padding-left: 0;
  }
  .qrcode, .clinic_btn_wrapper {
    display: none;
  }
  section.contact_link {
    text-align: center;
    padding: 45px 0 25px 0;
  }
  ul.contact_link_list li {
    float: left;
    width: 100%;
    height: 120px;
    margin-right: 0;
    text-align: center;
    border-radius: 15px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    overflow: hidden;
    position: relative;
    transition: all 0.2s;
    margin-bottom: 20px;
  }
  section.staff {
    text-align: center;
    padding: 45px 0 5px 0;
  }
  section.facilities {
    padding: 45px 0;
    text-align: center;
  }
  .main_gallery {
    float: none;
    width: 100%;
    height: auto;
    padding-right: 0;
  }
  #facility_description {
    margin-bottom: 25px;
  }
  .sub_gallery {
    overflow: hidden;
    position: relative;
    float: none;
    width: 100%;
    height: auto;
  }
  ul#gallery_list li:nth-child(2n+2) {
    margin-right: 2%;
  }
  ul#gallery_list li {
    background-color: #ffffff;
    cursor: pointer;
    float: left;
    overflow: hidden;
    position: relative;
    width: 23.5%;
    height: 0;
    padding-top: 15.503472222%;
    background-color: inherit;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-sizing: border-box;
    margin-right: 2%;
    margin-bottom: 2%;
    transition: all 0.2s;
    opacity: 0.5;
  }
  ul#gallery_list li:nth-child(4n+4) {
    margin-right: 0;
  }
  table.relation_tbl {
    border-collapse: collapse;
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: left;
    padding: 0 20px;
    display: block;
  }
  table.relation_tbl tbody, table.relation_tbl tr {
    border-collapse: collapse;
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: left;
    padding: 0;
    display: block;
  }
  .clinic_remarks {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 40px;
    border: solid 1px #3aade9;
    box-sizing: border-box;
    border-radius: 30px;
  }
  .background {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 160px;
  }
  section.contact {
    padding: 45px 0;
    background-color: #3aade9;
    color: #ffffff;
    text-align: center;
  }
  section.contact_form .wrapper {
    padding: 45px 20px;
  }
  table.contact_form_tbl, table.contact_form_tbl tbody {
    border-collapse: collapse;
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: left;
    display: block;
  }
  table.contact_form_tbl th {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 12px 0 0 0;
    vertical-align: middle;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.75;
    display: block;
  }
  table.contact_form_tbl th span {
    float: left;
    margin-right: 15px;
  }
  table.contact_form_tbl td {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 12px 0 12px 0;
    vertical-align: middle;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.75;
    display: block;
  }
  .required {
    float: left;
    width: 57px;
    height: 25px;
    text-align: center;
    color: #ffffff;
    background-color: #fc4d4d;
    line-height: 25px;
    overflow: hidden;
    position: relative;
  }
  small {
    float: left;
    clear: both;
    margin-top: 7.5px;
  }
  ul.footer_nav {
    display: none;
  }
  footer {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 125px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 0;
  }
  .copyright {
    font-size: 1.2rem;
    font-weight: 400;
    position: absolute;
    bottom: auto;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    color: #000;
    top: 0;
    height: 75px;
    line-height: 75px;
  }
  #page_top {
    background-color: transparent;
    border-radius: 0;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    transition: all 0.4s;
    opacity: 1 !important;
    z-index: 9;
  }
  ul.sp_footer_nav {
    display: block;
    overflow: hidden;
    position: relative;
    width: calc(100% - 50px);
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    z-index: 9;
  }
  ul.sp_footer_nav li {
    float: left;
    width: 50%;
    overflow: hidden;
    position: relative;
    height: 50px;
  }
  button.sp_mail {
    background-color: #3aade9;
    border: solid 1px #3aade9;
    border-radius: 0;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    background-image: url(../images/common/sp_mail.svg);
    background-size: 162.1245px 14.25px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: all 0.2s;
  }
  button.sp_mail:hover {
    background-image: url(../images/common/sp_mail_hover.svg);
    background-color: #ffffff;
  }
  button.sp_application {
    background-color: #86c9e7;
    border: solid 1px #86c9e7;
    border-radius: 0;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    background-image: url(../images/common/sp_application.svg);
    background-size: 146.7954px 18.8px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: all 0.2s;
  }
  button.sp_application:hover {
    background-image: url(../images/common/sp_application_hover.svg);
    background-color: #ffffff;
  }
  .sp_menu_remarks {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    padding: 25px 0;
    text-align: center;
  }
  .sp_menu_remarks small {
    float: none;
  }
  .sp_menu_button_wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .sp_menu_mail {
    float: left;
    width: 49%;
    height: 50px;
    background-color: #ffffff;
    border: solid 1px #3aade9;
    box-sizing: border-box;
    transition: all 0.2s;
    background-image: url(../images/common/sp_menu_mail.svg);
    background-size: 162.1244px 16px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-right: 2%;
  }
  .sp_menu_application {
    float: left;
    width: 49%;
    height: 50px;
    background-color: #ffffff;
    border: solid 1px #3aade9;
    border-radius: 15px;
    box-sizing: border-box;
    transition: all 0.2s;
    background-image: url(../images/common/sp_menu_application.svg);
    background-size: 146.7955px 20.8px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-right: 0;
  }
  section h1 {
    font-size: 2.0rem;
  }
  section h3, h4, h6 {
    font-size: 1.6rem;
  }
  section p, ul.greeting_list li span, ul.information_list li, table.basic tr th, table.basic tr td, ol li, table.contact_form_tbl th, table.contact_form_tbl td {
    font-size: 1.4rem;
  }
  .newMark {
    font-size: 1.2rem;
  }
  .slideshow {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
  }
  .slogan_white {
    background-color: #3aade9;
    overflow: hidden;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: auto;
    width: 100%;
    max-width: 1140px;
    height: auto;
    z-index: 2;
    padding: 20px 0;
    text-align: center;
  }
  .slogan_white span {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    padding: 0;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    -webkit- transform: none;
    width: 100%;
    display: block;
  }
  .slide4 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 0;
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    z-index: 1;
    padding-top: 82%;
  }
  .slide5 {
    display: none;
  }
  .slide6 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 0;
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    z-index: 1;
    padding-top: 82%;
  }
  ul.relation_list li {
    font-size: 1.4rem;
  }
  section.single {
    min-height: calc(100vh - 110px);
  }
  article h2 {
    font-size: 1.3rem;
  }
  .detailText {
    font-size: 1.4rem;
    line-height: 1.75;
  }
  .news_box {
    min-height: calc(100vh - 110px);
  }
}

@media screen and (max-width: 480px) {
  .contact_link_tel {
    overflow: hidden;
    position: relative;
    width: 280px;
    text-align: right;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 auto;
    background-color: inherit;
    background-image: url(../images/common/tel.svg);
    background-size: 30.3633px 39.6px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding: 5px 0;
  }
  small.center {
    margin-top: 0;
    padding-left: 45px;
  }
  table.basic tr th {
    font-weight: 400;
    line-height: 1.5;
    padding: 12.5px 0 0 0;
    vertical-align: top;
    width: 100%;
    display: block;
  }
  table.basic tr td {
    font-weight: 400;
    line-height: 1.75;
    padding: 12.5px 1em 12.5px 0;
    vertical-align: top;
    display: block;
    width: 100%;
  }
  .contact_mail {
    overflow: hidden;
    position: relative;
    width: 280px;
    height: auto;
    line-height: 24px;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0 auto 35px auto;
    margin-bottom: 35px;
    margin-bottom: 35px;
    background-color: inherit;
    background-image: url(../images/common/contact_mail.svg);
    background-size: 31.9202px 20px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 38px;
  }
  #facility_title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 1.5em;
    background-color: #ffffff;
  }
}

@media screen and (max-width: 400px) {
  .icon_instagram {
    margin: 0 30px 0 0;
  }
  .sp_menu_mail {
    float: none;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    border: solid 1px #3aade9;
    box-sizing: border-box;
    transition: all 0.2s;
    background-image: url(../images/common/sp_menu_mail.svg);
    background-size: 162.1244px 16px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-right: 0;
    margin-bottom: 2%;
  }
  .sp_menu_application {
    float: none;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    border: solid 1px #3aade9;
    border-radius: 15px;
    box-sizing: border-box;
    transition: all 0.2s;
    background-image: url(../images/common/sp_menu_application.svg);
    background-size: 146.7955px 20.8px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-right: 0;
  }
  .contact_mail {
    overflow: hidden;
    position: relative;
    width: 280px;
    height: auto;
    line-height: 24px;
    text-align: left;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0 auto 35px auto;
    margin-bottom: 35px;
    margin-bottom: 35px;
    background-color: inherit;
    background-image: url(../images/common/contact_mail.svg);
    background-size: 31.9202px 20px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 45px;
  }
  .contact_mail br {
    display: block;
  }
}

@media screen and (max-width: 369px) {
  .box.sns h4 {
    color: #3aade9;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1em;
  }
  .icon_instagram {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 30px 0 0;
  }
  .line_friend {
    overflow: hidden;
    position: relative;
    margin: 12.5px 4px 0 0;
  }
  .line_friend img {
    overflow: hidden;
    position: relative;
    width: auto;
    height: 30px;
  }
  .icon_friend {
    overflow: hidden;
    position: relative;
    width: auto;
    height: 50px;
    margin: 2px 0 0 0;
  }
}