@charset "utf-8";
/*
Theme Name:Idealglanz 株式会社 
Author: addONE-works
Author URI: https://addone-works.com
Description:Idealglanz
version: 1.0.0
*/

/*common
-----------------------------------------------------------------------------------------*/
.top_copy * {
    opacity: 0;
    transform: translateY(20px);
    animation: copyfadeUp 0.8s ease forwards;
}

.top_copy h2 {
    animation-delay: 0.2s;
}

.top_copy p {
    animation-delay: 1s;
}

/* ==== fadeUp ==== */
.fadeUp {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeUp.is-show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes copyfadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*menuhoverエフェクト*/
.rollmenu .roll {
    display: inline-block;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    color: transparent;
    transition-property: text-shadow;
    transition-duration: 0.35s;
    transition-delay: calc(var(--index) * 0.04s);
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.rollmenu.wh .roll {
    text-shadow:
        0 1em 0 rgb(255, 255, 255),
        0 0 0 rgb(255, 255, 255);
}

.rollmenu.wh:hover .roll {
    text-shadow:
        0 0 0 rgb(255, 255, 255),
        0 -1em 0 rgb(255, 255, 255);
}

.rollmenu.black .roll {
    text-shadow:
        0 1em 0 rgb(34, 34, 34),
        0 0 0 rgb(34, 34, 34);
}

.rollmenu.black:hover .roll {
    text-shadow:
        0 0 0 rgb(34, 34, 34),
        0 -1em 0 rgb(34, 34, 34);
}

.rollmenu.pink .roll {
    text-shadow:
        0 1em 0 rgb(240, 119, 170),
        0 0 0 rgb(240, 119, 170);
}

.rollmenu.pink:hover .roll {
    text-shadow:
        0 0 0 rgb(240, 119, 170),
        0 -1em 0 rgb(240, 119, 170);
}


/*header
-----------------------------------------------------------------------------------------*/
.menu_line {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3%;
    box-sizing: border-box;
    height: 88px;
    z-index: 99999;
    background-color: transparent;
    backdrop-filter: blur(0);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.home_head:hover {
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.sub_head:hover {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.main_menu li {
    display: inline-block;
    line-height: 88px;
    margin-left: 25px;
    font-size: 14px;
    letter-spacing: 0.15em;
}

.main_menu li:last-child {
    margin-left: 10px;
}

.main_menu a:hover {
    opacity: unset;
}

.top_logo {
    height: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.fixed_menu {
    position: fixed;
    top: 0;
}

.top_button a {
    border-radius: 20px;
    padding: 10px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
}

.home_head .top_button a {
    border: 1px solid rgb(255, 255, 255);
}

/* hover斜めエフェクト */
.slide_button::after {
    content: "";
    position: absolute;
    left: 0;
    top: -20px;
    width: 100%;
    height: 140px;
    background: rgba(255, 255, 255, 0.3);
    transform: skewY(-10deg) scale(1, 0);
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: -1;
}

.slide_button:hover::after {
    transform: skewY(-10deg) scale(1, 1);
}

.home_head,
.sub_head {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.3s ease;
    z-index: 999;
}

/* sub_head は最初非表示 */
.hide_head {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

/* sub_head 表示時 */
.hide_head.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* home_head 非表示 */
.home_head.hide {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.sp-navigation {
    display: none;
}

/*footer
-----------------------------------------------------------------------------------------*/
footer {
    padding: 100px 3%;
}

.footer_bunners.btn-viewmore {
    padding: 25px 50px;
    border-radius: 10px;
    border: 1px solid rgb(153, 153, 153);
    margin: 0 10px;
    width: 286px;
    height: 50px;
    font-size: 20px;
    --arrow-size: 40px;
}

.footer_bunners.btn-viewmore .rollmenu {
    letter-spacing: 0.1em;
}

.footer_bunners {
    display: flex;
    justify-content: space-between;
}

.footer_bunners .arrow-wrap {
    display: block;
    overflow: unset;
    margin-left: 0;
}

.footer_nav_flex div {
    margin-bottom: 20px;
}

.footer_nav_flex a {
    font-size: 14px;
    margin-left: 33px;
}

.footer_nav_flex a:hover {
    opacity: unset;
}

.footer_bottom_flex {
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
}

.footer_bottom_flex .top_logo {
    padding: 0;
    width: 240px;
    height: auto;
}

.copyrights {
    font-size: 12px;
    margin: 60px auto 30px;
}

@media screen and (max-width:1317px) {
    .footer_bunners.btn-viewmore {
        width: 200px;
        height: 35px;
        padding: 17.5px 35px;
        font-size: 17.3px;
    }
}

@media screen and (max-width:1160px) {
    .main_menu li {
        margin-left: 15px;
        font-size: 12px;
        letter-spacing: 0.12em;
    }
}

@media screen and (max-width:1023px) {
    .sp-navigation {
        display: block;
    }

    /*　spナビ*/
    .hamburger {
        position: fixed;
        right: 16px;
        top: 16px;
        width: 42px;
        height: 42px;
        border: none;
        background: transparent;
        cursor: pointer;
        background-position: center top;
        background-size: cover;
        background-image: url(./images/hamburger_wh.svg);
        z-index: 999999;
    }

    .hamburger.active {
        background-image: url(./images/hamburger_black.svg);
    }

    .hamburger.active_hamburger {
        background-position: center top;
        background-size: cover;
        background-image: url(./images/hamburger_open.svg);
    }

    nav.globalmenu_sp {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgb(34, 34, 34);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transform: translateY(-100%);
        transition: all 0.6s;
        z-index: 99999;
    }

    .globalmenu_sp .sp-inner {
        width: 100%;
        padding: 70px 0 10px;
    }

    nav.globalmenu_sp ul li {
        width: 80%;
        margin: 0 auto;
    }

    .sp_mainlink a {
        font-size: 180%;
    }

    .text_link_sp a {
        display: block;
        margin: 20px 0;
    }

    .text_link_sp.last a {
        margin-bottom: 35px;
    }

    /* クリックで追加・削除 jQuery */
    nav.globalmenu_sp.active_hamburger {
        opacity: 100;
        display: block;
        transform: translateY(0%);
    }

    .menu_line {
        width: 100%;
        padding: 0 0.8%;
        box-sizing: border-box;
        background-color: unset;
        backdrop-filter: unset;
    }

    .home_head:hover {
        background-color: unset;
        -webkit-backdrop-filter: none;
        backdrop-filter: unset;
    }

    .sub_head:hover {
        background-color: unset;
        -webkit-backdrop-filter: none;
        backdrop-filter: unset;
    }

    .main_menu {
        display: none;
    }

    .top_logo {
        height: 88%;
        padding: 16px 6px;
    }

    .rollmenu .roll {
        transition-property: none;
    }

    footer {
        padding: 70px 0 35px;
        box-sizing: border-box;
    }

    .footer_bunners.btn-viewmore {
        padding: 25px 30px;
        border-radius: 10px;
        margin: 5px auto;
        width: 90%;
        height: auto;
        box-sizing: border-box;
    }

    .footer_bottom_flex {
        display: block;
        justify-content: space-between;
        width: 90%;
        margin: 60px auto;
    }

    .copyrights {
        font-size: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .globalmenu_sp .footer_bunners.btn-viewmore {
        width: 100%;
        font-size: 20px;
    }

    .globalmenu_sp .footer_bunners.one {
        margin-top: 20px;
    }

    .footer_nav_flex {
        margin-top: 35px;
        display: flex;
    }

    .footer_nav_flex div {
        margin: 0;
    }

    .footer_nav_flex a {
        display: block;
        margin: 25px 0;
        font-size: 12px;
    }

    .footer_nav_flex a.zen-kaku-gothic-new-medium {
        position: relative;
        top: -1px;
        font-size: 11px;
        margin: 23.5px 0;
    }

    .footer_nav_flex .flex_en {
        margin-right: 70px;
    }
}



/*
-----------------------------------------------------------------------------------------*/
/*
-----------------------------------------------------------------------------------------*/