*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

html {
    font-size: 2.0833333333vw;
    @media screen and (min-width: 768px) {
        font-size: 62.5%;
    }
}

body {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: 100%;
    color: #202020;
}

:where(img) {
    max-width: 100%;
    height: auto;
}

:where(ul),
:where(li) {
    list-style: none;
    margin: 0;
    padding: 0;
}

.l-root {
    height: 100vh;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 3rem;
}

.l-header {
    display: grid;
    text-align: center;
    border-bottom: 1px solid #ddd;

    .l-header-heading {
        font-size: 2.7rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 1.4rem 0;
        a {
            text-decoration: none;

        }

        &::before {
            content: '';
            width: 12rem;
            height: 6rem;
            align-items: center;
            background: url(https://www.tokusawaen.com/wp-content/uploads/2022/01/HeaderLogo.png?1721380175) no-repeat center center / contain;
        }
    }
}

.gnav {
    display: grid;
    border-top: 1px solid #ddd;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem 0;
    background: #fafafa;
    @media screen and (min-width: 768px) {
        grid-template-columns: inherit;
        grid-auto-flow: column;
        padding: 0;
    }
    .gnav-item {
        text-decoration: none;
        color: #808080;
        font-weight: bold;
        font-size: 1.8rem;
        position: relative;
        padding: 1.0rem 2.0rem;
        transition: .3s opacity ease;
        &:hover {
            opacity: .7;
        }
        @media screen and (min-width: 768px) {
            padding: 1.5rem 3.0rem;
        }


        &.--current {
            color: dodgerblue;

            @media screen and (min-width: 768px) {
                &::after {
                    content: '';
                    width: 100%;
                    height: 1px;
                    background: dodgerblue;
                    display: block;
                    position: absolute;
                    bottom: -1px;
                    left: 50%;
                    transform: translateX(-50%);
                }
            }

        }

    }
}

.l-main {


    .l-main-inner {
        display: grid;
        gap: 5rem;
    }

    .l-section {
        display: grid;
        grid-template-columns: min(90%, 1024px);
        justify-content: center;

        @media screen and (min-width: 768px) {
            padding: 0 3rem;
        }
    }
}

.l-footer {
    padding: 3rem 3rem 8rem;

    .copy {
        color: #808080;
        font-size: 1.4rem;
    }
}

.heading-group {

    margin-bottom: 3rem;
}

.heading-lv1 {

    font-size: 3.8rem;
    padding-top: 3rem;
    margin-bottom: .5em;
}

.heading-lv2 {

    font-size: 2.8rem;
    margin: 1em 0;
    text-align: center;
}

.attention-text {
    color: #F00;
    margin-top: 3rem;
}

.hanrei-list {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 5rem;
    flex-wrap: wrap;
    @media screen and (min-width: 768px) {
        justify-content: center;
    }

    + * {
        margin-top: 3rem;
    }

    .hanrei-item {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        @media screen and (min-width: 768px) {
            width: auto;
        }
        gap: 1rem;
        font-weight: bold;
        font-size: 1.4rem;
        span {
            width: 2.0em;
            height: 2.0em;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.0rem;
            font-weight: bold;
            background: #ddd;
            border-radius: .5rem;
            color: #fff;

            &.--s1 {
                background: dodgerblue;
            }

            &.--s2 {
                background: deepskyblue;
            }

            &.--s3 {
                background: #bfa46f;
                /* color: #5a544b; */
            }

            &.--s4 {
                background: lightslategray;
                color: #ddd;
            }
        }

        @media screen and (min-width: 768px) {
            .test {
                color: pink;
            }
        }

    }
}

.calendar-ym {
    display: grid;
    gap: 1rem;
    grid-auto-flow: column;
    justify-content: center;
    align-items: baseline;
    + * {
        margin-top: .5em;
    }
    .y {
        color: #aaa;
    }
    .m {
        font-size: 2em;
    }
}

.calendar-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;

    .calendar-item {
        table {
            width: 100%;
            border: 1px solid #aaa;
            border-collapse: collapse;
            table-layout: fixed;

            th {
                background: #efefef;
            }

            thead {
                th, td {
                    background: #ddd;
                }
                th {
                    font-size: 2.0rem;
                }
            }

            th, td {
                border: 1px solid #aaa;
                text-align: center;
                padding: .8rem 1.0rem;
            }

            td {
                font-size: 2.0rem;
                vertical-align: top;
                &:empty {
                    background: #efefef;
                }
                select {
                    font-size: 2rem;
                    font-weight: bold;
                }
                &.disable {
                    background: #efefef;
                    color: #aaa;
                }

                &.sat {
                    color: #007bff;
                }

                &.sun {
                    color: #dc3545;
                }

                .sicon {
                    width: 1.6em;
                    height: 1.6em;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 2.0rem;
                    font-weight: bold;
                    background: #ddd;
                    border-radius: .5rem;
                    color: #fff;
                    margin: auto;
        
                    &.--s1 {
                        background: dodgerblue;
                    }
        
                    &.--s2 {
                        background: deepskyblue;
                    }
        
                    &.--s3 {
                        background: #bfa46f;
                        /* color: #5a544b; */
                    }
        
                    &.--s4 {
                        background: lightslategray;
                        color: #ddd;
                    }
                }
            }
        }
    }
}

.contact-wrapper {

    .contact-attention {
        border: 3px solid #F00;
        background: #F00;
        color: #fff;
        font-size: 1.8rem;
        font-weight: bold;
        padding: 1em .5em;
        border-radius: 8px;
        position: relative;

        &::after {
            content: '';
            border: 3rem solid transparent;
            border-top: 3rem solid #F00;
            display: block;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translate(-50%, 100%);
        }
        + * {
            margin-top: 2rem;
        }
    }

    .contact-phone {
        border: 3px solid #303030;
        border-radius: 8px;

        dt {
            background: #303030;
            color: #fff;
            font-size: 2.6rem;
            font-weight: bold;
            padding: .8em 1em;
        }

        dd {
            padding: 2em 1em;

            .number {
                font-size: 4.2rem;
                font-weight: bold;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 1rem;

                &::before {
                    content: '';
                    width: 4.8rem;
                    height: 4.8rem;
                    display: block;
                    background: url(../img/ic_phone.svg) no-repeat center center / contain;
                }
            }

            .biztime {
                font-size: 2.0rem;
                color: #808080;
            }
        }
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;

    .gallery-item {
        text-align: center;
        
        figure {
            img {
                display: block;
                margin: auto;
            }
        }

        dl {
            text-align: left;
            margin-top: 1.8rem;
            dt {
                font-weight: bold;
                font-size: 1.8rem;
                color: #404040;
            }

            dd {
                color: #808080;
                font-size: 1.4rem;
                margin-top: .4rem;
            }
        }
    }



}

.gallery-text {
    font-weight: bold;
    margin-bottom: 3rem;
}

.room-attention {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.room-attention2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #808080;
    margin-bottom: 3rem;
}

.room-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;

    .room-item {
        a {
            width: 100%;
            height: auto;

            font-size: 2.0rem;
            font-weight: bold;
            text-decoration: none;
            transition: .3s opacity ease;

            &:hover {
                opacity: .7;
            }
            &::before {
                content: '';
                width: 100%;
                height: 0;
                padding-top: 75%;
                position: relative;
                display: block;
            }

            span {
                padding: 2rem;
                display: block;
            }

        }
        border: 1px solid #ddd;
        border-radius: 5px;



        &.--r1 {
            a {
                &::before {
                    background: url(https://www.tokusawaen.com/wp-content/uploads/2022/01/Aibeya2.jpg) no-repeat center center / cover;
                }
            }
        }

        &.--r2 {
            a {
                &::before {
                    background: url(https://www.tokusawaen.com/wp-content/uploads/2022/01/Washitsu1.jpg) no-repeat center center / cover;
                }
            }
        }

        &.--r3 {
            a {
                &::before {
                    background: url(https://www.tokusawaen.com/wp-content/uploads/2022/01/YoshitsuA1.jpg) no-repeat center center / cover;
                }
            }
        }

        &.--r4 {
            a {
                &::before {
                    background: url(https://www.tokusawaen.com/wp-content/uploads/2022/01/YoshitsuB1.jpg) no-repeat center center / cover;
                }
            }
        }

        &.--r5 {
            a {
                &::before {
                    background: url(https://www.tokusawaen.com/wp-content/uploads/2024/05/Concept_Harunire2.jpg) no-repeat center center / cover;
                }
            }
        }
    }
}

.updated {
    font-weight: bold;
    font-size: 2.0rem;
    display: flex;
    justify-content: center;
    gap: 1.0rem;

    &::before {
        content: '';
        width: 2.8rem;
        height: 2.8rem;
        display: block;
        background: url(../img/ic_time.svg) no-repeat center center / contain;

    }
}

.message-empty {
    width: 100%;
    color: #808080;
    font-weight: bold;
    font-size: 2.0rem;
    /* border: 2px solid #808080;
    padding: 1.2rem 3rem;
    border-radius: .6rem; */
}