/* カラー変更 */

:root {
    --content-width: 1200px;
    --main-color01: #F09CBA;
    --main-color02: #F29700;
    --sub-color: #FD8383;
    --accent-color: #F2EFEB;
    --base-color: #3D3D3D;
}


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

* {
    -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: "Noto Sans JP", sans-serif,"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
    color: #3D3D3D;
}
/*main {
  padding-top: 100px;
}*/

.home main {
  padding-top: 0;
}

@media (max-width: 1023px) {
  main {
    padding-top: 80px;
  }
}
ul {
  padding-left: 20px;
}
li::marker {
    color: var(--main-color02);
}

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

section {
    padding: 60px 0;
}

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

@media (max-width: 767px) {
    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: 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: 767px) {
    .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: 767px) {
    .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: 767px) {
    .row .span_1 {
        width: auto;
    }
    .row>.col:not(:first-child) {
        margin-top: 20px;
    }
}


/* ヘッダー */

header {
    /*position: fixed;*/
    width: 100%;
    z-index: 100;
    top: 0;
    background: rgba(80, 76, 68, 0.7);
    overflow: visible!important;
    position: relative;
}

.header-wrap {
    position: relative;
    width: auto;
    min-height: 80px;
    text-align: center;
    margin: 0 auto;
    max-width: var(--content-width);
}

.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;
}

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

@media (max-width: 767px) {
    /*header {
        padding: 0 0 0 10px;
    }*/
    .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;
    }
}

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

.header-copy:not(.title) {
    color: #656565;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding: 4px 20px;
    text-align: left;
    position: relative;
}

@media (max-width: 767px) {
    .header-copy:not(.title) {
        display: none;
    }
}

.header-btn {
  position: relative;
  cursor: pointer;
  width: 55px;
  height: 80px;
  z-index: 999999999;
}

.header-btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 17px;
  height: 3px;
  border-radius: 2px;
  background: var(--main-color01);
  width: 25px;
}

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

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

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

.header-btn.active span:nth-of-type(1) {
  top: 33px;
  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: 45px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}
 .header_nav {
  margin-right: 0px;
  /*width: 100%;*/
  background:#fff;
  height: 67px;
    display: flex;
    flex-direction: column;
    margin-top: -95px;
    justify-content: center;
    padding-right: 60px;
}

.header-bottom{
  width: 100%;
  background:#fff;
  margin: 0 auto;
  position: relative;
  padding-top: 128px;
  height: 90vh;
}
.home .header-bottom{
  padding-top: 0;
}

.header_nav[data-sticky='true'] {
	position: fixed;
	top: 0;
	left: 0;
  z-index: 101;
  padding: 0;
  width: 100%;
  margin-top: 0;
  padding-right: 60px;
}

.header_nav[data-sticky='true'] ul {
    margin-top: 0;
}

.header-logo {
    width: calc(100% - 800px);
    position: relative;
    z-index: 1;
}

.header-logo img {
    max-width: 980px;
}

.wave-wrap {
    background-image: url(/wp-content/uploads/mv-wave.png);
    background-size: 100% 120%;
    background-position: center -58px;
    padding: 80px 0;
    margin-top: -235px;
    position: relative;
}

body:not(.home) .header-bottom {
    height: auto !important;
    min-height: auto !important;
    background: #fff;
}

body:not(.home) .wave-wrap {
    display: none;
}

@media(max-width:1560px) {
    .header-logo {
        width: calc(100% - 700px);
    }
    .header_nav {
        margin-top: -70px;
        padding-right: 0;
    }
    .header_nav[data-sticky='true'] {
        padding-right: 0;
    }
}

@media(max-width:1365px) {
    .wave-wrap {
        margin-top: -150px;
    }
    /*.header-logo {
        width: calc(100% - 630px);
    }*/
}

@media(max-width:1023px) {
    .home .header-bottom {
        padding-top: 80px;
    }
    .wave-wrap {
        display: none;
    }
}

@media(max-width: 820px) {
    .home .header-bottom {
        height: auto;
    }
}

@media(max-width:768px) {
    .header-bottom{
        height: auto;
    }
}

@media(min-width:1024px) {
    .header-top {
        display: none;
    }
}

/* グローバルメニュー */
/*.header-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: end;
}*/

.header_nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
    /*margin: 0 auto;*/
    list-style: none;
    padding: 10px 0;
    max-width: 767px;
    margin-left: auto;
}

.header_nav ul li {
    position: relative;
    /*flex: 1;*/
    /* text-align: center; */
}


.header_nav ul li:before{
position: absolute;
content:'';
height: 100%;
width:1px;
/*background: var(--main-color01);*/
}
.header_nav ul li:first-child:before{
display: none;
}

.header_nav ul li:last-child:after{
display: none;
}

/*.header_nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: #86A5B7; 
}*/

.header_nav ul li a {
    padding: 5px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 1;
    color: var(--base-color);
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.01em;
    font-family: "Noto Serif", serif;
    position: relative;
}


.header_nav ul li a span {
    color: #444444;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.header_nav ul li a:hover{
color: var(--main-color01);
}

.header_nav > ul > li::before {
    content: '';
    width: 20px;
    height: 19px;
    display: block;
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -8px;
    visibility: hidden;
    pointer-events: none;
}

.header_nav > ul > li:hover::before {
    visibility: visible;
}

  nav li.has-child ul{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 45px;
  z-index: 4;
  width:195px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  background: #fff;
  border: 8px solid var(--main-color01);
  padding: 0;
  }



  nav li.has-child ul:before{
  content: '';
  position: absolute;
  height: 20px;
  width: 150%;
  top: -20px;
  }

  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;
  }

  /*nav li.has-child ul li:before,
  nav li.has-child ul li:first-child:before{
    display: block;
    content:'▶';
  }
  nav li.has-child ul li:before,
  nav li.has-child ul li:first-child:before{
    display: block;
    content: '▶';
    background: none;
    left: 10px;
    top: 2px;
    font-size: 12px;
    color: var(--main-color02);
  }*/

  nav li.has-child ul li:after {
    display: none;
  }

  nav li.has-child ul li a{
  color: var(--base-color);
  display: block;
  width: 178px;
  text-decoration: none;
  padding: 10px 16px;
  /*border-bottom: 8px solid var(--main-color01);*/
  text-align: center;
  background: #fff;
  width: 100%;
  border-radius: 3px;
  }

  nav li.has-child ul li:last-child a{
    border-bottom: none;
  }


  nav li.has-child ul li a:hover,
  nav li.has-child ul li a:active{
    color:inherit;
  }

  .sub-menu{
    width: 100%;
    padding: 0;
  /*  background: #8bb2e5; */
    display: none;
  }

  .sub-menu>li>a {
    text-decoration: none;
    color: #fff;
    padding: 10px 0 10px 40px ;
    display: block;
    border-top: 1px solid #fff;
  }

  body:not(.home) .header-nav-wrap {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
  }

@media(max-width:1200px) {
    .header_nav ul li a {
        font-size: 16px;
    }
}

@media(max-width:1023px) {
    .header-top {
        position: fixed;
        height: 80px;
        width: 100%;
        z-index: 9999;
        background-color: #fff;
        top:0;
    }
    .header_nav-wrap {
        display: flex;
        justify-content: space-between;
    }
    .logo-wrap {
        display: flex;
        align-items: center;
    }
    .logo-wrap img {
        width: 80%;
        max-height: 80px;
    }
    body:not(.home) .header-nav-wrap {
        display: none;
    }
}

@media(max-width:768px) {
    .logo-wrap {
        width: calc(100% - 60px);
    }
    .logo-wrap img {
        width: 100%;
    }
}

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

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

.slide {
    background-color: var(--main-color01);
    width: 375px;
    min-height: 100vh;
    position: fixed;
    right: -110%;
    top: 0;
    z-index: 10;
    overflow: scroll;
    padding-top: 80px;
}
.slide-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: transparent;
    cursor: pointer;
}
@media (max-width: 1023px) {
    .slide {
        margin-top: 80px;
        padding-top: 0;
        padding-bottom: 60px;
        z-index: 100;
    }
}

.slide-menu {
    list-style: none;
    padding: 20px;
    background-color: var(--main-color01);
}

.slide-menu>ul {
    padding: 0;
    list-style: none;
    font-family: "Noto Serif", serif;
}

.slide-menu>ul>li {
    margin-bottom: 10px;
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: var(--base-color);
    padding: 16px;
    display: block;
    background-color: #fff;
    font-size: 18px;
    line-height: 1;
    border-radius: 3px;
}

.slide-menu > ul > li.menu-item-has-children > a {
    position: relative;
}

.slide-menu > ul > li.menu-item-has-children > a::after {
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f107';
    display: block;
    position: absolute;
    top: 50%;
    right: 6%;
    font-size: 20px;
    transform: translate(0px, -50%);
    margin: auto;
    transition: 0.2s;
    color: var(--main-color01);
}

.slide-menu > ul > li.menu-item-has-children.active {
    border-bottom: none;
}

.slide-menu > ul > li.menu-item-has-children.active > a {
    color: var(--main-color01)
}

.slide-menu > ul > li.menu-item-has-children.active > a::after {
  transform: translate(0, -50%) rotate(180deg);
  transition: transform 0.3s ease;
}

.sub-menu {
    width: 100%;
    padding: 0;
    background: #fff;
    display: none;
    list-style: none;
    overflow: hidden;
}

.sub-menu>li {
    display: block;
}

.sub-menu>li.sub-menu-head {
    background-color: var(--main-color01);
    color: #fff;
    padding: 10px;
    font-family: "Yu Mincho", "YuMincho", serif;
    text-align: center;
}

.sub-menu>li>a {
    text-decoration: none;
    color: var(--text-color);
    padding: 16px;
    display: block;
    border-bottom: 1px dashed #C3C3C3;
    font-size: 18px;
    padding-left: 2em;
    position: relative;
    line-height: 1;
}

.sub-menu>li>a::before {
    content: '';
    width: 20px;
    height: 19px;
    display: block;
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.sub-menu > li:first-child {
  border-top: 1px solid #C3C3C3;
}


/* ぱんくず */

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

.bread {
    overflow: hidden;
}

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

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

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

@media (max-width: 767px) {
    .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, .news-item img {
    width: auto;
}

figure img {
    width: inherit;
}


/* 投稿 */

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

@media (max-width: 767px) {
    .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: 767px) {
    .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;
}*/

.news-items {
    background: #fff;
}

.news-item {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0 15px;
    height: 100%;
    width: calc(100% - 160px)
}

.news-items-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0 36px;
    align-items: center;
    position: relative;
    padding-right: 30px;
    padding: 30px 40px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    margin-bottom: 30px;
}

.news-items-inner::after {
    content:'';
    display: block;
    position: absolute;
    width: 9px;
    height: 15px;
    background-image: url(/wp-content/uploads/arrow-grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: ease-out 0.3s;
}

/* .news-items-inner:before {
    content: '→';
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 24px;
    color: #000;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
} */

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

.news-item img {
width: 100px;
}

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

.post-title {
    /*line-height: 1;*/
    height: 100%;
    width: 100%;
    color: var(--base-color);
}

.news-item time {
    width: 100%;
    color: var(--base-color);
}

.news-item a {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: var(--base-color);
    display: block;
}

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

.news-items-inner:hover {
    background-color: #FFFBF7;
}

.news-items-inner:hover .news-item a {
    color: var(--main-color01);
}

.news-items-inner:hover::after {
    background-image: url(/wp-content/uploads/arrow-pink.png);
}

.news-items-inner time {
    line-height: 1;
}

@media(max-width: 820px) {
    .top-news {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .news-item {
        width: 100%;
        flex: auto;
    }
    .news-items-inner {
        padding: 24px;
    }
    .top-news {
        margin-top: 0;
    }
}


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

  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 */
.header-info-wrap {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    z-index: 1;
}
.top-tel {
    width: 200px;
   position: absolute;
   z-index: 1;
   top: 20px;
   right: 50px;
}
.top-tel a {
    padding: 16px;
    padding-left: 40px;
    background-color: #fff;
    font-family: "Noto Serif", serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: var(--main-color02);
    border-radius: 40px;
    display: inline-block;
    position: relative;
    line-height: 1;
}
.top-tel a::before {
    content: '';
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url(/wp-content/uploads/tel-icon.png);
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
}

.slider-wrap {
    width: 80%;
    margin-left: auto;
}

.mv {
    position: relative;
}
.mv-image {
    height: 80vh;
    width: 100%;
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
}
.mv-image.mv01 {
    background-image: url(/wp-content/uploads/mv01.png);
}
.mv-image.mv02 {
    background-image: url(/wp-content/uploads/mv02.png);
}
.mv-image.mv03 {
    /*background-image: url(/wp-content/uploads/mv03.png);*/
    background-image: url(/wp-content/uploads/mv03-1.jpg);
}

.slider01 {
    width: 100%;
}

.catch {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 70px;
    background: linear-gradient(90deg, #FFFFFF 63.94%, rgba(255, 255, 255, 0) 100%);
    font-family: "Noto Serif", serif;
}

.catch-inner {
    padding: 80px 120px;
    position: relative;
}

.catch-inner::before,
.catch-inner::after {
    content: '';
    display: block;
    position: absolute;
    background-size: cover;
}

.catch-inner::before {
    background-image: url(/wp-content/uploads/catch-flower-rt.png);    
    width: 120px;
    height: 130px;
    top:-40px;
    right: 0;
}

.catch-inner::after {
    background-image: url(/wp-content/uploads/catch-flower-lb.png);
    width: 150px;
    height: 130px;
    bottom:-65px;
    left:0;
}

.catch-copy {
    font-size: 40px;
}

.catch-copy span {
    color: var(--main-color01);
}

.catch-pink {
    background-color: var(--main-color01);
    color: #fff;
    padding: 20px;
    display: inline;
    font-weight: 400;
    letter-spacing: 2px;
}

.catch-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
}

.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:1300px) {
    .catch-copy {
        font-size: 33px;
    }
    .catch-inner {
        padding: 40px 80px;
    }
}

@media(max-width:1023px) {    
    .header-info-wrap {
        display: none;
    }
    .top-tel {
        display: none;
    }
    .catch-copy {
        font-size: 32px;
    }
    .catch-pink {
        padding: 10px;
    }
    .catch-text {
        font-size: 22px;
        margin-top: 20px;
    }
    .catch {
        bottom: 0;
        left: 0;
        transform: none;
        background: rgba(255, 255, 255, .9);
        width: 100%;
    }
    .catch-inner {
        padding: 20px 60px;
    }
    .catch .txt p {
        font-size: 5vw;
    }
    .slider-wrap {
        width: 100%;
    }
    .mv-image {
        height: 50vh;
    }
    .mv-image.mv01 {
        background-image: url(/wp-content/uploads/mv01-sp.png);
    }
    .mv-image.mv02 {
        background-image: url(/wp-content/uploads/mv02-sp.png);
    }
    .mv-image.mv03 {
        /*background-image: url(/wp-content/uploads/mv03-sp.png);*/
        background-image: url(/wp-content/uploads/mv03-1.jpg);
    }
    .wave-wrap-sp {
        position: relative;
        background: rgba(255, 255, 255, .9);
    }
    .wave-wrap-sp:before,
    .wave-wrap-sp::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 40px;
        background-size: 100% 100%;
    }
    .wave-wrap-sp:before {
        background-image: url(/wp-content/uploads/wave-top.png);
        top:-35px;
    }

    .wave-wrap-sp::after {
        background-image: url(/wp-content/uploads/wave-bottom.png);
        bottom:-72px;
    }
    .catch-inner::before {
        background-image: url(/wp-content/uploads/catch-flower-rt-sp.png); 
        width:84px;
        height: 78px;
    }
    .catch-inner::after {
        background-image: url(/wp-content/uploads/catch-flower-lb-sp.png);
        width: 67px;
        height: 69px;
        z-index: 1;
        bottom: -80px;
    }
}

@media(max-width: 820px) {
    .catch {
        position: static;
        margin-top: -80px;
        background: linear-gradient(90deg, #FFFFFF 63.94%, rgba(255, 255, 255, 0) 100%);
    }
    .wave-wrap-sp:before {
        top: -39px;
    }
}

@media(max-width:768px){
    
    .wave-wrap-sp {
        padding-bottom: 40px;
    }
    .wave-wrap-sp::after {
        bottom: 0;
    }
    .catch-inner {
        padding: 40px 20px;
    }
    .catch-inner::before {
        top: -25px;
    }
    .catch-inner::after {
        bottom: -55px;
    }
}

@media(max-width:480px) {
    .catch-copy {
        font-size: 25px;
    }
    .catch-pink {
        font-size: 28px;
        letter-spacing: 0;
    }
    .catch-text {
        font-size: 18px;
        padding: 0 24px;
    }
    .catch-inner {
        padding: 20px;
    }
    .catch {
        margin-top: 0;
    }
    
    .mv-image {
        height: 180px;
    }
}

@media(min-width:1024px) {
    .catch-br {
        display: none;
    }
}

/* 見出し */

h2.heading-1 {
    margin: 1.5em 0 2.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    font-size: 34px;
    color: var(--base-color);
    letter-spacing: 0.2em;
    border-bottom: none;
    line-height: 1.2em;
    font-family: "Noto Serif", serif;
    text-align: center;
}

h2.heading-1 span {
    display: block;
    font-size: 16px;
    color: var(--main-color01);
    font-family: "Noto Sans JP", sans-serif;
}

h2.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
}

h2.heading-1 a {
    color: var(--main-color02);
    line-height: 1.5;
}

h2.heading-2 {
    margin: 1em 0 2em;
    font-size: 34px;
    font-family: "Noto Serif", serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-align: center;
    color: var(--base-color);
    position: relative;
    line-height: 1.3;
}

h2.heading-2::after {
    content: '';
    display: block;
    width: 766px;
    height: 53px;
    background-image: url(/wp-content/uploads/h2-under.png);
    background-size: cover;
    position: absolute;
    bottom: -1.5em;
    left: 50%;
    transform: translateX(-50%);
}

h3.heading-1 {
    margin: 1.5em 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    font-size: 34px;
    color: var(--base-color);
    letter-spacing: 0.2em;
    border-bottom: none;
    line-height: 1.2em;
    font-family: "Noto Serif", serif;
    text-align: center;
}

h3.heading-1 span {
    display: block;
    font-size: 16px;
    color: var(--main-color01);
    font-family: "Noto Sans JP", sans-serif;
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
}

h4.heading-1 {
    margin: 0 0 0.5em;
    font-size: 24px;
    position: relative;
    color: var(--base-color);
    font-weight: normal;
    line-height: 1.5em;
    letter-spacing: 0.2em;
    padding-left: 40px;
    font-family: "Noto Serif", serif;
}

h4.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 33px;
    height: 8px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(/wp-content/uploads/h4-icon.png);
    background-size: cover;
}

h4.heading-2 {
    margin: 0 0 0.5em;
    font-size: 24px;
    position: relative;
    color: #fff;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.2em;
    padding: 16px;
    background-color: var(--main-color01);
    font-family: "Noto Serif", serif;
}

h5.heading-1 {
    margin: 0.5em 0 0.2em;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    color: var(--base-color);
    line-height: 1.5em;
    font-family: "Noto Serif", serif;
    letter-spacing: 0.1em;
}


/*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;
}

h4.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
}

h5.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
}*/

#pagetitle {
  position: relative;
  color: #000;
  /*background: var(--main-color01);*/
  background-image: url(/wp-content/uploads/page-title.png);
  background-size: cover;
  background-position: center center;
  height: 569px;
}

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


.pagetitle-main {
  padding: 80px 120px;
  max-width: 1200px;
  width: 40%;
  background: linear-gradient(90deg, #FFFFFF 63.94%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
  position: absolute;
  top: 20%;
}


.title-wrap {
  display: inline-block;
  text-align: left; 
  font-family: "Noto Serif", serif;
}

.title-wrap p {
  font-size: 40px;
  color: var(--base-color);
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
  margin-bottom: 16px;
}

.title-wrap span {
  display: inline-block;
  font-size: 40px;
  background-color: var(--main-color01);
  color: #fff;
  text-align: center;
  padding: 20px;
  line-height: 0.9;
  letter-spacing: 0.05em;
}

#pagetitle::before,
#pagetitle::after {
    content: '';
    display: block;
    position: absolute;
    background-size: 100% 100%;
}


#pagetitle::before {
    background-image: url(/wp-content/uploads/catch-flower-rt.png);    
    width: 120px;
    height: 130px;
    top: 40px;
    left: 40%;
    transform: translateX(-40%);
}

#pagetitle::after {
    background-image: url(/wp-content/uploads/catch-flower-lb.png);
    width: 150px;
    height: 130px;
    bottom:60px;
    left: 60px;
}

#pagetitle-news {
  position: relative;
  color: #000;
  background-image: url(/wp-content/uploads/page-title-bg.png);
  background-size: cover;
  background-position: bottom;
  height: 489px;
  font-family: "Yu Mincho", "YuMincho", serif;
  display: flex;    
  align-items: end;
    padding-bottom: 5%;
}

.pagetitle-news-main {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.pagetitle-news-main p {
  font-size: 54px;
  color: #000;
  text-align: center; 
  margin: 0;
}

@media(max-width:1366px) {
    #pagetitle {
        height: 40vw;
    }
    #pagetitle::before {
        width: 70px;
        height: 80px;
    }
    #pagetitle::after {
        width: 100px;
        height: 70px;
        bottom: 80px;
        left: 2vw;
    }
    .pagetitle-main {
        top: 10%;
        padding: 40px 80px;
    }
}

@media(max-width: 1023px) {
    #pagetitle {
        background-image: url(/wp-content/uploads/page-title-sp.png);
        background-position: right center;
    }
    .pagetitle-main {
        width: 100%;
        text-align: left;
        padding: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    .title-wrap p {
        font-size: 25px;
    }
    .title-wrap span {
        padding: 10px;
        font-size: 16px;
        /*max-width: 70%;*/
    }
    #pagetitle::before,
    #pagetitle::after {
        display: none;
    }
}


@media(max-width:768px) {
    h2.heading-1 {
        font-size: 28px;
        margin: 1.5em 0 1em;
    }
    h2.heading-2 {
        font-size: 24px;
    }
    h2.heading-2::after {
        width: 226px;
        height: 15px;
        background-size: contain;
        background-repeat: no-repeat;
        bottom: -1em;
    }
    #pagetitle {
        height: 50vw;
    }
    .title-wrap span {
        font-size: 16px;
    }
    .pagetitle-main {
        line-height: 1.5;
        padding:16px;
    }
    .title-wrap p {
        font-size: 32px;
        white-space: inherit;
        line-height: 1.2;
    }
    #pagetitle-news {
        height: 260px;
        padding: 0;
    }
    #pagetitle-news span {
        font-size: 16px;
    }
    .pagetitle-news-main {
        line-height: 1.5;
    }
    .pagetitle-news-main p {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    #pagetitle {
        height: 60vw;
    }
}


/* ボタン */
.btn-1 {
    color: var(--base-color);
    display: block;
    width: 197px;
    margin-left: auto;
    height: auto;
    padding: 16px 80px 16px 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.btn-1::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 14px; 
    left: 9px;
    width: 0;
    height: 3px; 
    background: linear-gradient(to right, #FFBA48, #F09CBA);
}

.btn-1::after {
    content: '';
    display: block;
    position: absolute;
    width: 58px;
    height: 58px;    
    background-image: url(/wp-content/uploads/btn-arrow-off.png);
    right: 10px;
    transition: all 0.3s ease-out;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
}

.btn-1:hover {
    color: var(--main-color01);
}

.btn-1:hover::before {
    width: 100px;
}

.btn-1:hover::after {
    background-image: url(/wp-content/uploads/btn-arrow-on.png);
}

.btn-2 {
    background-color: var(--main-color01);
    color: #fff;
    display: inline-block;
    padding: 10px 50px 10px 30px;
    border-radius: 30px;
    transition: 0.3s ease-out;
    position: relative;
    text-align: center;
    border: 1px solid var(--main-color01);
    min-width: 245px;
    line-height: 1.2;
}

.btn-2::before {
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
    color: #fff;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-2:hover {
    background-color: #fff;
    color: var(--main-color01);
}

.btn-2:hover::before {
    color: var(--main-color01);
}

.btn-2.orange {
    background-color: var(--main-color02);
    border: 1px solid var(--main-color02);
}

.btn-2.orange:hover {
    color: var(--main-color02);
}

.btn-2.orange:hover::before {
    color: var(--main-color02);
}

@media(max-width:768px) {
    .btn-1 {
        padding-right: 60px;
    }
    .btn-1::after {
        width: 40px;
        height: 40px;
    }
    .btn-1::before {
        left: 18px;
    }
}

/*.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-collapse: separate;*/
}

.table-schedule td,
.table-schedule th {
    border-bottom: 1px solid var(--main-color01);
    padding: 0.2em 0.3em;
    text-align: center;
    font-weight: normal;
}

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

.table-schedule th {
    font-weight: 500;
}

.table-schedule thead th:first-child {
    border-radius: 30px;
    color: #fff;
    background-color: var(--main-color02);
}
.table-schedule thead th {
    position: relative;
    border-bottom: none !important;
}
.table-schedule thead th::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: var(--main-color01); 
    bottom: -8px;
}
.table-schedule tbody tr:first-child th,
.table-schedule tbody tr:first-child td {
    padding-top: 0.7em; 
}
@media (max-width: 375px) {
    .table-schedule td,
    .table-schedule th {
        padding: 0.7em .1em;
    }
}


.table-default {
    width: 100%;
}

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

.table-default th {
    background: var(--pale-color);
}


/* 流れ */

.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: 767px) {
    .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;
}

@media(max-width: 768px) { 
  .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: 220px;
    right: 5%;
    z-index: 100;
    opacity: 0;
}
.pagetop a {
    display: block;
    width: 80px;
    height: 40px;
    background-image: url(/wp-content/uploads/pagetop-off.png);
    background-size: cover;
}
.pagetop a:hover {
    background-image: url(/wp-content/uploads/pagetop-on.png);
}

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

@media(max-width:768px) {
    .pagetop {
        bottom: 150px;
        left: 5%;
    }
}
/*.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;
}*/


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

/*　調整用　*/
.header_nav {
    position: relative;
}

.header_nav li.has-child {
    position: relative;
}

.header_nav li.has-child>ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s;
    z-index: 999;
    background-color: var(--main-color01);
}

.header_nav li.has-child:hover>ul {
    visibility: visible;
    opacity: 1;
    display: block;
}

.header_nav li.has-child:hover>ul li{
    margin-bottom: 8px;
}

.header_nav li.has-child:hover>ul li:last-child {
    margin-bottom: 0;
}

.header_nav li.has-child::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 15px;
}

/* フッター */
footer {
  background: url(/wp-content/uploads/footer-bg.png);
  padding: 80px 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.footer-top {
    margin-bottom: 40px;
}
.footer-top img {
    max-width:333px;
}
.footer-wrap{
  padding: 40px;
  background-color: rgba(255, 255, 255, .8);
}

.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:50px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.footer-info-inner {
  width: 50%;
}
.footer-menu {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 0;
}

.footer-menu-container {
    flex: 1;
}

.menu-head {
    font-family: "Noto Serif", serif;
    font-size: 20px;
    font-weight: 700;
    padding: 16px;
    padding-left: 60px;
    position: relative;
    line-height: 1;
}

.menu-head.info {
    color: var(--main-color01);
    border-bottom: 1px solid var(--main-color01);
}

.menu-head.medical {
    color: var(--main-color02);
    border-bottom: 1px solid var(--main-color02);
}

.menu-head::before {
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-menu-inner {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 30px;
}

.footer-menu-inner li {
    width: calc((100% - 60px) / 2);
}

.footer-menu-inner.info li:nth-child(odd) {
    width: calc((100% - 60px) * 0.4); 
    margin-right: 60px; 
}
.footer-menu-inner.info li:nth-child(even) {
    width: calc((100% - 60px) * 0.6); 
    margin-right: 0; 
}

.footer-menu-inner li a {
    padding: 8px 0;
    padding-right: 30px;
    line-height: 1;
    display: inline-block;
    position: relative;
    color: var(--base-color);
}

.footer-menu-inner li a::after {
    content:'';
    display: block;
    position: absolute;
    width: 9px;
    height: 15px;
    background-image: url(/wp-content/uploads/arrow-grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: ease-out 0.3s;
}

.footer-menu-inner li a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-menu-inner.info li a:hover {
    text-decoration-color: var(--main-color01);
    color: var(--main-color01);
}
.footer-menu-inner.medical li a:hover {
    text-decoration-color: var(--main-color02);
    color: var(--main-color02);
}

.footer-menu-inner li a:hover::after {
    right: -5px;
}

.footer-menu-inner.info li a:hover::after {
    background-image: url(/wp-content/uploads/arrow-pink.png);
}
.footer-menu-inner.medical li a:hover::after {
    background-image: url(/wp-content/uploads/arrow-orange.png);
}

.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;
}

.footer-info-dl {
    font-family: "Noto Serif", serif;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-info-dl dt {
    width: 118px;
    border-radius: 40px;
    color: #fff;
    letter-spacing: 0.1em;
    font-size: 20px;
    text-align: center;
    line-height: 1.5;
}

.footer-info-dl dt:nth-child(4n - 3) {
    background-color: var(--main-color01);
}

.footer-info-dl dt:nth-child(4n - 1) {
    background-color: var(--main-color02);
}

.footer-info-dl dd {
    width: calc(100% - 140px);
    color: var(--base-color);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.2;
}

.footer-info-dl dd a {
    color: var(--base-color);
}

.map-info-heading {
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 1.5;
    padding: 1rem 0;
    color: var(--main-color02);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.map-info-heading:before,
.map-info-heading:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: var(--main-color02);
}

.map-info-heading p {
    display: inline-block;
    border: 1px solid #F29700;
    border-radius: 29px;
    padding: 8px 24px;
    line-height: 1;
    font-family: "Noto Serif", serif;
}

.map-info-heading:nth-of-type(2) {
    color: var(--main-color01);
}

.map-info-heading:nth-of-type(2) p {
    border: 1px solid var(--main-color01);
}

.map-info-heading:nth-of-type(2):before,
.map-info-heading:nth-of-type(2):after {
    background-color: var(--main-color01);
}

.footer-info-dl.access {
    margin-bottom: 10px;
}

.footer-info-dl.access dt {
    border-radius: 0;
    font-size: 16px;
    width: 53px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: 5px;
}

.footer-info-dl.access dd {
    width: calc(100% - 70px);
}

@media(max-width:1023px) {
    .footer-menu {
        display: none;
    }
    .footer-info-dl dd {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-wrap {
        padding: 16px;
        margin: 0 15px;
    }
  .footer-info {
    flex-wrap: wrap;
  }
  .footer-info-inner {
    width: 100%;
  }
  .footer-menu {
    width: 100%;
  }
  .footer-info-dl {
    margin-bottom: 20px;
  }
  .footer-info-dl dt {
    font-size: 16px;
  }
  .footer-info-dl dd {
    width: calc(100% - 140px);
    }
.map-info-heading {
    font-size: 16px;
}
footer {
    background-size: cover;
    background-position: center;
}
}

@media (max-width: 480px) {
  .sns_icon{
    flex-wrap: wrap;
    justify-content: center;
  }
  .sns_icon li{
    width: 80px;
  }
  .footer-policy-link {
    display: block;
  }
}


.copy {
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
  color: #fff;
  background-color: transparent!important;
    color: var(--main-color01)!important;
    font-family: "Noto Serif", serif;
    text-align: left;
}

.copy p {
    line-height: 1.5;
}


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

/* 予約ボタン */

.reservation_area {
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 10;
    overflow: visible!important;
}

.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;*/
    margin-bottom: 10px;
}

.reservation_area li a {
    display: block;
    /*padding: 16px 32px 16px 40px;*/
    padding: 16px 24px 16px 32px;
    transition: all 0.2s ease-out;
    color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    line-height: 1;
    font-family: "Noto Serif", serif;
    position: relative;
    text-align: center;
    width: 122px;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.reservation_area li:nth-child(1) a{
    color: #fff;
    background: var(--main-color01);
    border: 1px solid var(--main-color01);
}

.reservation_area li:nth-child(2) a {
    color: #fff;
    background: var(--main-color02);
    
        border: 1px solid var(--main-color02);
}

@media (min-width:768px) {
    .reservation_area li a::before {
        position: absolute;
        content: '';
        display: block;
        width: 0;
        height: 0;
        top: 50%;
        transform: translateY(-50%);
        left: -28px;
    }
    .reservation_area li a:hover::before {
        width: 53px;
        height: 53px;
        background-size: cover;
    }
    .reservation_area li:nth-child(1) a:hover::before {
        background-image: url(/wp-content/uploads/web-rsv-icon.png);
    }
    .reservation_area li:nth-child(2) a:hover::before {
        background-image: url(/wp-content/uploads/web-monshin-icon.png);
    }
    .reservation_area li a:hover {
        background-color: #fff;
    }
    .reservation_area li:nth-child(1) a:hover {
        color:var(--main-color01);
    }
    .reservation_area li:nth-child(2) a:hover {
        color:var(--main-color02);
    }
}

@media (max-width: 768px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
    }
    .reservation_area ul {
        flex-direction: row;
        gap: 3px;
        align-items: stretch;
    }
    .reservation_area ul li {
        /*width: 50%;*/
        writing-mode: horizontal-tb;
        text-align: center;
        margin-bottom: 0;
        height: auto;
        flex: 1;
    }
    .reservation_area li a {
        padding: 10px 5px;
        height: 67px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        width: 100%;
    }
    .reservation_area li:nth-child(1) a {
      height: 100%;
    }
    .reservation_area li:nth-child(3) {
        /*width: 178px;*/
        margin-left: 3px;
    }
    /*.reservation_area li:nth-child(1),
    .reservation_area li:nth-child(2) {
        width: calc((100% - 178px) / 2);
    }*/
}


/* トグル */


.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);
  }

  .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;
  }

  /* 料金表 */

.price-wrap {
    display: flex;
    flex-wrap: wrap;
    /*border: 1px solid var(--main-color01);*/
    border-top: 1px solid var(--main-color01);
    border-bottom: 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;
    color: var(--main-color01);
  }

  .price-fee {
    width: calc(100% - 300px);
    padding: 5px;
    display: flex;
    justify-content: flex-end;
  }
.price-name.border-ore,
.price-fee.border-ore {
    border-top: 1px solid var(--main-color01);
}
@media (max-width:767px) {
    .price-fee.border-ore {
    border-top: none;
}
}

  .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;*/
    color: #FD8383!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;
}

.text-small {
    font-size: 0.8rem!important;
}

.w100 {
    width: 100%!important;
}

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

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

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

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

.top-diagnosis {
    background-image: url(/wp-content/uploads/medical-bg.png);
    background-size: 100% 100%;
}

.medical-top-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.medical-img-01 {
    width: calc(40% - 40px);
}

.medical-top-content {
    width: 60%;
}

.medical-title {
    color: #fff;
    font-family: "Noto Serif", serif;
    background-color: var(--main-color01);
    border-radius: 40px;
    padding: 16px 24px;
    font-size: 28px;
    letter-spacing: 0.2em;
    line-height: 1;
    position: relative;
    width: 216px;
    margin: 0 auto 40px;
}

.medical-item {
    border: 1px solid;
    padding: 24px;
    position: relative;
    background-color: #fff;
    margin-bottom: 40px;
    display: block;
}

.medical-item.pink {
    border-color: var(--main-color01);
}
.medical-item.orange {
    border-color: var(--main-color02);
}

.medical-item p {
    line-height: 1.5;
    margin-top: 20px;
    color: var(--base-color);
    padding-right: 80px;
}

.medical-item:hover {
    background-color: #FFFBF7;
}

.medical-item::after {
    content: '';
    display: block;
    position: absolute;
    width: 58px;
    height: 58px;    
    background-image: url(/wp-content/uploads/btn-arrow-off.png);
    right: 10px;
    transition: all 0.3s ease-out;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
}

.medical-item:hover::after {
    background-image: url(/wp-content/uploads/btn-arrow-on.png);
}

.medical-heading {
    font-size: 20px;
    font-family: "Noto Serif", serif;
    letter-spacing: 0.2em;
    line-height: 1;
}
.medical-item.pink .medical-heading {
    color: var(--main-color01);
}
.medical-item.orange .medical-heading {
    color: var(--main-color02);
}

.medical-bottom-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 40px;
}

.medical-bottom-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.medical-item.bottom {
    margin-top: -40px;
    padding-right: 80px;
    flex: 1;
}

.medical-item.bottom p {
    padding-right: 0;
}

.medical-img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
}

.medical-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:1023px) {
    .medical-bottom-container {
        justify-content: center;
    }
    .medical-bottom-content {
        flex: none; 
        width: calc(50% - 20px); 
    }
}

@media(max-width:768px) {
    .medical-top-container {
        flex-direction: column;
    }
    .medical-img-01,.medical-top-content {
        width: 100%;
    }
    .medical-bottom-content {
        width: 100%;
    }
    .medical-item {
        padding: 16px;
        margin-bottom: 16px;
    }
    .medical-item::after {
        width: 40px;
        height: 40px;
    }
    .medical-item p {
        margin-top: 8px;
        padding-right: 60px;
    }
    .medical-bottom-container {
        padding-top: 16px;
        gap: 16px;
    }
    .medical-img {
        padding: 0px 16px;
        aspect-ratio: auto;
    }
    .medical-title {
        font-size: 24px;
        width: 192px;
        margin-bottom: 20px;
    }
}

.symptoms-wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 35px;
}

.symptoms-list {
    list-style: none;
    padding-left: 0;
}

.symptoms-list li {
    border-bottom: 1px dashed rgba(240, 156, 186, 0.5);
    padding: 12px;
    padding-left: 36px;
    line-height: 1.5;
    position: relative;
    font-family: "Noto Serif", serif;
    letter-spacing: 0.2em;
    font-size: 20px;
}

.symptoms-list li::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/wp-content/uploads/flower-icon.png);
    background-size: cover;
    width: 25px;
    height: 24px;
}

@media(max-width:768px) {
    .symptoms-wrap {
        flex-wrap: wrap;
        gap: 0;
    }
    .symptoms-list {
        width: 100%;
    }
    .symptoms-list li {
        font-size: 16px;
        line-height: 1.2;
    }
}

/*.medical-img.img03 {
    padding-bottom: 22px;
}*/

/*.medical-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2%;
}

.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);
  }
}*/

.feature-wrap {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.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-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: 500px;
    height: 100%;
    background-image: url(/wp-content/uploads/top-feature01.jpg);
    background-size: cover;
    background-position: center;
    clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(2):before {
    content: '';
    position: absolute;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url(/wp-content/uploads/top-feature02.jpg);
    background-size: cover;
    background-position: center;
    clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(3):before {
    content: '';
    position: absolute;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url(/wp-content/uploads/top-feature03.jpg);
    background-size: cover;
    background-position: center;
    clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(4):before {
    content: '';
    position: absolute;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url(/wp-content/uploads/top-feature04.jpg);
    background-size: cover;
    background-position: center;
    clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(5):before {
    content: '';
    position: absolute;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url(/wp-content/uploads/top-feature05.jpg);
    background-size: cover;
    background-position: center;
    clip-path: circle(75.5% at 63% 50%);
}

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

.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: 768px) {
    .feature-inner {
        height: auto;
        justify-content: center;
    }
    .feature-inner:before {
        display: none;
    }
    .feature-img {
        display: block;
    }
}

.top-doctor {
    background-image: url(/wp-content/uploads/greeting-bg.png);
    background-size: 100%;
    position: relative;
}

.top-doctor::before,.top-doctor::after {
    content: '';
    display: block;
    position: absolute;
    background-size: cover;
    width: clamp(300px, 40vw, 562px);
    height: clamp(200px, 26.7vw, 375px);
}

.top-doctor::before {
    background-image: url(/wp-content/uploads/greeting-r.png);
    top:0;
    right:0;
}

.top-doctor::after {
    background-image: url(/wp-content/uploads/greeting-l.png);
    left:0;
    bottom:0;
}

.doctor-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
    position: relative;
    flex-direction: row-reverse;
}

.doctor-wrap:before {
    content: '';
    position: absolute;
    right: 0;
    width: 318px;
    height: 418px;
    background-image: url(/wp-content/uploads/doctor-img-sp.png);
    background-size: cover;
    background-position: center;
}

.doctor-img {
    display: none;
}

.doctor-content {
    position: relative;
    width: calc(100% - 340px);
    padding: 40px;
    /*margin-top: 140px;*/
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

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

.doctor-content p {
    font-family: "Noto Serif", serif;
    margin-bottom: 20px;
    line-height: 28px;
}

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

.greeting-heading {
    font-size: 32px;
    font-family: "Noto Serif", serif;
    color: var(--main-color01);
    line-height: 1.2;
    margin-bottom: 30px;
}

.drname {
    text-align: right;
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 430px;
    font-family: "Noto Serif", serif;
    line-height: 1.2;
}

.drname span {
    font-size: 28px;
    padding-left: 0.5em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .top-doctor {
        background-size: 155% 100%;
        background-position: center top;
        position: relative;
        background-repeat: no-repeat;
    }
    .doctor-wrap {
        gap: 10px;
    }
    .doctor-wrap:before {
        display: none;
    }
    /*.doctor-content {
        margin-top: 50px;
    }*/
    .doctor-img {
        display: block;
        width: 100%;
        position: relative;
        z-index: 1;
        /*padding: 85px 0;*/
    }
    .doctor-content {
        width: 100%;
        padding: 24px 16px;
    }
    .doctor-content p {
        margin-bottom: 12px;
    }
    .greeting-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }
    .drname {
        top: 82vw;
        right: 5vw;
        font-size: 18px;
    }
    .drname span {
        font-size: 24px;
    }
    /*.doctor-img img {
        width:50%;
    }
    .doctor-img::before,.doctor-img::after {
        content: '';
        display: block;
        position: absolute;
        background-size: cover;
        width: 50vw;
        height: 33.65vw;
        z-index: -1;
    }
    .doctor-img::before {
        background-image: url(/wp-content/uploads/greeting-r.png);
        top:0;
        right:-16px;
    }
    .doctor-img::after {
        background-image: url(/wp-content/uploads/greeting-l.png);
        left:-16px;
        bottom:-58px;
    }*/
    .top-doctor::before,.top-doctor::after {
        content: none;
    }
}
.values-content {
    width: 100%; 
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    /*height: 640px;*/
    height: 36vw;
    margin-top: -80px;
    min-height: 500px;
}
.values-content::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: cover; 
    background-repeat: no-repeat;
    z-index: 2;
}

.values-content.values01 {
    margin-top: 0;
}

.values-content.values01::before {
    right: 0;
    /*background-image: 
        linear-gradient(to left, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(255, 255, 255, 0) 5% 
        ),
        url(/wp-content/uploads/values-img-1.png);*/
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 42%), url(/wp-content/uploads/values-img-1.png);
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
}
.values-content.values02::before {
    left: 0;
    background-image: url(/wp-content/uploads/values-img-2.png);    
    background-position: right center;
}
.values-content.values03::before {
    right: 0;
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 42%), url(/wp-content/uploads/values-img-3.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.values-content.values04::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 58%, #FFFFFF 100%), url(/wp-content/uploads/values-img-4.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
}

.values-content::after {
    content: '';
    position: absolute;
    width: 30%; 
    height: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
}

.values-content.values01::after,
.values-content.values03::after {
    top: -115px;
    left: 104px;
    background-image: url(/wp-content/uploads/values-flower-l.png);
    background-position: center right;
}

.values-content.values02::after,
.values-content.values04::after {
    top: -115px;
    right: 104px;
    background-image: url(/wp-content/uploads/values-flower-r.png);
    background-position: center left;
}


.values-item {
    /*width: 50%;*/
    padding: 80px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 4;
}

.values-heading span {
    /*border-bottom: 10px solid rgba(240, 156, 186, 0.5);*/
    background: linear-gradient(transparent 70%, rgba(240, 156, 186, 0.5) 70%);
    font-size: 32px;
    line-height: 1.5;
    font-weight: 500;
    font-family: "Noto Serif", serif;
}

.values-item p {
    line-height: 1.5;
    margin-top: 40px;
}

@media(max-width: 1500px) {
    .values-content.values01::after,
    .values-content.values03::after {
        left: 0;
    }
}

@media(max-width:1366px) {
    .values-content.values02::after,
    .values-content.values04::after {
        right: 85px;
    }
}

@media(max-width:1200px) {
    .values-content.values02::after,
    .values-content.values04::after {
        right: -50px;
        top: 0;
    }
}

@media(max-width:1023px) {
    .values-item {
        max-width: 95%;
        padding: 40px;
    }
    .values-content {
        min-height: 435px;
    }
}

@media(max-width:768px) {
    .values-content {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        margin-top: 0;
    }
    .values-content::before {
        display: none;
    }
    .values-content::after {
        display: none;
    }
    .values-item {
        padding: 40px 16px;
        margin-left: calc(30px / 2);
        margin-right: calc(30px / 2);
        width: auto;
    }
    .values-heading span {
        font-size: 24px;
    }
    .values-item p {
        margin-top: 24px;
    }
    .values-content .values-item::after {
        content: '';
        position: absolute;
        width: 126px; 
        height: 127px;
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 4;
    }
    .values-content.values01 .values-item::after{
        background-image: url(/wp-content/uploads/values-flower-sp-1.png);
        top: -80px;
        left: -15px;
    }
    .values-content.values02 .values-item::after{
        background-image: url(/wp-content/uploads/values-flower-sp-2.png);
        top: -75px;
        right: -30px;
    }
    .values-content.values03 .values-item::after {
        background-image: url(/wp-content/uploads/values-flower-sp-3.png);
        bottom: -60px;
        left: -35px;
    }
    .values-content.values04 .values-item::after {
        background-image: url(/wp-content/uploads/values-flower-sp-4.png);
        bottom: -65px;
        right: -30px;
    }
}

.clinic-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    padding: 40px;
}
@media (max-width: 480px) {
    .clinic-wrap {
        padding: 30px 15px;
    }
}
.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;
}



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

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


.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;
}

.reader-box {
    display: flex;
    padding: 10px;
    background: #e6e6e6;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.reader-box a {
    color: var(--main-color02);
    text-decoration: underline;
}

.accesiblity-bnr {
    bottom: 120px;
    z-index: 9;
    width: 60px;
}

.accesiblity {
    height: 70%;
}

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;
}

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

/*  AIチャット相談　*/
.el_btn__ai-chat {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9;
    width: 300px;
    padding: 0;
}

/*.el_btn__ai-chat img:hover {
    filter: brightness(50%);
    opacity: 0.7;
}*/

@media(max-width:768px) {
    .el_btn__ai-chat {
        width: auto;
        position: static;
    }
}

/*　診療時間注釈　*/
.time-note {
    padding-top: 10px;
}
.time-note p {
    line-height: 1.2;
    margin-bottom: 0.8em;
}

.hour-box {
    border: 1px solid var(--sub-color);
    line-height: 1;
    padding: 8px;
}

.holiday-wrap {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.holiday {
    background-color: var(--sub-color);
    color: #fff;
    line-height: 1;
    padding: 8px;
    width: 4em;
    letter-spacing: 0.3em;
    text-align: center;
    white-space: nowrap;
}

.hour-space {
    display: inline-block;
    margin-right: 0.5em;
}

/*　下層汎用　*/

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

.flex.start {
    align-items: start;
}

.flex.half div {
    flex:1;
}

.flex.column {
    flex-direction: column;
    gap: 0;
}

.flex p {
    width: calc(100% - 290px);
}

.frame-box{
    border: 2px solid var(--main-color01);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.bg-box {
    border: 2px solid var(--main-color01);
    border-radius: 15px;
    padding: 30px;
}

.bg-box .flex {
  justify-content: center;
}

.bg-box .flex p {
  width: auto;
}

@media(max-width:768px) {
    .bg-box .flex {
        gap: 10px;
        justify-content: center;
    }
    .bg-box .flex p{
      text-align: center;
      width: 100%;
    }
    .frame-box, .bg-box {
        padding: 16px;
    }
    .flex p {
        width: 100%;
    }
}

.icon-heading {
    padding-left: 50px;
    font-size: 1.4rem;
    position: relative;
}

.icon-heading::before {
    content: '';
    display: block;
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background-size: 100% 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.icon-heading.gynecology01::before {
    background-image: url(/wp-content/uploads/gynecology-icon01.webp);
}
.icon-heading.gynecology02::before {
    background-image: url(/wp-content/uploads/gynecology-icon02.webp);
}
.icon-heading.gynecology03::before {
    background-image: url(/wp-content/uploads/gynecology-icon03.webp);
}
.icon-heading.gynecology04::before {
    background-image: url(/wp-content/uploads/gynecology-icon04.webp);
}
.icon-heading.gynecology05::before {
    background-image: url(/wp-content/uploads/gynecology-icon05.webp);
}
.icon-heading.gynecology06::before {
    background-image: url(/wp-content/uploads/gynecology-icon06.webp);
}
.icon-heading.gynecology07::before {
    background-image: url(/wp-content/uploads/gynecology-icon07.webp);
}
.icon-heading.gynecology08::before {
    background-image: url(/wp-content/uploads/gynecology-icon08.webp);
}
.icon-heading.gynecology09::before {
    background-image: url(/wp-content/uploads/gynecology-icon09.webp);
}
.icon-heading.gynecology10::before {
    background-image: url(/wp-content/uploads/gynecology-icon10.webp);
}

@media(max-width: 768px) {
    .flex {
        flex-wrap: wrap;
    }
    .flex.half div {
        flex: none;
        width: 100%
    }
    .frame-box{
        padding: 20px;
    }
}

/*　医師紹介ページ　*/

ul.qualification li:has(> ul) {
    list-style: none !important;
}

/*　アクセスページ　*/
.pageacess-info-heading {
    padding-left: 50px;
    font-size: 1.4rem;
    position: relative;
}

.pageacess-info-heading::before {
    content: '';
    display: block;
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background-size: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.pageacess-info-heading.bus::before {
    background-image: url(/wp-content/uploads/img_access_icon01.webp);
}
.pageacess-info-heading.car::before {
    background-image: url(/wp-content/uploads/img_access_icon02.webp);
}
.pageacess-info-heading.train::before {
    background-image: url(/wp-content/uploads/img_access_icon03.webp);
}
.pageacess-info-heading.parking::before {
    background-image: url(/wp-content/uploads/img_access_icon04.webp);
}

.map-img-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.map-img-wrap div {
    flex: 1;
}


/*　よくある質問　*/
section.question .col.span_12:nth-of-type(2) {
    margin-top: 0 !important;
}

section.question .col.span_12:nth-of-type(2) details:first-of-type {
    border: none !important;
}


