/* カラー変更 */

:root {
    --content-width: 1920px;
    --main-color01: #034EDF;
    --main-color02: #3C90E9;
    --main-color03: #7AC5F5;
    --sub-color: #F4A118;
    --accent-color: #F2EFEB;
}


/* コンテンツレイアウト */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-all;
    border-spacing: 0;
    border-collapse: collapse;
    text-indent: initial;
    text-decoration: none;
    line-height: 2.0em;
    margin: 0;
}

body {
    overflow-x: hidden;
    font-family: 'Zen Maru Gothic', sans-serif, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
    color: #323232;
}

/*main {
  padding-top: 100px;
}*/

.home main {
  padding-top: 0;
}

@media(max-width: 1200px) {
    .home main {
        padding-top: 155vh!important;
    }
}

@media(max-width: 1024px) {
    .home main {
        padding-top: 70vh!important;
    }
}

@media (max-width: 768px) {
  .home main {
    padding-top: 85vh!important;
  }
  main {
    padding-top: 0!important;
  }
}

@media(max-width: 700px) {
    .home main {
        padding-top: 70vh!important;
    }
}

@media(max-width: 600px) {
    .home main {
        padding-top: 45vh!important;
    }
}

@media(max-width: 480px) {
    .home main {
        padding-top: 20vh!important;
    }
}
ul {
  padding-left: 20px;
}
li::marker {
    color: var(--main-color02);
}

/*a:hover {
    opacity: 0.7;
}*/

section {
    padding: 60px 0;
    background-color: #e8f3fa;
}

.home section {
    background-color: transparent;
}

section:first-of-type {
    padding-top: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
}

.home section:first-of-type {
    padding-top: 60px;
}

@media (max-width: 767px) {
    .home section:first-of-type {
        padding-top: 30px;
    }
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

.home .container {
  margin: 0 auto;
  max-width: var(--content-width);
}
@media (max-width: 1200px) {
  .container {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .container:first-child {
    margin-top: 0;
  }
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .row {
        display: block;
        margin-top: 0;
    }
    .row.sp-2row {
        display: flex;
    }
}

.row.reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.row .span_1 {
    width: calc(100% / 12 * 1);
}

.row .span_2 {
    width: calc(100% / 12 * 2);
}

.row .span_3 {
    width: calc(100% / 12 * 3);
}

.row .span_4 {
    width: calc(100% / 12 * 4);
}

.row .span_5 {
    width: calc(100% / 12 * 5);
}

.row .span_6 {
    width: calc(100% / 12 * 6);
}

.row .span_7 {
    width: calc(100% / 12 * 7);
}

.row .span_8 {
    width: calc(100% / 12 * 8);
}

.row .span_9 {
    width: calc(100% / 12 * 9);
}

.row .span_10 {
    width: calc(100% / 12 * 10);
}

.row .span_11 {
    width: calc(100% / 12 * 11);
}

.row .span_12 {
    width: 100%;
}

.row>.col {
    margin-top: 30px;
    margin-left: 0;
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

@media (max-width: 768px) {
    .row>.col {
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        padding-right: calc(30px / 2);
        padding-left: calc(30px / 2);
        width: 100%;
    }
    .row.sp-2row>.col {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .row .span_1 {
        width: auto;
    }
    .row>.col:not(:first-child) {
        margin-top: 20px;
    }
}


/* ヘッダー */

/*header {
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 10px 30px;
    top: 0;
    background: rgba(80, 76, 68, 0.7);
}*/

header {
    position: relative;
    width: 100%;
    z-index: 100;
    overflow: visible;
}

header.color-change-class {
    overflow: visible;
}

.header-wrap {
    position: relative;
    width: 100%;
    /*min-height: 80px;*/
    /*text-align: center;*/
    margin: 0 auto;
    /*max-width: var(--content-width);*/
    background-color: transparent;
    z-index: 100;
    /*position: fixed;*/
}

.home .header-wrap {
    min-height: 80px;
}

.header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding-right: 180px;
    position: relative;
}

.header-main p {
    font-size: 1rem;
    text-align: right;
}

.header-main a {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    color: #323232;
}

.header-main a span {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.header-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-bottom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

@media (max-width: 768px) {    
    header {
        height: auto;
    }
    .home header {
        height: 110vh;
    }
    .header-main {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        width: 100%;
        justify-content: space-between;
        padding-right: 0;
        height: 80px;
        padding: 5px 0 10px 15px;
        position: fixed;
        z-index: 100;
        padding: 0;
        background: #fff;
    }
    .home .header-main {
        background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;
    }
    .header-wrap {
        position: relative;
    }
    .header-logo {
        margin-left: 7%;
    }
    .home .header-logo {
        margin-left: 10px;
    }
    .header-logo img {
        width: 240px;
    }
    .home .header-logo img{
        width: 300px;
    }
   .header-head {
    width: calc(100% - 90px);
    }
    .header-bottom {
    z-index: 1;
}
}

@media (max-width: 400px) {
    .home header {
        height: 125vh;
    }
}

.header-head a {
    display: inline-block;
}

.header-copy:not(.title) {
    color: #323232;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 0 8%;
    padding: 4px 0;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    text-align: left;
    position: relative;
    width: 100%;
}

.home .header-copy:not(.title) {
    color: #fff;
    margin: 0 0 20px 8%;
}

@media (max-width: 960px) {
    /*.header-main {
        flex-wrap: wrap;
        justify-content: flex-end;
    }*/
    .header-main p {
        display: none;
    }
    .header-copy:not(.title) {
        margin: 0 0 0 8%;
    }
}


@media (max-width: 768px) {
    .home .header-copy:not(.title) {
        font-size: 10px;
        margin: 0;
        padding: 0;
        letter-spacing: -0.2px;
        color: #fff;
        margin-left: 10px;
    }
    .header-copy:not(.title) {
        font-size: 10px;
        line-height: 1;
    }
    .header-main a {
        padding-bottom: 10px;
    }
}

@media(max-width: 420px) {
    .header-copy:not(.title) {
        font-size: 9px;
    }
}


.header-btn {
    position: relative;
    cursor: pointer;
    width: 150px;
    height: 150px;
    z-index: 999999999;
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;
}

.header-btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 45px;
    height: 3px;
    border-radius: 2px;
    background: #FFF;
    width: 60px;
}

.header-btn span:nth-of-type(1) {
    top: 40px;
}

.header-btn span:nth-of-type(2) {
    top: 60px;
}

.header-btn span:nth-of-type(3) {
    top: 80px;
}

.header-btn span:nth-of-type(4) {
    top: 90px;
    background: none;
    font-size: 16px;
    color: #fff;
    left: 55px;
}

.header-btn.active span:nth-of-type(1) {
    top: 24px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.header-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.header-btn.active span:nth-of-type(3) {
    top: 36px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

@media(max-width: 768px) {
     .header-btn {
        width: 80px;
        height: 76px;
    }
    .header-btn span {
        left: 25px;
        width: 35px;
    }
    .header-btn span:nth-of-type(1) {
        top: 25px;
    }
    .header-btn span:nth-of-type(2) {
        top: 35px;
    }
    .header-btn span:nth-of-type(3) {
        top: 45px;
    }
    .header-btn span:nth-of-type(4) {
        top: 45px;
        font-size: 13px;
        left: 25px;
        width: 42px
    }
    .header-btn.active span:nth-of-type(1),.header-btn.active span:nth-of-type(3) {
        left: 24px;
    }
    .header-btn span.is-close {
        left: 20px;
        width: 42px;
    }
}

.close-btn {
    position: absolute;
    cursor: pointer;
    color: #fff;
    right: -85vw;
    /*width: 90px;
    height: 120px;*/
    /*z-index: -1;*/
    width: 200px;
    height: 200px;
    right: -15px;
}

.close-btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 45px;
    height: 3px;
    border-radius: 2px;
    background: #FFF;
    width: 60px;
}

.close-btn span:nth-of-type(1) {
    top: 60px;
    left: 50px;
    transform: translateY(6px) rotate(-35deg);
    width: 60px;
    /*top: 41px;
    left: 0px;*/
}

.close-btn span:nth-of-type(2) {
    opacity: 0;
}

.close-btn span:nth-of-type(3) {
    top: 72px;
    left: 50px;
    transform: translateY(-6px) rotate(35deg);
    width: 60px;
    /*top: 54px;
    left: 0;*/
}

.close-btn span:nth-of-type(4) {
    top: 90px;
    background: none;
    font-size: 16px;
    color: #fff;
    left: 55px;
    /*top: 72px;
    left: 5px;*/
}


.fixed-area {
    position: fixed;
    top: 0;
    right: 0;
}
.reserve-btn {
    width: 150px;
    height: 150px;
    background: radial-gradient(50% 50% at 50% 50%, #F89A00 0%, #FFC058 100%);
    color: #fff!important;
    text-align: center;
    padding: 19px;
    font-size: 16px!important;
    font-family: 'Zen Maru Gothic', sans-serif!important;
    display: block;
}

.reserve-btn img {
    width: 75%;
    padding-left: 10px;
}

.reserve-btn p {
    line-height: 1.2;
    padding-top: 5px;
    font-weight: 700;
    text-align: center;
    display: block;
}

.reserve-btn span {
    line-height: 1.2!important;
    font-weight: 700!important;
    font-size: 1rem!important;
}

.header_nav {
    margin-right: 0px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 10px;
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/*@media (min-width: 1023px) {
  .header-btn {
    display: none;
  }
}*/

@media (min-width: 768px) and (max-width: 1366px) {
    .big-size {
        display: none;
    }
    .header-btn {
        width: 100px;
        height: 100px;
    }
    .reserve-btn {
        width: 100px;
        height: 100px;
    }
    .header-btn span {
        left: 25px;
        width: 50px;
    }
    .header-btn span:nth-of-type(1) {
        top: 20px;
    }
    .header-btn span:nth-of-type(2) {
        top: 38px;
    }
    .header-btn span:nth-of-type(3) {
        top: 55px;
    }
    .header-btn span:nth-of-type(4) {
        top: 60px;
        left: 30px
    }
    .reserve-btn {
        padding: 8px;
    }
}


@media(max-width: 1024px) {
    .close-btn {
        right: -15px;
    }
}

@media(max-width: 768px) {
    .close-btn {
        display: none;
    }
}

/* スライドナビゲーション */

.slide {
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;
    width: 100%;
    min-height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 100;
    overflow: scroll;
    /*padding-top: 100px;*/
}/* burgerlinkBox */


.slide-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background: transparent;
  /*cursor: pointer;*/
  /*z-index: -1;*/
}

.slide nav {
    margin-top: 60px;
    position: relative;
    z-index: 1;
    width : 100%;
}


@media (max-width: 768px) {
    .slide {
        margin-top: 80px;
    }
}

.slide-menu {
    list-style: none;
    border-top: 2px solid #fff;
    padding: 0;
}

.slide-menu>ul {
    padding: 0;
}

.slide-menu>ul>li {
    border-bottom: 2px solid #fff;
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: #fff;
    padding: 20px;
    display: block;
}

.slide-menu>ul>li>a:hover {
    background-color: var(--main-color02);
    box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease 0s;
    opacity: 1;
}

.slide nav li a {
    display: block;
}

.nav-wrap {
    display: flex;
    color: #fff;
    gap: 60px;
    padding: 0 5%;
}

.nav-inner {
    width: 100%;
}

.nav-inner figure {
    width: 80%;
    padding-top: 80px;
    position: relative;
    margin: 0 auto;
}

.slide-menu-info dl {
    display: flex;
    width: 270px;
    margin: 20px auto;
}

.slide-menu-info dt {
    width: 52px;
    font-size: 18px;
    background-color: #fff;
    color: var(--main-color01);
    margin: 0 10px;
    text-align: center;
}
.slide-menu-info dd {
    width: calc(100% - 90px);
    color: #fff;
}

.nav-left {
    display: flex;
    gap: 60px;
}

.nav-left > ul {
    width: 50%;
    list-style: none;
}

.nav-right {
    width: 50%!important;
    margin-right: 200px;
}

.nav-right > ul {
    width: 100%;
    list-style: none;
}

.nav-left > ul >li a,.nav-right > ul >li a{
    color: #fff;
}

.nav-wrap nav li {
    position: relative;
}

.nav-wrap nav li a::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f105';
    right: 10px;
    top: 10px;
}


.nav-wrap nav li a:hover::after {
    right: 0px;
}

.nav-wrap nav li a {
    border-bottom: 2px solid #fff;
    padding: 10px 20px 0 10px;
}


nav li.has-child-bgr ul{
  position: absolute;
  z-index: 4;
  transition: all .3s;
  background: #fff;
  padding: 20px;
  border-radius: 0;
  gap: 0;
  height: auto;
  display: none;
  width: 100%;
}


nav li.has-child-bgr.medical ul li:hover {
    background: none;
}
/*nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}*/



.header_nav ul > li span {
    font-size: 14px;
    font-weight: bold; 
    position: absolute;
    bottom: 0;
    width: 170px;
    display: block;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);  
}

nav li.has-child-bgr ul li:before,
nav li.has-child-bgr ul li:first-child:before{
    display: block;
    background: none;
    left: 8px;
    top: 7px;
    font-size: 18px;
    color: var(--main-color02);
    position: absolute;
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
}

nav li.has-child-bgr ul li a{
  color: #fff;
  display: block;
  width: 100%!important;
  height: auto!important;
  text-decoration: none;
  padding: 10px 10px 10px 25px;
  border-bottom: 2px solid #fff;
}

nav li.has-child-bgr.medical ul li a{
  width: 200px!important;
}

nav li.has-child-bgr ul li a::after {
    content: none!important;
}

.nav-wrap nav li.has-child-bgr:hover::after {
    right: 10px!important;
}


nav li.has-child ul li:hover {
    background: #DBEBF5;
    transition: 0.3s;
}

nav li.has-child-bgr ul li:hover::before {    
	content: '●';
    font-size: 8px;
}

nav li.has-child-bgr ul.bgr {
    top: 40px;
    padding: 0;
    background: none;
    list-style: none;
    
}


nav li.has-child-bgr {
    position: relative;
    cursor: pointer;
    list-style: none;
    /*border-bottom: 2px solid #fff;*/
}


.nav-wrap nav li.has-child-bgr a::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f107';
    top: 10px;
}

.nav-wrap nav li.has-child-bgr a:hover:after {
    right: 10px;
}

/*nav li.has-child-bgr:nth-of-type(2) {
    margin-top: 140px;
}*/

nav li.has-child ul.bgr li {
    position: relative;
}

nav li.has-child-bgr ul li:before, nav li.has-child-bgr ul li:first-child:before {
    color: #fff;
}

nav li.has-child-bgr ul.bgr li a {
    border: none;
    color: #fff;
    padding: 5px 10px 0px 25px;
    width: 100% !important;
}

.nav-wrap nav li.has-child-bgr.open a::after  {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f106';
}

.child-menu.bgr li {
    border-bottom: 1px dashed #C1C1C1;
}

.child-menu.bgr li::after {
    content:none!important;
}

nav li.has-child-bgr > .child-menu {
  position: static; 
  display: none;
  padding: 0;
  margin: 0;
}

@media(max-width: 1200px) {
    .nav-left {
        gap: 20px;
    }
    .nav-wrap {
        padding: 0 10% 0 5%;
        gap: 20px;
    }
}

@media(max-width: 768px) {
    .nav-wrap {
        flex-direction: column;
    }
    .nav-left > ul {
        width: 100%;
    }
}

/* ぱんくず */

.bread_wrap {
    margin-top: 0;
    margin-bottom: 0;
}

.bread {
    overflow: hidden;
}

.bread ul {
    margin: 0 auto;
    float: none;
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .bread ul {
        padding: 15px 0;
    }
}

.bread ul li {
    list-style: none;
    position: relative;
    float: left;
    margin-right: 20px;
    padding-right: calc(20px + 9px);
}

@media (max-width: 768px) {
    .bread ul li {
        margin-right: 15px;
        padding-right: calc(15px + 9px);
    }
}

.bread ul li a {
    padding: 0;
    text-decoration: underline;
    color: var(--main-color02);
}

.bread ul li a:hover {
    color: #1b1b1b;
    text-decoration: none;
}

.bread ul li:after {
    content: '>';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.bread ul li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.bread ul li:last-child:after {
    content: none;
}

.medicalinfo {
    background-color: var(--accent-color);
}


/* 画像のフィックス */

figure {
    margin: 0;
    text-align: center;
}

img {
    vertical-align: middle;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.recruit-info-container img {
    width: auto;
}

figure img {
    width: inherit;
}


/* 投稿 */

.article_list {
    padding: 30px;
    border: 1px solid var(--main-color02);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .article_list {
        padding: 20px;
    }
}

.article_list:first-child {
    margin-top: 0;
}

.article_list:nth-child(n+2) {
    margin-top: 30px;
}

.article_date {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article_detail {
    padding: 4%;
    margin-bottom: 4%;
    font-size: 1.2rem;
}

.article_detail img {
    width: auto;
}

.article_detail .span_12 {
    margin: 2% 0;
}

.article_button {
    margin-top: 30px;
    text-align: right;
}

@media (max-width: 768px) {
    .article_button {
        margin-top: 20px;
    }
}

.more {
    display: inline-block;
    overflow: hidden;
    margin: auto;
}

.more.btn_ss a,
.more.btn_ss span {
    padding: 0.3em 2.1em 0.3em 1.4em;
}

.more.btn_s a,
.more.btn_s span {
    padding: 0.5em 2.1em 0.5em 1.4em;
}

.more.btn_m a,
.more.btn_m span {
    padding: 0.5em 2.1em 0.5em 1.4em;
}

.more a,
.more span {
    display: inline-block;
    letter-spacing: normal;
    color: var(--main-color02);
    border: 1px solid var(--main-color02);
    padding: 0.9em 1.6em;
    margin-bottom: 1px;
    text-decoration: none;
}

.more a:after,
.more span:after {
    border-color: var(--main-color02);
}

.more a:hover,
.more span:hover {
    color: #333;
    border-color: #333;
}

.more a:hover:after,
.more span:hover:after {
    border-color: #333;
}

.more a.add_arrow,
.more span.add_arrow {
    padding-right: 1.9em;
}

.add_arrow {
    display: block;
    position: relative;
}

.add_arrow:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 5%;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.add_arrow:hover:after {
    right: 3%;
    border-color: #fff;
}

.more {
    display: inline-block;
    overflow: hidden;
    margin: auto;
}

.more a {
    display: inline-block;
    letter-spacing: normal;
    border: 1px solid var(--main-color02);
    color: var(--main-color02);
    padding: 0.3em 1.3em 0.3em 1em;
    margin-bottom: 1px;
    text-decoration: none;
    font-size: 1.2rem;
}

.pager {
    overflow: hidden;
    margin-bottom: 5%;
}

.pager .pager_prev {
    float: left;
}

.pager .pager_prev a {
    display: block;
    position: relative;
    padding-left: 15px;
    text-decoration: none;
}

.pager .pager_prev a:before,
.pager .pager_prev a:after {
    content: "";
    display: block;
    position: absolute;
    left: 2px;
    margin: auto;
    width: 8px;
    height: 1px;
    background: var(--main-color02);
    -webkit-transition: .2s;
    transition: .2s;
}

.pager .pager_prev a:before {
    -webkit-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
    top: calc(50% - 2px);
}

.pager .pager_prev a:after {
    -webkit-transform: translateY(-50%) rotate(-135deg);
    transform: translateY(-50%) rotate(-135deg);
    top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
    text-decoration: underline;
}

.pager .pager_prev a:hover:before {
    left: 0;
}

.pager .pager_prev a:hover:after {
    left: 0;
}

.pager .pager_next {
    float: right;
}

.pager .pager_next a {
    display: block;
    position: relative;
    padding-right: 15px;
    text-decoration: none;
}

.pager .pager_next a:before,
.pager .pager_next a:after {
    content: "";
    display: block;
    position: absolute;
    right: 2px;
    margin: auto;
    width: 8px;
    height: 1px;
    background: var(--main-color02);
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .2s;
    transition: .2s;
}

.pager .pager_next a:before {
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    top: calc(50% - 2px);
}

.pager .pager_next a:after {
    -webkit-transform: translateY(-50%) rotate(135deg);
    transform: translateY(-50%) rotate(135deg);
    top: calc(50% + 3px);
}

.pager .pager_next a:hover {
    text-decoration: underline;
}

.pager .pager_next a:hover:before {
    right: 0;
}

.pager .pager_next a:hover:after {
    right: 0;
}

/*.top-news,
.top-doctor,
.top-diagnosis,
.top-recruit {
    background: var(--accent-color);
}

.top-clinic {
    background: #AB9D83;
}*/

.top-news {
    opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
  padding-top: 120px!important;
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-news > .container {
    max-width: 1200px;
    width: 100%;
}

.news-wrap {
    display: flex;
    position: relative;
    background-color: var(--main-color03);
    padding: 40px;
}

.news-wrap::before {
    content: '';
    display: block;
    position: absolute;
    background: url(/wp-content/uploads/news-icon.png);
    width: 220px;
    height: 180px;
    background-repeat: no-repeat;
    background-size: contain;
    top: -100px;
    left: -20px;
}

.news-h2-wrap {
    height: 200px;
    padding-right: 30px;
}

.news-btn {
    padding: 8px 16px;
    display: block;
    background: #fff;
    position: relative;
    color: #323232;
}

.news-btn::after {
    position: absolute;
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

.news-btn:hover::after {
    content: '●';
    font-size: 10px;
    color: var(--main-color02);
    transition: color 0.3s ease;
}

.news-items-wrap {
    width: calc(100% - 200px);
}

.news-items {
    background: #fff;
    max-height: 200px;
    overflow-y: scroll;
}

.news-item {
    flex: 1;
}

.news-items-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    align-items: flex-start;
    position: relative;
    padding-right: 30px;
    padding: 16px 24px;
    border-bottom: 2px solid var(--main-color03);
    align-items: center;
}

.news-items-inner::after {
    position: absolute;
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
    top: 44%;
    right: 10px;
}

.news-items-inner:hover {
    background-color: #DBEBF5;
    transition: 0.3s ease;
}

.news-items-inner:hover::after {
    content: '●';
    font-size: 10px;
    color: var(--main-color02);
}

/*.news-items-inner:last-child {
    border-bottom: none;
}*/

.cat {
    background: var(--main-color01);
    padding: 0 10px;
    color: #fff;
    display: none;
}

.post-title {
    font-size: 20px;    
    line-height: 1;
    color: #323232;
    
}

.news-items-inner time {
    color: var(--main-color02);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.news-item a {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: #323232;
    line-height: 0;
    line-height: 1.5;
}

.news-content {
    width: 100%;
    margin: 15px 0 0;
    line-height: 1.5;
}

/*.news-item a:hover {
    text-decoration: underline;
    opacity: .7;
}*/

@media (max-width: 768px) {
    .news-item {
        width: 100%;
        flex: auto;
    }
    .news-items-inner time {
        width: 100%;
    }
    .top-news {
        padding-top: 65px!important;
    }
    .news-wrap{
        flex-direction: column;
        padding: 16px;
    }
    .news-wrap::before {
        width: 120px;
        height: 100px;
        top: -30px
    }
    .news-h2-wrap {
        padding-right: 0;
        height: auto;
    }
    .news-btn {
        width: 130px;
        margin-left: auto;
        margin-top: 10px;
    }
    .news-items-wrap {
        width: 100%;
    }
    .news-items-inner {
        padding: 10px 24px;
    }
    .news-items-inner time {
        font-size: 14px;
    }
    .post-title {
        font-size: 16px;
    }
}




  /* コンタクトフォーム */

  span[class^="cf-"] {
    display: block;
  }

  .form-wrap dl {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0;
    gap: 0;
    align-items: stretch;
  }

  .form-wrap dl:last-child {
    margin-bottom: 0;
  }

  .form-wrap dl dt {
    font-weight: bold;
    width: 240px;
    background: var(--main-color01);
    padding: 10px;
    color: #fff;
    border-bottom: 1px solid #fff;
  }

  .form-wrap dl dd {
    padding: 10px;
    margin-left: 0;
    width: calc(100% - 240px);
    background: #fff;
  }

  .reqired {
    color: #f00;
  }

  input[type=text],
  input[type=number],
  input[type=date],
  input[type=tel],
  input[type=url],
  input[type=email]
   {
    width: 100%;
    font-size: 20px;
    border: none;
    background: #ececec;
    height: 100%;
  }

.submit{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

  button{
    text-decoration: none;
    border: none;
    outline: 0;
    color: #fff;
    cursor: pointer;
    background: none;
    padding: 23px 20px 23px 20px;
    width: 100%;
  }

  button:hover{
    color: #FFF;
  }

  select {
    font-size: 20px;
    border: none;
    background: #ececec;
    height: 100%;
  }

  textarea {
    width: 100%;
    border: none;
    background: #ececec;
    height: 100%;
  }

  @media (max-width: 820px) {
      .form-wrap dl dd {
          width: 100%;
      }
      .form-wrap dl dt {
          width: 100%;
      }
    }


/* カレンダー */

.calendars {
    display: flex;
    gap: 20px 2%;
}

.xo-event-calendar .calendar:first-child .month-next {
    visibility: hidden;
}

.xo-event-calendar .calendar:nth-child(n+2) .month-next {
    visibility: visible;
}

.xo-event-calendar table.xo-month .month-header>span {
    margin: 0 20px;
    flex-grow: 0;
}

@media (max-width: 480px) {
    .calendars {
        flex-wrap: wrap;
    }
    .xo-event-calendar .calendar:first-child .month-next {
        visibility: visible;
    }
    .xo-event-calendar .calendar:nth-child(n+2) .month-next {
        visibility: hidden;
    }
}

.xo-event-calendar table.xo-month td,
.xo-event-calendar table.xo-month th {
    border: none;
}

.xo-event-calendar table.xo-month {
    border: none;
}

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

.holiday-titles {
    display: flex;
    flex-wrap: wrap;
}

.xo-event-calendar p.holiday-title {
    margin-right: 20px;
}

.xo-event-calendar table.xo-month button {
    background: var(--main-color02);
    width: 32px;
    border-radius: 50%;
}

.xo-event-calendar table.xo-month button span.nav-next {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    margin-right: 5px;
}

.xo-event-calendar table.xo-month button span.nav-prev {
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin-left: 5px;
}

.xo-event-calendar table.xo-month .month-event-title {
    background: var(--main-color01)!important;
    text-align: center;
}


/* Slider */

.mv {
    position: relative;
    /*height: 100vh;*/
    width: 100%;
    min-height: 100vh;
}

.mv-content {
    display: flex;
}

.mv-left {
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%);
    width: 50%;
    padding-top: 80px;
    padding-left: 80px;
}

.mv-left div:nth-child(1) {
    width: 50%;
    margin: 0 auto;
}

.mv-left div:nth-child(2) {
    width: 80%;
    margin: 80px auto 0;
}

.mv-left div:nth-child(3) {
    width: 85%;
    margin: 0 10%;
}

.mv-right {
    background: url(/wp-content/uploads/mv-pc.png);
    background-size: cover;
    width: 50%;
    /*height: 110vh;*/
    min-height: 100vh;
}

.mv-point {
    display: flex;
    gap: 42px;
    position: absolute;
    bottom: 13%;
    width: 60%;
    padding-left: 10%;
}

/*.scroll-btn {
    transform: rotate(-90deg);
    width: 120px;
    position: absolute;
    bottom: 80px;
    color: #fff;
}

.scroll-btn p {
  position: relative;
  display: inline-block;
}

.scroll-btn p::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 150%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(1);
  transform-origin: right center; 
  transition: transform 0.3s ease;
}

.scroll-btn:hover p::after {
  transform: scaleX(0);
}*/

.scroll-indicator {
      position: absolute;
      bottom: 80px;
      left: 5.5%;
      z-index: 9999;
      transform: rotate(-90deg);
      transform-origin: left bottom;
    }

    .scroll-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: white;
    }

    .scroll-text {
      letter-spacing: 0.2em;
      margin: 0;
    }

    .scroll-line {
      position: relative;
      width: 80px;
      height: 1px;
    background-color: rgba(255, 225, 255, 0.3);
      overflow: hidden;
    }

    .scroll-line::before {
      content: '';
      position: absolute;
      top: 0;
      left: 100%;
      width: 60px;
      height: 100%;
      background: linear-gradient(to left, rgba(255,255,255,0), white);
      animation: scrollLineAnim 1s linear infinite; 
      opacity: 0;
      will-change: transform, left, opacity;
    }

    @keyframes scrollLineAnim {
      0% {
        left: 100%;
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      100% {
        left: -40px;
        opacity: 0;
      }
    }

@media(max-width: 1200px) {
    /*.scroll-btn {
        bottom: 120px;
    }*/
    .mv-content {
        background-color: var(--main-color01);
    }
    .mv-right {
        background-size: auto 100%;
        width: 60%;
        background-repeat: no-repeat;
    }
    .mv-left {
        width: 40%;
        padding-top: 160px;
    }
    .mv-left div:nth-child(1) {
        width: 90%;
    }
    .mv-left div:nth-child(2) {
        width: 100%;
    }
    .mv-left div:nth-child(3) {
        width: 90%;
        margin: 0;
    }
}

@media(max-width:1024px) {
    .mv {
        min-height: 50vh;
    }
    .mv-left div:nth-child(2) {
        margin: 40px auto 0;
    }
    .mv-point {
        bottom: 10%;
        right: 10%;
    }
    .mv-right {
        min-height: 50vh;
    }
    .mv-left {
        padding-top: 65px;
    }
    
}

@media(max-width:768px) {
    .mv {
        background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%);
        /*height: 100vh;*/
        padding-top: 80px;
        padding-bottom: 30px;
        min-height: 80vh;
    }

    .mv-inner {
        display: flex;
        position: relative;
        justify-content: flex-end;
    }

    .mv-point {
        position: relative;
        margin-top: -100px;
        z-index: 2;
    }

    .mv-bg {
        width:65%;
        position: relative;
        z-index: 0;
    }
    .reserve-bnr {
        margin-top: -30px;
    }
    .scroll-indicator {
        top: 58%;
        left: 10%;
        bottom: auto;
    }
}

@media(max-width: 480px) {
    .reserve-bnr {
        margin-top: -20px;
    }
}

.mv-bottom {
    height: 80vh;
    position: relative;
}

.mv-bottom-o {
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%);
    border-radius: 0 0 100px 100px;
    height: 50%;
    width: 100%;
    position: absolute;
    top: 0;
}

.mv-bottom-u {
    background-color: #fff;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.mv-bottom figure {
    position: relative;
    padding-top: 180px;
}

.mv-bottom figure img{
    width: 60%;
}


.slider01 {
    width: 100%;
}

.catch {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 70px;
}

.catch .txt p {
    font-size: 32px;
    padding: 20px;
    font-family: serif;
    color: #fff;
    text-shadow: 1px 4px 2px #000;
}

.slick-prev {
    left: 1%!important;
}

.slick-next {
    right: 1%!important;
}

.slick-prev:before,
.slick-next:before {
    color: #000!important;
}

@media(max-width:1024px) {
    .mv-bottom figure {
        padding-top: 0;
    }
    .mv-bottom {
        height: 20vh;
    }
}

@media (max-width: 768px) {
    .catch {
        top: 50%;
        left: 5%;
        width: 50%;
        z-index: 2;
    }
    .catch .txt p {
        font-size: 5vw;
    }
}


/* 見出し */

/*h2.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    font-size: 1.6rem;
    color: #1A1131;
    letter-spacing: 3px;
    border-bottom: none;
    line-height: 1.5em;
    font-family: serif;
}

h2.heading-1 span {
    display: block;
    font-size: 1rem;
}

h2.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 300px;
    height: 1px;
    background: #1A1131;
    top: 50%;
    transform: translateY(-50%);
    right: 101%;
}*/

h2.heading-1 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}


.h2span {
    color: var(--main-color03);
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    position: relative;
}

.h2span::before,.h2span::after {
    content: '';
    display: block;
    background: url(/wp-content/uploads/top-h2-en-icon.png);
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.h2span::before {
    left: -30px;
}

.h2span::after {
    right: -30px;
}

h2.white > .h2span::before,h2.white > .h2span::after {
    background: url(/wp-content/uploads/top-h2-en-icon-white.png);
    background-size: contain;
    background-repeat: no-repeat;
}

h2.white, h2.white > .h2span {
    color: #fff;
}


h2.heading-1.base span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  line-height: 1.2;
}

h2.heading-1.base.animate span {
  animation: fadeInChar 0.5s ease forwards;
}

/* アニメーションディレイ：1文字ごとに遅延 */
h2.heading-1.base.animate span:nth-of-type(1) { animation-delay: 0s; }
h2.heading-1.base.animate span:nth-of-type(2) { animation-delay: 0.05s; }
h2.heading-1.base.animate span:nth-of-type(3) { animation-delay: 0.1s; }
h2.heading-1.base.animate span:nth-of-type(4) { animation-delay: 0.15s; }
h2.heading-1.base.animate span:nth-of-type(5) { animation-delay: 0.2s; }
h2.heading-1.base.animate span:nth-of-type(6) { animation-delay: 0.25s; }
h2.heading-1.base.animate span:nth-of-type(7) { animation-delay: 0.3s; }
h2.heading-1.base.animate span:nth-of-type(8) { animation-delay: 0.35s; }
h2.heading-1.base.animate span:nth-of-type(9) { animation-delay: 0.4s; }
h2.heading-1.base.animate span:nth-of-type(10) { animation-delay: 0.45s; }
h2.heading-1.base.animate span:nth-of-type(11) { animation-delay: 0.5s; }
h2.heading-1.base.animate span:nth-of-type(12) { animation-delay: 0.55s; }
h2.heading-1.base.animate span:nth-of-type(13) { animation-delay: 0.6s; }
h2.heading-1.base.animate span:nth-of-type(14) { animation-delay: 0.65s; }
h2.heading-1.base.animate span:nth-of-type(15) { animation-delay: 0.7s; }
h2.heading-1.base.animate span:nth-of-type(16) { animation-delay: 0.75s; }
h2.heading-1.base.animate span:nth-of-type(17) { animation-delay: 0.8s; }
h2.heading-1.base.animate span:nth-of-type(18) { animation-delay: 0.85s; }
h2.heading-1.base.animate span:nth-of-type(19) { animation-delay: 0.9s; }
h2.heading-1.base.animate span:nth-of-type(20) { animation-delay: 0.95s; }
h2.heading-1.base.animate span:nth-of-type(21) { animation-delay: 1s; }
h2.heading-1.base.animate span:nth-of-type(22) { animation-delay: 1.05s; }
h2.heading-1.base.animate span:nth-of-type(23) { animation-delay: 1.1s; }
h2.heading-1.base.animate span:nth-of-type(24) { animation-delay: 1.15s; }
h2.heading-1.base.animate span:nth-of-type(25) { animation-delay: 1.2s; }
h2.heading-1.base.animate span:nth-of-type(26) { animation-delay: 1.25s; }
h2.heading-1.base.animate span:nth-of-type(27) { animation-delay: 1.3s; }
h2.heading-1.base.animate span:nth-of-type(28) { animation-delay: 1.35s; }
h2.heading-1.base.animate span:nth-of-type(29) { animation-delay: 1.4s; }
h2.heading-1.base.animate span:nth-of-type(30) { animation-delay: 1.45s; }
/* 必要に応じて31〜50まで続けてOK */

@keyframes fadeInChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2.heading-1.doctor {
    margin: 0 auto 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 3px;
    border-bottom: none;
    line-height: 1.5em;
    text-align: center;
}

h2.heading-1.doctor::before {
    content: '';
    background: url(/wp-content/uploads/icon-face-black.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    display: block;
    height: 80px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -80px;
    background-position-x: center;
}

h2.heading-1.doctor::after {
    content: '';
    background: url(/wp-content/uploads/icon-brash-black.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    display: block;
    height: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.news-h2-wrap h2.heading-1 {
    color: #fff;
    padding: 40px 0 30px;
    text-align: center;
    width: 160px;
}

h2.heading-1 a {
    color: var(--main-color02);
}
@media(max-width: 768px) {
    h2.heading-1 {
        font-size: 28px;
    }
    h2.heading-1.doctor {
        font-size: 28px;
    }
    .news-h2-wrap h2.heading-1 {
        margin: 0 auto;
        padding: 0;
    }
    h2.heading-1.base span {
        opacity: 1;
        transform: none;
    }
    .h2span {
        font-size: 14px;
    }
}
/*h3.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    padding-top: 0;
    font-size: 1.4rem;
    color: var(--main-color02);
    padding-left: 1em;
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to top, #D9D1C1 50%, var(--main-color02) 50%);
    ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}*/

h3.heading-1 {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    padding: 1rem 0;
    color: #333333;
}

h3.heading-1:before,
h3.heading-1:after {
    content: '';
    height: 2px;
    flex-grow: 1;
    background-color: var(--main-color03);
}



h3.heading-2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #333333;
    position: relative;
    letter-spacing: 1.5px;
    text-align: center;
}

h3.heading-2 span {
    color: var(--main-color03);
    font-size: 32px;
    line-height: 1;
}

h3.heading-2::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url(/wp-content/uploads/under-h3-line.png);
    width: 114px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    
}

h4.heading-1 {
    /*margin: 0 0 0.5em;*/
    font-size: 24px;
    position: relative;
    color: #333333;
    font-weight: 700;
    line-height: 1.5em;
    padding: 16px 0 16px 36px;
}

h4.heading-1::before {
    content: '';
    display: block;
    width: 21px;
    height: 21px;
    background-image: url(/wp-content/uploads/under-h4-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

h4.heading-2 {
    margin: 0 0 0.5em;
    font-size: 24px;
    position: relative;
    color: #333333;
    font-weight: 700;
    line-height: 1.5em;
    padding: 16px 0;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #7AC5F5 0%, #7AC5F5 15%, #DADADA 15%, #DADADA 100%) 1;
    border-image-slice: 1;
}


h5.heading-1 {
    margin: 0.5em 0;
    font-size: 20px;
    position: relative;
    color: var(--main-color02);
    font-weight: 700;
    line-height: 1.5em;
}

#pagetitle {
    position: relative;
    color: #fff;
    padding: 2em 0.5em;
    /*background: var(--main-color01);*/
    background-image: url(/wp-content/uploads/under-pagetitle-bg.png);
    width: 100%;
    /*height: 521px;*/
    background-size: cover;
}

#pagetitle:after {
    content: '';
    position: absolute;
}

.pagetitle-wrap {
    text-align: center;
}

.pagetitle {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    display: inline-block;
    box-sizing: border-box;
    /* border:3px solid #fff; */
    line-height: 1.5em;
    margin: 40px;    
    color: var(--main-color02);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    padding: 32px 40px;
}

/*.pagetitle span {
}*/

.pagetitle.news {    
    font-size: 36px;
}

/*.pagetitle.news span {
    line-height: 4;
}*/

.under-logo-wrap {
    display: flex;
    justify-content: space-between;
    padding-right: 160px;
}

.under-logo img {
    width: 60%;
}

.under-logo-wrap p {
    font-size: 1rem!important;
    text-align: right!important;
    color: #323232!important;
}

.under-logo-wrap a {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    color: #323232;
}

.under-logo-wrap a span {
    font-size: 40px!important;
    font-weight: 500!important;
    line-height: 1!important;
    display: inline-block!important;
    padding: 0!important;
}

@media(max-width: 1100px) {
    .under-logo-wrap p {
        display: none;
    }
}

@media (max-width: 768px) {
    h2.heading-1 {
        font-size: 24px;
    }
    h3.heading-1 {
        font-size: 24px;
    }
    h3.heading-1:before {
    margin-right: 1rem;
    }

    h3.heading-1:after {
        margin-left: 1rem;
    }

    h3.heading-1.over {
        padding: 0 26px;
        position: relative;
        justify-content: center;
    }

    h3.heading-1.over:before,
    h3.heading-1.over:after {
        position: absolute;
        width: 5%;
    }

    h3.heading-1.over:before {
        left: 0;
    }

    h3.heading-1.over:after {
        right: 0;
    }
    h3.heading-2 {
        font-size: 24px;
    }
    h3.heading-2 span {
        font-size: 16px;
    }
    h3.heading-2::after {
        height: 5px;
        width: 57px;
        bottom: -12px;
    }
    h4.heading-1 {
        font-size: 20px;
        padding: 8px 0 8px 30px;
    }
    h4.heading-2 {
        font-size: 20px;
    }
    h5.heading-1 {
        font-size: 16px;
    }
    .under-logo-wrap a {
        display: none;
    }
    #pagetitle {
        padding: 5em 0.5em 2em;
    }
    .pagetitle {
        font-size: 28px;
        padding: 16px 8px;
    }
    /*.pagetitle span {
        padding: 16px 8px;
    }
    .pagetitle.news {
        font-size: 22px;
        line-height: 4;
    }
    .pagetitle.news span {
        padding: 16px 8px;
    }*/
}


/* ボタン */

.btn-1 {
    color: #fff;
    display: block;
    width: 180px;
    margin-left: auto;
    height: auto;
    padding: 16px 20px 16px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
}

.btn-1:hover {
    color: #fff;
    background: #B28575;
}

.btn-2 {
    color: #fff;
    display: block;
    width: 180px;
    height: auto;
    padding: 23px 20px 23px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
}

.btn-2:hover {
    color: #fff;
    background: #B28575;
}


/* テーブル */

.table-schedule {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border-collapse: separate;
    border: 2px solid var(--main-color01);
}

.table-schedule thead th {
    background: var(--main-color01);
    color: #fff;
}

.table-schedule tbody {
    background: #fff;
}

.footer-info-inner .table-schedule tbody td font {
    color: var(--main-color01);
}

.clinic-container > .clinic-inner:nth-of-type(2) .table-schedule  {
    border: 2px solid var(--main-color02);
}

.clinic-container > .clinic-inner:nth-of-type(2) .table-schedule thead th {
    background: var(--main-color02);
}

.table-schedule td,
.table-schedule th {
    border-bottom: 1px solid #C9D6DF;
    padding: 0.2em 0.3em;
    text-align: center;
    font-weight: normal;
}

.table-schedule td {
    color: var(--main-color01);
}

@media (max-width: 480px) {
    .table-schedule td,
    .table-schedule th {
        padding: 0.7em .1em;
    }
    .table-schedule {
        font-size: 14px;
    }
}

.table-default {
    width: 100%;
    margin-top: 20px;
}

.table-default td,
.table-default th {
    padding: 0.7em 1em;
    border: 1px solid #C9D6DF;
    vertical-align: middle;
}

.table-default th {
    background: var(--main-color03);
}


/* 流れ */

.bg {
    background: #e8f6fb;
    padding: 10px 15px;
    display: block;
    border: 1px solid #fff;
    box-shadow: 0 3px 3px #ebeae8;
    border-radius: 13px 0;
    margin-right: 10px;
}

span.bg {
    background: var(--main-color02);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    display: block;
}

.indent {
    margin-left: 2em;
    text-indent: -2em;
}

.indent span.bg {
    display: inline;
}

.frame {
    border: 1px solid var(--main-color02);
    border-radius: 6px;
    padding: 1em 0;
    position: relative;
    display: flex;
}

.frame>.col {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

.span_6 .frame,
.span_4 .frame {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .span_6 .frame,
    .span_4 .frame {
        margin-top: 20px;
    }
    .frame {
        display: block;
    }
    .frame .span_2,
    .frame .span_3,
    .frame .span_4,
    .frame .span_5,
    .frame .span_6,
    .frame .span_7,
    .frame .span_8,
    .frame .span_9,
    .frame .span_10 {
        width: 100%!important;
    }
}

.frame.arrow:after {
    border-color: transparent transparent transparent var(--main-color02);
    border-style: solid;
    border-width: 26px 0 26px 18px;
    content: '';
    margin-top: -11px;
    position: absolute;
    right: 50%;
    bottom: -36px;
    transform: rotate(90deg);
}

.frame.arrow.end:after {
    display: none;
}


/* リスト */

dl {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0;
    align-items: flex-start;
    gap: 10px;
}

dl dt {
    font-weight: bold;
    width: 180px;
}

dl dd {
    width: calc(100% - 200px);
}

.clinic-info dt {
    background: var(--main-color02);
    color: #fff;
    text-align: center;
    border-radius: 15px;
}

.clinic-info dd {
    width: 100%;
}

.access-map {
    width: 100%;
}

.access-info dt {
    background: var(--main-color02);
    color: #fff;
    text-align: center;
    width: 180px;
    border-radius: 50px;
}

.access-info dd {
    width: 100%;
}

.access-info ul li {
    border-bottom: 1px dashed #bababa;
}

.top-recruit {
    background-color: var(--accent-color);
}

.recruit-info dd {
    background-color: #fff;
}

.recruit-info dl {
    align-items: stretch;
}

.recruit {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1A1131;
    padding: 10px 40px;
    border: solid 5px var(--main-color01);
    position: relative;
}

.recruit ::before {
    content: "";
    position: absolute;
    border: solid 1px var(--main-color01);
    top: 5px;
    left: 5px;
    bottom: 5px;
    right: 5px;
}

.recruit-info dl dt{
    background-color: var(--main-color01);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: #fff;
  }

.recruit-info dl dd {
    display: flex;
    align-items: center;
    padding: 20px;
}

.history {
    display: flex;
    gap: 5px 0;
    flex-wrap: wrap;
    padding-left: 0;
}

.history li{
    border-bottom: 1px dotted #b4b4b4;
    flex-grow: 1;
    width: 100%;
    list-style: none;
}

/* ページトップ */

/*.pagetop {
    position: fixed;
    bottom: 98px;
    right: 5%;
    z-index: 1;
}

.pagetop a {
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    width: 70px;
    height: 70px;
    padding: 0;
    background: #504C44;
    border: 1px solid #fff;
}

.pagetop a:after {
    content: "";
    display: block;
    position: absolute;
    top: 42%;
    left: 50%;
    margin: auto;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform: translate(-50%, -20%) rotate(45deg);
    transform: translate(-50%, -20%) rotate(45deg);
    -webkit-transition: .2s;
    transition: .2s;
}

.pagetop a:hover:after {
    top: 30%;
}

.pagetop a:before {
    position: absolute;
    content: 'TOP';
    bottom: 5px;
    left: -1px;
    color: #fff;
    font-size: 12px;
}*/

/*.pagetop {
    position: fixed;
    bottom: 250px;
    left: 2%;
    z-index: 100;
    transform: rotate(-90deg);
}

.pagetop a {
  position: relative;
  color: #fff;
  text-decoration: none;
}

.pagetop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.pagetop a:hover::after {
  transform: scaleX(0);
}*/

.pagetop {
  position: fixed;
  /*bottom: 250px;*/
  top: 50px;
  left: 2%;
  z-index: 100;
  transform: rotate(-90deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}

.pagetop a {
  position: relative;
  color: #fff;
  text-decoration: none;
}

.pagetop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.pagetop a:hover::after {
  transform: scaleX(0);
}

@media(max-width: 768px) {
    .pagetop {
        top: 120px;
    }
}

@media(max-width: 480px) {
    .pagetop {
        left: -10px;
    }
}



/* グローバルメニュー */

/*.header_nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 auto;
    list-style: none;
    padding: 10px 0 20px;
    gap: 0 15px;
}

.header_nav ul li {
    position: relative;
}

.header_nav ul li a {
    color: #fff;
}

.header_nav ul li a:hover {
    text-decoration: underline;
    color: var(--pale-color);
}

.header_nav span {
    display: block;
    font-size: 12px;
    line-height: 1;
}*/

.header_nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background: #fff;
    list-style: none;
    padding: 20px 70px 30px;
    height: 142px;
    justify-content: space-between;
    border-radius: 20px;
}

.header_nav ul li {
    position: relative;
    cursor: pointer;
}

.header_nav ul li a {
    display: flex;
    color: #323232;
    background-size: contain;
    background-repeat: no-repeat;    
    position: relative;
    width: 112px;
    height: 94px;
}
.header_nav ul > li:nth-child(1) a{
    background-image: url(/wp-content/uploads/icon-clinic.png);
}

.header_nav ul > li:nth-child(2)  a{
    background-image: url(/wp-content/uploads/icon-doctor.png);
}

.header_nav ul > li:nth-child(3)  a{
    background-image: url(/wp-content/uploads/icon-first.png);
}

.header_nav ul > li:nth-child(4)  a{
    background-image: url(/wp-content/uploads/icon-minfo.png);
}

.header_nav ul > li:nth-child(5)  a{
    background-image: url(/wp-content/uploads/icon-price.png);
}

.header_nav ul > li:nth-child(6)  a{
    background-image: url(/wp-content/uploads/icon-access-off.png);
}

.header_nav ul > li.open a {    
    background-size: contain;
    background-repeat: no-repeat;
}

.header_nav ul > li:hover a {
    background-repeat: no-repeat;
}

.header_nav ul > li.open:nth-child(1) a{
    background-image: url(/wp-content/uploads/icon-clinic-on1.png);
}

.header_nav ul > li.open:nth-child(2)  a{
    background-image: url(/wp-content/uploads/icon-doctor-on1.png);
}

.header_nav ul > li:nth-child(3):hover a{
    background-image: url(/wp-content/uploads/icon-first-on1.png);
}

.header_nav ul > li.open:nth-child(4) a{
    background-image: url(/wp-content/uploads/icon-minfo-on1.png);
}

.header_nav ul > li:nth-child(5):hover a{
    background-image: url(/wp-content/uploads/icon-price-on1.png);
}

.header_nav ul > li:nth-child(6):hover a {
    background-image: url(/wp-content/uploads/icon-access-on.png);
}

/*.header_nav ul li a {
    display: flex;
    color: #323232;
}*/

.header_nav ul li.has-child a::after {
    content: '▼';
    color: var(--main-color02);
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    font-size: 12px;
}


nav li.has-child ul{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 123px;
  z-index: 4;
  width:220px;
  /*visibility: hidden;
  opacity: 0;*/
  transition: all .3s;
  background: #fff;
  padding: 20px;
  border-radius: 0;
  gap: 0;
  height: auto;
  display: none;
}

nav li.has-child.medical ul {
    width: 480px;
    height: auto;
}

nav li.has-child.medical ul li {
    width: 50%;;
}

nav li.has-child.medical ul li:hover {
    background: none;
}
/*nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}*/

.header_nav ul > li.has-child ul li a{
    background: none!important;

}

/*.header_nav ul > li span {
    padding-top: 70px;
    font-size: 14px;
    font-weight: bold;    
}*/

nav li.has-child ul li:before,
nav li.has-child ul li:first-child:before{
    display: block;
    background: none;
    left: 8px;
    top: 12px;
    font-size: 18px;
    color: var(--main-color02);
    position: absolute;
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
}

nav li.has-child ul li a{
  color: #323232;
  display: block;
  width: 170px!important;
  height: auto!important;
  text-decoration: none;
  padding: 10px 10px 10px 25px;
  border-bottom: 1px dashed #A4A4A4;
}

nav li.has-child.medical ul li a{
  width: 200px!important;
}

nav li.has-child ul li a::after {
    content: none!important;
}

.has-child.open > .child-menu {
  display: block;
}

.has-child.medical.open > .child-menu {
  display: flex;
}

nav li.has-child ul li:hover {
    background: #DBEBF5;
    transition: 0.3s;
}

nav li.has-child ul li:hover::before {    
	content: '●';
    font-size: 8px;
}

@media (max-width: 1024px) {
  .header_nav ul {
    display: none;
  }
}

/* フッター */
footer {
  border-radius: 100px 100px 0 0;
  background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%);
}

.footer-top {
    width: 100%;
    height: 160px;
    border-radius: 100px 100px 0 0;
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;
}


.footer-wrap{
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.7);
}

.footer-wrap.color-change-class {
    overflow: visible;
}

.footer__links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 10px 0;
}

.footer__links ul li{
position: relative;
}

.footer__links ul li:before{
position: absolute;
content:'・';
height: 100%;
right: 0;
width:8px;
color: #fff;
}

.footer__links ul li:last-child:before{
content:'';
}

.footer__links ul li a{
  padding:10px;
  color: #fff;
}
.footer-info {
  display: flex;
  gap:30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info-inner {
  width: 50%;
  display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
}

.footer-info-inner figure {
    width: 375px;
    position: absolute;
    top: -85px;
    left: 50%;
    transform: translateX(-50%);
}

.tel-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 420px;
    margin: 0 auto 10px;
}

.tel-wrap a:nth-child(1) {
    font-size: 48px;
    font-family: "Josefin Sans", sans-serif;
    position: relative;
    color: #323232;
    padding-left: 45px;
    display: inline-block;
}

.tel-wrap a:nth-child(1)::before {
    content: '';
    display: block;
    background: url(/wp-content/uploads/tel-icon-black.png);
    background-size: cover;
    width: 36px;
    height: 36px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.tel-wrap a:nth-child(2) {
    width: 47px;
    height: 47px;
    display: inline-block;
}

@media(max-width: 480px) {
    .tel-wrap {
        width: 100%;
    }
}

.footer-info-inner dl {
    align-items: center;
    margin-top: 10px;
}

.footer-info-inner dt {
    width: 104px;
    display: flex;
    flex-direction: column;
    background: var(--main-color01);
    color: #fff;
    text-align: center;
    height: 46px;
}

.footer-info-inner dt span {
    line-height: 46px;
}

.footer-info-inner dd {
    width: calc(100% - 120px);
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.footer-info-inner dd a {
    color: #323232;
}

.map-frame {
    height: 480px;
}

@media(max-width: 768px) {
    footer {
        border-radius: 30px 30px 0 0;
    }
    .footer-info-inner figure {
        width: 330px;
        top: -60px
    }
    .footer-top {
        border-radius: 30px 30px 0 0;
        padding-top: 50px;
        height: 60px;
    }
    .tel-wrap {
        margin-top: 300px;
        padding: 0 10px;
    }
    .footer-info-inner dt {
        height: 40px;
        width: 104px;
    }
    .footer-info-inner dd {
        width: calc(100% - 120px);
    }
    .footer-info-inner dt span {
        line-height: 40px;
    }
    .map-frame {
        height: 230px;
    }
}

@media(max-width: 480px) {
    .tel-wrap {
        padding: 0 20px;
        margin-top: 200px;
    }
    .tel-wrap a:nth-child(1) {
        font-size: 32px;
        padding-left: 32px;
    }
    .tel-wrap a:nth-child(1)::before {
        width: 25px;
        height: 25px;
    }
    .footer-info-inner figure {
        width: 230px;
    }
}

.footer-menu {
  max-width: var(--content-width);
  width: 100%;
  background-image: url(/wp-content/uploads/footer-bg.png);
  background-color: var(--main-color01);
  background-size: contain;
  padding: 100px 0;
}

.footer-menu-wrap {
    display: flex;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-menu-inner {
    display: flex;
    max-width: 815px;
    width: 100%;
    gap: 0 100px;
}

.footer-menu-inner.bnr {
    width: 280px;
    display: block;
}

.footer-menu-inner.bnr p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: 5px;
    text-align: right;
    padding: 0 5px;
}


.footer-menu a {
    display: block;
    padding: 5px 0;
}

.footer-menu-item ul {
    list-style: none;
    padding-left: 0;
}

.footer-menu-item ul li {
    padding: 5px;
}

.footer-menu-item ul li a{
    display: block;
    position: relative;
    color :#fff;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.2;
}

.footer-menu-item ul li a::before {
    display: block;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f105';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-menu-item ul li a:hover::before {
    content: '●';
    font-size: 8px;
}
.footer-menu-item p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 0 5px;
}

.sns_icon {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
  justify-content: flex-end;
}

.clinic_sns_icon {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.footer-policy-link {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 20px;
  justify-content: flex-end;
}

.footer-policy-link a{
  color: #000;
}

@media(max-width: 1200px) {
    .footer-menu {
        padding: 100px 20px;
    }
}

@media (max-width: 768px) {
    .footer-info {
    flex-wrap: wrap;
    }
    .footer-info-inner {
    width: 100%;
    }
    .footer-menu {
    width: 100%;
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%);
    padding: 30px 10px;
    }
    .footer-menu-wrap {
        padding: 24px 16px;
    }
    .footer-menu-inner.bnr {
        width: 100%;
    }
    .footer-menu a {
        padding: 5px 32px;
    }
}

@media (max-width: 480px) {
    .footer-info-inner dl dt,.footer-info-inner dl dd{ 
        font-size: 14px;
    }
  .sns_icon{
    flex-wrap: wrap;
    justify-content: center;
  }
  .sns_icon li{
    width: 80px;
  }
  .footer-policy-link {
    display: block;
  }
}

.copy {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
  background-color: #fff!important;
}


@media (max-width: 768px) {
  .copy {
    margin-bottom: 60px;
  }
}

/* 予約ボタン */

.reservation_area {
    position: fixed;
    /*top: 170px;
    right: 0;*/
    bottom: 0px;
        top: auto;
    z-index: 100;
}

.reservation_area ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.reservation_area li {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    text-orientation: upright;
    list-style: none;
    letter-spacing: 2px;
    position: relative;
}

.reservation_area li a {
    display: block;
    padding: 25px 10px;
    transition: all 0.2s ease-out;
    line-height: 1;
    font-size: 20px;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/*@media (hover: hover) {
    .reservation_area li:nth-child(1) a:hover,
    .reservation_area li:nth-child(2) a:hover,
    .reservation_area li:nth-child(3) a:hover {
        padding-right: 30px;
    }
}*/

.reservation_area li:nth-child(1) a,
.reservation_area li:nth-child(3) a {
    color: #fff;
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;    
    font-family: "Josefin Sans", sans-serif;
}

.reservation_area li:nth-child(2) a {
    color: #fff;
    background: radial-gradient(50% 50% at 50% 50%, #F89A00 0%, #FFC058 100%);
    padding-bottom: 14px;
    letter-spacing: 0.5px;
}

.reservation_btn span {
    font-family: "Josefin Sans", sans-serif;
    border-radius: 20px;
    line-height: 0.5;
    font-size: 30px;
}

.side_btn_span {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background-color: #fff;
    font-family: 'Zen Maru Gothic', sans-serif!important;
    line-height: 2 !important;
    padding: 0 5px;
    font-size: 14px !important;
    font-weight: 700;
}

.reservation_btn li:nth-child(1) .side_btn_span {
    border: 1px solid var(--main-color01);
    color: var(--main-color01);
}

.reservation_btn li:nth-child(2) .side_btn_span {
    border: 1px solid var(--sub-color);
    color: var(--sub-color);
}

.reservation_btn li:nth-child(2) .side_btn_span::after {
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f105';
    position: absolute;
    right: 15px;
    top: 0px;
}

.reservation_btn li:nth-child(2) a:hover .side_btn_span::after {
  content: "●";
  font-size: 8px;
  top: 5px;
}

.reservation_area.color-change-class {
    overflow: visible;
}

@media (max-width: 768px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
    }
    .reservation_area ul {
        flex-direction: row;
    }
    .reservation_area ul li {
        width: 50%;
        writing-mode: horizontal-tb;
        text-align: center;
    }
    .reservation_area li a {
        padding: 10px 5px;
    }
}
@media(max-width: 480px) {
    .reservation_btn li:nth-child(1) .side_btn_span {
        letter-spacing: -0.5px;
    }
}

/* トグル */


.icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
}

.icon:before {
    left: 0;
    transform: rotate(45deg);
}

.icon:after {
    right: 0;
    transform: rotate(-45deg);
}

.icon:before,
.icon:after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--main-color02);
}

details{
    border-top: 1px solid;
  }
  details:hover{
    background: var(--accent-color);
  }
  details:last-child{
    border-bottom: 1px solid;
  }
  summary {
    display: block;
    list-style: none;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  .toggle-head.qa {
    position: relative;
  }

  .toggle-head.qa:before {
    position: absolute;
    content: "Q.";
    top: 13px;
    left: 20px;
    font-weight: bold;
    color: var(--main-color01);
    font-family: serif;
    font-size: 24px;
  }

  .toggle_inner {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 15px 50px;
    font-weight: bold;
    color: var(--main-color01);
    position: relative;
  }

  .toggle_inner::after {
    content: '';
    display: block;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f107';
    right: 15px;
}

.toggle-wrap.is-opened .toggle_inner::after {
    transform: rotate(180deg);
    transition: transform 0.4s;
}

  .toggle_inner-icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
  }

  .toggle_inner-icon:before {
    left: 0;
    transform: rotate(45deg);
  }

  .toggle_inner-icon:after {
    right: 0;
    transform: rotate(-45deg);
  }

  .toggle_inner-icon:before, .toggle_inner-icon:after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--main-color01);
  }

  .toggle-content p {
    padding: 20px 20px 20px 60px;
    background: #fff;
    margin: 0;
    position: relative;
  }

  .toggle-content p a{
    color: var(--main-color01);
    text-decoration: underline;
  }

  .answer:before {
    position: absolute;
    content: "A.";
    top: 18px;
    left: 30px;
    font-weight: bold;
    color: var(--main-color01);
    font-family: serif;
    font-size: 24px;
  }

  details[open] .toggle_inner-icon {
    transform: rotate(180deg);
  }

/* 設備紹介 */

.facility-warap {
    max-width: 100%;
  }

  .facility-slider img,
  .facility-slider-sub img {
    width: 100%;
    height: auto;
  }
  .slick-prev, .slick-next {
    z-index: 1;
  }

  .facility-thumb>.slick-prev:before,.facility-thumb>.slick-next:before,
  .facility-thumb-sub>.slick-prev:before,.facility-thumb-sub>.slick-next:before {
    color: #000!important;
  }

  .facility-thumb img, 
  .facility-thumb-sub img {
    transition: all ease-in-out .3s;
    opacity: .2;
  }
  .slick-current img{
    opacity: 1;
  }
  .facility-thumb,
  .facility-thumb-sub {
    margin: 10px 0 0;
  }
  .facility-thumb,
  .facility-thumb-sub {
    cursor: pointer;
  }
  .facility-caption {
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
  }

  @media(min-width: 767px) {
  .facility-slider img {
    width: 80%;
    margin: 0 auto;
  }
}

  /* 料金表 */

/*.price-wrap {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--main-color01);
    margin-bottom: 20px;
  }

  .price-wrap:last-of-type {
    margin-bottom: 0px;
  }

  .price-name {
    border-right: 1px solid var(--main-color01);
    width: 300px;
    background: var(--accent-color);
    padding: 5px;
    font-weight: bold;
  }

  .price-fee {
    width: calc(100% - 300px);
    padding: 5px;
    display: flex;
    justify-content: flex-end;
  }

  .price-disc,
  .price-term,
  .price-risk {
    width: 100%;
    padding: 5px;
    border-top: 1px solid var(--main-color01);
    display: flex;
    gap: 10px;
  }
  .price-head {
    width: 125px;
    border-right: 1px solid;
  }
  .price-text {
    width: calc(100% - 135px);
  }


  @media (max-width: 480px) {
    .price-name {
      border-right: none;
      width: 100%;
    }
    .price-fee {
      width: 100%;
    }
  }
*/

/* 汎用クラス */

.bg-red {
    background-color: #fe266d!important;
}

.bg-blue {
    background-color: #1646b1!important;
}

.bg-green {
    background-color: #5fcf32!important;
}

.bg-orange {
    background-color: #ffa204!important;
}

.text-red {
    color: #db2d2d!important;
}

.text-blue {
    color: #2420db!important;
}

.text-green {
    color: #6ddb20!important;
}

.text-orange {
    color: #E1AB3A!important;
}

.text-pink {
    color: #db20b2!important;
}

.text-black {
    color: #000000!important;
}

.text-brown {
    color: #937437!important;
}

.text-gray {
    color: #555555!important;
}

.text-white {
    color: #FFFFFF!important;
}

.mt0 {
    margin-top: 0px!important;
}

.mb0 {
    margin-bottom: 0px!important;
}

.mt10 {
    margin-top: 10px!important;
}

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

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

.mt40 {
    margin-top: 40px!important;
}

.mt50 {
    margin-top: 50px!important;
}

.mt60 {
    margin-top: 60px!important;
}

.mr10 {
    margin-right: 10px!important;
}

.mr20 {
    margin-right: 20px!important;
}

.mr30 {
    margin-right: 30px!important;
}

.mr40 {
    margin-right: 40px!important;
}

.mr50 {
    margin-right: 50px!important;
}

.mr60 {
    margin-right: 60px!important;
}

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

.mb20 {
    margin-bottom: 20px!important;
}

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

.mb40 {
    margin-bottom: 40px!important;
}

.mb50 {
    margin-bottom: 50px!important;
}

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

.ml10 {
    margin-left: 10px!important;
}

.ml20 {
    margin-left: 20px!important;
}

.ml30 {
    margin-left: 30px!important;
}

.ml40 {
    margin-left: 40px!important;
}

.ml50 {
    margin-left: 50px!important;
}

.ml60 {
    margin-left: 60px!important;
}

.pt10 {
    padding-top: 10px!important;
}

.pt20 {
    padding-top: 20px!important;
}

.pt30 {
    padding-top: 30px!important;
}

.pt40 {
    padding-top: 40px!important;
}

.pt50 {
    padding-top: 50px!important;
}

.pt60 {
    padding-top: 60px!important;
}

.pr10 {
    padding-right: 10px!important;
}

.pr20 {
    padding-right: 20px!important;
}

.pr30 {
    padding-right: 30px!important;
}

.pr40 {
    padding-right: 40px!important;
}

.pr50 {
    padding-right: 50px!important;
}

.pr60 {
    padding-right: 60px!important;
}

.pb10 {
    padding-bottom: 10px!important;
}

.pb20 {
    padding-bottom: 20px!important;
}

.pb30 {
    padding-bottom: 30px!important;
}

.pb40 {
    padding-bottom: 40px!important;
}

.pb50 {
    padding-bottom: 50px!important;
}

.pb60 {
    padding-bottom: 60px!important;
}

.pl10 {
    padding-left: 10px!important;
}

.pl20 {
    padding-left: 20px!important;
}

.pl30 {
    padding-left: 30px!important;
}

.pl40 {
    padding-left: 40px!important;
}

.pl50 {
    padding-left: 50px!important;
}

.pl60 {
    padding-left: 60px!important;
}

.text-bold {
    font-weight: bold!important;
}

.text-center {
    text-align: center!important;
}

.text-right {
    text-align: right!important;
}

.text-left {
    text-align: left!important;
}

.text-xlarge {
    font-size: 1.6rem!important;
}

.text-large {
    font-size: 1.4rem!important;
}

.w100 {
    width: 100%!important;
}

.text-underline {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .text-xlarge {
        font-size: 2.0rem;
    }
    .text-large {
        font-size: 1.6rem;
    }
    .sp-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .sp-only {
    display: block!important;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .tablet-hide {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .tablet-only {
        display: none !important;
    }
}

section.top-diagnosis {
    background: #fff;
    border-radius: 100px 100px 0 0;
    margin-top: -90px;
}

.top-diagnosis > .container {
    max-width: 1200px;
}

.medical-wrap {
    padding-top: 60px;
}

.medical-inner {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--delay) * 0.1s);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}

.medical-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.medical-link {
  display: inline-block;
  position: relative;
  width: 25%;
  height: 165px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-size: cover;
}

.medical-inner:nth-of-type(1) .medical-link {
  width: 32%;
  height: 380px;
  background-size: contain;
}

.medical-inner:nth-of-type(3) .medical-link {
  height: 185px;
}

.medical-link-1 {
  background-image: url('/wp-content/uploads/big-icon-1-pc-on1.png');
}
.medical-link-1:hover {
  background-image: url('/wp-content/uploads/big-icon-1-pc-off1.png');
}

.medical-link-2 {
  background-image: url('/wp-content/uploads/big-icon-2-pc-off1.png');
}
.medical-link-2:hover {
  background-image: url('/wp-content/uploads/big-icon-2-pc-on1.png');
}

.medical-link-3 {
  background-image: url('/wp-content/uploads/big-icon-3-pc-off1.png');
}
.medical-link-3:hover {
  background-image: url('/wp-content/uploads/big-icon-3-pc-on1.png');
}

.medical-link-4 {
  background-image: url('/wp-content/uploads/mini-icon-1-pc-off1.png');
}
.medical-link-4:hover {
  background-image: url('/wp-content/uploads/mini-icon-1-pc-on1.png');
}

.medical-link-5 {
  background-image: url('/wp-content/uploads/mini-icon-2-pc-off2.png');
}
.medical-link-5:hover {
  background-image: url('/wp-content/uploads/mini-icon-2-pc-on2.png');
}

.medical-link-6 {
  background-image: url('/wp-content/uploads/mini-icon-3-pc-off1.png');
}
.medical-link-6:hover {
  background-image: url('/wp-content/uploads/mini-icon-3-pc-on1.png');
}

.medical-link-7 {
  background-image: url('/wp-content/uploads/mini-icon-4-pc-off1.png');
}
.medical-link-7:hover {
  background-image: url('/wp-content/uploads/mini-icon-4-pc-on1.png');
}

.medical-link-8 {
  background-image: url('/wp-content/uploads/mini-icon-5-pc-off1.png');
}
.medical-link-8:hover {
  background-image: url('/wp-content/uploads/mini-icon-5-pc-on1.png');
}

.medical-link-9 {
  background-image: url('/wp-content/uploads/mini-icon-6-pc-off1.png');
}
.medical-link-9:hover {
  background-image: url('/wp-content/uploads/mini-icon-6-pc-on1.png');
}

.medical-link-10 {
  background-image: url('/wp-content/uploads/mini-icon-7-pc-off1.png');
}
.medical-link-10:hover {
  background-image: url('/wp-content/uploads/mini-icon-7-pc-on1.png');
}

.medical-link-11 {
  background-image: url('/wp-content/uploads/mini-icon-8-pc-off1.png');
}
.medical-link-11:hover {
  background-image: url('/wp-content/uploads/mini-icon-8-pc-on1.png');
}

.medical-link-12 {
  background-image: url('/wp-content/uploads/mini-icon-9-pc-off1.png');
}
.medical-link-12:hover {
  background-image: url('/wp-content/uploads/mini-icon-9-pc-on1.png');
}

.medical-link-13 {
  background-image: url('/wp-content/uploads/mini-icon-10-pc-off1.png');
}
.medical-link-13:hover {
  background-image: url('/wp-content/uploads/mini-icon-10-pc-on1.png');
}

.medical-link-14 {
  background-image: url('/wp-content/uploads/mini-icon-11-pc-off1.png');
}
.medical-link-14:hover {
  background-image: url('/wp-content/uploads/mini-icon-11-pc-on1.png');
}

@media(max-width: 1200px) {
    .medical-inner {
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .medical-wrap {
    padding-top: 30px;
  }
  /*.medical-link-1 {
    background-image: url('/wp-content/uploads/big-icon-1-sp.png');
  }
  .medical-link-2 {
    background-image: url('/wp-content/uploads/big-icon-2-sp.png');
  }
  .medical-link-3 {
    background-image: url('/wp-content/uploads/big-icon-3-sp.png');
  }
  .medical-link-4 {
    background-image: url('/wp-content/uploads/mini-icon-1-sp.png');
  }
  .medical-link-5 {
    background-image: url('/wp-content/uploads/mini-icon-2-sp.png');
  }
  .medical-link-6 {
    background-image: url('/wp-content/uploads/mini-icon-3-sp.png');
  }
  .medical-link-7 {
    background-image: url('/wp-content/uploads/mini-icon-4-sp.png');
  }
  .medical-link-8 {
    background-image: url('/wp-content/uploads/mini-icon-5-sp.png');
  }
  .medical-link-9 {
    background-image: url('/wp-content/uploads/mini-icon-6-sp.png');
  }
  .medical-link-10 {
    background-image: url('/wp-content/uploads/mini-icon-7-sp.png');
  }
  .medical-link-11 {
    background-image: url('/wp-content/uploads/mini-icon-8-sp.png');
  }
  .medical-link-12 {
    background-image: url('/wp-content/uploads/mini-icon-9-sp.png');
  }
  .medical-link-13 {
    background-image: url('/wp-content/uploads/mini-icon-10-sp.png');
  }
  .medical-link-14 {
    background-image: url('/wp-content/uploads/mini-icon-11-sp.png');
  }*/
  .medical-link-1 {
    background-image: url('/wp-content/uploads/big-icon-1-sp.png');
}
.medical-link-1:hover { 
    background-image: url('/wp-content/uploads/big-icon-1-sp.png');
}

.medical-link-2 {
    background-image: url('/wp-content/uploads/big-icon-2-sp.png');
}
.medical-link-2:hover { 
    background-image: url('/wp-content/uploads/big-icon-2-sp.png');
}

.medical-link-3 {
    background-image: url('/wp-content/uploads/big-icon-3-sp.png');
}
.medical-link-3:hover { 
    background-image: url('/wp-content/uploads/big-icon-3-sp.png');
}

.medical-link-4 {
    background-image: url('/wp-content/uploads/mini-icon-1-sp.png');
}
.medical-link-4:hover { 
    background-image: url('/wp-content/uploads/mini-icon-1-sp.png');
}

.medical-link-5 {
    background-image: url('/wp-content/uploads/mini-icon-2-sp1.png');
}
.medical-link-5:hover { 
    background-image: url('/wp-content/uploads/mini-icon-2-sp1.png');
}

.medical-link-6 {
    background-image: url('/wp-content/uploads/mini-icon-3-sp.png');
}
.medical-link-6:hover { 
    background-image: url('/wp-content/uploads/mini-icon-3-sp.png');
}

.medical-link-7 {
    background-image: url('/wp-content/uploads/mini-icon-4-sp.png');
}
.medical-link-7:hover { 
    background-image: url('/wp-content/uploads/mini-icon-4-sp.png');
}

.medical-link-8 {
    background-image: url('/wp-content/uploads/mini-icon-5-sp.png');
}
.medical-link-8:hover { 
    background-image: url('/wp-content/uploads/mini-icon-5-sp.png');
}

.medical-link-9 {
    background-image: url('/wp-content/uploads/mini-icon-6-sp.png');
}
.medical-link-9:hover { 
    background-image: url('/wp-content/uploads/mini-icon-6-sp.png');
}

.medical-link-10 {
    background-image: url('/wp-content/uploads/mini-icon-7-sp.png');
}
.medical-link-10:hover { 
    background-image: url('/wp-content/uploads/mini-icon-7-sp.png');
}

.medical-link-11 {
    background-image: url('/wp-content/uploads/mini-icon-8-sp.png');
}
.medical-link-11:hover { 
    background-image: url('/wp-content/uploads/mini-icon-8-sp.png');
}

.medical-link-12 {
    background-image: url('/wp-content/uploads/mini-icon-9-sp.png');
}
.medical-link-12:hover { 
    background-image: url('/wp-content/uploads/mini-icon-9-sp.png');
}

.medical-link-13 {
    background-image: url('/wp-content/uploads/mini-icon-10-sp.png');
}
.medical-link-13:hover { 
    background-image: url('/wp-content/uploads/mini-icon-10-sp.png');
}

.medical-link-14 {
    background-image: url('/wp-content/uploads/mini-icon-11-sp.png');
}
.medical-link-14:hover { 
    background-image: url('/wp-content/uploads/mini-icon-11-sp.png');
}
  .medical-link {
    width: 47%;
    height: 150px;
    background-size: contain;
  }
  .medical-inner {
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
    justify-content: start;
  }
  .medical-inner:nth-of-type(1) {
    margin-top: 10px;
  } 
  .medical-inner:nth-of-type(1) .medical-link {
    width: 30%;
    height: 200px;
  }
  /*.medical-link:hover {
    background-image: none;
  }*/
  .medical-link-2 {
    margin-top: -30px;
  }
  section.top-diagnosis {
    border-radius: 30px 30px 0 0;
  }
}

@media(max-width:480px) {
    .medical-wrap {
        padding-top: 0;
    }
    .medical-inner:nth-of-type(1) .medical-link {
        width: 31%;
    }
    .medical-inner {
        gap: 0 10px;
    }
    .medical-link {
        height: 110px;
    }
    .medical-inner:nth-of-type(1) .medical-link {
        height: 135px;
    }
    .medical-inner:nth-of-type(1) {
        margin-top: 30px;
    }
}

/*.medical-link {
    position: relative;
    display: inline-block;
    width: 25%;
    height: 250px;
    overflow: hidden;
}

.medical-link img {
    object-fit: cover;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.medical-img-off {
    opacity: 0;
}

.medical-link:hover .medical-img-off {
    opacity: 1;
}

.medical-link:hover .medical-img-on {
    opacity: 0;
}

.medical-inner:nth-of-type(1) {
    padding-bottom: 50px;
}

.medical-inner:nth-of-type(1) .medical-link {
    width: 32%;
    height: 300px;
}

.medical-inner:nth-of-type(1) .medical-link img {
    object-fit: contain;
}*/


.medical-item {
    width: 49%;
    background: linear-gradient(90deg, #797265, #9F9177);
    padding: 10px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.medical-item a {
  display: flex;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  padding: 20px;
}

.medical-content {
  width: 200px;
}

.medical-name {
    font-weight: bold;
    font-size: 1.4rem;
}

@media (max-width: 820px) {
    .medical-item {
        width: 100%;
    }
}
@media (max-width: 480px) {
  .medical-item a {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    position: relative;
  }
  .medical-item:nth-child(1):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_01.png);
  }
  .medical-item:nth-child(2):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_02.png);
  }
  .medical-item:nth-child(3):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_03.png);
  }
  .medical-item:nth-child(4):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_04.png);
  }
}

section.top-feature {
    background: var(--main-color03);
    padding-bottom: 120px;
}

.top-feature > .container {
    max-width: 1200px;
}

.feature-wrap {
    display: flex;
    gap: 100px 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 180px 0 80px;
}

/*.feature-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
    border: solid 1px var(--main-color02);
    position: relative;
    height: 300px;
    width: 100%;
}*/

.feature-inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--delay) * 0.1s);
  color: #fff;
  position: relative;
  width: 32%;
  padding: 40px 20px;
}

.feature-inner.visible {
  opacity: 1;
  transform: translateY(0);
}
/*.feature-img {
    display: none;
}

.feature-img:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}*/

.feature-inner:nth-child(1):before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/feature-bg-1.png);
    background-size: cover;
    background-position: center;
}

.feature-inner:nth-child(2):before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/feature-bg-2.png);
    background-size: cover;
    background-position: center;
}

.feature-inner:nth-child(3):before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/feature-bg-3.png);
    background-size: cover;
    background-position: center;
}

.feature-inner:nth-child(4):before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/feature-bg-4.png);
    background-size: cover;
    background-position: center;
}

.feature-inner:nth-child(5):before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/feature-bg-5.png);
    background-size: cover;
    background-position: center;
}

.feature-inner:nth-child(1)::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    background-image: url(/wp-content/uploads/feature-01.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.feature-inner:nth-child(2)::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    background-image: url(/wp-content/uploads/feature-02.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.feature-inner:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    background-image: url(/wp-content/uploads/feature-03.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.feature-inner:nth-child(4)::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    background-image: url(/wp-content/uploads/feature-04.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.feature-inner:nth-child(5)::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    background-image: url(/wp-content/uploads/feature-05.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.feature-inner::before,
.feature-inner::after {
  z-index: -1;
}

.feature-inner::before {
    top: 0;
}

.feature-inner::after {
    top: -60px;
    left: 0;
}


.feature-heading {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-text {
    font-weight: 500;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    margin-top: 20px;
}

.feature-content {
    background: #fff;
    padding: 15px;
    width: 100%;
}

.feature-span {
    font-weight: bold;
    display: inline-block;
    padding-bottom: 5px;
}

.feature-content-inner {
    padding: 10px;
    border: 1px solid #ffdf;
}

.feature-content p:first-child {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    padding: 15px;
    width: fit-content;
}

.feature-head {
    padding: 10px 0 10px 55px;
    display: flex;
    align-items: center;
    color: var(--main-color01);
    position: relative;
    font-size: 1.5rem;
    font-family: serif;
}

.feature-head span {
    line-height: 1.2;
    display: block;
    font-weight: normal;
}

.feature-inner:nth-child(1) .feature-head:before {
    content: '01.';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Kapakana', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
}

.feature-inner:nth-child(2) .feature-head:before {
    content: '02.';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Kapakana', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
}

.feature-inner:nth-child(3) .feature-head:before {
    content: '03.';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Kapakana', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
}

.feature-inner:nth-child(4) .feature-head:before {
    content: '04.';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Kapakana', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
}

.feature-inner:nth-child(5) .feature-head:before {
    content: '05.';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Kapakana', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
}

.feature-text > div:first-child {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    padding: 15px;
    width: fit-content;
}

@media(max-width: 1215px) {
    .feature-inner {
        width: 46%;
    }
    section.top-feature {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    section.top-feature {
        padding: 0 0 120px;
    }
    .feature-inner {
        height: auto;
        justify-content: center;
        width: 100%;
    }
    .feature-img {
        display: block;
    }
    .feature-inner::before,
    .feature-inner::after {
    z-index: 0;
    }
    .feature-wrap {
        padding: 80px 0;
        gap :80px 0;
    }
    .feature-heading {
        font-size: 20px;
    }
}

@media(max-width: 480px) {
    .feature-inner {
        width: 100%;
    }
    .feature-inner::after {
        top: -30px;
    }
    .feature-inner:nth-child(1)::after,.feature-inner:nth-child(2)::after,.feature-inner:nth-child(3)::after,.feature-inner:nth-child(4)::after,.feature-inner:nth-child(5)::after {
        width: 85px;
    }
    .feature-wrap {
        padding: 40px 0 10px;
    }
}

.top-doctor {
  position: relative;
  background-color: #fff;
  z-index: 0;
}

.top-doctor .container {
    background-color: #B3E9FA;
    border-radius: 0 0 100px 100px;
}


.greeting {
    position: relative;
    z-index: 2;
    /* width: 50%; */
    border-radius: 0 0 100px 100px;
    background: #fff;
    padding: 40px 200px 0;
    display: flex;
}

/*.top-doctor::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    height: 100%;
    background: url(/wp-content/uploads/greeting-doctor-img.png) no-repeat right top;
    background-size: contain;
    z-index: 3;
}*/

.greeting img {
    width: 50%;
}

.greeting div {
    overflow: hidden;
    padding-bottom: 20px;
    }

.doctor-text {
    /*background-color: #B3E9FA;*/
    border-radius: 0 0 100px 100px;
    margin-top: -80px;
    position: relative;
    z-index: 4;
    /* padding-top: 80px; */
    padding: 100px 200px;
}

.doctor-image {
  position: absolute;
  right: 50px;
  /*top: 150px;*/
  width: 30%;
  z-index: 3;
  bottom: 60px;
}

.doctor-text p {
    font-size: 20px;
    line-height: 2.5;
    text-shadow: 0px 0px 15px #FFFFFF,
  0 0 15px #FFFFFF;
    font-weight: 500;
    position: relative;    
    color: #000000;
}

.doctor-btn {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    bottom: 30px;
    right: 200px;
    gap: 30px;
    z-index: 4;
}

.doctor-btn a {
    display: block;
    width: 280px;
    position: relative;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    padding: 16px 32px 16px 24px;
    line-height: 1;
    background: var(--main-color01);
    border-radius: 30px;
    border: 3px solid var(--main-color01);
    transition: 0.3s ease;
}

.doctor-btn a::after {
    content: '';
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f105';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.doctor-btn a:hover {
    background-color: #fff;
    color: var(--main-color01);
    transition: 0.3s ease;
}

.doctor-btn a:hover::after {
    content: '●';
    font-size: 10px;
}

.doctor-btn a:nth-of-type(2) {
    background: var(--main-color02);
    border: 3px solid var(--main-color02);
}

.doctor-btn a:nth-of-type(2):hover {
    background-color: #fff;
    color: var(--main-color02);
    transition: 0.3s ease;
}

.doctor-btn.under {
    position: static;
    margin-top: 20px;
}

.doctor-btn.under.diagnosis {
    justify-content: center;
}

.doctor-btn.under.diagnosis a {
    width: 400px;
}

@media(max-width: 1600px) {
    .doctor-text p {
        width: 90%;
    }
}

@media(max-width: 1200px) {
    .top-doctor .container {
        padding: 0;
    }
    .greeting {
        padding: 40px 100px 0;
    }
    .greeting img {
    width: 65%;
    }
    .doctor-text {
        padding: 100px;
    }
}

@media(max-width: 960px) {
    .doctor-btn {
        right: 0;
    }
    .doctor-text p {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .top-doctor .container {
    border-radius: 0 0 50px 50px;
}
    .greeting {
        border-radius: 0 0 50px 50px;
        padding: 40px 20px 0;
    }
    .greeting img {
    width: 80%;
    }
    .doctor-text {
        padding: 24px 16px;
        margin-top: 0;
        padding-bottom: 230px;
        border-radius: 0 0 50px 50px;
    }
    .doctor-text p {
        font-size: 16px;
        line-height: 2;
    }
    .doctor-image {
    right: -20px;
    width: 35%;
    z-index: 3;
    bottom: 30px;
    }
    .doctor-btn a {
        width: 230px;
        font-size: 18px;
    }
    .doctor-btn {
        flex-direction: column;
        right: auto;
        gap: 20px;
        bottom: 16px;
        left: 20px;
    }
    .doctor-btn.under {
        flex-direction: row;
    }
    .doctor-btn.under.diagnosis a {
        width: 320px;
    }
}
@media (max-width: 480px) {
    .greeting img {
        width: 100%;
    }
    .doctor-image {
        width: 50%;
    }
}


/*.doctor-wrap:before {
    content: '';
    position: absolute;
    left: 0;
    width: 588px;
    height: 418px;
    background-image: url(/wp-content/uploads/top-doctor02.png);
    background-size: cover;
    background-position: center;
}*/

.doctor-img {
    display: none;
}

.doctor-content {
    position: relative;
    width: 700px;
    padding: 5px;
    margin-top: 140px;
    border: solid 8px var(--main-color02);
    background-color: rgba(255, 255, 255, 0.8);
}

.doctor-content > div {
    padding: 20px;
    border: solid 2px var(--main-color02);
}

.doctor-content p span {
    display: block;
}

@media (max-width: 768px) {
    .doctor-wrap:before {
        display: none;
    }
    .doctor-content {
        margin-top: 0px;
    }
    .doctor-img {
        display: block;
        width: 100%;
    }
    .doctor-content {
        width: 100%;
    }
}



.top-clinic {
    padding-bottom: 0!important;
}

.top-clinic > .container {
    width:100%;
}

.clinic-wrap {
    background: var(--main-color03);
    padding-bottom: 60px;
}

.clinic-wrapbg {
    height: 500px;
    width: 100%;
    border-radius: 0 0 100px 100px;
    background: #fff;
    border-radius: 0 0 100px 100px;
}

.clinic-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    padding: 40px 0;
    justify-content: center;
    max-width: 1200px;
    margin: -500px auto 0;
}


.clinic-inner {
    /*width:48%;*/
    padding: 40px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    max-width: 580px;
    width: 48%;
    position: relative;    
    opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.4s ease-out, transform 0.8s ease-out;
  transition-delay: calc(var(--delay) * 1s);
}

.clinic-inner.visible {
  opacity: 1;
  transform: translateY(0);
}


.clinic-container > .clinic-inner:nth-of-type(1)::before {
    content: '';
    display: block;
    background: url(/wp-content/uploads/fukidashi-1.png);
    width: 100px;
    position: absolute;
    background-size: contain;
    height: 70px;
    left: -30px;
    top: -40px;
    background-repeat: no-repeat;
}

.clinic-container > .clinic-inner:nth-of-type(2)::before {
    content: '';
    display: block;
    background: url(/wp-content/uploads/fukidashi-2.png);
    width: 100px;
    position: absolute;
    background-size: contain;
    height: 70px;
    right: -30px;
    top: -40px;
    background-repeat: no-repeat;
}

.clinic-inner dl {
    align-items: center;
    margin-top: 40px;
}

.clinic-name {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
}

.clinic-inner:nth-of-type(1) .clinic-name {
  color: var(--main-color01);
}

.clinic-inner:nth-of-type(2) .clinic-name {
  color: var(--main-color02);
}

.clinic-inner dt figure {
    margin-bottom: 5px;
}

.clinic-inner dt figure img {
    width: 20px;
}

.clinic-inner dt {
    width: 75px;
    display: flex;
    flex-direction: column;
}


.clinic-inner dd {
    width: calc(100% - 100px);
    display: flex;
    align-items: center;
}

.clinic-inner dd a {
    color: #323232;
}

.clinic-inner:nth-of-type(1) dt span {
  background: var(--main-color01);
}

.clinic-inner:nth-of-type(2) dt span {
  background: var(--main-color02);
}


.clinic-inner dt span {
  color: #fff;
  width: 75px;
  text-align: center;
  display: inline-block;
}

.holiday {
    color: var(--main-color01); 
    font-weight: 700;
    padding-top: 20px;
    letter-spacing: 2px;
}

.holiday span {
    color: #fff;
    width: 120px;
    display: inline-block;
    padding: 10px 16px;
    background: var(--main-color01);
    text-align: center;
    line-height: 1;
    border-radius: 20px;
    margin-right: 1rem;
    letter-spacing: 4px;
}


.star {
    color: var(--main-color01);
}

.clinic-container > .clinic-inner:nth-child(2) .holiday{
    color: var(--main-color02)!important; 
}

.clinic-container > .clinic-inner:nth-child(2) .holiday span {
    background: var(--main-color02)!important;
}

.clinic-container > .clinic-inner:nth-child(2) .star {
    color: var(--main-color02)!important; 
}

.under-line {
    display: flex;
    gap: 0 30px;
    width: 100%;
}


@media(max-width: 1280px) {
    .clinic-container {
        gap: 60px 0;   
    }
    .clinic-inner {
        margin: 0 20px;
        width: 45%;
    }
    .clinic-name {
        font-size: 24px;
        text-align: center;
    }
}

@media(max-width: 1200px) {
    .clinic-wrap {
        margin: 0 calc(50% - 50vw);
        width: 100vw;
    }
    .clinic-container {
        padding: 40px;
    }
    .top-clinic > .container {
        padding: 0!important;
    }
}

@media(max-width: 1130px) {
    .clinic-container {
        flex-direction: column;
    }
    .clinic-inner {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media(max-width:768px) {    
    .clinic-inner {
        width: 100%;
        max-width: 100%;
        padding: 16px;
    }
    .clinic-wrapbg {
        border-radius: 0 0 30px 30px
    }
    .clinic-wrap {
        padding-bottom: 20px;
    }    
    .clinic-name {
        font-size: 24px;
        line-height: 1.5;
        padding-bottom: 10px;
        text-align: center;
    }
    .under-line {
        gap: 0 10px;
        padding-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .clinic-wrap {
        padding: 0;
    }
    .clinic-wrapbg {
        height: 1300px;
    }
    .clinic-container > .clinic-inner:nth-of-type(1)::before,.clinic-container > .clinic-inner:nth-of-type(2)::before {
        width: 60px;
        height: 45px;
        top: -25px;
    }
    .clinic-container > .clinic-inner:nth-of-type(1)::before {
        left: 0;
    }
    .clinic-container > .clinic-inner:nth-of-type(2)::before {
        right: 0;
    }
    .clinic-container  {
        margin: -1300px auto 0;                 
        padding-right: calc(30px / 2);
        padding-left: calc(30px / 2);
        gap: 40px 0;
    }
    .holiday,.annotation {
        font-size: 14px;
    }
    .clinic-inner dt span {
        line-height: 1.5;
    }
    .under-line {
        border-bottom: 1px dashed #A2A2A2;
    }
    
    .clinic-inner dl .under-line:last-of-type {
        border-bottom: none;
    }
}
.home .clinic-info {
    width: 350px;
}

/*.clinic-schedule {
    width: calc(100% - 370px);
}*/

.schedule-title {
    background: var(--main-color02);
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 15px;
    margin-bottom: 10px;
}



@media (max-width: 768px) {
    .clinic-info {
        width: 100%;
    }
    .clinic-schedule {
        width: 100%;
    }
}

.access-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.top-price-wrap {
    padding: 40px 100px;
}

.price-link {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 336px;
    background-image: url(/wp-content/uploads/price-bnr-off1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 1000px;
    margin: 0 auto;
}

.price-link:hover {
    background-image: url(/wp-content/uploads/price-bnr-on1.png);
    /*box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);*/
}

@media(max-width: 768px) {
    .price-link {
        background-image: url(/wp-content/uploads/price-bnr-sp.png);
        background-size: cover;
        
    }
    .top-price-wrap {
        padding: 40px 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    }
    .price-link:hover {
        background-image: url(/wp-content/uploads/price-bnr-sp.png);
    }
}

@media(max-width: 630px) {
    .price-link {
        height: 200px;
    }
}

@media(max-width: 480px) {
    .price-link {
        height: 160px;
    }
}

section.top-check {
    background: var(--main-color03);
    border-radius: 100px 100px 0 0;
    position: relative;
    padding: 130px 0 200px;
    text-align: center;
}

section.top-check::before,section.top-check::after {
    position: absolute;
    content: '';
    display: block;
    width: 400px;
    height: 280px;
    background-size: contain;
    background-repeat: no-repeat;
}

section.top-check::before {
    background-image: url(/wp-content/uploads/bubble-1.png);
    top: -145px;
    right: 0;
}

section.top-check::after {
    background-image: url(/wp-content/uploads/bubble-2.png);
    left: 0;
    bottom: -28px;
    z-index: 1;
}

.top-check > .container {
    max-width: 1200px;
    
}

.check-wrap {
    padding: 64px 40px 40px;
    position: relative;
    background: #fff;
}

.check-heading {
    font-family: "Josefin Sans", sans-serif;
    font-size: 40px;
    position: absolute;
    text-align: center;
    background: var(--main-color02);
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    top: -35px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 16px 20px;
}

.check-wrap::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 17px solid transparent;
    border-left: 17px solid transparent;
    border-top: 22px solid #fff;
    border-bottom: 0;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.check-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    text-align: left;
}

.check-list li{
    font-size: 24px;
    border-bottom: 1px dashed #C3C3C3;
    position: relative;    
    padding: 30px 0 20px 40px;
    width: 48%;
    line-height: 1;
}

.check-list li::before {
    content: '';
    display: block;
    background-image: url(/wp-content/uploads/checkmark.png);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
}

.check-text-wrap {
    padding-left: 10%;
}

.check-text {
    font-size: 24px;
    text-shadow: 0px 0px 10px #FFFFFF;
    text-align: center;
    position: relative;
    background: url(/wp-content/uploads/catch-icon.png);
    display: inline-block;
    background-size: 100% 15px;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 60px 30px 30px 0;
}

.check-text::before {
    content: '';
    display: block;
    background: url(/wp-content/uploads/icon-face-black.png);
    width: 60px;
    height: 72px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -75px;
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.95) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.05) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.05) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.tada-active {
  animation: tada 1.5s ease;
}

@media(max-width: 1200px) {
    section.top-check {
        padding: 130px 30px 200px;
    }
}

@media(max-width:768px) {
    section.top-check {
        border-radius: 30px 30px 0 0;
        padding: 70px 0 130px;
    }
    section.top-check::before, section.top-check::after {
        width: 100px;
        height: 70px;
    }
    section.top-check::before {
        top: -35px;
    }
    section.top-check::after {
        background-image: url(/wp-content/uploads/bubble-1.png);
        transform: rotate(180deg);
        bottom: 46px;
        left: -10px;
    }
    .check-wrap {
        padding: 40px 16px;
    }
    .check-heading {
        font-size: 24px;
    }
    .check-list li {
        font-size: 16px;
        width: 100%;
        padding: 16px 0 8px 24px;
    }
    .check-list li::before {
        width: 15px;
        height: 15px;
    }
    .check-text {
        font-size: 16px;
        padding: 45px 0px 16px 50px;
        background-size: 100% 7px;
    }
    .check-text::before {
        width: 37px;
        height: 45px;
        left: 10px;
        top: 58px;
    }
    .check-text-wrap {
        padding-left: 0;
    }
}


@media(max-width:480px) {
    .check-text {
        padding: 45px 0px 16px 36px;
        width: 100%;
    }
    .check-text::before {
        left: 6px;
    }
    .check-text-wrap {
        padding-left: 0;
    }
}

.reserve-wrap {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    position: relative;
    z-index: 2;
}

.reserve-inner {
    /*padding: 24px;*/
    width: 50%;
    height: 170px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.reserve-inner.blue {
    background-image: url(/wp-content/uploads/tel-bnr-pc.png);
}

.reserve-inner.orange {
    background-image: url(/wp-content/uploads/reserve-bnr-pc-off.png);
}

.reserve-inner.orange:hover {
    background-image: url(/wp-content/uploads/reserve-bnr-pc-on.png);
    background-size: contain;
}

/*.reserve-inner.blue {
    background: radial-gradient(65.22% 65.22% at 50% 46.95%, #034EDF 0%, #3C90E9 100%) ;
}

.reserve-inner.orange {
    background: radial-gradient(50% 50% at 50% 50%, #F89A00 0%, #FFC058 100%);
}*/

.reserve-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 6px 40px;
    background: #fff;
    border-radius: 30px;
    position: relative;
}

.reserve-title.blue {
    color: var(--main-color01);
}

.reserve-title.orange {
    color: var(--sub-color);
}

.reserve-title.orange::after {
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f105';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

/*.reserve-inner.orange:hover {
    background: radial-gradient(142.78% 142.78% at 50% 45.1%, #FFC058 0%, #F89A00 100%);    
    transition: 0.3s ease;
}*/

.reserve-inner.orange:hover .reserve-title.orange::after {
    content: '●';
    font-size: 10px;
}

.reserve-text {
    text-align: center;
    position: relative;
    color:  #fff;
}

.reserve-text.blue {
    font-family: "Josefin Sans", sans-serif;
    font-size: 48px;
}

.reserve-text::before {    
    content: '';
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    transform: translateY(-50%);
}

.reserve-text.blue::before {
    background-image: url(/wp-content/uploads/tel-icon-white.png);
    width: 40px;
    height: 40px;
    left: 85px;
}

.reserve-text.orange::before {
    background-image: url(/wp-content/uploads/reserve-icon.png);
    width: 55px;
    height: 55px;
}

.reserve-text.orange {
    font-size: 28px;
}

.reserve-text span {
    font-family: "Josefin Sans", sans-serif;
    font-size: 48px;
}

/*@media(max-width: 1200px) {
    .reserve-text.blue {
        font-size: 36px;
    }
    .reserve-text.orange {
    font-size: 20px;
    }
    .reserve-text span {
        font-size: 36px;
    }
    .reserve-text.blue::before {
    width: 30px;
    height: 30px;
    left: 65px;
    }
}*/

@media(max-width: 1200px) {
    .reserve-wrap {
        flex-direction: column;
    }
    .reserve-inner {
        width: 100%;
    }

    .reserve-text.orange::before {
        left: 20%;
    }
    .reserve-text.blue::before {
        left: 30%;
    }
}

@media(max-width: 960px) {
    .reserve-inner {
        height: 170px;
    }
}

@media(max-width: 768px) {
    .reserve-wrap {
        flex-direction: column;
        padding: 50px 16px 0;
    }
    .reserve-inner {
        width: 100%;
        height: 140px;
    }
    .reserve-inner.blue {
        background-image: url(/wp-content/uploads/tel-bnr-sp.png);
    }

    .reserve-inner.orange {
        background-image: url(/wp-content/uploads/reserve-bnr-sp.png);
    }

    .reserve-inner.orange:hover {
        background-image: url(/wp-content/uploads/reserve-bnr-sp.png);
    }


    .reserve-title {
        font-size: 20px;
    }
    .reserve-text.blue{
        font-size: 32px;
    }
    .reserve-text.orange {
        font-size: 18px;
        padding-left: 38px;
        line-height: 1;
        padding-top: 16px;
    }
    .reserve-text span {
        font-size: 28px;
        line-height: 1.5;
    }
    .reserve-text.blue::before {
        width: 24px;
        height: 24px;
        left: 20%;
    }
    /*.reserve-text.orange::before {
        left: 26px;
    }*/
}

@media(max-width:480px) {
    .reserve-text.blue::before,.reserve-text.orange::before {
        left: 10%;
    }
}

@media(max-width:375px) {
    .reserve-text.blue::before,.reserve-text.orange::before {
        left: 5%;
    }
    .reserve-title {
        padding: 6px 30px;
    }
}

.insta-wrap {
    padding-top: 80px;
    background-color: #fff;
    border-radius: 100px 100px 0 0;
    text-align: center;
    /*margin-top: -100px;*/
    position: relative;
}

.home .insta-wrap {
    margin-top: -100px;
}


.insta-wrap a {
    display: inline-block;
    width: 448px;
    height: 164px;
    background-image: url(/wp-content/uploads/insta-bnr-off.png);
    background-size: cover;
}

.insta-wrap a:hover {
    background-image: url(/wp-content/uploads/insta-bnr-on.png);
    transition: 0.3s ease;
}

.insta-wrap p {
    font-family: "Josefin Sans", sans-serif;
    color: var(--main-color03);
    padding-bottom: 10px;
    position: relative;
}

.insta-wrap p:before,
.insta-wrap p:after {
  position: relative;
  display: inline-block;
  content: "";
  background: #C3C3C3;
  width: 2px;
  height: 2em;
  margin: 0 1em;
  margin-top: -.2em;
  vertical-align: middle;
}
 
.insta-wrap p:before {
  transform: rotate(-35deg);
}
 
.insta-wrap p:after {
  transform: rotate(35deg);
}

@media(max-width: 768px) {
    .insta-wrap a {
        background-image: url(/wp-content/uploads/instabnr-sp.png);
        width: 100%;
        height: 113px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .insta-wrap a:hover {
    background-image: url(/wp-content/uploads/instabnr-sp.png);
    transition: 0.3s ease;
}
    .insta-wrap {
        border-radius: 30px 30px 0 0;
        padding-top: 36px;
    }
}


.pdf-name-box {
    border: 1px solid rgb(204, 204, 204);
    display: inline-block;
    padding: 15px 55px 15px 10px;
}

.pdf-img {
    width: 30px;
    height: 30px;
}

.pdf-name {
    color: #5b5b5b;
}

@media screen and (max-width: 768px) {
  .clinic-inner,
  .feature-inner,
  .medical-inner,
  .top-news {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
}

.accesiblity {
    height: 70%;
}

@media (max-width: 768px) {
    .accesiblity-bnr {
        width: 50px;
        bottom: 85px;
    }
}

/* 下層 */
.under-bg {
    background-color: #e8f3fa;
}

.treatmentflow {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
}

.treatmentflow li {
    width: 18%;
    background: #D9E8F4;
    padding: 25px 15px 35px;
    color: #0068B6;
    font-size: 20px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    filter: drop-shadow(4px 4px #efefef);
}

.treatmentflow li .step {
    width: 60%;
    margin: 0 auto 35px;
    padding: 0 0 25px;
    text-align: center !important;
    font-size: 35px;
    color: #034EDF;
    border-bottom: solid 1px #034EDF;
    line-height: 1.2;
}

.treatmentflow li .step span {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.treatmentflow p {
    text-align: center;
    padding-bottom: 20px;
}

@media(max-width: 1200px) {
    .treatmentflow {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap :30px;
    }
    .treatmentflow li {
        width:29%;
    }
}

@media(max-width: 768px) {
    .treatmentflow li {
        width: 100%;
        margin: 8px 0;
        box-sizing: border-box;
        font-size: 18px;
    }
    .treatmentflow li:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #D9E8F4;
    /*display: block;
    width: 30px;
    height: 20px;*/
    }
    .treatmentflow li:last-child::before {
        content:none;
    }
}

.ank-link {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 60px;
    list-style: none;
}

.ank-link_item {
    margin-right: 16px;
    margin-bottom: 16px;
}

.ank-link_item a {
    position: relative;
    display: block;
    padding: 6px 16px;
    border-radius: 8px;
    background: linear-gradient(to right, #034EDF 0%, #b3e9Fa 100%);
    color: #fff;
    text-shadow: 0 0 17px rgba(191, 162, 170, 0.6), 0 0 17px rgba(147, 172, 185, 0.6);
    transition: ease-in-out 0.2s;
}

.ank-link_item a::after {
    position: relative;
    display: inline-block;
    margin-left: 12px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f107";
    transition: ease-in-out 0.2s;
}

.list-anchor-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-family: "FOT-筑紫A丸ゴシック Std D";
    list-style: none;
}

.list-anchor-link li {
    position: relative;
}

.list-anchor-link li::after {
    content: "";
    display: inline-block;
    background: #e0e0e0;
    width: 2px;
    height: 15px;
    margin: 0 20px;
    vertical-align: -1px;
}

.list-anchor-link li:last-child:after {
    content: none;
}

.list-anchor-link a {
    display: inline-block;
    position: relative;
    padding-right: 25px;
    color: #323232;
}

.list-anchor-link a::before {
    content: "";
    background: url(/wp-content/uploads/ico_arrow_bottom.svg) no-repeat 0 0 / contain;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 5px;
}

@media(max-width: 768px) {
    .list-anchor-link {
        display: block;
    }
    .list-anchor-link li::after {
        content: none;
    }
    .list-anchor-link a {
        padding-left: 25px;
        padding-right: 0;
    }
    .list-anchor-link a::before {
        left: 0;
        right: auto;
    }
}

.doctor-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.doctor-wrap div {
    width: 32%;
}

@media(max-width: 1110px) {
    .doctor-wrap div {
        width: 47%;
    }
}

@media(max-width: 768px) {
    .doctor-wrap {
        flex-direction: column;        
        justify-content: center;
    }
    .doctor-wrap div {
        width: 100%;
    }
}

.interview-bg1 {
    background-color: #D4F3FD;
    padding: 0 10px 20px;
    margin-bottom: 20px;
}

.interview-bg2 {
    background-color: #fff;
    padding: 0 10px 20px;
    margin-bottom: 20px;
}

.price-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.price-content figure {
    width: 30%;
}

.price-content figure img {
    width: 70%;
}

.price-inner {
    width: 68%;
}

.price-title-wrap {
    display: flex;
    justify-content: space-between;
}

.price-title {
    color: #F39700;
    font-weight: bold;
    font-size: 1.2rem;
}

.price-title span {
    color: #323232;
    font-weight: normal;
    font-size: 1rem;
}

.price-fee {
    font-weight: bold;
}

.price-text-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.price-head {
    padding: 0 8px;
    width: 168px;
}

.price-text {
    width: calc(100% - 180px);
    border-left: 1px solid #333;
    padding: 0 8px;
}

ul.list-white {
    list-style: circle;
}

.price-heading {
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #7AC5F5 0%, #7AC5F5 15%, #DADADA 15%, #DADADA 100%) 1;
    border-image-slice: 1;
    color: var(--main-color02);
}

@media(max-width: 1120px) {
    .price-content {
        justify-content: center;
    }
    .price-inner {
        width: 100%;
    }
}

@media(max-width: 960px) {
    .price-title-wrap {
        flex-direction: column;
    }
    .price-fee {
        width: 100%;
        text-align: right;
    }
    .price-title {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .price-inner {
        width: 100%;
    }
    .price-content figure {
        width: 50%;
    }
    .price-content figure img {
        width: 100%;
    }
}

@media(max-width: 480px) {
    .price-head {
    width: 95px;
    }
    .price-text {
    width: calc(100% - 105px);
    }
    .price-content {
        padding: 20px 0;
    }
}

#anc01,#anc02,#anc03,#anc04,#anc05,#anc06,#anc07,#anc08,#anc09,#anc10,#anc11,#anc12,#anc13,#anc14,#anc15,#anc16 {
    padding-top: 80px;
    margin-top: -50px;
}

.equipment_title {
    background-color: var(--main-color03);
    border-radius: 10px;
    margin: 20px auto 0;
    padding: 10px;
    text-align: center;
}

section a[target="_blank"] {
  &:after {
    font-family: "Font Awesome 6 Free";
    content: "\f08e";
    font-weight: 900;
    margin: 0 0.25rem;
  }
}

.not-blank::after {
    content: none!important;
}

.img-hover {
    position: relative;
    display: inline-block;
}

.img-hover img {
    display: block;
}

.img-hover .reservehover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-hover:hover .reservehover-img {
    opacity: 1;
}

.over-link {
    position: relative;
    z-index: 1;
}