@charset "utf-8";

/* CSS Document */
@font-face {
    font-family: 'Noto Serif CJK JP';
    src: url('../font/NotoSerifCJKjp-Light.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Serif CJK JP';
    src: url('../font/NotoSerifCJKjp-Bold.otf');
    font-weight: bold;
    font-style: normal;
}

/* ==========================================
    common
========================================== */
::selection {
    background: #e0e0e0;
    color: #000;
}

::-moz-selection {
    background: #e0e0e0;
    color: #000;
}

.sp {
    display: none;
}

.tabl {
    display: none;
}


@media screen and (max-width: 1279px) {
    .tabl {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

.sans {
    font-family: '游ゴシック', '游ゴシック体', 'YuGothic', 'Yu Gothic', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    display: block;
    letter-spacing: 0.2em;
}

h2.tate {
    display: inline-block;
}

a img {
    transition: all ease 0.3s;
}

a:hover img {
    opacity: 0.7;
}

body,
a {
    color: #fff;
}

body {
    background: top center no-repeat url(../img/bg.jpg);
    font-size: 16px;
}

main {
    padding-bottom: 120px;
}

.wrap {
    max-width: 1240px;
    padding: 0 30px;
    margin: 0 auto;
}

.flex {
    width: 100%;
    display: flex;
}

.flex.half>* {
    width: 50%;
}

.flex.reverse {
    flex-direction: row-reverse;
}

.flex.fw {
    flex-wrap: wrap;
}

.flex.jcc {
    justify-content: center;
}

.flex.jcsb {
    justify-content: space-between;
}

.flex.aic {
    align-items: center;
}

.tate {
    writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}

@media screen and (max-width: 767px) {

    main {
        padding-bottom: 50px;
    }

    body {
        background: top center / cover no-repeat url(../img/bg-sp.jpg);
        font-size: 14px;
        letter-spacing: 0.1em;

    }

    .wrap {
        padding: 0 10px;
    }
}

/* ==========================================
    header
========================================== */

header * {
    z-index: 100;
}

header.pc {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    /* transform: translateY(-60px); */
    transition: ease-in-out 0.5s;
}

/* header.pc.scrolled {
    transform: none;
} */
header.pc .pcmenu {
    font-size: 14px;
    padding: 3px 0;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

header.pc .pcmenu img {
    width: 50px;
    display: block;
}

header.pc>h1 {
    width: 200px;
    padding-top: 30px;
    padding-left: 30px;
}

@media screen and (max-width: 767px) {
    .sp-head {
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 60px;
        transition: all ease 0.3s;
    }

    header.sp:not(.scrolled):not(.open) .sp-head {
        background: transparent;
    }

    .sp-head .sp-logo,
    .sp-head .sp-logo a {
        height: 60px;
        width: 60px;
        display: block;
    }

    .sp-head .sp-logo a img {
        vertical-align: bottom;
    }

    .spmenu-b {
        width: 50px;
        height: 50px;
        position: fixed;
        top: 5px;
        right: 10px;
        cursor: pointer;
        transition: all ease 0.3s;
    }

    .spmenu-b .line {
        position: absolute;
        width: 40px;
        height: 1px;
        background: #fff;
        top: 25px;
        left: 5px;
        transition: all ease 0.3s;
    }

    .spmenu-b .line:before {
        content: "";
        position: absolute;
        width: 40px;
        height: 1px;
        background: #fff;
        left: 0;
        top: -8px;
        transform-origin: 0 0;
        transition: all ease 0.3s;
    }

    .spmenu-b .line:after {
        content: "";
        position: absolute;
        width: 40px;
        height: 1px;
        background: #fff;
        left: 0;
        top: 8px;
        transform-origin: 0 0;
        transition: all ease 0.3s;
    }

    header.sp.open .spmenu-b .line {
        background: transparent;
    }

    header.sp.open .spmenu-b .line:before {
        width: 30px;
        transform: translate(10px, -2px) rotate(45deg);
    }

    header.sp.open .spmenu-b .line:after {
        width: 30px;
        transform: translate(10px, 3px) rotate(-45deg);
    }

    .spmenu {
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 60px;
        left: 100%;
        width: 100%;
        transform: translateX(0);
        transition: all ease 0.3s;
        overflow-y: scroll;
    }

    header.sp.open .spmenu {
        transform: translateX(-100%);
    }

    .spmenu .inner {
        padding: 20px 10px 60px;
        font-size: 20px;
    }

    .spmenu li {
        border-top: 1px solid #e1f1f6;
        padding: 0.5em 1em;
    }

    .spmenu li.last-of-type {
        border-bottom: 1px solid #e1f1f6;
    }
}

@media screen and (max-width: 500px) {
    .spmenu .inner {
        font-size: 16px;
    }
}

/* ==========================================
    footer
========================================== */

footer {
    height: 80px;
    background: center center / cover no-repeat url(../img/footer-bg.jpg);
}

footer .copy {
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    footer .copy {
        font-size: 2.4vw;
    }
}