/* base */
@charset "UTF-8";

:root{
    --background-color: #FAFAFA;
    --text-color: #222222;
    --main-color: #E67622;
    --sub-color: #22BBB5;
    --sub-color2: #F7EF6C;
    --facebook-color: #3B5998;
    --instagram-color: #eb1c6b;
    --line-color: #06c755;
    --youtube-color: #ff0000;
    --color-white: #FFFFFF;
    --color-gray: #CCCCCC;
    --color-gray-light: #ECECEC;
    --color-gray-dark: #AAAAAA;
    --color-red: #F9254B;
    --color-red-light: #FB216D;
    --color-blue: #0D3FF1;
    --main-font: "IBM Plex Sans JP", sans-serif;
    --main-en-font: "Roboto Condensed", sans-serif;
}
html{
    font-family: var(--main-font);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    background: var(--background-color);
}
section{
    margin-bottom: 100px;
}
.main{
    margin-top: 94px;
}
.l-container{
    padding: 0 calc((20 / 1280) * 100%);
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}
.l-container2{
    padding: 0 calc((20 / 1280) * 100%);
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}
.l-row-reverse{
    flex-direction: row-reverse;
}
.l-column-reverse{
    flex-direction: column-reverse;
}
.textlink{
    color: var(--main-color);
    opacity: 1;
    transition: opacity cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}
.textlink:hover{
    opacity: 0.65;
}
.text-indent{
    padding-left: 1em;
    margin-left: -1em;
}
.marker-yellow{
    padding: 0 5px 5px;
    background: linear-gradient(transparent 60%, var(--sub-color2) 0%);
    display: inline;
}
.label-new{
    margin: 0 0 0 10px;
    font-family: var(--main-en-font);
    color: var(--color-red);
    font-weight: 600;
}
.text-red{
    color: var(--color-red);
}
.text-blue{
    color: var(--color-blue);
}
.text-bold{
    font-weight: bold;
}
.text-rigth{
    text-align: right;
}
.text-small{
    font-size: 0.85em;
}
.text-center{
    text-align: center;
}
.pc-show{
    display: block;
}
.mobile-show{
    display: none;
}
.tab-show{
    display: none;
}
.sp-show{
    display: none;
}
/* header */
header{
    width: 100%;
    padding: 5px 0 0 0;
    background: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

    .l-header-top{
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header_logo{
        width: 150px;

        a{
            text-align: center;
            display: inline-block;
        }
    }
    .hamburger-menu{
        width: 36px;
        height: 36px;
        background: transparent;
        position: relative;
        z-index: 999;
        cursor: pointer;
    }
    .hamburger-menu span:nth-child(1),
    .hamburger-menu span:nth-child(2){
        width: 100%;
        height: 2px;
        background: var(--text-color);
        position: absolute;
        top: 0;
        display: block;
        transition: background cubic-bezier(0.455, 0.03, 0.515, 0.955) 1s,transform cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.5s;
    }
    .hamburger-menu span:nth-child(2){
        top: 12px;
    }
    .hamburger-menu span:nth-child(3){
        font-family: var(--main-en-font);
        color: var(--text-color);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        display: block;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        transition: color cubic-bezier(0.455, 0.03, 0.515, 0.955) 1s;
    }
    .hamburger-menu--open span{
        color: var(--color-white);
    }
    .header_list{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header_item{
        margin: 0 20px;
        a{
            color: var(--text-color);
            font-size: 30px;
        }
        .facebook:hover{
            color: var(--facebook-color);
        }
        .instagram:hover{
            color: var(--instagram-color);
        }
        .line:hover{
            color: var(--line-color);
        }
        .youtube:hover{
            color: var(--youtube-color);
        }
    }
    .l-header-bottom{
        background: var(--color-white);
    }
    .gnav_list{
        max-width: 1080px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gnav_item{
        margin: 0 50px;
        position: relative;

        a{
            padding: 15px 0;
            font-size: 15px;
            color: var(--text-color);
            font-weight: 500;
            text-align: center;
            display: block;
        }
        a:hover{
            color: var(--sub-color);
        }
    }
    .nolink{
        padding: 10px 0;
        font-size: 14px;
        color: var(--text-color);
        font-weight: 700;
        text-align: center;
        display: block;
        cursor: grab;
    }
    .childlist{
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: .3s all ease-in-out;
        position: absolute;
        top: 30px;
        left: 0;
    }
    .childlist.slidedown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0px);
    }
    .childitem{
        width: 180px;
        background: rgba(250, 250, 250, 0.9);
        position: relative;

        a{
            border-right: none;
        }

        span{
            padding: 0 10px;
            text-align: left;
        }
    }
    .childitem:first-child{
        border-radius: 5px 5px 0 0;
    }
    .childitem:last-child{
        border-radius: 0 0 5px 5px;
    }
    .fa-chevron-right{
        margin: 0 5px 0 0;
    }
}
/* footer */
.footer{
    padding: 30px 0;
    color: var(--color-white);
    background: var(--text-color);

    .footer_logo{
        margin: 0 auto 20px;
        max-width: 280px;
        text-align: center;
    }
    .footer_sns,
    .footer_info{
        margin: 0 0 20px 0;
    }

    .footer_list{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer_item{
        margin: 0 20px;
        a{
            color: var(--color-white);
            font-size: 30px;
        }
        .facebook:hover{
            color: var(--facebook-color);
        }
        .instagram:hover{
            color: var(--instagram-color);
        }
        .line:hover{
            color: var(--line-color);
        }
        .youtube:hover{
            color: var(--youtube-color);
        }
    }
    .footer_dlist{
        text-align: center;
        font-size: 14px;
    }
    .footer_data:not(:last-of-type){
        margin: 0 0 10px 0;
    }
    .contact a{
        color: var(--color-white);
    }
    .fa-envelope{
        margin: 0 5px 0 0;
    }
    .copyright{
        font-size: 10px;
    }
}
/* page-head */
.contest-head{
    padding: 80px 0;
    margin: 0 0 50px 0;
    background-color: var(--main-color);
    background-image: url(../images/bg_contest-head.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;

    .title{
        font-size: 28px;
        color: var(--color-white);
        text-align: center;
    }
}
/* title */
.title-en{
    margin: 0 0 20px 0;
    font-family: var(--main-en-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;

    span{
        font-family: var(--main-font);
        font-size: 16px;
        color: var(--color-gray-dark);
        font-weight: 500;
        line-height: 1.5;
        display: block;
    }
}
.title-en::first-letter{
    color: var(--sub-color);
}
.title-line-bottom{
    padding: 5px 10px;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    border-bottom: 6px solid var(--color-white);
    position: relative;
}
.title-line-bottom::before{
    content: "";
    width: 10%;
    height: 6px;
    position: absolute;
    bottom: -6px;
    left: 0;
    background: var(--main-color);
}
.title-underbar{
    margin: 0 0 40px 0;
    font-size: 20px;
    text-align: center;
    position: relative;
}
.title-underbar::before{
    content: '';
    width: 50px;
    height: 5px;
    background-color: var(--main-color);
    border-radius: 2px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
}
.title-box{
    padding: 5px 10px;
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--color-white);
    background: var(--main-color);
}
/* button */
.button-oval {
    max-width: 300px;
    a{
        padding: 15px 25px;
        color: var(--text-color);
        font-weight: 700;
        border-radius: 50vh;
        background: var(--color-gray-light);
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: relative;
        transition: cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    }
    a:hover{
        color: var(--color-white);
        background: var(--color-gray-dark);
    }
    a:after{
        font: var(--fa-font-solid);
        content: "\f054";
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        transition: right cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    }
    a:hover:after{
        right: 1.2rem;
    }
}

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

@media screen and (max-width: 1024px){
    html{
        font-size: 14px;
    }
    .main{
        margin-top: 55px;
    }
    .l-container,
    .l-container2{
        padding: 0 calc((40 / 1024) * 100%);
    }
    .l-container2{
        max-width: 900px;
    }
    .pc-show{
        display: none;
    }
    .tab-show{
        display: block;
    }
    .mobile-show{
        display: block;
    }
    .header{
        .header_logo{
            width: 120px;
        }
        .l-header-top{
            justify-content: space-between;
        }
        .hamburger-menu--open span:nth-child(1),
        .hamburger-menu--open span:nth-child(2){
            background: var(--color-white);
        }
        .hamburger-menu--open span:nth-child(1){
            transform: translateY(6px) rotate(20deg);
        }
        .hamburger-menu--open span:nth-child(2){
            transform: translateY(-6px) rotate(-20deg);
        }
        .hamburger-menu--open span:nth-child(3){
            color: var(--color-white);
        }
        .header_list{
            display: none;
        }
        .header_gnav{
            padding: 80px 10% 50px;
            background: var(--text-color);
            position: fixed;
            top: 0;
            right: -120%;
            z-index: 99;
            transition: right cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.5s;
        }
        .header_gnav--open{
            right: 0;
        }
        .gnav_list{
            width: 200px;
            flex-direction: column;
            align-items: flex-start;
        }
        .gnav_item{
            width: 100%;
            margin: 0 0 20px 0;

            a{
                color: var(--color-white);
                font-size: 15px;
                text-align: left;
            }
        }
        .gnav_item:first-child{
            border-left: none;
        }
        .nolink{
            color: var(--color-white);
            text-align: left;
            line-height: 20px;
            border-right: none;
            top: 0;
            transform: translate(-50%, 0);
        }
        .childlist{
            margin: 30px 0 0 10px;
            opacity: 1;
            visibility: visible;
            position: static;
            transform: translateY(0);
        }
        .childitem{
            background: none;

            span{
                padding-left: 0;
                padding-right: 0;
            }
        }
        .childitem:not(:last-child){
            margin: 0 0 15px 0;
        }
        .sns_list{
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .sns_list a{
            color: var(--color-white);
            font-size: 25px;
            line-height: 1;
        }
    }

    .title-line,
    .title-underbar,
    .title-box{
        font-size: 18px;
    }

    .contest-head{
        padding-top: 40px;
        padding-bottom: 40px;

        .title{
            font-size: 24px;
            text-align: center;
        }
    }
    
}

@media screen and (max-width: 600px){
    .l-container,
    .l-container2{
        padding: 0 calc((20 / 375) * 100%);
    }
    .tab-show{
        display: none;
    }
    .sp-show{
        display: block;
    }
    .page-head{
        .page-head_title{
            font-size: 24px;
        }
    }
    .footer{
        .footer_logo{
            max-width: 200px;
        }
    }
    .title-en{
        font-size: 28px;
    }
    .title-en span{
        font-size: 12px;
    }
}