/* カラー変更 */

:root {
    --content-width: 1200px;
    --main-color01: #887766;
    --main-color02: #91AC52;
    --sub-color: ;
    --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;*/
    line-height: 1.5em;
    margin: 0;
}

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

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

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

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

.home main {
  padding-top: 0;
}

@media (max-width: 767px) {
  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: 60px 0 30px;
    }
}

.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 {
  overflow: visible !important;
}

.header-add-bnr {
  width: 150px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999990;
}

.header-top {
  width: 100%;
  z-index: 999;
  position: fixed;
  top: 0;
}

.header-wrap {
  position: relative;
  width: auto;
  margin: 0 auto;
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  /*justify-content: flex-end;*/
  width: 100%;
  /*align-items: center;*/
  flex-direction: column;
  align-items: flex-start;
  padding-left: 16px;
  background-color: rgba(255, 255, 255, 0.5);
}

.header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  width: 100%;
}

.header-info p  {
  width:300px;
  padding-right: 20px;
}

@media(max-width:480px){
  .header-info p  {
    width:90%;
  }

}


.header-tel {
    display: flex;
    align-items: center;
    /*width: 250px;*/
    font-size: 24px;
    font-family: "Noto Serif JP", serif;
    color: var(--main-color01);
    font-weight: 700;
}

.header-tel a:nth-child(1) {
  background: var(--main-color01);
  color: #fff;
  text-align: center;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  margin-right: 10px;
  width: 50px;
  height: 50px;
  line-height: 1;
}

.header-tel a:nth-child(2) {
  background: var(--main-color02);
  color: #fff;
  text-align: center;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  width: 50px;
  height: 50px;
  line-height: 1;
}

.header-tel a:nth-child(1) img,
.header-tel a:nth-child(2) img {
  height: 20px;
  width: 20px;
  margin-bottom: 2px;
}

/*@media (max-width: 767px) {
  .header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
  }
}
*/

.header-btn {
  position: relative;
  cursor: pointer;
  width: 80px;
  height: 60px;
  z-index: 999999999;
  margin-top: -15px;
}

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

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

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

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

.header-btn span:nth-of-type(4)  {
  top: 41px;
  font-size: 11px;
  background: none;
  height: 0;
  color: var(--main-color02);
}

.header-btn.active span:nth-of-type(1) {
  top: 13px;
  left: 30px;
  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: 25px;
  left: 30px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}

.header_nav-wrap {
    display: flex;
    padding: 0 24px;
    background-color: rgba(255, 255, 255, 0.5);
    justify-content: space-between;
}

.header_nav {
  /*width: 100%;*/
  padding: 20px 0;
  /*max-width: var(--content-width);*/
  /*margin: 0 auto;*/
  /*margin-left: auto;*/
  /*width: calc(100% - 200px);*/
}

.header-bottom {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.home .header-bottom {
  padding-top: 0;
}

.header-right {
    display: flex;
}

@media(max-width:480px) {
    .header-btn span:nth-of-type(4) {
        font-size: 10px;
    }
}

@media(max-width:1023px) {
    .header-main {
        background-color: #fff;
        padding-bottom: 10px;
    }
}

@media(min-width:480px) {
  .header-top[data-sticky='true'] {
    background: rgba(255, 255, 255, 0.8);
  }
}

@media(min-width:961px) {
    .header-btn {
        margin-top: -30px;
    }
}

.header-copy:not(.title) {
    font-size: 14px;
    color: #555555;
    margin: 0;
    margin-top: 10px;
}

@media (max-width: 960px) {
    .header-copy:not(.title) {
        font-size: 12px;
        line-height: 1;
        margin-top: 5px;
    }
}

.logo-wrap img {
    max-width: 440px;
}

@media(max-width:1260px) {
    .header-tel {
        display: none;
    }
    .logo-wrap img {
    width: 300px;
    }
}

@media(max-width:1023px) {
    .header-right,.header_nav-wrap {
        display: none;
    }
}

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

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

.header_nav ul {
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none;
}

.header_nav ul li a {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 1;
  color: #000;
  /*font-weight: bold;*/
  font-size: 18px;
}

.header_nav ul li a span {
  font-weight: normal;
  color: var(--main-color02);
  font-family: "Marcellus", serif;
  font-size: 16px;
}

.header_nav ul li {
  position: relative;
}

/*.header_nav ul li a:hover {
  text-decoration: underline;
}*/

nav li.has-child {
    padding-right: 16px;
}

nav li.has-child::after {
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f107';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color01);
}

nav li.has-child.active::after {
    content: '\f106';
}

nav li.has-child a {
    cursor: pointer;
}

nav li.has-child ul.single {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  z-index: 4;
  /*visibility: hidden;
  opacity: 0;*/
  /*transition: all .3s;*/
  background: #fff;
  font-size: 1rem;
  padding: 0;
}

nav li.has-child div {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 4;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 0 20px;
  font-size: 1rem;
}

nav li.has-child div ul {
  display: flex;
  flex-direction: column;
}

nav li.has-child div ul p {
  /* text-align: center; */
  border-bottom: 2px solid var(--main-color01);
  color: var(--main-color01);
  font-weight: bold;
}

nav li.has-child div ul p span {
  padding: 0 10px;
  border-radius: 50px;
  font-size: 12px;
  color: #fff;
  background: var(--main-color01);
  margin-left: 10px;
}

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

/*nav li.has-child:hover>ul,
nav li.has-child:hover>div,
nav li.has-child:hover>div 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 {
  position: absolute;
  display: block;
  content: '〉';
  font-weight: bold;
  background: none;
  left: 10px;
  top: 2px;
  font-size: 12px;
  color: var(--main-color01);
}*/

nav li.has-child ul li a {
  color: #000;
  display: block;
  width: 170px;
  text-decoration: none!important;
  padding: 10px;
  border-bottom: 1px dashed #AAAAAA;
  line-height: 1.2;
}

/*nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  text-decoration: underline;
  color: inherit;
}*/

nav li.has-child ul li a:hover {
    background-color: #EFF8EA;
}


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

.header_nav .has-child ul {
  display: none;
}

.header_nav ul li a:hover .underline {
    display: inline;
    text-decoration: underline;
}

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

.slide {
    background-color: #fff;
    width: 360px;
    min-height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 10;
    overflow: scroll;
    padding-top: 72px;
    background-image: url(/wp-content/uploads/bgr-bg.png);
    background-size: cover;
}
.slide-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: transparent;
    cursor: pointer;
}
@media (max-width: 767px) {
    .slide {
        padding-top: 80px;
    }
}

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

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

.slide-menu>ul>li {
    border-bottom: 2px solid var(--main-color01);
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: #000;
    padding: 20px;
    display: block;
    font-size: 20px;
    font-family: "Noto Serif JP", serif;
}

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

.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>a {
    text-decoration: none;
    color: var(--text-color);
    padding: 20px 10px;
    display: block;
    border-bottom: 1px dashed #ddd;
    font-size: 18px;
}

.sub-menu > li:first-child {
  border-top: 2px solid var(--main-color01);
}

/*.slide-menu>ul>li.menu-item-has-children>a {
  pointer-events: none;
}*/

/* オープニングアニメーション */
#opening-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  z-index: 9999999999;
}

#opening-animation .icon-box img {
  width: 100%;
  height: 100%;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 1s ease forwards;
}

.showhide {
  visibility: hidden;
  display: none;
}

/* アイコンボックス */
div.icon-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.h1-animation {
  color: #473F37;
  font-size: 36px;
  margin: 0 auto;
  writing-mode: vertical-rl;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Serif JP", serif;
  line-height: 2;
}

.h1-animation p {
    line-height: 2;
}

.name {
    font-size: 24px;
    text-align: end;
    margin-right: 20px;
}

@media(max-width:1366px) {
    .h1-animation {
        font-size: 30px;
        top: 40%;
        transform: translate(-50%, -40%);
    }
}

@media(max-width:800px) {
    .h1-animation {
        font-size: 30px;
        top: 30%;
        transform: translate(-50%, -30%);
    }
}

@media(max-width:480px) {
    .h1-animation {
        font-size: 30px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* ぱんくず */

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

.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;
    color: var(--main-color02);
}

.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-rinen {
    background-image: url(/wp-content/uploads/rinen-bg.png);
    background-color: rgba(255, 255, 255, 0.8);
    background-size: cover;
}

.rinen-wrap {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 50px 0px;
    padding: 80px;
}




.rinen-text {
    margin-top: 50px;
}

@media(min-width:768px) {   
    .rinen-text-wrap {
        text-align: center;
        font-size: 18px;
    }
    .rinen-wrap h4 {
    text-align: center;
}
}

@media(max-width: 768px) {
    .rinen-wrap {
        padding: 40px;
    }
    .rinen-text {
        margin-top: 30px;
    }
}

@media(max-width: 480px) {
    .rinen-wrap {
        padding: 40px 16px;
    }
}

.news-items {
    background: #fff;
}

.news-item {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0 15px;
}

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

.news-items-inner:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 24px;
    color: #AAAAAA;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f061';
}

.news-items-inner:hover:before {
    right: 15px;
    transition: .3s ease;
}

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

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


.cat {
    background: var(--main-color02);
    padding: 4px 8px;
    color: #fff;
    margin: 2px;
    border-radius: 50px;
    line-height: 1;
}

.post-title {
    font-size: 18px;
    /*font-weight: bold;*/
    line-height: 1;
    color: #000;
}


.news-items-inner time {
    color: var(--main-color02);
    font-family: "Lato", sans-serif;
    font-weight: 300;
}

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

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

.news-items-inner:hover .news-item a {
    text-decoration: underline;
    transition: .3s ease;
}

@media (max-width: 767px) {
    .news-item {
        width: 100%;
        flex: auto;
    }
    .news-items-inner:before {
        right: 15px;
    }
    .news-items-inner:hover:before {
        right: 15px;
    }
}

@media(max-width:480px) {
    .news-items-inner:before {
        right: 0;
    }
    .news-items-inner:hover:before {
        right: 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;*/
    color: #000;
    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%;
      }
    }


/* カレンダー */
.top-calendar {
    background-image: url(/wp-content/uploads/calendar-bg.png);
    background-size: cover;
    background-position-x: right;
}

.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;
    }
    .top-calendar {
        background-position-x: left;
    }
}

.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;
  display: flex;
}

.mv-image {
  height: 100vh;
  width: 100%;
  background-position: center center;
  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);
}

.mv-image.mv04 {
  background-image: url(/wp-content/uploads/mv04.jpg);
}

@media(max-width:960px) {
    .mv-image.mv01 {
  background-image: url(/wp-content/uploads/mv01-sp.png);
}
}

.slider01 {
  /*width: 70%;*/
  width: calc(100% - 500px);
}

.catch {
  /*width: 30%;*/
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.catch-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 0;
  flex-direction: column;
}

.catch h1 {
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}

.catch p {
  font-family: "Noto Serif JP", serif;
  writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    font-size: 36px;
    line-height: 2.3;
}

.catch img {
  width: 300px;
}

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

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

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

@media(max-width:1260px) {
    .slider01 {
        width: calc(100% - 340px);
    }
    .catch {
        width:340px;
    }
}


@media (max-width: 960px) {
  .slick-slide {
    border-radius: 0;
  }

  .slider01 {
    width: 100%;
  }
  .catch p {
    /*font-size: 1.4rem;*/
    font-size: 26px;
    line-height: 2;
    letter-spacing: 3px;
  }
  .catch {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    height: 90vh;
  }

  .catch-inner {
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
  }
}


/* 見出し */

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 a {
    color: var(--main-color02);
}

h3.heading-1 {
    margin: 0 0 2em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    padding-top: 0;
    font-size: 32px;
    color: #000;
    padding-left: 100px;
    font-family: "Noto Serif JP", serif;
    display: inline-block;
    letter-spacing: 2px;
}

h3.heading-1:before {
    display: block;
    content: '';
    position: absolute;
    height: 1px;
    width: 80px;
    background-color: #000;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    top: -30px;
    right: 0;
    bottom: 0;
    left: 30px;
    background: url(/wp-content/uploads/h3icon.png);
    background-size: contain;
}

h3.heading-1 span {
    font-size: 20px;
    color: var(--main-color02);
    position: absolute;
    font-family: "Marcellus", serif;
    top: 45px;
    right: 0;
    font-weight: normal;
}

h3.heading-2 {
    margin: 0.5em 0 1.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    padding-top: 0;
    font-size: 32px;
    color: #000;
    font-family: "Noto Serif JP", serif;
    text-align: center;
}

h3.heading-2::after {
    content: '';
    background-color: var(--main-color02);
    width: 80px;
    height: 3px;
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
}

h4.heading-1 {
    margin: 0.5em 0 1em;
    font-size: 26px;
    /*padding-bottom: 32px;*/
    padding-bottom: 16px;
    position: relative;
    color: var(--main-color01);
    font-weight: normal;
    line-height: 1.5em;
    border-bottom: 2px solid var(--main-color01);
    font-family: "Noto Serif JP", serif;
}

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

#pagetitle {
  position: relative;
  color: #000;
  /*background: var(--main-color01);*/
  background-image: url(/wp-content/uploads/page-title-BG.png);
  background-size: cover;
  background-position: bottom;
  height: 450px;
  font-family: "Noto Serif JP", serif;
  display: flex;
  align-items: center;
}

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


.pagetitle-main {
  padding: 40px;
  max-width: 1200px;
  width: 85%;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.title-wrap {
  display: inline-block;
  text-align: left; 
}

.title-wrap p {
  font-size: 48px;
  color: #000;
  text-align: center; 
  margin: 0;
}

.title-wrap span {
  display: block;
  font-size: 24px;
  color: var(--main-color02);
  font-family: "Marcellus", serif;
  text-align: left;
}

#pagetitle-news {
  position: relative;
  color: #333;
  padding: 2em 0.5em;
  /*background: var(--main-color01);*/
  background-color: var(--accent-color);
  background-image: url(/wp-content/uploads/page-title-BG.png);
  background-size: cover;
  background-position: bottom;
  height: 450px;
}

.pagetitle-news-main {
  padding: 40px;
  text-align: center;
}

.pagetitle-news-main p {
  color: #333;
  font-size: 48px;
  text-shadow: 0px 0px 5px #ffffff;
}

@media (max-width: 480px) {
    #pagetitle {
    background-image: url(/wp-content/uploads/page-title-BG-sp.png);
    height: 300px;
    padding: 0;
    }
    .title-wrap span {
        font-size: 16px;
    }
    .pagetitle-main {
        line-height: 1.5;
        padding: 24px 16px;
    }
    .title-wrap p {
        font-size: 32px;
    }
    #pagetitle-news {
        background-image: url(/wp-content/uploads/page-title-BG-sp.png);
        height: 140px;
        padding: 0;
    }
    #pagetitle-news span {
        font-size: 16px;
    }
    .pagetitle-news-main {
        padding: 30px;
        line-height: 1.5;
    }
    .pagetitle-news-main p {
        font-size: 28px;
    }
    h2.heading-1 {
        font-size: 1.6rem;
    }
    h3.heading-1 {
        font-size: 28px;
        padding-left: 80px;
        margin: 0 0 1.5em;
    }
    h3.heading-1 span {
        font-size: 14px;
    }
    h3.heading-1:before {
        width: 40px;
    }
    h3.heading-1:after {
        width: 80px;
        height: 80px;
        top: -20px;
    }
    h4.heading-1 {
        padding-bottom: 20px;
        font-size: 24px;
    }
}


/* ボタン */

.btn-1 {
    color: #000;
    display: block;
    width: 180px;
    margin-left: auto;
    height: auto;
    padding: 12px 0 12px 20px;
    background: #fff;
    /*-webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;*/
    position: relative;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    text-align: center;
    font-family: "Marcellus", serif;
    font-size: 18px;
}

.btn-1::before {
    display: block;
    content: '';
    width: 15px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
}

.btn-1:hover {
    background: #EFF8EA;
    box-shadow: 0px 0px 0px 3px rgba(145, 172, 82, 1);
    border-radius: 100px;
}

.btn-1:hover::before {
    height: 15px;
    border-radius: 50%;
    background-color: var(--main-color02);
}

.btn-1.doctor {
    margin-top: 180px;
}

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

@media(max-width:960px) {
    .btn-1.doctor {
        margin-top: 40px;
    }
}

@media(max-width:480px) {
    .btn-1 {
        margin: 0 auto;
    }
}


/* テーブル */

.table-schedule {
    width: 100%;
    margin-bottom: 20px;
}

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

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

/*.table-schedule thead th:first-child {
  position: relative;
  color: transparent;
  white-space: nowrap;
}

.table-schedule thead th:first-child::before {
  content: "診療受付時間";
  color: #000; 
  position: absolute;
  top: 50%;
transform: translate(-50%,-50%);
left: 50%;
}*/

.table-schedule thead tr {
  background: rgba(145, 172, 82, 0.2);
}

.table-schedule thead tr th {
    border-bottom: none;
}

.table-schedule thead tr th:first-child {
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}

.table-schedule thead tr th:last-child {
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}

.table-schedule.access thead tr {
    background-color: #fff;
    border: 1px solid var(--main-color02);
    color: var(--main-color02);
    border-radius: 100px;
}

/*.table-schedule.access thead th:first-child::before {
    content:'';
}*/

.table-schedule.access {
    border-collapse: separate;
    border-spacing: 0;
}

.table-schedule.access thead th:first-child {
    color: var(--main-color02)
}

.table-schedule.access thead th {
  border: none;
}

.table-schedule.access thead th:first-child {
  border: 1px solid var(--main-color02);
  border-right: none;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}

.table-schedule.access thead th:last-child {
  border: 1px solid var(--main-color02);
  border-left: none;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  padding-right: .4em;
}

.table-schedule.access thead th:not(:first-child):not(:last-child) {
  border-top: 1px solid var(--main-color02);
  border-bottom: 1px solid var(--main-color02);
}



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

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

.big-list {
    list-style: none;
}

.big-list.pl0 {
    padding-left: 0!important;
}

.big-list li {
    padding-left: 24px;
    position: relative;
}

.big-list.pl0 li {
    margin-bottom: 15px;
}

.big-list li::before {
    content:'●';
    width: 1em;
    height: 1em;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--main-color02);
    font-size: 0.8em;
}

@media(max-width:480px) {
    .big-list.pl0 li {
        margin-bottom: 10px;
    }
}

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

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

.rec-bnr:hover img {
    filter: brightness(80%);
  transition: filter 0.3s ease;
}

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

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

.recruit-info {
    display: table;
    border-bottom: solid 1px #e1e1e1;
    width: 100%;
}
.recruit-info dt {
    width: 20%;
    display: table-cell;
    text-align: center;
}
.recruit-info dd {
    width:76%;
    display: table-cell;
    padding: 2%;
}

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

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

.price-info {
    display: table;
    border-bottom: solid 1px #e1e1e1;
    width: 50%;
    margin: 0 auto;
}
.price-info dt {
    width: 20%;
    display: table-cell;
    text-align: center;
}
.price-info dd {
    width:76%;
    display: table-cell;
    padding: 2%;
    text-align: center;
}

@media(max-width:480px) {
    .recruit-info,.recruit-info dt,.recruit-info dd {
        display: block;
        width: 100%;
    }
    .recruit-info {
        margin-top: 20px;
    }
    .price-info,.price-info dt,.price-info dd {
        display: block;
        width: 100%;
    }
    .price-info {
        margin-top: 20px;
    }
}

.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: 200px;*/
    bottom: 120px;
    right: 5%;
    z-index: 10;
    width: 60px;
}

.pagetop img {
  display: block;
  /*width: 60px;*/
  height: auto;
  transition: opacity 0.3s ease;
}

.pagetop .pagetop-on {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.pagetop a:hover .pagetop-on {
  opacity: 1;
}

.pagetop a:hover .pagetop-off {
  opacity: 0;
}

@media(max-width:768px) {
    .pagetop {
    bottom: 150px;
    left: 15px;
    width: 47px;
}
}



/* フッター */
footer {
  /*background-color: rgba(136, 119, 102, 0.5);*/
  /*background-color: rgba(211, 202, 194, 1);*/
  background-color: #88776680;
}

.footer-bg {
    background: url(/wp-content/uploads/footer-bg.png);
    width: 100%;
    height: 294px;
    background-size: cover;
}

.home .footer-bg {
    margin-top: -185px;
}

.footer-wrap-outer {
    background-color: #FFFFFFCC;
}

.footer-wrap{
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 0;
}

@media(max-width:480px) {
    .footer-bg {
        height: 152px;
    }
    .home .footer-bg {
    margin-top: -150px;
}
}

.footer__links {
    max-width: 1280px;
    margin: 0 auto;
}

.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: -5px;
width:8px;
color: #AAAAAA;
font-size: 20px;
}

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

.footer__links ul li a{
  padding:10px;
  color: #000;
}
.footer-info {
  /*display: flex;
  gap:20px;*/
  padding: 0 20px;
}

.footer-info-inner {
  display: flex;
  gap:20px;
}

.footer-inner-r {
    margin-top: 20px;
}

.footer-inner-l figure {
    max-width:380px;
    margin: 0 auto;
}

.footer-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*background-color: rgba(136, 119, 102, 0.5);*/
  background-color: #C3BAB2;
  padding: 40px 0 60px;
}

.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-inner-l2,.footer-inner-r2 {
    width: 48%;
}

.flogo-under {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.flogo-under span {
    color: #fff;
    padding: 8px;
}

.flogo-under span:nth-of-type(1) {
    background-color: var(--main-color02);
}

.flogo-under span:nth-of-type(2) {
    background-color: var(--main-color01);
}

.f-tel {
    color: var(--main-color01);
    font-size: 32px;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    white-space: nowrap;
}

.rsv-btn-w {
    text-align: center;
    margin-top: 40px;
}

.rsv-btn {
    border-radius: 100px;
    padding: 0px 16px 0px 0px;
    width: 158px;
    height: 52px;
    background: var(--main-color02);
    color: #fff;
    display: inline-block;
    font-size: 20px;
    line-height: 52px;
    position: relative;
    text-align: right;
    font-weight: bold;
    border: 2px solid var(--main-color02);
}

.rsv-btn-s {
    display: inline-block;
    width: 52px;
    height: 52px;
    color: var(--main-color02);
    border: 2px solid var(--main-color02);
    background: #fff;
    position: absolute;
    border-radius: 50%;
    font-size: 16px;
    left: -2px;
    top: -2px;
    text-align: center;
    font-weight: normal;
    line-height: 1.2;
    padding-top: 5px;
}

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

.rsv-btn:hover .rsv-btn-s {
    background-color: var(--main-color02);
    color: #fff;
}

.footer-heading {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color01);
    display: flex;
    align-items: center;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 1.5px;
}

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

.footer-heading:before {
    margin-right: 1em;
}

.footer-heading:after {
    margin-left: 1em;
}

.f-address {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.f-address i {
    color: var(--main-color02);
}

.footer-info-list dt{
    color :#fff;
    font-weight: normal;
    background-color: var(--main-color02);
    width: auto;
    display: inline-block;
    padding: 0 8px;
    margin-top: 20px;
}

.footer-info-list dd {
    width: 100%;
}

.footer-info-list {
    display: block;
}

@media (max-width: 768px) {
  .footer-info {
    padding: 0 16px;
  }
  .footer-info-inner {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-menu {
    width: 100%;
    padding: 0;
  }
  .footer-inner-l,.footer-inner-r,.footer-inner-l2,.footer-inner-r2 {
    width: 100%;
    }
    .footer-inner-r2 iframe {
        height: 460px;
    }
}

@media (max-width: 480px) {
  .sns_icon{
    flex-wrap: wrap;
    justify-content: center;
  }
  .sns_icon li{
    width: 80px;
  }
  .footer-policy-link {
    display: block;
  }
    .f-address {
        margin-top: 20px;
        margin-bottom: 0;
    }
    .footer-info-list dt {
        margin-top: 12px;
    }
    .f-address span {
        padding-left: 24px;
    }
}

@media(min-width:481px) {
    .f-address br {
        display: none;
    }
}

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

@media(max-width:768px) {
    .copy {
        padding: 24px;
    }
}

@media (max-width: 480px) {
  .copy {
    margin-bottom: 52px;
    font-size: 0.8em;
  }
}

/* 予約ボタン */

.reservation_area {
    position: fixed;
    top: 170px;
    right: 20px;
    z-index: 10;
}

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

.reservation_area li a {
    display: block;
    /*padding: 25px 10px;*/
    transition: all 0.2s ease-out;
}

/*@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: #000;
    background: var(--main-color01);
}
*/
.reservation_area li:nth-child(2) a {
    color: #fff;
    background: var(--main-color02);
}

.side_btn_01 a {
    border-radius: 100px;
    width: 52px;
    height: 178px;
    background: var(--main-color02);
    color: #fff;
    display: inline-block;
    font-size: 20px;
    /*line-height: 52px;*/
    line-height: 50px;
    position: relative;
    text-align: right;
    font-weight: bold;
    padding-bottom: 12px;
    border: 2px solid var(--main-color02);
}

.side_btn_01 .rsv-btn-s {
    writing-mode: horizontal-tb;
    right: -2px;
    top: -2px;
    line-height: 1.2;
    padding-top: 5px;
}


@media (max-width: 480px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
        right: 0;
    }
    .reservation_area ul {
        flex-direction: row;
        justify-content: center;
    }
    .reservation_area ul li {
        /*width: 48%;*/
        writing-mode: horizontal-tb;
        text-align: center;
    }
    .reservation_area li {
        letter-spacing: 0;
    }
    .side_btn_01 {
        min-width: 156px;
        width: 100%;
    }
    .side_btn_01 a {
        min-width: 156px;
        width: 100%;
        height: 52px;
        padding-left: 35px;
        text-align: center;
    }
    .rsv-btn-i {
        display: inline-block;
        width: 52px;
        height: 52px;
        color: var(--main-color01);
        border: 2px solid var(--main-color01);
        background: #fff;
        position: absolute;
        border-radius: 50%;
        font-size: 16px;
        left: -2px;
        top: -2px;
        text-align: center;
        font-weight: normal;
    }
    .side_btn_02 {
        min-width: 205px;
        width: 100%;
    }
    .side_btn_02 .rsv-btn-i {
        right: -2px;
        top: -2px;
        line-height: 2.5;
        padding-left: 10px;
        font-size: 18px;
    }
    .side_btn_02 a {
        border-radius: 100px;
        min-width: 205px;
        width: 100%;
        height: 52px;
        background: var(--main-color01);
        color: #fff;
        display: inline-block;
        font-size: 20px;
        /*line-height: 52px;*/
        line-height: 50px;
        position: relative;
        text-align: center;
        font-weight: bold;
        padding-bottom: 12px;
        border: 2px solid var(--main-color01);
        font-family: "Noto Serif JP", serif;
        padding-right: 22px;
        letter-spacing: 0;
        padding-left: 50px;
    }
}

@media(min-width:481px) {
    .side_btn_01 a:hover {
        color: var(--main-color02)!important;
        background-color: #fff!important;
    }
    .side_btn_01 a:hover .rsv-btn-s {
        color: #fff;
        background-color: var(--main-color02);
    }
    .side_btn_02 {
        display: none;
    }
}


/* トグル */


.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;*/
    background: linear-gradient(to right, #ffffff, #dbf1ff);
    margin-bottom: 10px;
  }
  /*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;
    background: linear-gradient(to right, #ffffff, #e6f2cb);
  }

  /*.toggle-head.qa::after {
    content: '+';
    color: #000;
    display: block;
    width: 1em;
    height: 1em;
    position: absolute;
    right: 50px;
    top: 40%;
    transform: translateY(-50%);
    font-weight: bold;
  }

  .toggle-head.qa.closed::after {
    content: '-';
    font-size: 36px;
    right: 30px;
    font-weight: normal;
}*/

  .toggle-head.qa:before {
    position: absolute;
    content: "Q";
    top: 13px;
    left: 20px;
    font-weight: bold;
    color: #877665;
    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: #000;
  }

  .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 50px;
    background: #fff;
    margin: 0;
    position: relative;
    background: linear-gradient(to right, #ffffff, #e6f2cb);
    border-top: 1px solid #ddd
  }

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

  .answer:before {
    position: absolute;
    content: "A";
    top: 18px;
    left: 20px;
    font-weight: bold;
    color: #91ac52;
    font-size: 24px;
  }

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

  .qa-wrapper {
    margin-top: 10px;
  }

/* 設備紹介 */

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

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

.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1.5s, visibility 1.5s, transform 1.5s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}


.medical-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2%;
    /*justify-content: center;*/
    justify-content: space-between;
}

.medical-item {
    width: 22%;
    padding: 10px;
    position: relative;
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    color: var(--main-color01);
}

/*.home .medical-item {
    width: 30%;
    width: 25%;
}*/

.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(min-width:1200px) {
  .medical-item {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
    .medical-item,.home .medical-item {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .medical-item,.home .medical-item  {
        width: 100%;
        font-size: 20px;
    }
    .home .medical-item img,.medical-item img {
        width: 80%;
    }
}
@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);
  }
}

#med {
  position: relative;
  padding-top: 0;
}

.med-sticky-bg {
  position: sticky;
  top: 0;
  height: 80vh;
  background-image: url(/wp-content/uploads/section-06-symptoms-sticky-bg.png);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.med-panel {
  position: sticky;
  top: 70px;
  background-color: rgba(255,255,255,0.8);
  padding: 40px 20px;
  z-index: 2;
  margin-top: 0;
  min-height: 80vh;
  width: 100%;
  margin-bottom: 120px;
}

.top-treatment {
    background: url(/wp-content/uploads/treatment-bg.png);
    padding: 120px 0 160px;
    background-size: cover;
    margin-top: -60px;
}

.top-treatment h4 {
    margin-top: 30px;
}

.treatment-text {
    margin-top: 50px;
}

@media(max-width:768px) {
    .top-treatment {
        padding: 40px;
        margin-top: -30px;
    }
    .treatment-text {
        margin-top: 30px;
    }
    .top-treatment h4 {
        margin-top: 0;
    }
    .med-sticky-bg {
        background-image: url(/wp-content/uploads/section-06-symptoms-sticky-bg-sp.png);
        background-position: top;
        height: 900px;
        overflow: clip;
    }
    .med-panel {
        margin-bottom: 90px;
    }
    #med {
        padding-bottom: 30px;
    }
}

@media(max-width:480px) {
    .top-treatment {
        padding: 40px 16px;
        background-position: bottom;
    }
}

.top-feature {
    background: url(/wp-content/uploads/features-bg.png);
    background-size: cover;
}

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

.feature-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
    /*border: solid 1px var(--main-color02);*/
    position: relative;
    min-height: 235px;
    width: 100%;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 0px 50px;
    background-color: #fff;
}

.feature-inner:nth-of-type(2) {
    border-radius: 0px 50px 0px 0px;
}

.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: 420px;
    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;
    left: 0;
    width: 420px;
    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: 420px;
    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 {
    padding: 15px;
    width: calc(100% - 450px);
    /*background-color: #fff;*/
}

.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 90px;
    display: flex;
    align-items: center;
    color: var(--main-color01);
    position: relative;
    font-size: 24px;
    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: "Marcellus", serif;
    font-size: 48px;
    font-weight: normal;
}

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

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

.feature-inner:nth-child(4) .feature-head:before {
    content: '04';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Marcellus", serif;
    font-size: 48px;
    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-inner:nth-child(2) .feature-content {
    padding-left: 450px;
    width: auto;
}

/*.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;
        overflow: hidden;
    }
    .feature-inner:before {
        display: none;
    }
    .feature-img {
        display: block;
        
    }
    .feature-content {
        width: auto;
        padding: 15px 0 0;
    }
    .feature-inner:nth-child(2) .feature-content {
        padding-left: 0;
    }
    .feature-inner:nth-child(2) .h3-wrap {
        padding-right: 5px;
    }
    .feature-item {
        padding: 0 6px;
    }
    .feature-head {
        font-size: 20px;
    }
    .feature-inner:nth-child(1) .feature-head:before,
    .feature-inner:nth-child(2) .feature-head:before,
    .feature-inner:nth-child(3) .feature-head:before {
        top:10px;
        transform: none;
    }
}

.top-doctor {
    background-image: url(/wp-content/uploads/doctor-bg.png);
    /*padding-bottom: 150px;*/
}

.doctor-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /*justify-content: flex-end;*/
    position: relative;
}

.doctor-wrap:before {
    content: '';
    position: absolute;
    right: 0;
    width: 320px;
    height: 408px;
    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);
}*/
.home .doctor-text {
    margin-top: 50px;
    font-size: 18px;
}

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

.drname {
    position: absolute;
    top: 380px;
    right: 40px;
}

.drname span {
    font-family: "Marcellus", serif;
    font-size: 20px;
}

.home .dt-wrap {
    font-size: 18px;
}

@media (max-width: 960px) {
    .doctor-wrap:before {
        display: none;
    }
    .doctor-content {
        margin-top: 0px;
    }
    .doctor-img {
        display: block;
        width: 35%;
        margin: 0 auto;
    }
    .doctor-content {
        width: 100%;
    }
    .home .doctor-text {
        margin-top: 30px;
    }
    .drname {
        bottom: -10px;
        top: auto;
    }
}

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

.top-clinic {
    background-image: url(/wp-content/uploads/clinic-bg.png);
    position: relative;
}

.top-clinic h4 {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    text-align: right;
    /*font-size: 40px;*/
    font-size: 32px;
}

.clinic-text {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    text-align: right;
    line-height: 38px;
}

.top-clinic .container {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.clinic-img {
  grid-column: 1 / -1;
  justify-self: start;
  width: 100vw;
  max-width: 100%; /* はみ出し保険 */
  margin-left: calc(-1 * (100vw - 100%) / 2);
  box-sizing: border-box;
}

.clinic-img img {
  width: 120%;
  height: auto;
  display: block;
}

.clinic-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    padding: 40px;
}

@media (max-width: 1200px) {
    .top-clinic .container {
        padding: 0;
    }
    .top-clinic-content,.clinic-btn {
        padding-right: calc(30px / 2);
        padding-left: calc(30px / 2);
    }
  .clinic-img {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
  .clinic-img img {
    width: 100%;
  }
}

@media (max-width: 768px) {
    .top-clinic h4 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .clinic-wrap {
        padding: 30px 15px;
    }
    .top-clinic h4 {
        font-size: 24px;
        text-align: left;
    }
    .clinic-text {
        font-size: 20px;
        text-align: left;
    }
    .top-clinic-content {
        margin: 0 15px;
    }
    .top-clinic {
        background-image: url(/wp-content/uploads/clinic-bg-sp.png);
        background-size: 120%;
        background-position: right calc(100% - 50px);
        background-repeat: no-repeat;
    }
}
.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;
}

.medi-calendar-name {
    display: none;
}

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-bnr {
        bottom: 150px;
        z-index: 9;
    }
}

@media(max-width: 480px) {
    .medi-calendar-row {
        flex-wrap: wrap;
    }
}

.holiday {
    background-color: var(--main-color02);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    line-height: 1;
    letter-spacing: 5px;
}

#medical-infomation-1,#medical-infomation-2,#medical-infomation-3,#medical-infomation-4,#anc01,#anc02 {
    padding-top: 120px;
    margin-top: -120px;

}

@media(max-width:960px) {
    #medical-infomation-1,#medical-infomation-2,#medical-infomation-3,#medical-infomation-4,#anc01,#anc02 {
        padding-top: 80px;
        margin-top: -80px;

    }
}

@media(max-width:480px) {
    .access #anc01 {
        padding-right: 0;
        padding-left: 0;
    }
}

.madical-head {
    font-size: 20px;
    line-height: 1.8;
}

.madical-bold {
    font-size: 22.4px;
    font-weight: bold;
    color: #91ac52;
}

.recruit-head {
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    color: #91ac52;
}

.info-text {
    font-size: 22.4px;
}

.info-text p:nth-child(2) {
    line-height: 1.8;
}

.map-img img{
    width: 70%;
}

.price-heading {
    font-size: 22.4px;
    text-align: center;
}

.contact-btn a {
    background-color: var(--main-color02);
    padding: 20px;
    color: #fff;
}

.contact-btn a:hover {
    opacity: 0.7;
}

@media(max-width:768px) {
    .madical-head {
        font-size: 18px;
    }
    .madical-bold {
        font-size: 20px;
    }
    .info-text {
        font-size: 20px;
    }
    .map-img img{
        width: inherit;
    }
    .price-heading {
        font-size: 20px;
    }
}

.z-index {
    position: relative;
    z-index: 1;
}