/* カラー変更 */

:root {
    --content-width: 1200px;
    --main-color01: #C6DFE8;
    --main-color02: #9B8F80;
    --sub-color: #D62F2F;
    --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: 1.5;
    margin: 0;
}

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

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

.home main {
  padding-top: 0;
}

main,
main * {
    line-height: 2;
}

body.home main,
body.home main * {
    line-height: 1.5;
}

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

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

section {
    padding: 60px 0;
}

.home section {
    padding: 80px 0;
}

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

@media (max-width: 767px) {
    section {
        padding: 30px 0;
    }
    .home section {
    padding: 40px 0;
}
}

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

@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;
    /*padding: 10px 30px;*/
    top: 0;
    /*background: rgba(80, 76, 68, 0.7);*/
}

.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: flex-end;
    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;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999999999999999;
}

@media (max-width: 767px) {
    header {
        padding: 0;
        position: fixed;
        height: 80px;
        background: #fff;
    }
    .header-main {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        width: 100%;
        justify-content: space-between;
        padding-top: 20px;
    }
    .header-head {
        width: calc(100% - 90px);
    }
    .header-info {
        top: 0;
        right: 0;
    }
}

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

.header-head img {
    width: 60%;
}

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

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

.header-btn {
    position: relative;
    cursor: pointer;
    width: 80px;
    height: 80px;
    z-index: 999999999;
    background: rgba(0, 0, 0, 0.3);
}

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

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

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

.header-btn span:nth-of-type(3) {
    /*top: 40px;*/
    top: 55px;
}

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

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

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

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

.header_nav {
    margin-right: 0px;
}

@media(max-width:767px) {
    .header-wrap {
        background-color: #fff;;
    }
    .header-btn { 
        background-color: #fff;
    }
    .header-btn span {
        background-color: #454545;
        width: 20px;
        left: 30px;
    }
    .header-btn span:nth-of-type(2) {
        top: 32px;
    }

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

@media(max-width: 480px) {
    .header-head img {
    width: auto;
}
}

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

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

.slide {
    /*background-color: var(--main-color02);*/
    background-color: #fff;;
    /*width: 300px;*/
    width: 100%;
    min-height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 10;
    overflow: scroll;
    padding-top: 100px;
    margin-top: 110px;
    /*padding: 60px 0;*/
    padding: 60px 0 150px;
}
.slide-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: transparent;
    cursor: pointer;
}
@media (max-width: 767px) {
    .slide {
        padding-top: 80px;
        margin-top: 0;
    }
}

.g-nav {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-list ul {
    list-style: none;
}

.menu-list a {
    color: #454545;
    display: block;
    position: relative;
    border-bottom: 0.5px dashed var(--main-color02);
    padding: 16px 10px;
    padding-left: 25px;
    position: relative;
    transition: 0.3s ease-in;
}

.menu-list a::before {
    position: absolute;
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-image: url(/wp-content/uploads/arrow-blue.png);
    left: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);    
    transition: 0.3s ease-in;
}


.menu-list a:hover {
    border-bottom: 0.5px dashed #9B8F80;
    background: rgba(155, 143, 128, 0.1);
}

.menu-list a:hover::before {
    background-image: none;
    background-color: var(--main-color01);
    border-radius: 50%;
}

.menu-head {
    padding: 16px 10px;
    border-bottom: 1px solid var(--main-color02);
    position: relative;
    padding-left: 32px;
}

.menu-head::before {
    position: absolute;
    content: '';
    display: block;
    width: 28px;
    height: 24px;
    left: 0;
    background-size: cover;
}

.menu01 .menu-head::before {
    background-image: url(/wp-content/uploads/bgr-icon-01.png);
}

.menu02.menu-list ul:nth-of-type(1) .menu-head::before {
    background-image: url(/wp-content/uploads/bgr-icon-02.png);
}

.menu02.menu-list ul:nth-of-type(2) .menu-head {
    margin-top: 60px;
}

.menu02.menu-list ul:nth-of-type(2) .menu-head::before {
    background-image: url(/wp-content/uploads/bgr-icon-03.png);
}

.menu03 .menu-head::before {
    background-image: url(/wp-content/uploads/bgr-icon-04.png);
}

.menu04 .menu-head::before {
    background-image: url(/wp-content/uploads/bgr-icon-05.png);
}

.menu-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.menu-inner-wrap.menu03 {
    display: none;
    overflow: hidden;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/*.menu03.menu-list.active .menu-inner.menu03 {
    display: flex;
}*/

.menu-list {
    flex-shrink: 0;
    flex-basis: 0;
}

.menu01.menu-list {
    flex-grow: 1;
}

.menu02.menu-list {
    flex-grow: 1;
}

.menu03.menu-list {
    flex-grow: 2;
}

.menu04.menu-list {
    flex-grow: 1;
}

.menu-list.menu03 {
    padding-left: 20px;
}

.menu-list.active .menu-inner {
    display: flex;
}

.menu-inner li {
    margin-left: -18px;
}

.sub-memu-head {
    color: var(--main-color02);
    padding: 16px 10px;
    border-bottom: 1px solid var(--main-color02);
}


.menu03-r ul:nth-of-type(2) .sub-memu-head {
    margin-top: 60px;
}

.menu-head.f-nav {
    margin-bottom: 20px;
}


.menu-list.f-nav a {
    color: #454545;
    display: block;
    position: relative;
    border-bottom: none;
    padding: 8px 10px;
    padding-left: 25px;
    position: relative;
    border-bottom: 0.5px solid transparent;
    transition: 0.3s ease-in;
    transition: border-color 0.3s ease-in;
}

/*.menu-list.f-nav a::before {
    position: absolute;
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-image: url(/wp-content/uploads/arrow-blue.png);
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
}*/

.menu-list.f-nav a:hover {
    background: none;
    border-color: var(--main-color02);
}

.menu03.f-nav {
    padding-left: 20px;
}

@media(min-width: 768px) {
    .slide-menu ul{
        list-style: none;
    }
    li.menu-item-has-children > a {
        border: none;
        padding: 0;
    }

    li.menu-item-has-children > a:hover {
        border: none;
        background: none;
    }

    .menu-head.menu-item-has-children > a:hover::before {
        content: none;
    }

    li.menu-item-has-children > a::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translate(0px, -50%) rotate(90deg);
        margin: auto;
        transition: 0.3s;
        width: 13px;
        height: 13px;
        background-image: url(/wp-content/uploads/arrow-blue.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

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

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

    li.menu-item-has-children.active > a::after {
        transform: translate(0, -50%) rotate(-90deg);
        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;
        text-align: center;
    }

    .sub-menu>li>a {
        text-decoration: none;
        color: var(--text-color);
        padding: 20px 10px;
        display: block;
        border-bottom: 1px dashed #ddd;
        padding-left: 2em;
        position: relative;
    }

    .sub-menu>li>a::before {
        content: '';
        display: block;
        position: absolute;
        left: 0.5em!important;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.2s;
        width: 10px!important;
        height: 10px!important;
        background-image: url(/wp-content/uploads/arrow-blue.png)!important;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    /*li:nth-child(1) > .sub-menu {
        display: block; 
    }*/
    .sub-memu-head {
        margin-left: 0;
    }

    .menu-head.menu03 {
        position: relative;
        cursor: pointer;
    }

    .menu-head.menu03::after {
        position: absolute;
        content: '';
        display: block;
        top: 50%;
        right: 10px;
        transform: translate(0px, -50%) rotate(90deg);
        margin: auto;
        transition: 0.3s;
        width: 13px;
        height: 13px;
        background-image: url(/wp-content/uploads/arrow-blue.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .menu-list.active .menu-head.menu03 {
        border-bottom: none;
    }
    .menu-list.active .menu-head.menu03::after {
        transform: translate(0, -50%) rotate(-90deg);
        transition: transform 0.3s ease;
    }
}


@media (max-width: 1200px) {
    .g-nav {
        gap: 40px;
        flex-wrap: wrap;
    }
    .menu-list {
        width: calc((100% - 40px) / 2);
    }
    /*.menu-inner {
        flex-wrap: wrap;
    }*/
    .menu-inner ul {
        flex: 1;
    }        
    .menu03-r {
        flex: 1 1 0%;
    }
    .menu03.f-nav {
        width: 100%;
    }
    .menu-list {
        flex:auto;
    }

    .menu01.menu-list {
        flex:auto;
    }

    .menu02.menu-list {
        flex:auto;
    }

    .menu03.menu-list {
        flex:auto;
    }

    .menu04.menu-list {
        flex:auto;
    }

}

@media(max-width:767px) {
    .slide-menu ul{
        list-style: none;
    }
    .slide-menu > ul > li.menu-item-has-children > a {
        position: relative;
        padding: 16px 10px;
        color: #454545;
        border-bottom: 1px solid var(--main-color02);
        display: block;
        padding-left: 32px;
    }

    .slide-menu > ul > li.menu-item-has-children > a::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translate(0px, -50%) rotate(90deg);
        margin: auto;
        transition: 0.3s;
        width: 13px;
        height: 13px;
        background-image: url(/wp-content/uploads/arrow-blue.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

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

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

    .slide-menu > ul > li.menu-item-has-children a::before {
        position: absolute;
        content: '';
        display: block;
        width: 28px;
        height: 24px;
        left: 0;
        background-size: cover;
    }

    .slide-menu > ul > li.menu-item-has-children:nth-child(1) a::before {
        background-image: url(/wp-content/uploads/bgr-icon-01.png);
    }
    .slide-menu > ul > li.menu-item-has-children:nth-child(2) a::before {
        background-image: url(/wp-content/uploads/bgr-icon-02.png);
    }
    .slide-menu > ul > li.menu-item-has-children:nth-child(3) a::before {
        background-image: url(/wp-content/uploads/bgr-icon-03.png);
    }
    .slide-menu > ul > li.menu-item-has-children:nth-child(4) a::before {
        background-image: url(/wp-content/uploads/bgr-icon-04.png);
    }
    .slide-menu > ul > li.menu-item-has-children:nth-child(5) a::before {
        background-image: url(/wp-content/uploads/bgr-icon-05.png);
    }

    .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;
        text-align: center;
    }

    .sub-menu>li>a {
        text-decoration: none;
        color: var(--text-color);
        padding: 20px 10px;
        display: block;
        border-bottom: 1px dashed #ddd;
        padding-left: 2em;
        position: relative;
    }

    .sub-menu>li>a::before {
        content: '';
        display: block;
        position: absolute;
        left: 0.5em!important;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.2s;
        width: 10px!important;
        height: 10px!important;
        background-image: url(/wp-content/uploads/arrow-blue.png)!important;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .slide-menu > ul > li:nth-child(1) > .sub-menu {
        display: block; 
    }
    .sub-memu-head {
        margin-left: 0;
    }
}

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

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

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

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

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


/* ぱんくず */

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

.bread {
    overflow: hidden;
}

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

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

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

@media (max-width: 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: #454545;
}

.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-clinic {
    background: #AB9D83;
}*/

.top-news,.top-hour {
    width:47%;
}

.news-items {
    background: rgba(155, 143, 128, 0.05);
    margin-top: 40px;
    max-height: 340px;
    overflow-y: scroll;
}

.news-items::-webkit-scrollbar {
  width: 10px;
  background-color: #e5e5e5;
  border-radius: 8px;
}
.news-items::-webkit-scrollbar-thumb {
  background: var(--main-color01);  
  border-radius: 8px;
}
.news-items::-webkit-scrollbar-button {
    display: none;
}

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

.news-items-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    align-items: flex-start;
    position: relative;
    padding-right: 30px;
    padding: 15px;
    /*border-bottom: 1px solid #C1C1C1;*/
    margin-bottom: 20px;
    border-left: 1px solid var(--main-color02);
    transition: 0.3s ease-in;
}

/* .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 {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    color: var(--main-color02);
    font-family: serif;
}

.news-item time {
    width: 100%;
    color: #575757;
}

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

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

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

@media(min-width:768px) {
    .news-items-inner:hover {
        background: rgba(155, 143, 128, 0.1);
        border-left: 3px solid #9B8F80;
    }
}

.top-hour .table-schedule {
    margin-top: 40px;
}

.treatment-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color02);
    display: flex;
    text-align: center;
    align-items: center;
    margin-top: 30px;
}

.treatment-heading:before, .treatment-heading:after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background-color: var(--main-color02);
    letter-spacing: 1.5px;
}

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

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

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

.treatment-list li {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .news-item {
        width: 100%;
        flex: auto;
    }
    .top-news-wrap {
        flex-wrap: wrap;
    }
    .top-news,.top-hour {
        width: 100%;
    }
    .top-hour {
        padding-bottom: 0!important;
    }
}


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

  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: #fff;
    padding: 10px;
    color: #454545;
    border-bottom: 1px solid #ececec;
  }

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

  .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;*/
    background: #fff;
    border: 1px solid #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;*/
    border: 1px solid #ececec;
    background: #fff;
    height: 100%;
    min-height: 150px;
  }

  .submit.btn-1 button {
    text-decoration: none;
    border: none;
    outline: 0;
    cursor: pointer;
    background: none;
    display: block;
    border-radius: 50px;
    line-height: 1;
    font-weight: bold;
    font-size: 16px;
    padding: 0;
    width: auto;
    color: #fff;
    margin: 0 auto;
}
.submit.btn-1 {
    background-color: var(--main-color02);
    color: #fff;
}

.submit.btn-1::before,.submit.btn-1::after {
    content: none;
}

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

.submit.btn-1:hover button {
    color: var(--main-color02);
}

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


/* カレンダー */

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* Slider */
.mv-wrap {
    display: flex;
    height: 100vh;
    position: relative;
}

.mv-l {
    width: 40%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 80px 80px;
    gap: 40px;
    background-image: url(/wp-content/uploads/hero-BG.jpg);
    background-position: bottom left;
}

.mv-logo {
    padding: 0 40px;
    max-width: 455px;
    margin: 0 auto;
}

.mv-department {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin: 0 auto;
    margin-top: 40px;
    max-width: 455px;
}

.mv-department-item {
    max-width: 141px;
    padding: 10px;
    text-align: center;
    width: calc((100% - 40px) / 3);
    line-height: 1;
}

.mv-department01 {
    background-color: #D0EAF4;
}

.mv-department02 {
    background-color: #BCCDE3;
}

.mv-department03 {
    background-color: #BCCDE3;
}

.mv-department04 {
    background-color: #BCCDE3;
}

.mv-department05 {
    background-color: #D5E8C6;
}

.mv-department06 {
    background-color: #E2D5C4;
}

.catch-item {
    border: 5px solid var(--main-color01);
    padding: 20px;
    margin-bottom: 24px;
    /*font-size: 24px;*/
    font-size: 20px;
    display: flex;
    justify-content: center;
    letter-spacing: 0.1em;
    background-color: #fff;
}

/*.catch > .catch-item:nth-child(2) {
    text-align: center;
}*/

.mv-r {
    width: 60%;
    position: relative;
}

.head-info {
    position: absolute;
    top: 10px;
    right: 150px;
    color: #fff;
    z-index: 1;
}

.head-tel {
    text-align: right;
    font-size: 24px;
}

.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/slider-01-3-pc.jpg);
}
.mv-image.mv02 {
    background-image: url(/wp-content/uploads/fader-2-2.jpg);
}
.mv-image.mv03 {
    background-image: url(/wp-content/uploads/fader-3-2.jpg);
}

.mv {
    position: relative;
}

.slider01 {
    width: 100%;
}

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

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

.dots-wrap {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    position: relative;
    list-style: none;
}

.dots-wrap li {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--main-color01)
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
    background: var(--main-color01);
}
.dots-wrap li button {
    display: none!important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

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

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

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

@media(max-width:1700px) {
    .catch-item {
        font-size: 1.1vw;
    }
}

@media(max-width:1525px) {
    .mv-department {
        justify-content: space-evenly;
    }
    .mv-l {
        gap: 10px;
        overflow: hidden;
        padding: 0px 40px;
        justify-content: space-evenly;
    }
    .catch-item {
        /*font-size: 1.4vw;*/
        font-size: 1.3vw;
        padding: 10px;
        margin-bottom: 20px;
    }
}

@media(max-width:1440px) {
    .mv-department-item {
        font-size: 1vw;
    }
    .mv-department {
        margin-top: 20px;
    }
    .catch-item {
        /*font-size: 1.4vw;*/
        font-size: 1.3vw;
        padding: 10px;
        margin-bottom: 20px;
    }
}

@media(max-width:1360px) {
    .mv-department-item {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .catch {
        top: inherit;
        bottom: 0;
        left: 0;
        transform: none;
        /*margin-top: 60px;*/
        /*margin-top: 40px;*/
        margin-top: 20px;
    }
    .catch .txt p {
        font-size: 5vw;
    }
    .mv-wrap {
        height: auto;
    }
    .mv-image.mv01 {
        background-image: url(/wp-content/uploads/slider-01-sp.jpg);
    }
    .mv-image.mv02 {
        background-image: url(/wp-content/uploads/slider-02-sp.jpg);
    }
    .mv-image.mv03 {
        background-image: url(/wp-content/uploads/slider-03-sp.jpg);
    }
    .mv-sp-text {
        position: absolute;
        width: 100%;
        margin: 10% 0;
    }
    .mv-logo {
        padding: 0;
    }
    .mv-info {
        padding: 16px 24px;
        background: rgba(255, 255, 255, 0.8);
        width: 70%;
        margin: 0 auto;
    }
    .mv-department {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }
    .mv-department-item {
        width: 100%;
        font-size: 1em;
        line-height: 1;
    }
    .catch-item {
        background: rgba(255, 255, 255, 0.98);
        font-size: 1em;
        width: 80%;
        padding: 16px 15px;
        margin-bottom: 8px;
        justify-content: flex-start;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }
}

@media(max-width:375px) {
    .mv-sp-text {
        margin: 10px 0;
    }
    .home .slick-slide img {
        height: 100vh;
    }
    .mv-wrap {
        height: 100vh;
    }
}


/* 見出し */

/*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);
}*/
h2.heading-1 {
    font-size: 28px;
    text-align: center;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
}

h2.heading-1 span {
    font-size: 18px;
    color: var(--main-color02);
    letter-spacing: 1px;
}

h2.heading-1.white,h2.heading-1.white span {
    color: #fff;
}

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

h3.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    padding: 16px;
    font-size: 32px;
    color: #454545;
    text-align: center;
}

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

h3.heading-2 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 400;
    padding: 16px;
    padding-left: 100px;
    font-size: 32px;
    color: #454545;
}

h3.heading-2:after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background-color: var(--main-color02);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/*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: 26px;
    position: relative;
    color: #454545;
    font-weight: normal;
    line-height: 1.5em;
    padding: 16px;
    background-color: #E2D5C4;
}

h4.heading-2 {
    margin: 0 0 0.5em;
    font-weight: normal;
    color: var(--main-color02);
    border-bottom: 1px solid var(--main-color02);
    font-size: 26px;
    font-weight: 300;
    padding: 16px;
}

.home h4.heading-2 {
    line-height: 1;
    font-size: 24px;
}

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

h5.heading-2 {
    color: #141414;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.2em;
    position: relative;
    letter-spacing: 0.08em;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 0px;
    background: #ded1ba;
}

h6.heading-1 {
    color: #141414;
    font-size: 18px;
    letter-spacing: 0.08em;
    line-height: 1.5!important;
    margin-top: 1.8em;
    margin-bottom: 1.2em;
    border: none;
    position: relative;
    padding: 0;
    padding-left: 22px;
}

h6.heading-1:after {
    content: '';
    position: absolute;
    display: block;
    margin: auto;
    left: 0;
    right: auto;
    top: 12px;
    bottom: auto;
    width: 8px;
    height: 2px;
    background: #997946;
}

#pagetitle {
    position: relative;
    color: #fff;
    /*padding: 2em 0.5em;*/
    /*height: 30vh;*/
}

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

#pagetitle span {
    /*text-align: center;*/
    /*font-size: 2.0rem;*/
    font-weight: normal;
    display: block;
    box-sizing: border-box;
    /* border:3px solid #fff; */
    line-height: 1.5em;
}

.pagetitle-bg {
    display: flex;
    /*height: 30vh;*/
    align-items: flex-start;
}

.pagetitle-bg-l,.pagetitle-bg-r {
    height: 30vh;
    min-height: 275px;
}

.pagetitle-bg-l {
    width: 35%;
    padding: 10px 30px;
}

.pagetitle-bg-l img {
    max-width: 507px;
    padding-top: 10px;
}

.pagetitle-bg-r {
    width: 65%;
    background-image: url(/wp-content/uploads/title-BG.jpg);
    background-position: left center;
}

.pagetitle-main {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 16px 40px;
    top: 120px;
    /*left: 5%;*/
    left: 120px;
    color: #454545;
    font-size: 38px;
}

.pagetitle-main span {
    color: var(--main-color02);
    font-size: 18px;
}

@media(max-width:1200px) {
    .pagetitle-main {
        font-size: 2.5vw;
        left: 7.5%;
    }
}

@media(max-width:767px) {
    #pagetitle {
        position: relative;
    }
    .pagetitle-bg-r {
        width: 100%;
        background-image: url(/wp-content/uploads/title-BG-sp.jpg);
        background-repeat: no-repeat;
        min-height: 375px;
        background-position: right center;
    }
    .pagetitle-main {
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 90%;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    h3.heading-2 {
        padding-left: 12vw;
    }
    h3.heading-2::after {
        width: 10vw;
    }
}


/* ボタン */

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


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


.btn-1 {
    color: var(--main-color02);
    display: block;
    width: 186px;
    margin: 40px auto 0;
    height: auto;
    padding: 20px;
    background: #fff;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    position: relative;
    border: 1px solid var(--main-color02);
    line-height: 1.5!important;
}

.btn-1:before, .btn-1:after {
    content: "";
    position: absolute;
    display: block;
    width: 8px;
    height: 1px;
    background-color: var(--main-color02);
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.btn-1:before {
    right: 20px;
    top: 29px;
    transform: rotate(45deg);
}

.btn-1:after {
    right: 20px;
    bottom: 29px;
    transform: rotate(-45deg);
}

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

.btn-1:hover:before, .btn-1:hover:after {
    background-color: #fff;
}

.btn-1.doctor {
    margin-left: auto;
}

.btn-1.endoscopy {
    width: 287px;
}

.btn-1.under {
    width: 300px;
    padding-right: 24px;
    line-height: 1.5!important;
}

.btn-1.under::before {
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f105';
    top: 50%;
    transform: rotate(0) translateY(-50%);
    background-color: transparent;
    height: auto;
    transition: none;
}

.btn-1.under::after {
    background-color: transparent;
}

section a.btn-1.under[target="_blank"]::after  {
    background-color: transparent;
    bottom: auto;
    top: 50%;
    transform: rotate(0) translateY(-50%);
    right: 35px;
    height: auto;
}

.btn-1.center {
    text-align: center;
    width: 300px;
    line-height: 1.5!important;
}

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

.btn-box {
    display: flex;
    gap: 0 20px;
    flex-wrap: wrap;
}
@media(max-width: 767px) {
    .btn-box {
        flex-wrap: wrap;
    }
}


/* テーブル */

.table-schedule {
    width: 100%;
    table-layout: fixed;
}

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

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

.table-schedule th:first-child,
.table-schedule td:first-child {
    width: 120px;
}

.table-schedule th:nth-child(n+2),
.table-schedule td:nth-child(n+2) {
    /* (100% - 120px) / 8 */
    width: calc((100% - 120px) / 8); 
}

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

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

.table-default.medical th {
    background: #997946;
    color: #fff;
    text-align: center;
    font-weight: 400;
    padding: 15px 10px;
    letter-spacing: 0.1em;
    width: calc(100% / 7);
}

.table-default.medical01 th {
    width: calc(100% / 7);
}

/*.table-default.medical02 {
    min-width: 480px;
}*/

.table-default.medical02 td {
    text-align: center;
}

.table-default.medical02 tbody th {
    background: #f5eee4;
    color: #454545;
    text-align: left;
}

.table-default.gastroscope td {
    text-align: right;
}

.table-default.enteropathy {
    background: #fff;
}

.table-default.enteropathy th {
    background: none;
    font-weight: normal;
}

.table-default.enteropathy td,
.table-default.enteropathy th {
    border: 1px solid #ddd;
}

.table-default.table_address tbody tr th, .table-default.table_address tbody tr td {
    text-align: left;
    /*padding: 1em 0 1em 1em;*/
    padding: 1em;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    line-height: 1.6;
    border-right: none;
    border-left: none;
}

.table-default.table_address tbody tr  th {
    color: #997946;
    border-bottom: 1px solid #997946;
    border-top: 1px solid #997946;
    /*width: 25%;*/
    width: 100px;
    font-weight: 600;
}

.table-default.barium {
    background-color: #fff;
}

.table-default.barium thead th,
.table-default.vomiting thead th {
    background-color: #997946;
    color: #fff;
}

.table-default.barium th,
.table-default.vomiting th {
    font-weight: normal;
}

.table-default.vomiting th{
    width: 50%;
}

.table-default.vomiting td,.table-default.vomiting tbody th {
    background-color: #fff;
    text-align: left;
}

.table-default.regenerative th,
.table-default.nmn th,
.table-default.eging th,
.table-default.check-menu th {
    background-color: #faf6f0;
    font-weight: normal;
}
.table-default.regenerative thead th {
    background-color: #997946;
    color: #fff;
}
.table-default.check-menu th {
    background-color: #d8bc90;
}
.table-default.regenerative td,
.table-default.nmn td,
.table-default.eging td,
.table-default.check-menu td {
    background-color: #fff;
    text-align: center;
}

.table-default.regenerative.r02 td {
    min-width: 125px;
}

.table-default.check-menu tr:nth-child(-n + 2) th {
    white-space: nowrap;
    background-color: #997946;
    color: #fff;
}

.table-default.check-menu th:first-child,
.table-default.check-menu td:first-child {
    width: 40%;
}

.table-default.check-menu {
    table-layout: fixed;
    width: 100%; 
}

.table-default.blog231130 thead th {
    background-color: #997946;
    color: #fff;
    font-weight: bold;
}

.table-default.blog231130 tbody th {
    background-color: #f5eee4;
    font-weight: normal;
}

.table-default.blog231130 tbody td{
    text-align: right;
}

@media(min-width:1201px) {
    .notes {
        display: none;
    }
}

@media(max-width:1200px) {
    .scrollable {
        overflow-x: scroll;  
    }
    .table-default.medical01 {
        min-width: 1035px;
    }
    .table-default.check-menu tr:nth-child(-n + 2) th {
        white-space: wrap;
    }
}

@media(max-width:768px) {
    .table-default.medical03,
    .table-default.gastroscope,
    .table-default.enteropathy,
    .table-default.barium,
    .table-default.blog231130,
    .table-default.vomiting,
    .table-default.regenerative.pla,
    .table-default.eging  {
        min-width: 695px;
    }
    .table-default.check-menu {
        min-width: 900px;
    }
}

/*@media(min-width:481px) {
    .notes.sp {
        display: none;
    }
}*/


/* 流れ */

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

.monshin-flex {
    display: flex;
    list-style: none;
}

.monshin-flex li {
    flex: 1;
}

@media(max-width:960px) {
    .monshin-flex {
        display: block;
    }
    .monshin-flex li {
        width: 100%;
    }

}

@media(max-width:480px) {
    .clinic-info dt,.clinic-info dd {
        width: 100%;
    }
}

.access-map {
    width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ページトップ */

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

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

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

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

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

.pagetop {
    position: fixed;
    bottom: 120px;
    right: 110px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    /*width: 95px;*/
    right: 30px;
    font-family: "Lora", serif;
    padding-right: 14px;
}

.pagetop a {
    padding-right: 30px;
    color: #454545;
    display: inline-block;
    position: relative;
}

.pagetop a::before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background-color: var(--main-color01);
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
}

.pagetop a::after {
    content: '';
    width: 12px;
    height: 12px;
    display: block;
    background-image: url(/wp-content/uploads/page-top-arrow.png);
    background-size: cover;
    position: absolute;
    right: 4px;
    bottom: 4px;
}

.pagetop:hover:after {
    bottom: 11px;
}

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

/*@media(min-width:1501px) {
    .pagetop {
        right: 30px;
    }
}*/

@media(max-width:767px) {
    .pagetop {
        padding-top: 20px;
        padding-right: 0;
        /*bottom: 250px;*/
        right: 0;
    }
    .pagetop a {
        padding-right: 0;
    }
    .pagetop a::before {
        top: -20px;
        right: 28px;
    }
    .pagetop a::after {
        right: 32px;
        bottom: 0;
        top: -16px;
    }
    /*.pagetop a::before {
        top: 0;
        right: 50%;
    }
    .pagetop a::after {
        right: 54%;
        bottom: 0;
        top: 4px;
    }*/
}

@media(max-width:480px) {
    .pagetop {      
        bottom: 200px;
    }
}

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

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

.header_nav ul li {
    position: relative;
}

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

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

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

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

/* フッター */
footer {
  padding: 75px 0;
}
.footer-wrap{
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px 0;
}

.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: #454545;
}

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

.footer__links ul li a{
  padding:10px;
  color: #454545;
}
.footer-info {
  display: flex;
  gap: 75px;
}

.footer-info-inner.left {
  width: 402px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-info-inner.right {
  width: calc( 100% - 477px);
}
.footer-menu {
  width: 100%;
  padding-bottom: 60px;
  /*display: flex;
  flex-direction: column;
  justify-content: space-between;*/
}

.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-access {
    margin: 60px 0 80px;
}

.map-wrap {
    display: flex;
    flex-wrap: wrap;
}

.map-wrap.u-access {
    gap: 20px;
}

.access-img img {
    width: 50%;
}

.access-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color02);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 40px;
    padding-left: 30px;
}

.access-heading::before {
    content: '';
    display: block;
    width: 20px;
    height: 24px;
    background-image: url(/wp-content/uploads/railway-icon.png);
    background-size: cover;
    position: absolute;
    left: 0;
}

.access-heading:after {
    content: '';
    display: block;
    height: 1px;
    flex-grow: 1;
    background-color: var(--main-color02);
    letter-spacing: 1.5px;
    margin-left: 1em;
}

.access-list-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.access-list {
    flex: 1;
}

.access-list li {
    margin-bottom: 18px;
}

@media(max-width:1200px) {
    .footer-info {
        padding: 0 20px;
    }
    .footer-info-inner.left {
        width: 40%;
    }
    .footer-info-inner.right {
        width: 60%;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 75px;
    }
  .footer-info {
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer-info-inner.left,.footer-info-inner.right {
    width: 100%;
  }
  .footer-menu {
    padding: 0;
  }
  .footer-access {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .map-wrap iframe {
    width: 100%;
    height: 265px;
  }
  .access-list {
    flex: auto;
    width: 100%;
    }
    .access-img img {
    width: 100%;
}
}

@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;
  background-color: #fff!important;
  text-align: left!important;
}


@media (max-width: 480px) {
  .copy {
    /*margin-bottom: 66px;*/
    margin-bottom: 140px;
  }
}

/* 予約ボタン */

.reservation_area {
    position: fixed;
    top: 200px;
    right: 30px;
    z-index: 1;
}

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

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

.rsv-btn {
    height: 80px;
    width: 80px;    
    padding: 30px 15px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.rsv-btn::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 1px;
    transform: translateX(-50%) rotate(-90deg);
    top: 10px;
    left: 50%;
}

.rsv-btn:hover {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    border: 1px solid #fff;
}

.rsv-btn:hover::before {
    background-color: #fff;
}


.web-rsv {
    border: 1px solid var(--main-color02);
    background-color: #fff;
    color: var(--main-color02);
}

.web-rsv::before {    
    background-color: var(--main-color02);
}

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

.web-monshin {
    border: 1px solid #fff;
    background-color: #715F4A;
    color: #fff;
}

.web-monshin::before {
    background-color: #fff;
}

.web-monshin:hover {
    background: rgba(113, 95, 74, 0.6);
}

.line-rsv {
    border: 1px solid #52CC73;
    background-color: #fff;
    color: #52CC73;
}

.line-rsv::before {    
    background-color: #52CC73;
}

.line-rsv:hover {
    background: #52CC73;
    color: #fff;
}

.doc-rsv {
    border: 1px solid #3288D8;
    background-color: #fff;
    color: #3288D8;
}

.doc-rsv::before {    
    background-color: #3288D8;
}

.doc-rsv:hover {
    background: #3288D8;
    color: #fff;
}

.f-tel {
    /*padding: 24px;
    border: 11px solid var(--main-color01);*/
    padding: 4px;
    border: 4px solid var(--main-color01);
    font-family: "Lora", serif;
    display: block;
    position: relative;
    font-size: 24px;
    background-color: #fff;
    text-align: center;
}

.f-tel a {
    position: relative;
    color: #454545;
    display: block;
}

.f-tel a::before {
    position: absolute;
    content: '';
    display: block;
    width: 27px;
    height: 27px;
    background-image: url(/wp-content/uploads/tel.png);
    background-size: cover;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

@media(max-width: 1500px) {
    /*.reservation_area {
        bottom: 80px;
        top: auto;
    }*/
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
        right: 0;
    }
    .reservation_area ul {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
        right: 0;
    }
    .reservation_area ul {
        flex-direction: row;
        gap: 0;
    }
    /*.reservation_area ul li {
        width: 33.3%;
        writing-mode: horizontal-tb;
        text-align: center;
    }
    .reservation_area li a {
        padding: 10px 5px;
    }*/
    .rsv-btn {
        width: auto;
        flex: 1;
    }
}

@media(min-width:481px) {
    .f-tel {
        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;
  }
  details:hover{
    background: var(--accent-color);
  }*/
  details {
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
  }
  /*details:last-child{
    border-bottom: 1px solid;
  }*/
  summary {
    display: block;
    list-style: none;
  }

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

  .toggle-head.qa {
    position: relative;
    padding-right: 32px;
    line-height: 1.5 !important;
  }

  .toggle-head.qa:before {
    position: absolute;
    content: "Q";
    top: 13px;
    left: 0;
    font-weight: bold;
    /*color: var(--main-color01);
    font-family: serif;*/
    font-size: 24px;
    color: #fff;
    background: #997946;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
  }

  .toggle-head.qa::after {
    position: absolute;
    content: "＋";
    /*right: 30px;*/
    right: 10px;
    width: 40px;
    height: 40px;
    color: #454545;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    text-align: center;
  }

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

  .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;
    line-height: 1.5 !important;
  }

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

  .answer:before {
    position: absolute;
    content: "A";
    top: 18px;
    left: 0;
    font-weight: bold;
    /*color: var(--main-color01);
    font-family: serif;*/
    color: #fff;
    background: #362820;
    font-size: 24px;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;;
  }

  details[open] .toggle-head.qa::after {
    content: '－';
  }

  @media(max-width:767px) {
    .toggle-head.qa:before {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    .toggle_inner {
        font-size: 16px;
        padding-bottom: 20px;
    }
    details {
        padding: 4px 0;
    }
  }

/* 設備紹介 */

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

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

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

  .facility-thumb img, 
  .facility-thumb-sub img {
    transition: all ease-in-out .3s;
    opacity: .2;
  }
  .slick-current img{
    opacity: 1;
  }
  .facility-thumb,
  .facility-thumb-sub {
    margin: 10px 0 0;
  }
  .facility-thumb,
  .facility-thumb-sub {
    cursor: pointer;
  }
  .facility-caption {
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
  }
  @media (max-width: 768px) {
    .facility-slider img {
        width: 100%;
    }
}

  /* 料金表 */

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

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

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

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

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


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


/* 汎用クラス */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.w100 {
    width: 100%!important;
}

@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.jpg);
    background-size: cover;
}

.medical-wrap {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.medical-content {    
    border: 1px solid #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    display: block;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px 0;
    color: #454545;
}

.medical-img {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.medical-heading {
    font-size: 24px;
    text-align: center;
    transition: 0.3s ease-out;
}

.medical-img::before {
    position: absolute;
    content: '';
    display: block;
    width: 90px;
    height: 85px;
    background-size: contain;
    background-repeat: no-repeat;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease-out;
}

.medical-wrap > .medical-content:nth-child(1) {
    background-color: #D0EAF4;
}

.medical-wrap > .medical-content:nth-child(2) {
    background-color: #BCCDE3;
}

.medical-wrap > .medical-content:nth-child(3) {
    background-color: #E2D5C4;
}

.medical-wrap > .medical-content:nth-child(1) .medical-img::before {
    background-image: url(/wp-content/uploads/medical-icon-01.png);
}

.medical-wrap > .medical-content:nth-child(2) .medical-img::before {
    background-image: url(/wp-content/uploads/medical-icon-02.png);
}

.medical-wrap > .medical-content:nth-child(3) .medical-img::before {
    background-image: url(/wp-content/uploads/medical-icon-03.png);
}

.medical-wrap:first-of-type .medical-text {
    flex-grow: 1; 
}

.medical-wrap:nth-of-type(2) {
    margin-top: 40px;
}

.medical-wrap:nth-of-type(2) > .medical-content {
    flex-direction: row;
    padding: 40px 80px;
    gap: 40px;
}

.medical-wrap:nth-of-type(2) > .medical-content .medical-heading {
    text-align: left;
}

.medical-wrap:nth-of-type(2) > .medical-content:nth-child(1) {
    background-color: #D6E8E2;
}

.medical-wrap:nth-of-type(2) > .medical-content:nth-child(1) .medical-img::before {
    background-image: url(/wp-content/uploads/medical-icon-04.png);
}

.medical-item {
    width: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-link {
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    width: 158px;
    /*padding-left: 10px;*/
    padding-right: 30px;
}

.detail-link::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-size: cover;
    position: absolute;
    background-image: url(/wp-content/uploads/circle-arrow-black.png);
    /*right: 45px;*/
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease-out;
}

.medical-item .detail-link {
    margin: 0;
    margin-left: auto;
}

@media(min-width:768px) {
    .medical-content:hover .medical-img::before {
        transform: translate(-50%, -50%) rotate(30deg);
        transition: 0.3s ease-out;
    }

    .medical-content:hover .medical-heading {
        font-weight: 700;
    }

    .medical-content:hover .detail-link {
        border-bottom: 1px solid #fff;
    }

    .medical-content:hover .detail-link::after {
        right: 15px;
    }
}

.top-endoscopy {
    background: url(/wp-content/uploads/endoscopy-BG-2.jpg);
    background-size: cover;
    background-position: center;
}

.endoscopy-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    margin-top: 40px;
}

.endoscopy-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
}

.endoscopy-heading {
    border-bottom: 1px solid #454545;
    font-size: 28px;
    font-weight: 300;
    padding: 16px;
    text-align: center;
    line-height: 1;
}

.endoscopy-heading span {
    font-size: 16px;
}

.endoscopy-list {
    list-style: none;
    margin-top: 40px;
    padding: 0;
}

.endoscopy-list li {
    padding-left: 2em;
    position: relative;
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.endoscopy-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    display: block;
    background-image: url(/wp-content/uploads/check-mark.png);
    background-size: cover;
    position: absolute;
    left: 0;
    top: 6px;
}

@media(max-width:767px) {
    .medical-wrap {
        flex-wrap: wrap;
        gap: 10px;
    }
    .medical-content {
        flex: auto;
        width: 100%;
        gap: 10px 0;
        padding: 16px;
    }
    .endoscopy-content {
        flex: auto;
        width: 100%;
        padding: 40px 16px;
    }
    .endoscopy-heading {
        padding: 0 0 16px;
    }
    .medical-wrap:nth-of-type(2) > .medical-content {
        flex-direction: column;
        padding: 16px;
        gap: 10px; 
    }
    .medical-wrap:nth-of-type(2) {
        margin-top: 10px;
    }
    .medical-wrap:nth-of-type(2)  .medical-item {
        width: 100%;
        align-items: center;
        gap: 10px;
    }
    .medical-item .detail-link {
        margin: 24px auto 0;
    }
    .detail-link {
        margin-top: 24px;
    }
}

/*.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-color: var(--accent-color);
}*/

.top-doctor {
    background-image: url(/wp-content/uploads/greeting-BG.jpg);
    background-position: center right;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}

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

.top-doctor:before {
    content: '';
    position: absolute;
    right: calc((100% - 1200px) / 2);
    bottom: 0;
    width: 498px;
    height: 552px;
    background-image: url(/wp-content/uploads/doctor-pc.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.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 p {
    line-height: 2!important;
    color :#000;
}

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

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

.dr-text {
    margin-top: 40px;
}

.drname {
    font-size: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .top-doctor {
        background-position: bottom right;
        background-repeat: no-repeat;
    }
    .top-doctor:before {
        display: none;
    }
    .doctor-wrap {
        gap: 0;
    }
    .doctor-content {
        margin-top: 0px;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 16px;
        margin-top: -30px;
    }
    .doctor-img {
        display: block;
        width: 100%;
        margin-top: 40px;
    }
    .doctor-content {
        width: 100%;
    }
    .d-tube iframe{
        width: 100%;
        height: 300px;
    }
}

.top-contact {
    background: linear-gradient(360deg, #FFFFFF 50%, #9B8F80 50.01%);
    position: relative;
    height: 600px;
    padding: 60px 0;
}

.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px;
    margin-top: 30px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

.rsv-wrap {
    width: calc(100% - 400px);
}

.monshin-wrap {
    width: 366px;
}

.rsv-content {
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
}

.contact-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color02);
    display: flex;
    text-align: center;
    align-items: center;
    height: 40px;
}

.contact-heading:before, .contact-heading:after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background-color: var(--main-color02);
    letter-spacing: 1.5px;
}

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

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

.b-rsv-btn {
    width: 180px;
    height: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-size: cover;
}

.b-rsv-btn:hover {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.b-web-rsv {
    background-image: url(/wp-content/uploads/web-rsv.png);
}

.b-web-rsv:hover {
    background-image: url(/wp-content/uploads/web-rsv-hover.png);
}

.b-line-rsv {
    background-image: url(/wp-content/uploads/line-rsv.png);
}

.b-line-rsv:hover {
    background-image: url(/wp-content/uploads/line-rsv-hover.png);
}

.b-doc-rsv {
    background-image: url(/wp-content/uploads/doc-rsv.png);
}

.b-doc-rsv:hover {
    background-image: url(/wp-content/uploads/doc-rsv-hover.png);
}

.b-web-monshin {
    background-image: url(/wp-content/uploads/web-monshin.png);
    margin: 60px auto 0;
}

.b-web-monshin:hover {
    background-image: url(/wp-content/uploads/web-monshin-hover.png);
}

@media(max-width:1200px) {
    .rsv-wrap,.monshin-wrap {
        width: 100%;
    }
    .monshin-wrap {
        margin-top: 80px;
    }
    .top-contact {
        height: auto;
    }
}

@media(max-width:767px) {
    .rsv-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    }
    .b-web-monshin {
        margin-top: 30px;
    }
    .contact-wrap {
        padding: 40px 16px;
    }
    .top-contact {
        padding-bottom: 20px!important;
    }
}

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

.top-clinic {
    position: relative;
}

.clinic-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.top-clinic-info,.top-clinic-access {
    max-width:560px;
    width: 45%;
}

.top-clinic-access {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.naminami-bg {
    width: 665px;
    height: 435px;
    background-image: url(/wp-content/uploads/naminami.png);
    position: absolute;
    right: 0;
    bottom: 0;
}

.top-clinic-info {
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.address {
    position: relative;
    font-weight: 300;
    padding-left: 20px;
    margin-top: 36px;
}

.address::before {
    position: absolute;
    content: '';
    display: block;
    width: 14px;
    height: 16px;
    background-image: url(/wp-content/uploads/map-pin.png);
    background-size: cover;
    left: 0;
    top: 4px;
}

.tel {
    position: relative;
    font-family: "Lora", serif;
    font-size: 24px;
    font-weight: 400;
    padding-left: 20px;
    margin-top: 30px;
}

.tel::before {
    position: absolute;
    content: '';
    display: block;
    width: 13px;
    height: 13px;
    background-image: url(/wp-content/uploads/tel.png);
    background-size: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.tel a {
    color: #454545;
}

.department {
    background-color: var(--main-color01);
    text-align: center;
    padding: 16px 10px;
    line-height: 1;
    margin-top: 30px;
}

.department-text {
    padding: 24px 16px;
}

.top-clinic-access iframe {
    margin-top: 40px;
    position: relative;
}

.visit-bnr {
    font-weight: 400;
    font-size: 20px;
    display: block;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    color: #DB7373;
    border: 1px solid #DB7373;
    background-color: #fff;
    padding: 40px;
    position: relative;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.visit-bnr::after {
    position: absolute;
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-image: url(/wp-content/uploads/circle-arrow.png);
    background-size: cover;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.visit-bnr:hover {
    background-color: #DB7373;
    color: #fff;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.visit-bnr:hover::after {
    background-image: url(/wp-content/uploads/circle-arrow-white.png);
}



@media (max-width: 768px) {
    .clinic-info {
        width: 100%;
    }
    .clinic-schedule {
        width: 100%;
    }
    .clinic-wrapper {
        flex-wrap: wrap;
        padding: 0;
    }
    .top-clinic-info,.top-clinic-access {
        width: 100%;
        max-width: 100%;
    }
    .top-clinic-access {
        margin-top: 80px;
    }
    .visit-bnr {
        padding: 25px 40px;
        max-width: 100%;
    }
}

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

.top-news-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}


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

.file-link {
    position: relative;
    padding-left: 24px;
}

.file-link:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    top: 0;
}

.file-link.pdf:before {
    background: url(/wp-content/uploads/pdf_24.png) no-repeat;
}

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

.holiday {
    margin-top: 16px;
    line-height: 2;
}


.holiday span {
    padding-right: 0.8em;
    color: var(--main-color02);
}

.interpretation-box {
    border: 5px solid red;
    display: inline-block;
    padding: 20px;
    margin-top: 20px;
}

.interpretation-box ul li {
    display: inline-block;
}

.accesiblity-bnr {
    z-index: 9;
    width: 68px;
    bottom: 0;
}

.accesiblity {
    height: 70%;
}

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

@media (max-width: 480px) {
    .accesiblity-bnr{
        bottom: 140px;
    }
}



/* アンカーデザイン */
.link_anchor {
    margin-top: 20px;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 2.4rem;
}

.link_anchor li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
    line-height: 1;
    margin: 0;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    margin-bottom: 20px;
}

.link_anchor a {
    background: #fff;
    color: #3288D8;
    border-radius: 0;
    padding: .5em 1em .5em 3.5em;
    position: relative;
    text-decoration: none;
    -webkit-transition: .3s;
    transition: .3s;
    line-height: 24px;
    border: 1px solid var(--main-color01);
    border-radius: 0px;
    display: block;
    width: 100%;
    padding: 15px 25px;
}

.link_anchor a::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4.5px 0 4.5px 8px;
    border-color: transparent transparent transparent var(--main-color01);
    left: auto;
    right: 15px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

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

.link_anchor a:hover::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4.5px 0 4.5px 8px;
    border-color: transparent transparent transparent #fff;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.link_anchor.other a {
    background-color: var(--main-color01);
    color: #fff;
}

.link_anchor.other a::after {
    border-color: transparent transparent transparent #fff;
}

.link_anchor.other a:hover {
    background: #fff;
    color: #3288D8;
}

.link_anchor.other a:hover::after {
    border-color: transparent transparent transparent var(--main-color01);
}

.link_anchor.over a {
    background-color: var(--main-color02);
    color: #fff;
    border: 1px solid var(--main-color02);
}

.link_anchor.over a::after {
    border-color: transparent transparent transparent #fff;
}

.link_anchor.over a:hover {
    background: #fff;
    color: var(--main-color02);
}

.link_anchor.over a:hover::after {
    border-color: transparent transparent transparent var(--main-color02);
}

@media only screen and (min-width: 768px) {
    .link_anchor li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 48%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    .link_anchor li a {
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #anc01, #anc02, #anc03, #anc04, #anc05, #anc06, #anc07, #anc08, #anc09, #anc10, #anc11, #anc12, #anc13, #anc14 {
        height: 0;
    }
}

@media(max-width:767px) {
    #a01,#a02,#a03,#a04,#a05,#a06,#a07,#a08,#a09,#a10,#a11,#a12,#a13,#a14{
        padding-top: 80px;
        margin-top: -50px;
        scroll-margin-top: 80px;
    }
    #anc01:target, #anc02:target, #anc03:target, #anc04:target:target, #anc05:target, #anc06:target, #anc07:target, #anc08:target, #anc09:target, #anc10:target, #anc11:target, #anc12:target, #anc13:target, #anc14:target {
        margin-top: -80px !important;
        padding-top: 100px !important; 
        display: block !important;
        height: 0 !important; 
        visibility: hidden !important;
    }
}

/*  下層デザイン */
.under-bg {
    padding: 50px 34px!important;
    background: #faf6f0;
}

.under-box {
    padding: 50px 34px!important;
    background: #fff;
    border: 1px solid #997946;
    margin: 34px 0;
}

.under-box.white {
    border: none;
}

.under-box.white .under-box,.under-bg .under-box.white {
    margin: 34px 0;
}

.under-bg .under-box {
    margin-bottom: 0;
}

.under-list01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*margin-top: 30px;*/
}

.under-list01 li {
    width: 48%;
    margin-bottom: 10px;
}

.under-list01 a {
    text-decoration: underline;
    color: #997946;
}

.under-list02 li {
    margin-bottom: 10px;
}

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

.under-list02 a.btn-1 {
    text-decoration: none;
}

.under-list03 {
    counter-reset: under-list03;
    list-style: none;
    padding: 0;
}

.under-list03 li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
}
.under-list03 li::before {
    background-color: #997946;
    border-radius: 50%;
    color: #fff;
    content: counter(under-list03);
    counter-increment: under-list03;
    display: block;
    font-size: 13.12px;
    height: 20px;
    left: 0;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-align: center;
    top: 5px;
    width: 20px;
    position: absolute;
}

.under-list04.check li {
    padding-left: 2em;
    position: relative;
    margin-bottom: 16px;
    list-style: none;
}

.under-list04.check li::before {
    content: '';
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    height: 12px;
    left: 6px;
    margin-top: -4px;
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
    top: 10px;
    width: 7px;
    z-index: 1;
    position: absolute;
    display: block;
}

.under-list04.check li:after {
    content: '';
    position: absolute;
    display: block;
    background: #997946;
    width: 20px;
    height: 20px;
    margin: auto;
    left: 0;
    right: auto;
    top: 4px;
    bottom: auto;
    z-index: 0;
    border-radius: 2px;
}

.list-flex {
    display: flex;
}

.list-flex ul {
    flex: 1;
}

.under-box-flex {
    display: flex;
    flex-wrap: wrap;
}

.under-box-flex-l {
    width: calc(100% / 12 * 8);
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

.under-box-flex-r {
    width: calc(100% / 12 * 4);
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

.under-bg > .container > .row > .col:last-child > .under-box.white,
.under-bg > .container > .row > .col:last-child > .under-box,
.under-box.white > .under-box:last-child,
.row .col.span_12 > .under-box:last-child {
    margin-bottom: 0;
}

@media(max-width:767px) {
    .under-list01 li {
        flex: auto;
        width: 100%
    }
    .under-bg {
        padding: 24px 16px!important;
    }
    section.under-bg {
        padding: 24px 0!important;
    }
    .under-box {
        padding: 24px 16px!important;
    }
    .under-box-flex {
        flex-direction: column-reverse;
    }
    .under-box-flex-l,.under-box-flex-r {
        width: 100%;
    }
    .under-box-flex-l {
        margin-top: 20px;
    }
    .under-bg .under-box {
        margin: 34px 0;
    }
    .list-flex {
        display: block;
    }
    .list-flex ul {
        flex: auto;
    }
}

.page-headimg {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.page-headimg div {
    flex: 1;
}

.page-headimg figure img {
    background-color: #f5efe4;
    border-radius: 50%;
    width: 60%;
}

@media(max-width:767px) {
    .page-headimg div {
        flex: auto;
        width: 100%;
    }
}

.flow-title {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.08em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.flow-title .num {
    display: block;
    border: #997946;
    background: #997946;
    margin-right: .5em;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    font-style: normal;
    line-height: 30px;
    letter-spacing: 1px;
    line-height: 1.5!important;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}


.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
  border-top: 32px solid #997946;
  border-bottom: 0;
}
