@charset "utf-8";

#main {
    padding: 70px 0 130px 0;
    @media (width <= 999px) {
        padding: 0 0 60px 0;
    }
}

.page-mainimage {
    margin-bottom: 150px;
    @media (width <= 999px) {
        margin-bottom: 75px;
    }
}

.page-contents {
    margin-bottom: 150px;
    @media (width <= 999px) {
        margin-bottom: 75px;
    }
    h2 {
        text-align: left;
        color: var(--color-main);
        letter-spacing: 10px;
    }
}

/* ご利用基準 */
.use-box {
    background: var(--color-main-thin);
    margin-bottom: 150px;
    text-align: center;
    @media (width <= 999px) {
        margin-bottom: 75px;
    }
    .use-box_name {
        padding: 25px;
        font-size: 2.7rem;
        @media (width <= 999px) {
            font-size: 2.0rem;
        }
        span {
            color: var(--color-main);
            @media (width <= 999px) {
                display: block;
            }
        }
    }
    .use-box_title {
        background: var(--color-main);
        padding: 15px 15px 16px 15px;
        font-size: 3rem;
        color: #fff;
        letter-spacing: 15px;
        line-height: 1;
        @media (width <= 999px) {
            font-size: 2.0rem;
        }
    }
    .use-box_content {
        padding: 40px 25px 70px 25px;
        font-size: 2rem;
        @media (width <= 999px) {
            padding: 40px 25px 10px 25px;
            font-size: 1.6rem;
        }
    }
    .use-box_text-list {
        margin-top: 50px;
        font-size: 2.4rem;
        display: inline-block;
        @media (width <= 999px) {
            font-size: 1.6rem;
        }
        li {
            list-style: none!important;
            border-bottom: 2px dashed var(--color-main);
            margin: 0 0 10px 0!important;
            padding: 0 20px 10px 20px;
            &::before {
                display: none;
            }
        }
    }
    .inquiry-button {
        a {
            img {
                border-radius: 30px!important;
                box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.3);
            } 
        }
    }
}
.use-box.simple {
    background: unset;
    margin-bottom: 0;
    .use-box_content {
        padding: 0;
    }
}

/* ------------------------------------------------------- */
/* ショートステイ */
/* ------------------------------------------------------- */

/* 空き状況 */
.tel {
    font-family: var(--font-kaku900);
    font-weight: 900;
    font-size: 5.2rem;
    color: var(--color-main);
    line-height: 1;
        @media (width <= 999px) {
            font-size: 3.0rem;
        }
    a {
        font-size: 6.2rem;
        color: var(--color-main);
        @media (width <= 999px) {
            font-size: 4.0rem;
        }
    }
}

.status {
    margin-bottom: 150px;
    .status-contact {
        width: 680px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 120px auto;
        @media (width <= 999px) {
            width: 100%;
            display: block;
            margin: 0 auto 60px auto;
        }
        .status-contact_mark {
            width: 150px;
            margin-right: 40px;
            @media (width <= 999px) {
                width: 100%;
            }
            img {
                @media (width <= 999px) {
                    display: none;
                }
            }
        }
        .status-contact_info {
            width: calc(100% - 40px - 150px);
            @media (width <= 999px) {
                width: 100%;
            }
            .status-contact_info-text {
                text-align: center;
            }
            .status-contact_info-tel {
                
            }
        }
    }
}

/* ------------------------------------------------------- */
/* デイサービスセンター */
/* ------------------------------------------------------- */

/* シャリティエまえばしの一日 */
.day-list {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 35px 0;
    @media (width <= 999px) {
        grid-template-columns: 1fr;
        gap: 15px 0;
    }
    dt {
        font-size: 2.5rem;
        color: var(--color-main);
        @media (width <= 999px) {
            font-size: 1.8rem;
        }
    }
    dd {
        .day-list_title {
            font-size: 2.5rem;
            color: var(--color-main);
            @media (width <= 999px) {
                font-size: 1.8rem;
            }
        }
        p:last-child {
            margin-bottom: 0!important;
        }
    }
}
.blog-banner {
    text-align: center;
}

/* ------------------------------------------------------- */
/* 居宅介護支援事業所 */
/* ------------------------------------------------------- */

.work-list_flex {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    @media (width <= 999px) {
        grid-template-columns: 1fr;
    }
    .work-list_flex-text {
    }
    .work-list_flex-photo {
        @media (width <= 999px) {
            margin-bottom: 50px;
        }
        img {
            border-radius: 500px!important;
            width: 100%;
            height: auto;
        }
    }
}
.work-list_flex.revers_order {
    grid-template-columns: 340px 1fr;
    @media (width <= 999px) {
        grid-template-columns: 1fr;
    }
    .work-list_flex-text {
        order: 2;
        @media (width <= 999px) {
            order: 1;
        }
    }
    .work-list_flex-photo {
        order: 1;
        @media (width <= 999px) {
            order: 2;
        }
    }
}
.check-point {
    background: #fff;
    border: 1px solid var(--color-main);
    margin-bottom: 30px;
    padding: 8px 15px 10px 15px;
    color: var(--color-main);
    text-decoration: none;
    display: inline-block;
}
.list-link {
    margin-bottom: 100px;
    @media (width <= 999px) {
        margin-bottom: 50px;
    }
    span {
        background: var(--color-main);
        border-radius: 5px;
        margin-right: 18px;
        padding: 1px 5px 3px 9px;
        color: #fff;
        letter-spacing: 0;
        position: relative;
        &::after {
            background-color: var(--color-main);
            clip-path: polygon(0 0, 100% 50%, 0 100%);
            content: "";
            width: 15px;
            height: 10px;
            position: absolute;
            z-index: 1;
            top: 10px;
            right: -15px;
        }
    }
    a {
        display: inline-block;
        text-decoration: none;
        position: relative;
        color: var(--color-main);
        font-size: 2.2rem;
        font-weight: bold;
        text-decoration-color: #fff462;
        text-decoration-line: underline;
        text-decoration-thickness: 10px;
        text-underline-offset: -5px;
        &:hover {
            text-decoration-color: var(--color-main-thin);
        }
    }
}
.service-list {
    margin: 0!important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    @media (width <= 999px) {
        grid-template-columns: repeat(1, 1fr);
    }
    gap: 25px;
    li {
        list-style: none!important;
        border-radius: 10px;
        border: 1px solid var(--color-main);
        margin: 0!important;
        padding: 20px;
        text-align: center;
        div {
            height: 75px;
            margin-bottom: 10px;
            font-size: 2.2rem;
            font-weight: bold;
            color: var(--color-main);
        }
        p {
            margin-bottom: 0!important;
        }
        span {
            margin-top: 10px;
            display: block;
            font-size: 1.4rem;
        }
        &::before {
            display: none;
        }
    }
}

/* ------------------------------------------------------- */
/* ショートステイ、デイサービスセンター、特別養護老人ホーム、料金表 */
/* ------------------------------------------------------- */

#price {
    .price_title {
        border-bottom: 1px solid #ccc;
        margin-bottom: 30px;
        padding-bottom: 15px;
        font-size: 1.8rem;
        color: var(--color-main);
    }
    #yokaigo-list, #futandankai-list {
        ul {
            display: flex;
            gap: 20px;
            @media (width <= 999px) {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 5px 20px;
            }
            li {
                width: 185px;
                padding-left: 0;
                @media (width <= 999px) {
                    width: unset;
                }
                &::before {
                    display: none;
                }
                a {
                    background: #ffe;
                    border: 1px solid #ccc;
                    border-radius: 10px;
                    padding: 15px 25px;
                    text-align: center;
                    text-decoration: none;
                    line-height: 1;
                    color: #000;
                    display: block;
                    &.on {
                        background: var(--color-main);
                        color: #fff;
                    }
                }
                span {
                    font-size: 1.3rem;
                    display: block;
                    text-align: center;
                }
            }
        }
    }
    #price-table {
        width: 650px;
        @media (width <= 999px) {
            width: 100%;
        }
        td {
            text-align: right;
        }
    }
}

/* ------------------------------------------------------- */
/* 概要 */
/* ------------------------------------------------------- */

.greeting-contents {
    .greeting-box {
        display: grid;
        grid-template-columns: 400px 1fr;
        @media (width <= 999px) {
            grid-template-columns: 1fr;
            gap: 25px;
        }
        .greeting-box_photo {
            padding: 0 70px;
            img {
                border-radius: 0!important;
            }
        }
        .greeting-box_text {
            .greeting-box_text-name {
                text-align: right;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                @media (width <= 999px) {
                    justify-content: center;
                }
                img {
                    margin-left: 20px;
                }
            }
        }
    }
}
.rinen-contents {
    img {
        border-radius: 0!important;
    }
}
.facility-contents {
    .facility-contents_block {
        margin-bottom: 70px;
        padding: 0 60px;
        display: flex;
        gap: 60px;
        @media (width <= 999px) {
            padding: 0;
            display: block;
        }
        .facility-contents_block-photo {
            width: 350px;
            @media (width <= 999px) {
                width: 100%;
                margin-bottom: 25px;
            }
        }
        .facility-contents_block-text {
            width: calc(100% - 350px);
            @media (width <= 999px) {
                width: 100%;
            }
            ul {
                li {
                    display: grid;
                    grid-template-columns: 260px 1fr;
                    @media (width <= 999px) {
                        grid-template-columns: 1fr;
                    }
                }
            }
            dl {
                margin-bottom: 20px;
                display: grid;
                grid-template-columns: 160px 1fr;
                @media (width <= 999px) {
                    grid-template-columns: 1fr;
                }
                dt {
                    color: var(--color-main);
                }
            }
        }
    }
    .facility-contents_block.revers_order {
        .facility-contents_block-photo {
            order: 2;
            display: flex;
            align-items: flex-end;
            @media (width <= 999px) {
                order: 1;
                display: block;
            }
        }
        .facility-contents_block-text {
            order: 1;
            @media (width <= 999px) {
                order: 2;
            }
        }
    }
}
.data-contents {
    .overview_filelist {
        list-style: none!important;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        @media (width <= 999px) {
            grid-template-columns: 1fr;
        }
        gap: 35px 25px;
        li {
            margin: 0;
            padding: 0;
            &::before {
                display: none;
            }
            a {
                background: #fff;
                border: 2px solid #000;
                border-radius: 500px;
                padding: 8px 10px 10px 10px;
                color: #000;
                text-decoration: none;
                display: block;
                text-align: center;
                font-size: 1.5rem;
                &:hover {
                    background: #000;
                    color: #fff;
                }
            }
        }
    }
}
.map-contents {
    .floor-map {
        padding: 0 160px;
        display: grid;
        grid-template-columns: 280px 1fr;
        @media (width <= 999px) {
            padding: 0;
            grid-template-columns: 1fr;
        }
    }
}
.member-contents {
    
}
.rinen-contents, .member-contents {
    .overview-box {
        padding: 0 35px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        @media (width <= 999px) {
            padding: 0;
            grid-template-columns: 1fr;
        }
        .overview-box_block {
            border: 1px solid var(--color-main);
            border-radius: 20px;
            text-align: center;
            .overview-box_header {
                background: var(--color-main);
                border-radius: 20px 20px 0 0;
                padding: 6px 10px 10px 10px;
                font-size: 2.6rem;
                color: #fff;
            }
            .overview-box_text {
                padding: 25px;
                color: var(--color-main);
                @media (width <= 999px) {
                    font-size: 1.5rem;
                }
            }
        }
    }
}

/* ------------------------------------------------------- */
/* アクセス方法 */
/* ------------------------------------------------------- */

.googlemap {
    width: 100%;
    height: 600px;
    overflow: hidden;
    iframe {
        width: 100%;
        height: calc(100% + 600px);
        margin-top: -300px;
    }
}
.access-contents_block {
    dl {
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: 160px 1fr;
        @media (width <= 999px) {
            grid-template-columns: 1fr;
        }
        dt {
            color: var(--color-main);
        }
    }
}

/* ------------------------------------------------------- */
/* 個人情報について */
/* ------------------------------------------------------- */

.privacy-list {
    li {
        margin-bottom: 25px!important;
        padding-bottom: 15px;
        position: relative;
        &::after {
            background-image: linear-gradient(to right, #999 2px, transparent 2px);
            background-size: 6px 1px;
            background-repeat: repeat-x;
            background-position: left bottom;
            content: "";
            width: calc(100% + 30px);
            height: 1px;
            display: block;
            position: absolute;
            bottom: 0;
            left: -30px;
        }
    }
}