/*
Theme Name: MEGABOX
*/
@charset "utf-8";

/* font type
font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
*/
@font-face{
    font-family: GradualMedium;
    src: url(/wp-content/themes/megabox/assets/font/BwGradual-Medium.06c6122.woff2);
    font-style: normal;
}
:root {
}
* {
    box-sizing: border-box;
    color: #434343;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-weight: 500;
    list-style: none;
    margin: 0;
    padding: 0;
}
body {
    background: #212937;
    overflow-x: hidden;
}
body::after {
    background-image: url(/wp-content/themes/megabox/assets/images/bg.jpeg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    content: "";
    display: block;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}
a {
    color: #1d1d1f;
    text-decoration: none;
}
a:hover,
a:hover img {
    opacity: .8;
}
img {
    max-width: 100%;
    height: auto;
}
input[type="radio"],
input[type="checkbox"],
select,
button {
    cursor: pointer;
}
.visualy-hidden {
    position: absolute;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* header */
.header {
    width: 100%;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding-left: 25px;
    width: 100%;
}
.header-left {
    width: 210px;
}
.logo {
    display: block;
    line-height: 0;
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 210px;
}
.header-nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-nav__list li {
    margin: 0 15px 0 0;
    text-align: center;
}
.header-nav__list .contact {
    margin-right: 0;
}
.header-nav__list li a {
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
}
.header-nav__list .contact a {
    background: #c9c4b8;
    padding: 20px 25px;
}
@media screen and (max-width: 968px) {
    .header-inner {
        width: 100%;
    }
    .header-left {
        width: 80px;
    }
    .logo {
        position: static;
        width: 100%;
    }
    .header-right {
        padding-right: 15px;
    }
    .header-nav {
        height: 100%;
        position: fixed;
        right: -100%;
        top: 0;
        transition-duration: .3s;
        width: 100%;
        z-index: 3;
    }
    .header-nav.active {
        right: 0;
    }
    .header-nav__inner {
        background: #fff;
        height: 100%;
        margin: 0 0 0 auto;
        padding: 150px 25px 100px;
        position: relative;
        width: 80%;
        z-index: 1;
    }
    .header-nav__list {
        display: block;
    }
    .header-nav__list li a {
        color: #212937;
    }
    .header-nav__list .contact {
        margin-top: 25px;
    }
    .header-nav__list .contact a {
        color: #fff;
    }
    .header-menu___bg {
        background: rgba(0, 0, 0, 0.2);
        height: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        transition-duration: .3s;
        width: 100%;
    }
    .header-menu___bg.active {
        right: 0;
    }
    /* hamberger */
    .header-menu {
        display: inline-block;
        margin: 0;
        position: relative;
        text-align: center;
        width: 28px;
        z-index: 13;
    }
    .header-menu span {
        display: block;
    }
    .header-menu___trigger {
        position: relative;
        width: 28px;
        height: 23px;
        cursor: pointer;
        z-index: 3;
    }
    .header-menu___trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 4px;
    }
    .header-menu___trigger.active span {
        background-color: #000;
    }
    .header-menu___trigger, .header-menu___trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }
    .header-menu___trigger span:nth-of-type(1) {
        top: 1px;
    }
    .header-menu___trigger span:nth-of-type(2) {
        top: 12px;
    }
    .header-menu___trigger span:nth-of-type(3) {
        bottom: -2px;
    }
    .header-menu___trigger.active span:nth-of-type(1) {
        top: -7px;
    }
    .header-menu___trigger.active span:nth-of-type(3) {
        bottom: -12px;
    }
    .header-menu___trigger span:nth-of-type(1) {
        -webkit-animation: header-menu__bar01 .75s forwards;
        animation: header-menu__bar01 .75s forwards;
    }
    @-webkit-keyframes header-menu__bar01 {
        0% {
            -webkit-transform: translateY(20px) rotate(45deg);
        }
        50% {
            -webkit-transform: translateY(20px) rotate(0);
        }
        100% {
            -webkit-transform: translateY(0) rotate(0);
        }
    }
    @keyframes header-menu__bar01 {
        0% {
            transform: translateY(20px) rotate(45deg);
        }
        50% {
            transform: translateY(20px) rotate(0);
        }
        100% {
            transform: translateY(0) rotate(0);
        }
    }
    .header-menu___trigger span:nth-of-type(2) {
        transition: all .25s .25s;
        opacity: 1;
    }
    .header-menu___trigger span:nth-of-type(3) {
        -webkit-animation: header-menu__bar03 .75s forwards;
        animation: header-menu__bar03 .75s forwards;
    }
    @-webkit-keyframes header-menu__bar03 {
        0% {
            -webkit-transform: translateY(-20px) rotate(-45deg);
        }
        50% {
            -webkit-transform: translateY(-20px) rotate(0);
        }
        100% {
            -webkit-transform: translateY(0) rotate(0);
        }
    }
    @keyframes header-menu__bar03 {
        0% {
            transform: translateY(-20px) rotate(-45deg);
        }
        50% {
            transform: translateY(-20px) rotate(0);
        }
        100% {
            transform: translateY(0) rotate(0);
        }
    }
    .header-menu___trigger.active span:nth-of-type(1) {
        -webkit-animation: active-header-menu__bar01 .75s forwards;
        animation: active-header-menu__bar01 .75s forwards;
    }
    @-webkit-keyframes active-header-menu__bar01 {
        0% {
            -webkit-transform: translateY(0) rotate(0);
        }
        50% {
            -webkit-transform: translateY(20px) rotate(0);
        }
        100% {
            -webkit-transform: translateY(20px) rotate(45deg);
        }
    }
    @keyframes active-header-menu__bar01 {
        0% {
            transform: translateY(0) rotate(0);
        }
        50% {
            transform: translateY(20px) rotate(0);
        }
        100% {
            transform: translateY(20px) rotate(45deg);
        }
    }
    .header-menu___trigger.active span:nth-of-type(2) {
        opacity: 0;
    }
    .header-menu___trigger.active span:nth-of-type(3) {
        -webkit-animation: active-header-menu__bar03 .75s forwards;
        animation: active-header-menu__bar03 .75s forwards;
    }
    @-webkit-keyframes active-header-menu__bar03 {
        0% {
            -webkit-transform: translateY(0) rotate(0);
        }
        50% {
            -webkit-transform: translateY(-20px) rotate(0);
        }
        100% {
            -webkit-transform: translateY(-20px) rotate(-45deg);
        }
    }
    @keyframes active-header-menu__bar03 {
        0% {
            transform: translateY(0) rotate(0);
        }
        50% {
            transform: translateY(-20px) rotate(0);
        }
        100% {
            transform: translateY(-20px) rotate(-45deg);
        }
    }
    /* hamburger panel */
    .hamburger-panel {
        background: #fff;
        height: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        transition-duration: .3s;
        width: 80%;
    }
    .hamburger-panel.open {
        right: 0;
    }
}
/* main  */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 568px) {}
@media screen and (max-width: 468px) {}
@media screen and (max-width: 368px) {}