﻿@charset "UTF-8";
/*-- キャンペーンバナー非表示 --*/
@media all {
    body:has(#fp-contents-wrap) #campaign-banner {
        display: none !important;
    }
}

/*-- 共通 --*/
@media all {

    :root {
        --rs-px: 2rem;
    }

    :is(a, [type="button"]) {
        transition: opacity 0.3s;
    }

    button {
        border: none;
    }

    html:has(body.page-contentspages) {
        scroll-padding-top: 0;
        scroll-behavior: smooth;
    }

    #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;
        padding-bottom: 10rem;
    }

    #fp-contents-wrap .rs-hospital-layout {
        max-width: calc(var(--rs-container-w) + var(--rs-px) * 2);
        margin: 4rem auto 0;
        display: block;
        padding: 0 var(--rs-px);
    }

    #fp-contents-wrap .pane-topic-path>.container {
        width: auto;
        max-width: calc(1280px + 40px);
        padding: 0 20px;
    }
}

/*-- 共通--*/
@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 3.5rem 0;
        }

        & .rs-header .rs-note {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-medium);
            display: flex;
            flex-direction: column;
            gap: 1.5rem 0;
        }

        & .rs-header .rs-link a {
            text-decoration: underline;
        }

    }

}

/*-- 上部 --*/
@media all {
    #fp-contents-wrap .rs-top-area {
        padding: 0 var(--rs-px) calc(100 / 1280 * 100cqw);
        background-color: var(--rs-color-ivory);
    }

    #fp-contents-wrap .rs-top-area-flex {
        display: flex;
        align-items: stretch;
        gap: 0 6rem;
        margin: 0 auto 6rem;
        max-width: var(--rs-container-w);
        container-type: inline-size;
    }

    #fp-contents-wrap .rs-top-area .rs-left {
        padding-left: var(--rs-px);
        padding-top: calc(100 / 1280 * 100cqw);
        flex-grow: 1;

        & .rs-text-1 {
            font-size: var(--rs-fs-38);
            font-weight: var(--rs-fw-bold);
            color: var(--color-red);
            margin-bottom: 3rem;
        }

        & .rs-text-2 {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-bold);
            margin-bottom: 2rem;
        }

        & .rs-text-3 {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-regular);
            color: #656565;
            margin-bottom: 0.6rem;
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0 0.5rem;
        }

        & .rs-text-4 {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-regular);
            color: #656565;
            margin-bottom: 1.5rem;
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0 0.5rem;
        }

        & .rs-to-store-link {
            background-color: #333333;
            font-size: var(--rs-fs-18);
            font-weight: var(--rs-fw-medium);
            width: calc(390 / 1280 * 100cqw);
            height: auto;
            aspect-ratio: 390 / 65;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            border: none;
        }

        & .rs-to-store-link:hover {
            background-color: var(--rs-color-ivory);
            border: 1px solid #333333;
            color: #333333;
        }

        & .rs-link {
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-medium);
        }

        & .rs-link a {
            text-decoration: underline;
        }
    }


}

/*-- 日本地図 --*/
@media all {
    #fp-contents-wrap .rs-top-area .rs-right {
        max-width: 72.3rem;
        flex-grow: 1;
        text-align: right;
        background-color: #F7F7F7;
        width: calc(723 / 1280 * 100cqw);
        flex-shrink: 0;

        & .rs-jpn-wrapper {
            width: 100%;
            padding-top: calc(74 / 1280 * 100cqw);
            position: relative;
            container-type: inline-size;
        }

        & .rs-jpn-wrapper .rs-image-items {
            position: static;
        }

        & .rs-jpn-wrapper .rs-image-items picture img {
            width: 100%;
        }

        & .rs-jpn-wrapper .rs-image-items picture {
            display: block;
            width: calc(497.56 / 723 * 100cqw);
            height: auto;
            max-width: 49.76rem;
        }

        & .rs-jpn-wrapper .rs-icon-items>* {
            position: absolute;
            background-color: #fff;
            width: 13.5rem;
            height: 4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: var(--rs-fs-15);
            font-weight: var(--rs-fw-regular);
            border-radius: 0.5rem;
            gap: 0 1rem;
        }

        & .rs-jpn-wrapper .rs-icon-items>*:hover {
            border: 1px solid var(--color-red);
            background-color: transparent;
            outline: none;
        }

        & .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: 0.8rem;
            height: auto;
        }

        & .rs-jpn-wrapper .rs-image-items>* {
            position: absolute;
        }

        & .rs-jpn-wrapper .rs-image-items picture {
            top: calc(74 / 723 * 100cqw);
            left: calc(166 / 723 * 100cqw);
        }

        & .rs-jpn-wrapper:has([data-rs-hover]:hover) .rs-jpn-normal,
        & .rs-jpn-wrapper:has([href*="#area"]:hover) .rs-jpn-normal {
            display: none;
        }

        & .rs-jpn-wrapper .rs-image-items>picture[class*="area"] {
            display: none;
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-hok-tou"] {
            width: calc(223 / 723 * 100cqw);
            height: calc(252 / 723 * 100cqw);
            top: calc(74 / 723 * 100cqw);
            left: calc(440.5 / 723 * 100cqw);
        }

        &:has([href="#area-hok-tou"]:hover) picture[class*="area-hok-tou"],
        &:has([data-rs-hover="area-hok-tou"]:hover) picture[class*="area-hok-tou"] {
            display: block;
        }

        & .rs-icon-items [href="#area-hok-tou"] {
            top: calc(183 / 723 * 100cqw);
            left: calc(588 / 723 * 100cqw);
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-kan"] {
            width: calc(78.35 / 723 * 100cqw);
            height: calc(94.55 / 723 * 100cqw);
            top: calc(318.8 / 723 * 100cqw);
            left: calc(410.5 / 723 * 100cqw);
        }

        &:has([href="#area-kan"]:hover) picture[class*="area-kan"],
        &:has([data-rs-hover="area-kan"]:hover) picture[class*="area-kan"] {
            display: block;
        }

        & .rs-icon-items [href="#area-kan"] {
            top: calc(368 / 723 * 100cqw);
            left: calc(515 / 723 * 100cqw);
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-hok-chu"] {
            width: calc(113.28 / 723 * 100cqw);
            height: calc(132.94 / 723 * 100cqw);
            top: calc(318.8 / 723 * 100cqw);
            left: calc(335.7 / 723 * 100cqw);
        }

        &:has([href="#area-hok-chu"]:hover) picture[class*="area-hok-chu"],
        &:has([data-rs-hover="area-hok-chu"]:hover) picture[class*="area-hok-chu"] {
            display: block;
        }

        & .rs-icon-items [href="#area-hok-chu"] {
            top: calc(232 / 723 * 100cqw);
            left: calc(275 / 723 * 100cqw);
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-kin"] {
            width: calc(58.38 / 723 * 100cqw);
            height: calc(70.55 / 723 * 100cqw);
            top: calc(390.8 / 723 * 100cqw);
            left: calc(300.8 / 723 * 100cqw);
        }

        &:has([href="#area-kin"]:hover) picture[class*="area-kin"],
        &:has([data-rs-hover="area-kin"]:hover) picture[class*="area-kin"] {
            display: block;
        }

        & .rs-icon-items [href="#area-kin"] {
            top: calc(466 / 723 * 100cqw);
            left: calc(375 / 723 * 100cqw);
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-chu-shi"] {
            width: calc(108.3 / 723 * 100cqw);
            height: calc(84.95 / 723 * 100cqw);
            top: calc(395.6 / 723 * 100cqw);
            left: calc(205.9 / 723 * 100cqw);
        }

        &:has([href="#area-chu-shi"]:hover) picture[class*="area-chu-shi"],
        &:has([data-rs-hover="area-chu-shi"]:hover) picture[class*="area-chu-shi"] {
            display: block;
        }

        & .rs-icon-items [href="#area-chu-shi"] {
            top: calc(336 / 723 * 100cqw);
            left: calc(119 / 723 * 100cqw);
        }
    }

    #fp-contents-wrap .rs-top-area .rs-right .rs-jpn-wrapper {
        & [data-rs-hover="area-kyu-oki"] {
            width: calc(68.37 / 723 * 100cqw);
            height: calc(113.74 / 723 * 100cqw);
            top: calc(438.8 / 723 * 100cqw);
            left: calc(166 / 723 * 100cqw);
        }

        &:has([href="#area-kyu-oki"]:hover) picture[class*="area-kyu-oki"],
        &:has([data-rs-hover="area-kyu-oki"]:hover) picture[class*="area-kyu-oki"] {
            display: block;
        }

        & .rs-icon-items [href="#area-kyu-oki"] {
            top: calc(466 / 723 * 100cqw);
            left: calc(0 / 723 * 100cqw);
        }
    }
}

/*-- アコーディオン --*/
@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 1rem;

        & .rs-name {
            font-size: inherit;
            font-weight: inherit;
        }

        & .rs-slash {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            position: relative;
            color: #C6C6C6;
            top: 0.4rem;
        }

        & .rs-count {
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            position: relative;
            color: #333333;
            top: 0.4rem;
        }
    }

    #fp-contents-wrap .rs-hospital-layout .uk-accordion.rs-level-1 {

        &>li>.uk-accordion-title {
            font-size: var(--rs-fs-25);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: 3rem 3rem;
            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: 1.2rem auto;
            background-color: var(--color-red);
            background-position: center;
            border-radius: 50%;
            width: 3rem;
            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-20);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: 2.4rem 3rem 2.4rem 4rem;
            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: 1.2rem 1.2rem;
            mask-position: center;
            background-color: #333333;
            width: 3rem;
            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-20);
            font-weight: var(--rs-fw-medium);
            background-color: #fff;
            padding: 2.4rem 3rem 2.4rem 5rem;
            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: 1.2rem 1.2rem;
            mask-position: center;
            background-color: #333333;
            width: 3rem;
            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;
        align-items: stretch;
        padding: 2.4rem 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: calc(730 / 1280 * 100%);
            font-size: var(--rs-fs-16);
            font-weight: var(--rs-fw-medium);
            color: var(--color-red);
            padding: 0 4rem 0 5rem;
            flex-shrink: 1;
        }

        &>.rs-detail-addr {
            width: calc(330 / 1280 * 100%);
            font-size: var(--rs-fs-14);
            font-weight: var(--rs-fw-regular);
            position: relative;
            padding: 0 4rem;
            flex-shrink: 0;
        }

        &>.rs-detail-map-wrapper {
            width: auto;
            flex-grow: 1;
            position: relative;
            padding: 0 4rem;
            flex-shrink: 0
        }

        &>.rs-detail-map-wrapper::before,
        &>.rs-detail-addr::before {
            content: '';
            background-color: #E3E3E3;
            width: 1px;
            height: 5.6rem;
            position: absolute;
            top: 50%;
            left: 0;
            translate: 0 -50%;
            display: block;
        }

        & .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 0.7rem;
        }

        & .rs-detail-map::after {
            content: '';
            background-image: var(--rs-svg-copy);
            background-repeat: no-repeat;
            background-size: contain;
            width: 1.1rem;
            height: auto;
            aspect-ratio: var(--rs-ar-copy);
            display: block;
        }
    }
}