﻿@charset "UTF-8";
/*-- キャンペーンバナー非表示 --*/
@media all {
    body:has(#fp-contents-wrap) #campaign-banner {
        display: none !important;
    }
}

/*-- 共通 --*/
@media all {
    :root {
        --rs-px: 2.6rem;
    }

    :is(a, [type="button"]) {
        transition: all 0.3s;
    }

    button {
        border: none;
    }

    html:has(body.page-contentspages) {
        scroll-padding-top: 0;
        scroll-behavior: smooth;
    }

    #fp-contents-wrap .pane-topic-path {
        margin: 0 0 calc(10 / 390 * 100vw);
    }

    #fp-contents-wrap .block-topic-path {
        font-size: var(--rs-fs-11);
        margin: 0;
        padding: calc(12 / 390 * 100vw) var(--rs-px) calc(9 / 390 * 100vw);
    }

    #fp-contents-wrap .pane-topic-path>.container {
        padding: 0;
    }

    #fp-contents-wrap .block-topic-path--list::before,
    #fp-contents-wrap .block-topic-path--list::after {
        content: none;
    }

    #fp-contents-wrap .pane-contents .container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow: hidden;
        padding: 0 0;
        font-size: var(--rs-fs-14);
    }

    body.page-contentspages .pane-contents {
        min-height: auto;
    }

    #fp-contents-wrap .rs-hospital-layout {
        display: block;
    }
}

/*-- 共通--*/
@media all {

    body.page-contentspages #fp-contents-wrap {

        & .rs-header {
            max-width: var(--rs-container-w);
            margin: 0 auto;
            padding-left: var(--rs-px);
            padding-right: var(--rs-px);
        }

        & h1 {
            font-size: var(--rs-fs-28);
            font-weight: var(--rs-fw-bold);
            margin: 0 0 calc(30 / 390 * 100vw) 0;
        }

        & .rs-header .rs-note {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-medium);
            display: flex;
            flex-direction: column;
            gap: calc(15 / 390 * 100vw) 0;
        }

        & .rs-header .rs-link a {
            text-decoration: underline;
        }

    }

}

/*-- 上部 --*/
@media all {
    #fp-contents-wrap .rs-top-area {
        padding: 0;
    }

    #fp-contents-wrap .rs-top-area-flex {
        display: flex;
        flex-direction: column;
        gap: 0 0;
    }

    #fp-contents-wrap .rs-top-area .rs-left {
        flex-grow: 1;
        background-color: var(--rs-color-ivory);
        padding: calc(40 / 390 * 100vw) var(--rs-px);

        & .rs-text-1 {
            font-size: var(--rs-fs-28);
            font-weight: var(--rs-fw-bold);
            color: var(--color-red);
            margin-bottom: calc(20 / 390 * 100vw);
        }

        & .rs-text-2 {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            margin-bottom: calc(20 / 390 * 100vw);
        }

        & .rs-text-3 {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            color: #656565;
            margin-bottom: calc(5 / 390 * 100vw);
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0 0.5rem;
        }

        & .rs-text-4 {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            color: #656565;
            margin-bottom: calc(16 / 390 * 100vw);
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0 0.5rem;
        }

        & .rs-to-store-link {
            background-color: #333333;
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-medium);
            width: 100%;
            height: auto;
            aspect-ratio: 350 / 54;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            border: 1px solid #939393;
        }

        & .rs-to-store-link:hover {
            background-color: var(--rs-color-ivory);
            border: 1px solid #333333;
            color: #333333;
        }

        & .rs-link {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-medium);
        }

        & .rs-link a {
            text-decoration: underline;
        }
    }


}

/*-- 日本地図 --*/
@media all {

    #fp-contents-wrap .rs-top-area .rs-right {
        background-color: #fff;


        & .rs-jpn-wrapper .rs-image-items {
            display: none;
        }

        & .rs-jpn-wrapper .rs-icon-items {
            display: flex;
            align-items: stretch;
            flex-wrap: wrap;
            gap: calc(5 / 390 * 100vw) calc(5 / 390 * 100vw);
            position: fixed;
            bottom: 0;
            left: 0;
            padding: calc(15 / 390 * 100vw) var(--rs-px);
            background-color: rgba(0, 0, 0, 0.5);
            width: 100%;
            z-index: calc(var(--rs-z-index-base) + 10);
        }

        & .rs-jpn-wrapper .rs-icon-items>* {
            background-color: #fff;
            width: calc((100% - 10 / 390 * 100vw) / 3);
            padding: calc(8 / 390 * 100vw) calc(5 / 390 * 100vw);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: var(--rs-fs-13);
            font-weight: var(--rs-fw-regular);
            border-radius: calc(5 / 390 * 100vw);
            gap: 0 calc(10 / 390 * 100vw);
        }

        & .rs-jpn-wrapper .rs-icon-items>*::after {
            content: '';
            display: block;
            background-image: var(--rs-svg-arrow-2);
            background-repeat: no-repeat;
            background-size: contain;
            aspect-ratio: var(--rs-ar-arrow-2);
            width: calc(8 / 390 * 100vw);
            height: auto;
        }

    }

}

/*-- アコーディオン --*/
@media all {

    #fp-contents-wrap .uk-accordion-default>:nth-child(n+2),
    #fp-contents-wrap .uk-accordion-content {
        margin: 0;
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion-title {
        display: flex;
        align-items: center;
        gap: 0 calc(10 / 390 * 100vw);

        & .rs-name {
            font-size: inherit;
            font-weight: inherit;
        }

        & .rs-slash {
            font-size: var(--rs-fs-11);
            font-weight: var(--rs-fw-regular);
            position: relative;
            color: #C6C6C6;
            top: calc(2 / 390 * 100vw);
        }

        & .rs-count {
            font-size: var(--rs-fs-11);
            font-weight: var(--rs-fw-regular);
            position: relative;
            color: #333333;
            top: calc(2 / 390 * 100vw);
        }
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion.rs-level-1 {

        &>li>.uk-accordion-title {
            font-size: var(--rs-fs-18);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: calc(17 / 390 * 100vw) var(--rs-px);
            border-bottom: 1px solid #EBEBEB;
        }

        &>li>.uk-accordion-title::after {
            content: '';
            background-image: var(--rs-svg-minus);
            aspect-ratio: var(--rs-ar-minus);
            background-repeat: no-repeat;
            background-size: calc(8 / 390 * 100vw) auto;
            background-color: var(--color-red);
            background-position: center;
            border-radius: 50%;
            width: calc(20 / 390 * 100vw);
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 0 0 auto;
        }

        &>li>.uk-accordion-title[aria-expanded="false"]::after {
            background-image: var(--rs-svg-plus);
            aspect-ratio: var(--rs-ar-plus);
        }
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion.rs-level-2 {
        &>li>.uk-accordion-title {
            font-size: var(--rs-fs-15);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: calc(15 / 390 * 100vw) var(--rs-px) calc(15 / 390 * 100vw) calc(30 / 390 * 100vw);
            border-bottom: 1px solid #E3E3E3;
        }

        &>li>.uk-accordion-title::after {
            content: '';
            mask-image: var(--rs-svg-minus);
            aspect-ratio: var(--rs-ar-minus);
            mask-repeat: no-repeat;
            mask-size: calc(10 / 390 * 100vw) calc(10 / 390 * 100vw);
            mask-position: center;
            background-color: #333333;
            width: calc(20 / 390 * 100vw);
            height: auto;
            display: block;
            margin: 0 0 0 auto;
        }

        &>li>.uk-accordion-title[aria-expanded="false"]::after {
            mask-image: var(--rs-svg-plus);
            aspect-ratio: var(--rs-ar-plus);
        }
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion:is(.rs-level-3, .rs-level-4) {
        &>li>.uk-accordion-title {
            font-size: var(--rs-fs-15);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: calc(15 / 390 * 100vw) var(--rs-px) calc(15 / 390 * 100vw) calc(40 / 390 * 100vw);
            border-bottom: 1px solid #E3E3E3;
        }

        &>li>.uk-accordion-title::after {
            content: '';
            mask-image: var(--rs-svg-minus);
            aspect-ratio: var(--rs-ar-minus);
            mask-repeat: no-repeat;
            mask-size: calc(10 / 390 * 100vw) calc(10 / 390 * 100vw);
            mask-position: center;
            background-color: #333333;
            width: calc(20 / 390 * 100vw);
            height: auto;
            display: block;
            margin: 0 0 0 auto;
        }

        &>li>.uk-accordion-title[aria-expanded="false"]::after {
            mask-image: var(--rs-svg-plus);
            aspect-ratio: var(--rs-ar-plus);
        }
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion .rs-detail-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        padding: calc(20 / 390 * 100vw) 0;
        background-color: #F7F7F7;
        position: relative;

        &+.rs-detail-wrapper::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            border-bottom: 1px solid #E3E3E3;
            width: 100%;
            height: 1px;
            display: block;
        }

        &>* {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        &>.rs-detail-name {
            width: 100%;
            font-size: var(--rs-fs-13);
            font-weight: var(--rs-fw-medium);
            color: var(--color-red);
            padding: 0 var(--rs-px);
            flex-shrink: 1;
            margin: 0 0 calc(5 / 390 * 100vw) 0;
        }

        &>.rs-detail-addr {
            width: calc(217 / 390 * 100vw);
            font-size: var(--rs-fs-12);
            font-weight: var(--rs-fw-regular);
            position: relative;
            padding-left: var(--rs-px);
            flex-shrink: 0;
        }

        &>.rs-detail-map-wrapper {
            width: auto;
            flex-grow: 1;
            position: relative;
            padding-right: var(--rs-px);
            align-self: end;
        }

        & .rs-detail-map {
            font-size: var(--rs-fs-12);
            font-weight: var(--rs-fw-regular);
            text-decoration: underline;
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 0 calc(7 / 390 * 100vw);
        }

        & .rs-detail-map::after {
            content: '';
            background-image: var(--rs-svg-copy);
            background-repeat: no-repeat;
            background-size: contain;
            width: calc(11 / 390 * 100vw);
            height: auto;
            aspect-ratio: var(--rs-ar-copy);
            display: block;
        }
    }
}