/*   
Theme Name: miyako_202601
*/
@charset "UTF-8";

/* Repeatable Patterns
----------------------------------------------------*/

html {
    font-size: 62.5%;
}

html.is-scroll-prevent {
    height: 100%;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

body {
    background: #fcfbe9;
    color: #008175;
    font-family: "Midashi Go MB31", YuGothic, "游ゴシック体", "Yu Gothic Bold", "游ゴシック Bold", "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP", sans-serif;
    font-weight: bold;
    line-height: 1;
    letter-spacing: .06rem;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

.all_container {
    position: relative;
}

/* print setting */
@media print {
    html {
        font-size: 38%;
    }

    body {
        -webkit-print-color-adjust: exact;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: inherit;
    margin: 0;
}

ul {
    margin: 0;
}

a {
    color: #008175;
    text-decoration: none;
    transition: 0.5s ease-out;
}

a:hover {
    color: #00a591;
}

a img {
    transition: 0.5s ease-out;
}

a:hover img {
    filter: brightness(125%);
}

::-moz-selection {
    background: #008175;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #008175;
    color: #fff;
    text-shadow: none;
}

figure {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

svg {
    fill: currentcolor;
    vertical-align: middle;
}

svg + * {
    vertical-align: middle;
}


ul {
    list-style-type: none;
    padding: 0;
}

input,
textarea,
button {
    font-family: YuGothic, "游ゴシック体", "Yu Gothic Bold", "游ゴシック Bold", "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP", sans-serif;
    font-weight: bold;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border-radius: 0;
    transition: 0.3s ease-out;
    cursor: pointer;
    color: #008175;
    border: none;
}

.wrapper {
    max-width: 94rem;
    padding-right: calc(36 / 940 * 100%);
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/*テキスト*/
.text_01 {
    font-size: 1.9rem;
    line-height: 1.85;
    text-align: justify;
}

.text_01 + .text_01{
    margin-top: 3.2rem;
}

.text_02 {
    font-size: 1.8rem;
    line-height: 1.7;
    text-align: justify;
}

/*ボックス*/
.box_container {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.box_RtoL {
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

.box_img {
    width: calc(480 / 900 * 100%);
}

.box_body {
    width: calc(300 / 900 * 100%);
}

/*リンク*/
.link_button{
    position: relative;
    width: 23rem;
    display: block;
    aspect-ratio: 230 / 40;
}

.link_button img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    transition: 0.5s ease-in-out;
}

.link_button .normal{
    opacity: 1;
}

.link_button .hover{
    opacity: 0;
}

.link_button:hover .normal{
    opacity: 0;
}

.link_button:hover .hover{
    opacity: 1;
}

/*アニメーション*/
.fadein {
    opacity: 0;
    transition: 2s ease-out;
}

.fadein.scrollin {
    opacity: 1;
}

@media print {
    .fadein {
        opacity: 1;
    }
}

.bird{
    position: absolute;
    width: calc(90 / 1280 * 100vw);
    max-width: 9rem;
    z-index: 9;
}

.bird-r1{
    animation: shake-r1 3s infinite;
}

@keyframes shake-r1 {
    0% {
        transform: rotate(0);
    }
    60% {
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(0);
    }
}

.bird-r2{
    animation: shake-r2 3.5s infinite;
}

@keyframes shake-r2 {
    0% {
        transform: rotate(-20deg);
    }
    60% {
        transform: rotate(-40deg);
    }
    100% {
        transform: rotate(-20deg);
    }
}

.bird-l1{
    animation: shake-l1 3.5s infinite;
}

@keyframes shake-l1 {
    0% {
        transform: rotate(20deg) scale(-1, 1);
    }
    60% {
        transform: rotate(40deg) scale(-1, 1);
    }
    100% {
        transform: rotate(20deg) scale(-1, 1);
    }
}

/* メインヘッダー
----------------------------------------------------*/

.reservation_icon {
    position: absolute;
    top: 5rem;
    right: 5rem;
    z-index: 1;
    width: calc(184 / 1280 * 100%);
    max-width: 18.4rem;
}

.top_visual_container{
    position: relative;
}

.top_visual_logo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    width: calc(420 / 1280 * 100%);
    max-width: 42rem;
}

.header_container_pc {
    width: calc(340 / 1280 * 100%);
    top: 0;
    left: 0;
    transition: 1s ease-out;
}

.is-fixed.header_container_pc {
    position: fixed;
    opacity: 1;
}

.is-out.header_container_pc{
    position: absolute !important;
    opacity: 0 !important;
}

.main_header_inner {
    width: calc(224 / 340 * 100%);
    margin: auto;
    padding: 6.6rem 0 5.4rem;
}

.main_logo {
    max-width: 23rem;
    margin: auto;
}

.header_nav {
    padding-top: 6.6rem;
}

.main_nav_list li + li {
    padding-top: 3.6rem;
}

.main_nav_list a {
    display: block;
    text-align: center;
}

.main_nav_item img {
    height: 1.9rem;
}

.main_nav_item:nth-child(1) img,
.main_nav_item:nth-child(4) img{
    height: 1.8rem;
}

.main_nav_item_instagram{
    padding-top: 6rem !important;
}

.main_nav_item_instagram img {
    height: 4.2rem;
}

/* メインフッター 
----------------------------------------------------*/

.footer_info{
    padding-top: 8rem;
}

.footer_hours{
    width: calc(680 / 940 * 100%);
    margin: auto;
    margin-bottom: 8.6rem;
}

.footer_info_inner{
    padding-left: 3.8%;
    padding-right: 3.8%;
    justify-content: space-between;
    align-items: center;
}

.footer_phone{
    width: calc(445 / 900 * 100%);
}

.footer_reservation_icon{
    width: calc(295 / 900 * 100%);
}

.footer_container {
    position: relative;
    margin-top: 8.8rem;
    justify-content: space-between;
    align-items: center;
}

.footer_inner{
    position: absolute;
    top: 7rem;
    left: 0;
    right: 0;
    width: calc(1088 / 1280 * 100%);
    margin: auto;
    justify-content: space-between;
    align-items: center;
}

.footer_logo{
    width: 47.6rem;
}

.footer_body{
    width: calc(100% - 47.6rem);
    flex-direction: column;
    align-items: flex-end;
}

.footer_instagram{
    width: 4.2rem;
    margin-bottom: 3.2rem;
}

.footer_address{
    width: 37rem;
}

.footer_copyright{
    width: 50rem;
    position: absolute;
    bottom: 6rem;
    left: 0;
    right: 0;
    margin: auto;
}


/* メインコンテナー .main_container
----------------------------------------------------*/

.main_container {
    width: calc(940 / 1280 * 100%);
}

.is-fixed.header_container_pc ~ .main_container {
    margin-left: calc(340 / 1280 * 100%);
}

/* ----- トップページ ----- */

/*メインビジュアル*/
.top_main_slider {
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.top_main_slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    height: 100svh;
    margin: 0;
}

.slick-slider {
    pointer-events: none;
}

.animation_scroll {
    position: absolute;
    right: 4%;
    bottom: 7vh;
    z-index: 9;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.animation_scroll span {
    width: 1px;
    height: 6.7rem;
    background: #fff;
    display: block;
    animation: scroll 1.8s cubic-bezier(1, 0, 0, 1) infinite;
    border-radius: 100vmax;
    margin-left: -.4rem;
}

.animation_scroll span::after{
    content: '';
    position: absolute;
    bottom: -0.1rem;
    right: -0.4rem;
    width: 1px;
    height: 1.2rem;
    display: block;
    background: #fff;
    transform: rotate(38deg);
    border-radius: 100vmax;
}

@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.animation_scroll img{
    width: 1.4rem;
    padding-top: 1.2rem;
}


/*アバウト*/
.top_about_container{
    padding-top: 7.2rem;
}

.top_about_inner {
    position: relative;
    padding-top: 7.2rem;
    padding-bottom: 6.8rem;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.top_about_body {
    width: 41rem;
    margin-left: 8rem;
}

.top_about_header{
    width: calc(100% - 49rem);
    display: flex;
    justify-content: center;
}

.top_about_heading {
    width: 10rem;
}

.top_about_bird{
    top: 4%;
    right: 3%;
}

.top_about_link{
    margin-top: 3.4rem;
    margin-left: auto;
}

/*サービス*/
.top_service_header{
    align-items: flex-end;
    margin-top: 9rem;
    padding-left: 9%;
}

.top_service_heading{
    margin-right: 6rem;
}

.top_service_heading img{
    width: auto;
    height: 10rem;
}

.top_service_bird{
    position: relative;
}

.top_service_img{
    margin-left: 3%;
}

.top_service_link{
    margin-top: 3.4rem;
}

/*サービス*/
.top_news_container{
    padding-bottom: 2rem;
}

.top_news_header{
    width: 100%;
    flex-direction: row-reverse;
    justify-content: center;
    margin-top: 9rem;
    margin-left: -3%;
}

.top_news_heading{
    margin-left: 3.4rem;
}

.top_news_heading img{
    width: auto;
    height: 10rem;
}

.top_news_bird{
    position: relative;
    margin-top: -10rem;
}

.top_news_link{
    margin-top: 4.8rem;
}

/* ----- わたしたち ----- */

.page_container {
    padding-top: 5rem;
}

.about_doctor_container{
    padding-bottom: 8.8rem;
}

.about_doctor_inner{
    flex-direction: row-reverse;
    margin-top: 1.6rem;
    padding-left: 8rem;
}

.about_doctor_header{
    width: calc(440 / 900 * 100%);
    flex-direction: column;
    align-items: center;
}

.about_doctor_heading{
    width: 19%;
    margin: 2rem auto 0;
}

.about_doctor_bird{
    position: relative;
}

.about_doctor_body{
    width: calc(460 / 900 * 100%);
    margin-top: 7.8rem;
}

.list_container{
    padding-left: 8rem;
    margin-top: 0;
}

.page_about .list_container{
    width: calc(730 / 900 * 100%);
}

.list_container dt{
    font-size: 3.1rem;
    line-height: 1.5;
    margin-bottom: 2.6rem;
}

.list_container dt span{
    border-bottom: 2px solid;
    padding: 0 .2rem .2rem;
}

.list_container dt span small{
    font-size: 75%;
}

.list_container dd{
    margin-left: 0;
    margin-bottom: 5.2rem;
}

.about_facility_header{
    width: 100%;
    justify-content: space-around;
    margin-top: 9rem;
    margin-bottom: 9rem;
}

.about_facility_heading{
    margin-right: 3rem;
}

.about_facility_heading img{
    width: auto;
    height: 3.8rem;
}

.about_facility_bird{
    position: relative;
    margin-top: -10rem;
}

.about_garden_slider{
    width: calc(550 / 900 * 100%);
    margin-left: auto;
    margin-right: 8%;
}


/* ----- 治療内容 ----- */

.page_header{
    padding-bottom: 8rem;
}

.page_header_slider{
    padding-bottom: 7rem;
}

.page_heading{
    position: relative;
    padding-left: 8rem;
}

.page_heading img:first-child{
    width: auto;
    height: 10.4rem;
}

.page_heading_bird{
    position: absolute;
    right: 11%;
    top: 0;
    bottom: 0;
    margin: auto;
}

.service_section{
    position: relative;
    flex-direction: row-reverse;
}

.page_service .list_container{
    width: calc(680 / 900 * 100%);
}

.service_section_heading{
    width: calc(220 / 900 * 100%);
    text-align: center;
    margin-top: .6rem;
}

.service_section_heading img{
    width: 3rem;
}

.about_facility_list dt{
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about_facility_list dd{
    margin-bottom: 4.4rem;
}

.service_surgery_slider{
    width: calc(610 / 900 * 100%);
    margin-left: auto;
    margin-bottom: 5.2rem;
}

.service_other_slider{
    width: calc(610 / 900 * 100%);
    margin-bottom: 5.2rem;
}

.service_footer_slider{
    width: calc(550 / 900 * 100%);
    margin-left: auto;
    margin-right: 8%;
}

/* ----- アクセス ----- */

.access_adrress{
    padding-left: 8rem;
    font-size: 2.5rem;
    line-height: 1.6;
    margin-bottom: 8rem;
}

.map_container{
    position: relative;
    width: calc(730 / 900 * 100%);
    margin: 0 auto 8rem;
}

.map_container::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #008275;
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.map_container iframe{
    width: 100%;
    aspect-ratio: 730 / 376;
    filter: grayscale(100%);
}

.access_footer_slider{
    width: calc(550 / 900 * 100%);
    margin-left: auto;
    margin-right: 8%;
}

/* ----- よくある質問 ----- */

.border_list {
    margin: 0 8rem 7rem;
}

.border_list_item {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
    border-bottom: 2px solid;
}

.border_list_item:first-of-type {
    border-top: 2px solid;
}

/*ドロップダウンメニュー*/
.question_title {
    cursor: pointer;
    position: relative;
    font-size: 2.5rem;
    line-height: 1.5;
    padding-left: 5.2rem;
    padding-right: 3.6rem;
    letter-spacing: .15rem;
    transition: 0.5s ease-out;
}

.question_title::before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    width: 3.14rem;
    height: 3rem;
    background-size: cover;
    background-image: url(img/question_Q.svg);
}

.question_title::after {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    transition: 0.1s ease-out;
    background-image: url(img/question_arrow.svg);
}

.is-open.question_title::after {
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(img/question_close.svg);
    right: 0.4rem;
}

.question_title:hover {
    cursor: pointer;
    color: #00a591;
}

.question_answer {
    display: none;
    position: relative;
    padding-left: 5.2rem;
    margin-top: 4rem;
}

.is-open .question_answer {
    display: block;
}

.question_answer::before {
    position: absolute;
    left: 0;
    top: .7rem;
    content: "";
    display: block;
    width: 3rem;
    height: 2.4rem;
    background-size: cover;
    background-image: url(img/question_A.svg);
}

.question_footer_slider{
    width: calc(550 / 900 * 100%);
    margin-left: auto;
    margin-right: 8%;
}


/* ----- お知らせ ----- */

.single .page_container,
.error404 .page_container {
    padding-top: 15rem;
}

.post_date {
    font-size: 1.7rem;
    padding-bottom: 1.8rem;
    letter-spacing: .15rem;
}

h1.post_title {
    font-size: 3rem;
    line-height: 1.5;
    letter-spacing: .15rem;
}

h2.post_title {
    font-size: 2.7rem;
    line-height: 1.5;
    letter-spacing: .15rem;
}

.news_footer_slider{
    width: calc(550 / 900 * 100%);
    margin-top: 8rem;
    margin-left: auto;
    margin-right: 8%;
}

.post_header {
    padding-bottom: 9rem;
}

.post_container {
    margin: 0 8rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 5rem;
    padding-bottom: 8rem;
    border-top: 2px solid;
}

.body_container * + * {
    margin-top: 3.2rem;
}

.body_container a{
    word-break: break-all;
}

.body_container figure,
.wp-block-image{
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.is-type-video iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.wp-block-image :where(figcaption){
    margin-top: 1.6rem !important;
    opacity: 0.5;
    font-size: 90%;
}

.body_container a {
    text-decoration: underline;
}

.page_news_link{
    margin: auto;
}

/*ページャー（WP-PageNavi）*/

.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    font-size: 2.2rem;
    margin: 0 1.2rem;
    position: relative;
    padding: .6rem .3rem;
}

.wp-pagenavi span.current {
    border-bottom: 2px solid;
}

.wp-pagenavi span.extend {
    padding-left: 0;
    padding-right: 0;
}

.wp-pagenavi .previouspostslink{
    margin-right: 2rem;
}

.wp-pagenavi .nextpostslink{
    margin-left: 2rem;
}

/* ----- 404 ----- */

.error_intro_title {
    font-size: 3.4rem;
    line-height: 1.5;
    letter-spacing: .15rem;
    margin-bottom: 8rem;
}


/*----------------------------------------------------

PCのみ

----------------------------------------------------*/

@media print,
screen and (min-width: 768px) {
    .display_sp {
        display: none !important;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media screen and (max-width: 1299px) and (min-width: 1050px) {
    html {
        font-size: 58%;
    }

}

@media screen and (max-width: 1049px) and (min-width: 900px) {
    html {
        font-size: 52%;
    }
}

@media screen and (max-width: 899px) and (min-width: 768px) {
    html {
        font-size: 46%;
    }
}

/*----------------------------------------------------

スマートフォンのみ

----------------------------------------------------*/


@media only screen and (max-width: 767px) {

    .wrapper {
        width: 100%;
        padding-left: 3.5%;
        padding-right: 3.5%;
    }

    .display_pc {
        display: none !important;
    }


    /*テキスト*/
    .text_01 {
        font-size: 1.5rem;
        line-height: 1.75;
    }

    .text_01 + .text_01{
        margin-top: 2.2rem;
    }

    .text_02 {
        font-size: 1.4rem;
        line-height: 1.75;
    }
    
    /*リンク*/
    .link_button{
        width: 21rem;
    }

    /*ボックス*/
    .box_container {
        margin-top: 6rem;
        margin-bottom: 5rem;
        width: calc(280 / 400 * 100%);
    }

    .box_RtoL {
        flex-direction: column
    }

    .box_img {
        width: 100%;
    }

    .box_body {
        width: 100%;
    }

    /*アニメーション*/
    .bird{
        width: calc(78 / 480 * 100vw);
    }


    /* メインヘッダー
    ----------------------------------------------------*/

    .header_container_sp {
        width: 100%;
        z-index: 998;
        background: #FBFAE8;
        position: fixed;
        top: 0;
        left: 0;
        padding: 2rem 5%;
        display: none;
    }
    
    .is-display.header_container_sp {
        display: block;
    }
    
    body:not(.home) .header_container_sp{
        display: block;
    }

    .header_container_sp > .flex {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .main_logo {
        width: 20rem;
        margin: 0;
        padding: 0;
    }

    /*ドロワーメニュー*/

    .drawer-hamburger {
        position: fixed;
        top: 2.4rem;
        right: 5%;
        z-index: 1000;
        padding: 0;
    }
    
    .drawer-hamburger-icon {
        position: relative;
        display: block;
        width: 5.5rem;
        height: 2rem;
        background-repeat: no-repeat;
        transition: all .1s ease-in-out;
        -webkit-mask-image: url("img/drawer_icon.svg");
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url("img/drawer_icon.svg");
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        background-color: #008175;
    }

    .is-white .drawer-hamburger-icon{
        background-color: #fff;
    }
    
    .is-opened .drawer-hamburger-icon {
        transform: scale(1, -1);
        background-color: #008175 !important;
    }

    .drawer-nav {
        background: #fbfae8;
        align-items: center;
        position: fixed;
        top: -100%;
        bottom: 0;
        left: 0;
        z-index: 999;
        overflow-y: scroll;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100%;
        transition: top .4s cubic-bezier(.19, 1, .22, 1);
        -webkit-overflow-scrolling: touch;
    }

    .is-opened .drawer-nav {
        top: 0;
        transition: top .4s cubic-bezier(.19, 1, .22, 1);
    }

    .drawer_inner {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 7rem;
        padding-bottom: 6rem;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .drawer_logo {
        width: calc(237 / 480 * 100%);
        margin: auto;
        padding-bottom: 6rem;
    }

    .drawer_main_nav {
        width: 100%;
    }

    .main_nav_list li + li {
        padding-top: 3.4rem;
    }

    .main_nav_item img {
        height: 1.7rem;
    }

    .main_nav_item:nth-child(1) img,
    .main_nav_item:nth-child(4) img{
        height: 1.6rem;
    }

    .main_nav_item_instagram img {
        height: 3.8rem;
    }

    /* メインフッター 
    ----------------------------------------------------*/

    .footer_info{
        padding-top: 6rem;
    }

    .footer_hours{
        width: 100%;
        margin-bottom: 6.6rem;
    }

    .footer_info_inner{
        justify-content: center;
    }

    .footer_phone{
        width: 100%;
    }

    .footer_reservation_icon{
        margin-top: 6rem;
        width: 55%;
    }

    .footer_container {
        margin-top: 6rem;
    }

    .footer_inner{
        top: 4rem;
        width: calc(400 / 480 * 100%);
        justify-content: center;
    }

    .footer_logo{
        width: calc(378 / 400 * 100%);
        margin-bottom: 2.8rem;
    }

    .footer_body{
        width: 100%;
        align-items: center;
    }

    .footer_instagram{
        width: 3.6rem;
        height: 3.6rem;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 7rem;
        margin: auto;
        -webkit-mask-image: url(img/instagram.svg);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url(img/instagram.svg);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        background-color: #fff;
    }

    .footer_address{
        width: calc(344 / 400 * 100%);
    }

    .footer_copyright{
        width: calc(420 / 480 * 100%);
        bottom: 3rem;
    }

    /* メインコンテナー .main_container
    ----------------------------------------------------*/

    .main_container {
        width: 100%;
    }

    .is-fixed.header_container_pc ~ .main_container {
        margin-left: 0;
    }

    /* ----- トップページ ----- */

    /*メインビジュアル*/
    .top_visual_logo {
        top: -4%;
    }
    
    .reservation_icon {
        position: absolute;
        top: unset;
        bottom: 6vh;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 1;
        width: calc(180 / 480 * 100%);
        max-width: 18rem;
    }

    .top_visual_logo {
        width: calc(310 / 480 * 100%);
        max-width: 31rem;
    }
    
    .animation_scroll {
        right: 4%;
        bottom: 6vh;
    }

    .animation_scroll span {
        width: 1px;
        height: 6.7rem;
        margin-left: -.3rem;
    }

    .animation_scroll img{
        width: 1.3rem;
        padding-top: 1.1rem;
    }


    /*アバウト*/
    .top_about_container{
        padding-top: 7rem;
    }

    .top_about_inner {
        width: calc(420 / 440 * 100%);
        padding-top: 4.6rem;
        padding-bottom: 6rem;
        margin: auto;
    }
    
    .page_about .top_about_inner{
        padding-bottom: 4.4rem;
    }
    
    .top_about_body {
        width: 100%;
        margin-left: 0;
    }

    .top_about_header{
        width: 100%;
        margin-bottom: 4.4rem;
    }

    .top_about_heading {
        width: 100%;
    }

    .top_about_bird{
        top: 26rem;
        right: 1%;
    }

    .top_about_link{
        margin-top: 5rem;
        margin-left: auto;
        margin-right: auto;
    }

    /*サービス*/
    .top_service_container{
        padding-bottom: 7rem;
    }
    
    .top_service_inner{
        width: calc(420 / 440 * 100%);
        margin: auto;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: row-reverse;
    }
    
    .top_service_header{
        width: calc(120 / 400 * 100%);
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 4rem;
        margin-bottom: 0;
        padding-left: 6%;
    }

    .top_service_heading{
        width: 65%;
        margin-right: 0;
        margin-top: 2rem;
    }

    .top_service_heading img{
        width: 6rem;
        height: auto;
    }
    
    .top_service_bird{
        margin-right: -12%;
    }
    
    .top_service_img{
        margin-left: 0;
    }
    
    .top_service_text{
        padding-top: 3.6rem;
        padding-left: 3%;
    }

    .top_service_link{
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    /*サービス*/
    .top_news_container{
        padding-bottom: 2rem;
    }
    
    .top_news_inner{
        width: calc(420 / 440 * 100%);
        margin: auto;
        justify-content: space-between;
        align-items: flex-start;
    }

    .top_news_header{
        width: calc(120 / 400 * 100%);
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 3.4rem;
        margin-bottom: 0;
        margin-left: 0;
        padding-right: 6%;
    }

    .top_news_heading{
        width: 65%;
        margin-left: 0;
        margin-top: 2rem;
    }

    .top_news_heading img{
        width: 6rem;
        height: auto;
    }

    .top_news_bird{
        margin-left: -12%;
        margin-top: 0;
    }
    
    .top_news_text{
        text-align: right;
        padding-top: 4.4rem;
        padding-right: 3%;
    }

    .top_news_link{
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }


    /* ----- わたしたち ----- */

    .page_container {
        padding-top: 10rem;
    }

    .about_doctor_container{
        padding-bottom: 6rem;
    }

    .about_doctor_inner{
        width: calc(420 / 440 * 100%);
        margin: 4.4rem auto 0;
        padding-left: 0;
        justify-content: space-between;
        align-items: flex-start;
    }

    .about_doctor_header{
        width: 16%;
    }

    .about_doctor_heading{
        width: 90%;
        margin: 2rem auto 0;
    }

    .about_doctor_body{
        width: 74%;
        margin-top: 0;
    }

    .list_container{
        margin: auto;
        padding-left: 0;
    }
    
    .page_about .list_container{
        width: calc(420 / 440 * 100%);
    }

    .list_container dt{
        font-size: 2rem;
        margin-bottom: 1.6rem;
    }

    .list_container dd{
        margin-bottom: 3.6rem;
    }

    .about_facility_header{
        width: 100%;
        position: relative;
        justify-content: center;
        margin-top: 5rem;
        margin-bottom: 4rem;
    }
    
    .about_facility_heading{
        margin-right: 0;
    }

    .about_facility_heading img{
        height: 5.8rem;
        margin-left: .5rem;
    }

    .about_facility_bird{
        position: absolute;
        margin-top: 0;
        top: -4rem;
        left: 1rem;
    }

    .about_garden_slider{
        width: 75%;
        margin-right: 0;
    }

    /* ----- 治療内容 ----- */

    .page_header{
        padding-bottom: 5rem;
    }

    .page_header_slider{
        padding-bottom: 5rem;
    }

    .page_heading{
        padding-left: 0;
        width: calc(420 / 440 * 100%);
        margin: auto;
    }

    .page_heading img:first-child{
        height: 5.8rem;
    }

    .page_heading_bird{
        right: 0;
        top: -3rem;
        bottom: unset;
        margin: 0;
    }
    
    .service_section{
        width: calc(420 / 440 * 100%);
        margin: auto;
    }

    .page_service .list_container{
        width: calc(720 / 900 * 100%);
    }

    .service_section_heading{
        width: calc(180 / 900 * 100%);
        padding-left: 8%;
    }

    .service_section_heading img{
        width: 2rem;
    }

    .about_facility_list dt{
        font-size: 2rem;
        margin-bottom: 1.6rem;
    }

    .about_facility_list dd{
        margin-bottom: 3.6rem;
    }

    .service_surgery_slider{
        width: 85%;
        margin-bottom: 4rem;
    }

    .service_other_slider{
        width: 85%;
        margin-bottom:4rem;
    }

    .service_footer_slider{
        width: 75%;
        margin-right: 0;
    }
    
    .service_other_container .list_container dt{
        font-size: 1.8rem;
    }
    
    /* ----- アクセス ----- */

    .access_adrress{
        padding-left: 0;
        width: calc(420 / 440 * 100%);
        font-size: 1.7rem;
        margin: 0 auto 5rem;
    }

    .map_container{
        width: 100%;
        margin: 0 auto 5rem;
    }

    .map_container iframe{
        aspect-ratio: 730 / 420;
    }

    .access_footer_slider{
        width: 75%;
        margin-right: 0;
    }

    /* ----- よくある質問 ----- */

    .border_list {
        margin: 0 0 5rem;
    }

    .border_list_item {
        width: calc(420 / 440 * 100%);
        margin: auto;
        padding-left: .8rem;
        padding-right: .8rem;
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }


    /*ドロップダウンメニュー*/
    .question_title {
        font-size: 1.7rem;
        padding-left: 3.8rem;
        padding-right: 3.4rem;
        transition: 0.5s ease-out;
    }

    .question_title::before {
        width: 2.4rem;
        height: 2.3rem;
    }

    .question_title::after {
        width: 2.4rem;
        height: 2.4rem;
    }

    .is-open.question_title::after {
        width: 1.6rem;
        height: 1.6rem;
        right: 0.4rem;
    }

    .question_answer {
        display: none;
        position: relative;
        padding-left: 3.8rem;
        margin-top: 2.8rem;
    }

    .question_answer::before {
        top: .7rem;
        width: 2.3rem;
        height: 1.8rem;
    }

    .question_footer_slider{
        width: 75%;
        margin-right: 0;
    }



    /* ----- お知らせ ----- */

    .single .page_container,
    .error404 .page_container {
        padding-top: 13rem;
    }

    .post_date {
        font-size: 1.4rem;
        padding-bottom: 1.2rem;
    }

    h1.post_title {
        font-size: 2.4rem;
    }

    h2.post_title {
        font-size: 1.9rem;
    }

    .news_footer_slider{
        width: 75%;
        margin-top: 5rem;
        margin-right: 0;
    }

    .post_header {
        padding-bottom: 5rem;
    }

    .post_container {
        width: calc(420 / 440 * 100%);
        margin: auto;
        padding-left: 0;
        padding-right: 0;
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .body_container * + * {
        margin-top: 2.4rem;
    }

    .body_container figure,
    .wp-block-image{
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
    
    .page_news_link{
        margin: auto;
    }

    /*ページャー（WP-PageNavi）*/

    .wp-pagenavi a,
    .wp-pagenavi span {
        font-size: 1.8rem;
        margin: 0 .8rem;
        padding: .6rem .3rem;
    }

    .wp-pagenavi .previouspostslink{
        margin-right: 1.6rem;
    }

    .wp-pagenavi .nextpostslink{
        margin-left: 1.6rem;
    }

    /* ----- 404 ----- */

    .error_intro_title {
        font-size: 2.4rem;
        text-align: center;
    }

}


@media screen and (max-width: 320px) {
    html {
        font-size: 56%;
    }
}
