@charset "utf-8";

/* * {
    outline: 2px solid red;
} */

.shippori-mincho-regular {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

.shippori-mincho-medium {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-style: normal;
}

.shippori-mincho-bold {
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
}


html,
body {
    font-family: "Shippori Mincho";
    line-height: 1.5;
    letter-spacing: .1rem;
    color: #4D4D4D;
}


.bg {
    width: 100%;
    height: 100vh;
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: -9999;
}

h2 {
    font-size: 3.2rem;
    font-weight: 500;
    color: #C69C6D;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin: 0 auto 20px 0;
    border-right: 1px solid #C69C6D;
    line-height: 2;
    letter-spacing: .1rem;
}

h3 {
    font-size: 2.4rem;
    color: #C69C6D;
}

h4 {
    font-size: 2rem;
    font-weight: 900;
    background-color: rgba(198, 156, 109, .2);
    border-left: 20px solid #C69C6D;
    line-height: 2;
    padding: 0 0 0 20px;
    color: #C69C6D;
}

h5,
dt {
    font-size: 1.6rem;
}

h6 {
    font-size: 1.4rem;
}

p {
    font-size: 1.4rem;
    line-height: 1.5;
}

section {
    margin: 0 auto 10%;
    padding: 15% 5% 0;
}

a {
    color: #4D4D4D;
}

small {
    font-size: 1.2rem;
    letter-spacing: 0;

    br {
        @media screen and (max-width : 768px) {
            display: none;
        }
    }
}

.tel {
    display: inline;
}


header {
    padding: 5px 5%;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, .5);
    display: flex;
    justify-content: space-between;
    align-items: center;

    h1 {
        width: 100px;
    }

    /* hbgmenu */
    .nav__btn {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: end;
        gap: 10px;
        margin: auto;
        padding: 5px;

        span {
            width: 1px;
            height: 30px;
            background-color: #C69C6D;
            transition: 400ms;
        }

        span:nth-of-type(2) {
            height: 35px;
        }

    }

    .nav__btn:hover {
        span:first-of-type {
            transform: translateX(-2px) rotate(-15deg);
        }

        span:last-of-type {
            transform: translateX(2px) rotate(15deg);
        }

        cursor: pointer;

    }

    #nav__trigger {
        display: none;
    }

    #nav__trigger:checked~.nav__btn {
        span:first-of-type {
            transform: translateX(5px) rotate(35deg);
            height: 40px;
        }

        span:nth-of-type(2) {
            height: 20px;
            transform: translateY(-20px) rotate(90deg);
        }

        span:last-of-type {
            transform: translateX(-5px) rotate(-35deg);
            height: 40px;
        }
    }

    #nav__trigger:checked .header {
        background-color: #fff;
    }

    .online_btn-sp {
        margin: 0 0 0 60px;

        a {
            display: block;
            width: 40px;
            height: 40px;
            background-color: #C69C6D;
            text-align: center;
            padding: 6px;
        }
    }

    .online_btn-sp:hover {
        a {
            background-color: rgba(255, 255, 255, .5);
        }

        .logo_path {
            stroke: #C69C6D;
            fill: #C69C6D;
        }

        .online_logo {
            stroke: #C69C6D;
        }
    }

    .online_btn-pc {
        display: none;
    }


    .menu {
        width: 100%;
        position: fixed;
        top: 57px;
        left: 100%;
        transition: left 1000ms;

        /* z-index: 0; */
        .menu__wrapper {
            width: 100%;
            height: 100vh;
            padding: 0 10%;
            background-color: rgba(255, 255, 255, .5);
            background-image: url(../images/bg.jpg);
            background-position: top;
            background-size: cover;

            .menu__nav {
                display: flex;
                justify-content: flex-start;
                flex-direction: column;
                padding: 10% 0;

                li {
                    border-bottom: 1px solid rgba(255, 255, 255, 0);

                    a {
                        font-size: 2.4rem;
                        color: #C69C6D;
                        line-height: 2;
                    }
                }

                li:hover {
                    border-bottom: 1px solid #C69C6D;

                    a {
                        /* font-weight: bold; */
                        color: #E3CDB6;
                    }
                }
            }

            .menu__infor {
                height: 200px;
                border-top: 1px solid #C69C6D;

                .menu__access {
                    font-size: 1.4rem;
                    line-height: 1.5;
                    color: #C69C6D;
                    padding: 30px 0 0;

                    li {
                        margin: 0 0 10px 0;

                        span {
                            font-weight: bold;
                            color: #C69C6D;
                        }

                        .icon {
                            fill: #fff;
                            stroke: #C69C6D;
                        }

                        .tel {
                            color: #C69C6D;
                        }
                    }
                }

                .access__sns {
                    display: flex;
                    justify-content: end;
                    align-items: end;
                    gap: 0 20px;

                    .snsicon {
                        fill: #C69C6D;
                    }
                }
            }
        }

        &.open {
            left: 0;
        }
    }

}

/* 升模様のあしらい */
div[class*='grid__title']::before,
div[class*='grid__title']::after,
.howto__intitle::before,
.howto__intitle::after {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 0;
    background-color: #fff;
    background-image: linear-gradient(45deg, #c69c6d 25%, transparent 25%, transparent 75%, #c69c6d 75%),
        linear-gradient(45deg, #c69c6d 25%, transparent 25%, transparent 75%, #c69c6d 75%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

div[class*='grid__title']::after,
.howto__intitle::after {
    top: initial;
    bottom: 0;
    right: 0;
}

/* ーーー */
/* footer */
footer {
    /* padding: min(5%, 2em); */
    background-color: #C69C6D;
    color: #fff;

    a {
        color: #fff;
    }
}

.footer__nav {
    padding: 5%;

    dl {
        min-width: 160px;

        dt {
            font-weight: bold;

            a::before {
                content: "■";
                display: inline-block;
                margin-right: 5px;
            }
        }

        dt:nth-of-type(2) {
            margin-top: 10px;
        }

        dd a::before {
            content: "･";
            display: inline-block;
            width: 10px;
            margin: 0 0 0 15px;
        }

        .min-list a::before {
            content: "";
            width: 5px;
            height: 1px;
            background-color: #fff;
            margin: 0 5px 0 25px;
            transform: translateY(-3px);
        }

        a {
            font-size: 1.4rem;
        }
    }

    dl:first-of-type {
        margin: 0 2em 0 0;
    }
}

.footer__info {
    max-width: 450px;
    padding: 5%;

    .footer__links {
        display: flex;
        flex-direction: column;
        gap: 5%;
        font-size: 1.6rem;
        line-height: 3;
        margin: -1rem 0 .7em 0;

        .footer__link {
            white-space: nowrap;
            width: 100%;
            border-bottom: 1px solid #fff;
        }

        .footer__link:hover {
            color: #E3CDB6;

            .linkicon {
                stroke: #E3CDB6;
            }
        }

    }

    .footer__access-wrp {
        display: flex;
        gap: 5%;

        .footer__access {
            /* margin: 15px 0 0; */
            display: flex;
            flex-direction: column;
            gap: 5%;
            font-size: 1.4rem;

            li {
                .icon {
                    fill: #fff;
                    stroke: #C69C6D;
                }
            }
        }

        .footer__sns {
            padding: 0 0 0 5%;
            border-left: 1px solid #fff;
            display: flex;
            flex-direction: column;
            gap: 5%;

            li {
                .snsicon {
                    fill: #fff;
                }
            }
        }
    }
}

footer small {
    padding: 5%;
    text-align: end;
}

@media screen and (min-width : 768px) {

    html,
    body {
        line-height: 1.8;
    }

    h2 {
        font-size: 4rem;
    }

    .header {
        height: 100vh;
        width: 100px;
        position: fixed;
        right: 0;
        left: auto;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        z-index: 9999;

        h1 {
            width: 40px;
            margin: 20px;
        }

        .menu {
            width: calc(100% - 100px);
            height: 100%;
            top: 0;
            background-color: rgba(255, 255, 255, .9);
            z-index: 0;

            .menu__wrapper {
                height: 500px;
                margin: calc((100vh - 500px) / 2) 100px calc((100vh - 500px) / 2) 0;
                border-top: 1px solid #C69C6D;
                border-bottom: 1px solid #C69C6D;
                /* display: flex;
                justify-content: center;
                align-items: baseline;
                flex-direction: row-reverse; */
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                position: relative;

                .menu__nav {
                    margin: 0 0 0 auto;
                    padding: 100px 0;
                    flex-direction: row-reverse;
                    gap: 10%;

                    li {
                        -ms-writing-mode: tb-rl;
                        writing-mode: vertical-rl;
                        border-right: 1px solid rgba(255, 255, 255, 0);

                        a {
                            letter-spacing: .1em;
                        }
                    }

                    li:hover {
                        border-bottom: 0;
                        border-right: 1px solid #C69C6D;
                    }
                }

                .menu__infor {
                    width: 250px;
                    position: absolute;
                    left: 10%;
                    bottom: 10%;
                }
            }
        }

        .online_btn-sp {
            display: none;
        }

        .online_btn-pc {
            width: 60px;
            height: 200px;
            background-color: #C69C6D;
            border: 1px solid transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;

            a {
                font-size: 2rem;
                line-height: 3;
                padding: 27px 0;
                color: #fff;
                -ms-writing-mode: tb-rl;
                writing-mode: vertical-rl;
                letter-spacing: .1em;
            }
        }

        .online_btn:hover {
            background-color: #fff;
            border: 1px solid #C69C6D;

            a {
                color: #C69C6D;

                .online_logo {
                    stroke: #C69C6D;

                    .logo_path {
                        stroke: #C69C6D;
                        fill: #C69C6D;
                    }
                }

            }
        }
    }

    main,
    footer {
        margin-right: 100px;
    }

    /* footer */
    footer {
        .footer__textarea {
            display: flex;
            align-items: start;
            justify-content: center;

            .footer__info {
                display: flex;
                justify-content: left;
                gap: 5% 10%;
                flex-wrap: wrap;

                .footer__links {
                    flex-direction: row;
                }
            }
        }

        .footer__nav {
            display: flex;
            flex-wrap: wrap;
        }

    }
}