@charset "UTF-8";

@import url(/css/reset.css);
@import url(/css/setting.css);

body{
    color: var(--colorG);
    font-family: var(--font01);
    font-size: 16px;
    font-optical-sizing: auto;
    line-height: 1.6em;
    width:100%;
    margin: 0 auto;
    padding:0;
    position: relative;
}
.pretext{
    text-align: center;
    padding: 6rem 0
}

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 {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10000;
}
header .head-inner{
    width: 100%;
    max-width: var(--width01);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
header .head-inner h1 {
    position: relative;
    max-width: 240px;
    width: fit-content;
    margin: 0;
    padding: 0 1rem;
}
header .head-inner h1 a img {
    display: block;
    width: 100%;
    height: auto;
}
header .head-inner ul.head-menu__pc{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: auto;
}
header .head-inner ul.head-menu__pc li{
    width: fit-content;
    padding: 0 10px;
}
header .head-inner ul.head-menu__pc li a{
    padding: 0 0.6em 0.4rem;
    position: relative;
}
header .head-inner ul.head-menu__pc li a:before{
    content:"";
    background: var(--colorW);
    border-radius: 100px;
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: -3px;
    left: -10px;
    opacity: 0;
    transition: left ease-in-out 1.2s;
}
header .head-inner ul.head-menu__pc li a:hover:before{
    left: 100%;
    opacity: 1;
}
header .head-inner ul.head-menu__pc li a.inview:before{
    left: -10px;
    opacity: 1;
}
header .head-inner ul.head-menu__pc li a:after{
    content:"";
    border-bottom: 1px dotted var(--colorW);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
}
header .head-inner ul.head-menu__pc li a.inview:after,
header .head-inner ul.head-menu__pc li a:hover:after{
    opacity: 1;
}

footer{
    background: var(--color03);
    margin: 0 auto;
    padding: 5rem 0 0;
    overflow: hidden;
}
footer .foot-inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width01);
    width: 96%;
    height: auto;
    margin: 0 auto;
    padding: 0 0 5rem;
    position: relative;
}
footer .foot-inner .foot-inner__left{
    width: 50%;
}
footer .foot-inner .foot-inner__left h2{
    max-width: 240px;
    margin: 0 0 5rem;
}
footer .foot-inner .foot-inner__left dl{
    color: var(--colorW);
    width: fit-content;
    margin: 0 auto 0 0;
}
footer .foot-inner .foot-inner__left dl dd a{
    color: var(--colorW);
}
footer .foot-inner .foot-inner__right{
    width: 50%;
}
footer .foot-inner .foot-inner__right ul{
    width: fit-content;
    margin: 0 0 0 auto;
}
footer .foot-inner .foot-inner__right ul li{
    margin: 0 0 0.6rem;
}
footer .foot-inner .foot-inner__right ul li a{
    color: var(--colorW);
    border-bottom: 1px dotted var(--colorW);
    padding: 0 0.6em 0.4rem;
    position: relative;
}
footer .foot-inner .foot-inner__right ul li a:before{
    content:"";
    background: var(--colorW);
    border-radius: 100px;
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: -3px;
    left: -10px;
    transition: left ease-in-out 1.2s;
}
footer .foot-inner .foot-inner__right ul li a:hover:before{
    left: 100%;
}
footer .copy{
    border-top: 0.5px solid var(--colorW);
    width: 100%;
    margin: 0 auto 0;
    padding: 0.6rem 0;
}
footer .copy p{
    color: var(--colorW);
    font-size: var(--font-mini);
    line-height: 1.6em;
    text-align: center;
}
footer a#pagetop{
    background: var(--color03);
    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;
}
footer a#pagetop.page-end{
    bottom: 3rem;
}
footer a#pagetop span{
    display: block;
    margin: 5px 0 0;
}
footer a#pagetop: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);
}

@media all and (min-width:769px){
    .sp-disp{
        display:none;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }

    header {
        .menu-btn,#Viewmenu{
            display: none;
        }
    }
    footer{
        .foot-inner{
            width: 96%;
        }
    }
}

@media all and (max-width:768px){
    body{
        overflow-x: hidden;
    }

    .pc-disp{
        display:none;
    }

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

    header {
        min-height: 0.2vw;
        padding: 1rem 0;
    }
    header .head-inner h1 {
        max-width: 245px;
        width: 48%;
        position: unset;
        margin: unset;
    }

    header .head-inner ul.head-menu__pc{
        display: none;
    }

    footer{
        padding: 2rem 1rem 0;
    }
    footer .foot-inner{
        Padding: 0 0 2rem;
    }
    footer .foot-inner .foot-inner__left{
        width: 100%;
        margin: 0 auto 0.6rem;
    }
    footer .foot-inner .foot-inner__left dl{
        font-size: 14px;
    }
    footer .foot-inner .foot-inner__left h2{
        margin: 0 0 2rem;    
    }
    footer .foot-inner .foot-inner__right{
        display: none;
    }
    footer .copy{
        padding: 1rem 0 1rem;
    }
    footer .copy p{
        text-align: left;
    }
    footer a#pagetop{
        width: 55px;
        height: 55px;
        padding: 10px 0 0;
        bottom: 0;
    }
    footer a#pagetop.page-end{
        bottom: 4rem;
    }
    footer a#pagetop:after{
        top: 10px;
    }

    /*----------------------------
    * メニュー
    *----------------------------*/
    .menu-btn{
        color: var(--colorW);
        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: 5rem 0 2rem;
        pointer-events: none;
        opacity: 0;
        transform-origin: top;
        transform: translateY(-50%);
        transition: all .3s ease;
        
        &.is-active{
            pointer-events: auto;
            opacity: 1;
            transform: translateY(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 1.2rem;
            padding: 0;
            height: auto;
            
            a{
                background: var(--color01);
                box-sizing: border-box;
                color:var(--colorW);
                font-weight: 400;
                display: block;
                width: 100%;
                height: 100%;
                padding: 0.8rem 1rem 0.8rem 2rem;
                position: relative;
                transition: all ease 0.3s;
                overflow: hidden;
                z-index: 0;

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

                &:before{
                    content: "";
                    background: var(--colorW);
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    position: absolute;
                    top: 50%;
                    left: 13px;
                    transform: translateY(-50%) scale(1);
                    transform-origin: center;
                    z-index: 2;
                }
                &:after{
                    content: "";
                    background: transparent;
                    border: 1px dotted var(--colorW);
                    width: 16px;
                    height: 16px;
                    border-radius: 50%;
                    position: absolute;
                    top: 50%;
                    left: 10px;
                    transform: translateY(-50%) scale(1);
                    transform-origin: center;
                    z-index: 3;
                }
            }
        }
    }
}
