@charset "UTF-8";

@media only screen and (min-width:769px) {
    .top #gnav {
        display: none !important;
        height: 0 !important;
    }
}

@media only screen and (max-width:768px) {
    header {
        border-bottom: none;
    }
}


/**
 * #contents
 */
#contents { padding: 1.5em 0 3em; background: #8be7f8;}
.inner{ display: block;}
.flex{ display: flex; width: 100%; justify-content: space-between; align-items: center;}

#nav{ display: flex; align-items: center;}
#nav ul{ display: flex; border-left: 1px dotted #fff;}
#nav li{ padding: .25em .75em; border-right: 1px dotted #fff;}
#nav li a {
    position: relative;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
    padding: .5em .25em;
    height: 100%;
    background: #fff;
    letter-spacing: .1em;
    font-weight: 700;
    font-size: 120%;

    align-items: flex-start;
    justify-content: center;
}
#nav li a:hover { color: #fff; text-decoration: none;}
#nav li a::before {
    position: absolute;
    top: -100%;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #00ccff;
    content: '';
    transition: top ease-out 0.3s;
}
#nav li a:hover::before,
#nav li.act a::before { top: 0%;}
#nav li a span { position: relative; font-weight: 700; text-orientation: upright; writing-mode: vertical-lr;}

.btn_diff{ margin: 0 1.5em 0 0;}
.btn_diff a {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 150px;
    height: 150px;
    border-radius: 100%;
    background: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 150%;
    line-height: 1.2;
    transition: all ease-out 0.2s;

    align-items: center;
    justify-content: center;
}
.btn_diff a:before{ position: absolute; top: 50%; left: 50%; color: #8be7f8; content: "ENTRY"; letter-spacing: normal; font-weight: 900; font-size: 180%; line-height: 1; opacity: .3; transform: translate(-50%,-50%);}

.btn_diff a:hover {
    background: #00ccff;
    color: #fff;
    text-decoration: none;
}
.btn_diff a span{ position: relative; font-weight: 700;}

@media only screen and (max-width:768px) {
    #nav{ flex-direction: column;}
    #nav ul{ display: flex; border-left: 2px dotted #fff;}
    #nav li{ padding: .25em .75em; border-right: 2px dotted #fff;}
    #nav li a {
        padding: .5em;
        font-size: 120%;

        align-items: flex-start;
        justify-content: center;
    }
    #nav li a:hover { color: #fff; text-decoration: none;}
    #nav li a::before { content: none;}

    .btn_diff{ margin: 0 0 1em;}
    .btn_diff a {
        width: 35vw;
        height: 35vw;
    }
}

#read h1 {
    padding: 15px 20px;
    border: solid 1px #fff;
    font-weight: 700;
    font-size: 140%;
    line-height: 1.2;
}
#read p {
    padding: 15px 20px;
    border: solid 1px #fff;
    border-top: none;
    font-weight: 500;
    font-size: 120%;
}

@media only screen and (max-width:768px) {
    #read{width: 100%; text-align: center; }
    #read h1 {
        padding: 10px 0;
        font-size: 120%;
    }
    #read p {
        padding: 10px 0;
        font-size: 110%;
    }
}


#illust {
    position: relative;
    margin-top: 35px;
}

#illust .base {
    width: 100%;
    height: auto;
}

#illust .illust {
    position: absolute;
    height: auto;
    opacity: 0;
    transform: scale(0.6);
}

#illust0 {
    top: 41%;
    left: 0.51%;
    width: 15.169%;
}

#illust1 {
    top: 0.5%;
    left: 16.949%;
    width: 16.186%;
}

#illust2 {
    top: 9.75%;
    left: 34.322%;
    width: 11.441%;
}

#illust3 {
    top: 5%;
    left: 44.915%;
    width: 22.373%;
}

#illust4 {
    top: 18.75%;
    left: 63.220%;
    width: 15.932%;
}

#illust5 {
    top: 13.75%;
    left: 81.017%;
    width: 17.458%;
}

#illust6 {
    top: -21%;
    left: 5.593%;
    width: 93.814%;
    transform: scale(1) !important;
}

#illust.on .illust {
    opacity: 1;
    transform: scale(1);
}

#illust.on #illust0 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 0s;
}

#illust.on #illust1 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 0.2s;
}

#illust.on #illust2 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 0.4s;
}

#illust.on #illust3 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 0.6s;
}

#illust.on #illust4 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 0.8s;
}

#illust.on #illust5 {
    transition: all 0.4s cubic-bezier(0, .71, .53, 1.39) 1s;
}

#illust.on #illust6 {
    transition: all 1.3s ease-out 1.6s;
}


@media only screen and (max-width:768px) {
    #illust {
        position: relative;
        margin: 1.5em 0;
    }
}

#footer_inner .inner {
    padding-top: 0px;
}

footer{ background: #fff;}