@charset "UTF-8";

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


body{
    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: 0;
}

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


/* ==================================================
   HEADER
================================================== */

header{
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 10000;
}

header.is-scroll{
    background: rgba(0,0,0,0.6);
}

header .header_inner{
    width: 96%;
    max-width: var(--width01);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

header .header_inner h1{
    color: var(--colorW);
    position: relative;
    width: fit-content;
    margin: 0;
    padding: 0;
}

header .header_inner h1 picture{
    display: block;
    max-width: 180px;
    width: fit-content;
}

header .header_inner h1 span{
    display: block;
    font-size: var(--font-menu);
    width: fit-content;
    padding: 1rem 0 0;
}


/* ------------------------------
   PC MENU
------------------------------ */

header .header_inner ul.head-menu__pc{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: auto;
}

header .header_inner ul.head-menu__pc li{
    width: fit-content;
    padding: 0 10px;
}

header .header_inner ul.head-menu__pc li a{
    display: block;
    color: var(--colorW);
    width: 100%;
    padding: 0 0 2px;
    position: relative;
    overflow: hidden;
}

header .header_inner ul.head-menu__pc li.big a{
    border: 1px solid var(--colorW);
    text-align: center;
    padding: 10px 20px 10px 10px;
    margin: 0 0 0 20px;
}

header .header_inner ul.head-menu__pc li.big a:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 1px solid var(--colorW);
    border-left: 1px solid var(--colorW);
    opacity: 0;
}

header .header_inner ul.head-menu__pc li.big a:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid var(--colorW);
    border-right: 1px solid var(--colorW);
    opacity: 0;
}

header .header_inner ul.head-menu__pc li.big a:hover:before{
    opacity: 1;
    width: 100%;
    height: 100%;

    transition:
        width .2s ease,
        height .2s ease .2s;
}

header .header_inner ul.head-menu__pc li.big a:hover:after{
    opacity: 1;
    width: 100%;
    height: 100%;

    transition:
        width .2s ease .4s,
        height .2s ease .6s;
}

header .header_inner ul.head-menu__pc li.big a:hover{
    background: rgba(255,255,255,0.3);
}

header .header_inner ul.head-menu__pc li:not(.big) a:before{
    content: "";
    background: var(--colorW);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: -20px;
    opacity: 0;

    transition: all ease 0.5s;
}

header .header_inner ul.head-menu__pc li:not(.big) a:hover:before{
    left: 0;
    opacity: 1;
}


/* ==================================================
   FOOTER
================================================== */

footer{
    background: var(--color02);
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

footer .footer_inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width01);
    width: 96%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

footer .footer_inner *{
    color: var(--colorW);
    line-height: 1.6em;
}

footer .footer_inner picture{
    display: block;
    max-width: 180px;
}

footer .footer_inner .end{
    display: flex;
    align-items: center;
    font-size: var(--font-menu);
}

footer .footer_inner .copy{
    padding: 0 0 0 2rem;
}

footer 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;
}

footer a#pagetop span{
    display: block;
    margin: 5px 0 0;
}


/* ==================================================
   769px以上
   ※通常レイアウト側
================================================== */

@media all and (min-width:769px){

    .sp-disp{
        display: none;
    }

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

    #FloatMenu{
        display: none;
    }

    footer .footer_inner{
        width: 96%;
    }

}


/* ==================================================
   HEADER MENU
   891px以上：PCメニュー
================================================== */

@media all and (min-width:891px){

    header .head-menu__sp,
    #Viewmenu{
        display: none;
    }

}


/* ==================================================
   HEADER MENU
   890px以下：ハンバーガーメニュー
================================================== */

@media all and (max-width:890px){

    /*
     * PCメニュー非表示
     */
    header .header_inner ul.head-menu__pc{
        display: none;
    }


    /*
     * Viewmenuをheader外まで表示させるため
     */
    header{
        overflow: visible;
    }


    /* ----------------------------
     * MENU BUTTON
    ---------------------------- */

    .menu-btn{
        color: var(--colorW);
        font-size: 1rem;
        width: 30px;
        height: 30px;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        position: absolute;
        z-index: 999999;
        top: calc(50% - 25px);
        right: 20px;
        transform: translate(0, -50%);
    }

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

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

    .menu-btn .inview{
        display: block;
    }

    .menu-btn .behind{
        display: none;
    }


    /* ----------------------------
     * VIEW MENU
    ---------------------------- */

    #Viewmenu{
        background-color: var(--clear01);
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 100dvh;
        min-height: 100vh;
        overflow-y: auto;
        z-index: 10000;
        padding: 5rem 0 2rem;
        pointer-events: none;
        opacity: 0;
        transform-origin: top;
        transform: translateY(-50%);

        transition: all .3s ease;
    }

    #Viewmenu.is-active{
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }

    #Viewmenu .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;
    }

    #Viewmenu .Viewmenu_inner ul li{
        flex-grow: 1;
        width: 100%;
        margin: 0 0 1.2rem;
        padding: 0;
        height: auto;
    }

    #Viewmenu .Viewmenu_inner ul li a{
        background: rgba(0,0,0,0.7);
        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;
    }

    #Viewmenu .Viewmenu_inner ul li a span{
        display: flex;
        position: relative;
        z-index: 1;
    }

    #Viewmenu .Viewmenu_inner ul li a:before{
        content: "";
        background: var(--colorW);
        width: 2px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
    }

}


/* ==================================================
   768px以下
   ※本来のスマホレイアウト
================================================== */

@media all and (max-width:768px){

    body{
        overflow-x: hidden;
    }


    /* ------------------------------
       DISPLAY
    ------------------------------ */

    .pc-disp{
        display: none;
    }

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


    /* ------------------------------
       HEADER
    ------------------------------ */

    header{
        min-height: 0.2vw;
        padding: 0.5rem 0;
        overflow: visible;
    }

    header .header_inner h1{
        max-width: unset;
        width: 80%;
        position: unset;
        margin: unset;
    }

    header .header_inner h1 span{
        padding: 0;
    }


    /* ------------------------------
       FOOTER
    ------------------------------ */

    footer{
        padding: 2rem 1rem 2rem;
    }

    footer .footer_inner{
        padding: 0 0 2rem;
    }

    footer .footer_inner .copy{
        padding: 1rem 0 1rem;
    }

    footer .footer_inner .copy p{
        text-align: left;
    }

    footer a#pagetop{
        width: 55px;
        height: 55px;
        padding: 10px 0;
        bottom: 0;
    }


    /* ------------------------------
       FLOAT MENU
    ------------------------------ */

    #FloatMenu{
        background: var(--colorG);
        width: calc(100% - 55px);
        margin: 0 auto;
        padding: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 999;
    }

    #FloatMenu ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #FloatMenu ul li{
        border-right: 1px solid var(--colorW);
        text-align: center;
        height: 55px;
        padding: 0;
    }

    #FloatMenu ul li.Menu01{
        width: 100%;
    }

    #FloatMenu ul li.Menu01 a{
        color: var(--colorW);
        text-align: center;
        font-size: var(--font-normal);
        font-family: var(--font02);
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    #FloatMenu ul li.Menu01 span{
        display: block;
        width: fit-content;
        margin: 0 auto;
        padding: 0 0 0 30px;
        position: relative;
    }

    #FloatMenu ul li.Menu01 span:before{
        content: "";
        background: url(/owners/images/icon_mail.svg);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 27px;
        height: 20px;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0,-50%);
    }

}