@charset "UTF-8";

@import url(/css/reset.css);
@import url(/css/setting.css);
body{
    background: var(--colorBack);
    color: var(--colorB);
    font-family: var(--font01);
    font-size: 16px;
    font-optical-sizing: auto;
    line-height: 1.6em;
    width:100%;
    margin: 0 auto;
    padding:0;
    position: relative;
}
img{
    width:100%;
    pointer-events: none;
}
a{
    text-decoration:none;
}
.d-none{
    display: none;
}

.contents{
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

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

header{
    background: rgba(255,255,255,1);
    width: 100%;
    height: 72px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;

    .inner{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        h1 {
            position: relative;
            max-width: 320px;
            width: 20%;
            margin: 0 auto;

            a{
                display: block;

                img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
            }
        }
        ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            align-items: center;
            width: 80%;

            li{
                width: fit-content;
                padding: 0 20px;

                &.button{
                    a{
                        background: #F0DBB8;
                        background: linear-gradient(120deg, rgba(240, 219, 184, 1) 0%, rgba(174, 134, 49, 1) 100%);
                        box-shadow: 2px 2px 8px 0 #ccc;
                        border-radius: 6px;
                        color: #fff;
                        text-align: center;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 180px;
                        height: 40px;

                        &:hover{
                            background: #F0DBB8;
                            background: linear-gradient(120deg, rgba(240, 219, 184, 1) 0%, rgba(96, 56, 19, 1) 100%);
                        }
                    }
                }
            }
        }
    }

    /* &.scroll{
        background: rgba(255,255,255,0.5);
    } */
}

footer{
    background: var(--colorBack);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin: 0 auto;
    padding: 30px 0 60px;
    position: relative;
    overflow: hidden;
    z-index: 3;

    .main{
        margin: 0 0 5%;

        picture{
            display: block;
            max-width: 320px;
            width: 80%;
            margin: 0 auto 20px;
        }
        p.normal{
            text-align: center;
            width: 100%;
            margin: 0 auto 20px;
            padding: 0;

            a{
                display: block;
                margin: 10px auto;
            }
        }
        a.button{
            background: #F0DBB8;
            background: linear-gradient(120deg, rgba(240, 219, 184, 1) 0%, rgba(174, 134, 49, 1) 100%);
            box-shadow: 2px 2px 8px 0 #ccc;
            border-radius: 6px;
            color: #fff;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 180px;
            height: 40px;
            margin: 30px auto 50px;

            &:hover{
                background: #F0DBB8;
                background: linear-gradient(120deg, rgba(240, 219, 184, 1) 0%, rgba(96, 56, 19, 1) 100%);
            }
        }
        .kokorono_barrier-free{
            border: 1px solid var(--colorL);
            box-sizing: border-box;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 2%;
            max-width: 720px;
            width: 95%;
            margin: 8% auto 0;
            padding: 10px;

            img{
                width: 12%;
            }
            p{
                font-size: var(--font-menu);
                line-height: 1.4em;
                width: 84%;
                padding: 0 0 0 20px;                

                b{
                    display: block;
                    padding: 0 0 5px;
                }
            }
        }
    }
    .copy{
        font-size: var(--font-mini);
        text-align: center;
        width: 100%;
        margin: 0 auto 0;
        padding: 10px 0 10px;
    }
    a#pagetop{
        background: var(--colorB);
        color: var(--colorW);
        font-size: var(--font-mini);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        z-index: 1000;
        position: fixed;
        bottom: 0;
        right: 0;
        transition: all ease 0.5s;

        span{
            display: block;
            margin: 5px 0 0;
        }

        &:after{
            content:"";
            width: 0;
            height: 0;
            border-style: solid;
            border-top: 0;
            border-bottom: 10px solid var(--colorW);
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            position: absolute;
            top: 10px;
            right: calc(50% - 10px);
            transform: translate(-50%, 0);
        }
    }
}

/*********
初回来訪モーダル
*********/
.first-visit-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.first-visit-modal.is-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-visit-modal__content {
    border: 1px solid var(--colorW);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: left;
    max-width: 600px;
    width: 90%;
    padding: 30px;
}

.first-visit-modal__content h3 {
    margin: 0 0 16px;
}

.first-visit-modal__content p {
    margin: 0 0 16px;
}
.first-visit-modal__content p b{
    border-top: 1px solid var(--colorW);
    border-bottom: 1px solid var(--colorW);
    display: block;
    padding: 10px 0;
    margin: 15px 0;
}
.first-visit-modal__content a {
    color: #fff;
    text-decoration: underline;
}


@media all and (min-width:769px){
    .sp-disp{
        display:none;
    }
    a[href^="tel:"] {
        pointer-events: none;
    }
    header{
        .menu-btn,#Viewmenu{
            display: none;
        }
        .search_button{
            display: none;
        }
    }
    footer{
        .flex_menu{
            background: var(--colorW);
            width: 100%;
            margin: 20px auto;
            padding: 10px 0;

            ul{
                font-size: var(--font-menu);
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;

                li{
                    padding: 0 10px;

                    a{
                        &:hover{
                            color: var(--color01);
                        }
                    }
                }
            }
        }
    }

    #tripla-searching-app{
        form.search-widget-search-container-bf1818{
            left: 50%!important;
            transform: translate(-50%, 0)!important;
            min-width: 800px!important;
        }
    }
}
@media all and (max-width:768px){
    body{
        font-family: var(--font01);
        font-size: 14px;
        line-height: 1.6em;
        max-width: 100%;
        overflow-x: hidden;
    }
    .pc-disp{
        display:none;
    }

    section {
        overflow: visible;
    }

    img,
    svg,
    video,
    canvas {
        max-width: 100%;
    }

    .contents{
        a.full{
            padding: 20px 0;
            max-width: unset;

            span{
                margin: 0 auto;
            }
        }
    }
    header{
        display: flex;
        justify-content: center;
        height: 60px;
        padding: 10px 0;
        position: fixed;
        z-index: 10000;

        .inner{
            display: flex;
            justify-content: center;
            align-items: center;

            h1 {
                max-width: 320px;
                width: 75%;
                position: unset;
                margin: unset;

                a{
                    img{
                        min-height: 38px;
                    }
                }
            }
            ul.header_inner_menu{
                display: none;
            }
        }
    }
    footer{
        padding: 30px 0 0;
        .flex_menu{
            display: none;
        }
        .copy{
            padding: 10px 0 30px;
        }
        a#pagetop{
            width: 55px;
            height: 75px;
            padding: 10px 0 0;
            bottom: 30px;

            &:after{
                top: 20px;
            }
        }
    }
    /*----------------------------
    * メニュー
    *----------------------------*/
    .menu-btn{
        color: #f27f8a;
        font-size: 1rem;
        width: 30px;
        height: 30px;
        padding: 0 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        position: absolute;
        z-index: 999999;
        top: calc(50% - 10px);
        right: 20px;
        transform: translate(0, -50%);

        span{
            display: block;
            text-align: center;
            font-size: var(--font-tel);
            width: 100%;
            margin: -5px 0 0;
            padding: 0;
        }

        i{
            font-size: 2.5rem;
            margin: 0;
        }

         .inview{
            display: block;
        }

        .behind{
            display: none;
        }
    }
    #Viewmenu{
        background-color: var(--clear01);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10000;
        width: 100vw;
        min-height: 100vh;
        height: auto;
        overflow: scroll;
        padding: 4rem 0 2rem;
        pointer-events: none;
        opacity: 0;
        transform-origin: top center;
        transform: scale(.5);
        transition: all .3s ease;
        
        &.is-active{
            pointer-events: auto;
            opacity: 1;
            transform: scale(1.0);
        }

        .Viewmenu_inner{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
    }

    #Viewmenu .Viewmenu_inner ul{
        flex-direction: column;
        border-left: none;
        width: 85%;
        margin: 0 auto;

        li{
            flex-grow: 1;
            width: 100%;
            margin: 0 0 30px;
            padding: 0;
            height: auto;
            
            a{
                background: var(--color02);
                box-sizing: border-box;
                color:var(--colorW);
                font-weight: 400;
                display: block;
                width: 100%;
                height: 100%;
                padding: 3% 3% 3%;
                position: relative;
                transition: all ease 0.3s;
                overflow: hidden;

                span{
                    display: flex;
                    position: relative;
                    z-index: 1;

                    i{
                        font-style: normal;
                        padding: 0 0 0 10px;
                    }
                }

                &:after{
                    content: "";
                    background: var(--colorW);
                    width: 5px;
                    height: 100%;
                    position: absolute;
                    top:0;
                    left:-20px;
                    opacity: 0;
                    transition: all ease 0.5s;
                    z-index: 0;
                }

                &:hover span{
                    color: var(--colorB);
                }

                &:hover:after{
                    left:0;
                    opacity: 1;
                }
            }
        }
    }

    #tripla-searching-app {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;

        transform: translateY(120%);
        opacity: 0;
        pointer-events: none;

        transition:
        transform 0.6s ease,
        opacity 0.4s ease;
    }

    #tripla-searching-app.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    header{
        .search_button,
        a.r_button{
            background: #F0DBB8;
            background: linear-gradient(120deg, rgba(240, 219, 184, 1) 0%, rgba(174, 134, 49, 1) 100%);
            color: var(--colorW);
            letter-spacing: 4pt;
            -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
            width: auto;
            height: auto;
            padding: 25px 16px;
            position: fixed;
            bottom: 48px;
            right: 0;
            transform: translate(0,-50%);
        }
    }
}
