@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Alegreya&family=M+PLUS+Rounded+1c:wght@500&family=Noto+Sans+JP&display=swap');

html{
    font-size: 62.5%;
}

body{
    font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
    background-image: url(../images/bg-img2024_2.jpg);
    /* background-image: url(../images/bg-img2024_30.jpg); */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

:root{
    --bg-color: rgba(2, 14, 52, 1);
    --brown: rgba( 34, 24, 21, 1 );
    --white: rgba(255, 255, 255, 1);
    --text-color: rgba( 0, 0, 0, 0.8 );
    --text-color: rgba(255, 255, 255, 1);
    --title-size: clamp( 2rem, 2vw, 3rem );
    --text-size: clamp( 1.6rem, 3vw, 2rem );
}

@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* 共通設定 --------------------- */
h1, h2, h3, h4, h5{
    font-size: var(--title-size);
    line-height: 1em;
    margin-bottom: 10px;
}

ul, ol, dl, p{
    list-style-type: none;
    font-size: var(--text-size);
    color: var(--text-color);
}

ul li,
ol li,
p{
    line-height: 1.4;
}

a{
    /* display: block; */
    color: var(--text-color);
    text-decoration: none;
    transition: all .5s;
}

.author{
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.title{
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

img{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    --touch-callout: none;
    user-select: none;
}

@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* リボン ------------------------ */
.ribbon{
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.ribbon h1{
    display: inline-block;
    color: #FFF;
    width: 80%;
    margin: 0;
    padding: 20px 20px;
}

/* 左側のリボン端 */
.ribbon::before{
    position: absolute;
    bottom: 25%;
    left: 6%;
    content: '';
    width: 50px;
    border-width: 30px 0px 30px 15px;
    border-style: solid;
    z-index: -2;
}

/* 右側のリボン端 */
.ribbon::after{
    position: absolute;
    right: 6%;
    bottom: 25%;
    content: '';
    width: 50px;
    border-width: 30px 15px 30px 0px;
    border-style: solid;
    z-index: -2;
}

/* .gold：最優秀賞 -------------- */
.gold h1{
    background: rgba(218, 165, 32, 1);
}

.gold::before{
    border-color: rgba(184, 132, 11, 1) transparent rgba(184, 132, 11, 1) transparent;
}

.gold::after{
    border-color: rgba(184, 132, 11, 1) transparent rgba(184, 132, 11, 1) transparent;
}

/* .silver：優秀賞 -------------- */
.silver h1{
    background: rgba(192, 192, 192, 1);/*真ん中の背景色*/
}

.silver::before{
    border-color: rgba(169, 169, 169, 1) transparent rgba(169, 169, 169, 1) transparent;
}

.silver::after{
    border-color: rgba(169, 169, 169, 1) transparent rgba(169, 169, 169, 1) transparent;
}

/* .bronze：シーニック賞 ---------  */
.bronze h1{
    background: rgba(200, 150, 120, 1);/*真ん中の背景色*/
}

.bronze::before{
    border-color: rgba(170, 130, 110, 1) transparent rgba(170, 130, 110, 1) transparent;
}

.bronze::after{
    border-color: rgba(170, 130, 110, 1) transparent rgba(170, 130, 110, 1) transparent;
}

/* #header ---------------------- */
#header{
    /* background-color: rgba(60, 80, 100, 1); */
    margin-bottom: 0px;
    padding: 20px 20px;
}

#header h1{
    color: #fff;
    /* color: rgb(83, 83, 216); */
    margin-bottom: 0;
}

.head-images-wrap{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 30em 0;
}

.wrapper{
    margin: 0 auto;
}

.wrapper p{
    display: block;
    font-weight: bold;
    text-align: center;
}

.section{
    margin: 0 auto 0px;
}

#main{
    margin-bottom: 80px;
}

.main-img img{
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contest-resurut-btn{
    display: block;
    text-align: center;
    margin: 0 auto;
}

.contest-resurut-btn a{
    display: block;
    width: 100%;
    max-width: 960px;
    text-align: center;
    margin: 0 auto;
}

.contest-resurut-btn a img{
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.section-bg{
    background-repeat: no-repeat;
    background-size: 100%;
    background-size: cover;
    background-position: center;
    padding: 20em 0;
}

.content{
    width: clamp( 350px, 95%, 1000px );
    margin: 0 auto;
}

.content dl dt{
    margin-bottom: 30px;
}

.content dl dt img{
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.content dl dd{
    font-size: var(--text-size);
    font-weight: bold;
    /* color: #fff; */
    text-align: center;
    margin-bottom: 80px;
}

.content dl dd span{
    display: block;
    font-size: 90%;
    text-align: center;
}

#terms ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin: 0 auto;
}

#terms ul li{
    position: absolute;
}

#terms ul li img{
    width: 100%;
    max-width: 160px;
}

#terms ul li:nth-child(1){
    bottom: 33%;
    left: 15%;
}

#terms ul li:nth-child(2){
    right: 15%;
    bottom: 8%;
}

/* #period：応募期間 ---------------------------- */
.silver h1{
    background: rgba(192, 192, 192, 1);
}

.ymd{
    color: rgb(229, 255, 0);
    font-weight: bold;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
}

.ymd-list{
    display: flex;
    flex-flow: column wrap;
    font-size: 2rem;
    font-weight: bold;
    color: rgb(229, 255, 0);
    margin-bottom: 15px;
}

.ymd-list li{
    text-align: center;
    margin-bottom: 20px;
}

.triangre{
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    border-top: 15px solid rgb(229, 255, 0);
    border-bottom: 0;
    margin: 0 auto;
}

#period{
    margin-bottom: 80px;
}

#period ol{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.contest-info{
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.contest-info a img{
    display: block;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    margin: 0 auto;
}

.section h1{
    display: block;
    text-align: center;
    margin: 0 auto 50px;
}

.section h1 img{
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

#examination ol{
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 50px;
}

#examination ol li{
    font-size: var(--text-size);
    width: clamp( 300px, 100% / 3, 1000px );
    text-align: center;
    margin: 0 auto 50px;
}

#examination ol li:last-child{
    margin-bottom: 0;
}

#examination ol li img{
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 0 auto 20px;
}

#info{
    width: clamp( 350px, 95%, 960px );
    margin: 0 auto 0px;
    padding: 0;
}

#info a{
    /* font-size: var(--title-size); */
    font-weight: bold;
    /* color: rgb(255, 255, 0); */
}

#info a img{
    width: 100%;
    max-width: 350px;
}

.info-list{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    /* margin-bottom: 50px; */
}

.info-list li{
    margin-bottom: 20px;
}

.info-list li a{
    font-size: var(--text-size);
    font-size: 1.6rem;
}

#pagetop{
    background-color: #777;
    position: fixed;
    right: 3%;
    bottom: 3%;
    width: 50px;
    padding: 10px 0px;
}

.arrow-top{
    display: block;
    width: 18px;
    height: 18px;
    border-top: 3px solid var(--white);
    border-left: 3px solid var(--white);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

/* 結果発表：ContestResult.html --------------------- */
.contest-result_header{
    margin-bottom: 50px;
}

.head-title-wrap h1 img{
    width: 100%;
}

#contest-result{
    width: clamp( 350px, 95%, 960px );
}

#contest-result h2 img{
    display: block;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 80px;
}

.image-wrap{
    position: relative;
    margin: 0 auto 80px;
}

.image-wrap h2,
.image-wrap p{
    text-align: center;
    margin-bottom: 0px;
}

.image-wrap a img{
    display: block;
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto 10px;
}

.image-wrap .sukashi a{
}

.img-frame{
}

/* .gold：最優秀賞 -------------- */
.gold h1{
    background: rgba(218, 165, 32, 1);
}

.gold::before{
    border-color: rgba(184, 132, 11, 1) transparent rgba(184, 132, 11, 1) transparent;
}

.gold::after{
    border-color: rgba(184, 132, 11, 1) transparent rgba(184, 132, 11, 1) transparent;
}

/* .silver：優秀賞 -------------- */
.silver h1{
    background: rgba(192, 192, 192, 1);/*真ん中の背景色*/
}

.silver::before{
    border-color: rgba(169, 169, 169, 1) transparent rgba(169, 169, 169, 1) transparent;
}

.silver::after{
    border-color: rgba(169, 169, 169, 1) transparent rgba(169, 169, 169, 1) transparent;
}

/* .bronze：シーニック賞 ---------  */
.bronze h1{
    background: rgba(200, 150, 120, 1);/*真ん中の背景色*/
}

.bronze::before{
    border-color: rgba(170, 130, 110, 1) transparent rgba(170, 130, 110, 1) transparent;
}

.bronze::after{
    border-color: rgba(170, 130, 110, 1) transparent rgba(170, 130, 110, 1) transparent;
}

.img-frame{
    background: #fff;
    /* background-color: red; */
    max-width: 300px;
    object-fit: cover;
    box-shadow: 1px 1px 5px rgba(20,20,20,0.2);
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 7px;
    /* position: relative; */
}

.author{
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.title{
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
}

.image-wrap ul li h2,
.image-wrap ul li p{
    text-align: center;
}

.image-wrap ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.image-wrap ul li{
    width: 45%;
    margin-bottom: 20px;
}

.image-wrap ul li a img{
    width: 100%;
    max-width: 800px;
}

.image-wrap ul li a img .box-frame{
    /* width: 45%; */
    max-height: 200px;
}

.image-wrap.third{
    margin: 0 auto 50px;
}

/* 以前の以前の受賞作品はこちら */
.pass-label{
    display: block;
    width: 250px;
    margin: 0 auto 0px;
}

:root{
    --gold: rgba(192, 173, 99, 1);
}

.custom-btn{
    /* background-color: rgb(253, 211, 86); */
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(192, 173, 99)), to(#fea));
    color: #fff;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    font-style: normal;
    text-shadow: 0px -1px 0px rgba(0,0,0,0.4);
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px rgba(255,255,255,1),0px 1px 3px rgba(0,0,0,0.3);
    outline: none;
    border: 1px solid #ba6;
    padding: 15px 0px;
}

.custom-btn:active{
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
}

.custom-btn p{
    background-image: linear-gradient(
        70deg,
        rgb(211, 209, 209, 0.3)  45%, 
        #000 50%,
        rgb(211, 209, 209, 0.3) 55% 
    );
    background-image: linear-gradient(
        70deg,
        #000 45%, 
        #fff 50%,
        #000 55% 
    );
    background-image: linear-gradient(
        70deg,
        #fff 45%, 
        #888606 50%,
        #fff 55% 
    );
    background-size: 500% 100%;
    background-clip: text;
    font-size: 2rem;
    text-align: center;
    font-family: arno-pro, serif;
    font-weight: 400;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 3.5s infinite;
}

@keyframes shine{
    0%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

.pass-title{
    /* background-color: rgba( 236, 191, 77, 1 ); */
    font-size: 2rem;
    font-weight: bold;
    width: 220px;
    /* width: 0; */
    text-align: center;
    border-bottom: 2px solid rgba( 236, 191, 77, 1 );
    border-bottom: 2px solid rgb(47, 200, 190);
    /* border: 2px solid rgb(47, 200, 190); */
    /* border-bottom: 4px dotted rgb(47, 200, 190); */
    /* border-radius: 50px; */
    margin: 0 auto 0px;
    padding: 5px 10px;
    cursor: pointer;
}

.pass-title::after{
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2.5px solid rgba( 0, 0, 0, 1 );
    border-bottom: 2.5px solid rgba( 0, 0, 0, 1 );
    vertical-align: middle;
    margin-left: 13px;
    margin-bottom: 3px;
    transform: rotate(45deg);
}

.pass-label input{
    display: none;
}

.pass-wrap{
    display: block;
    width: clamp( 200px, 100%, 300px );
    /* width: 250px; */
    overflow: hidden;
    height: 0;
    margin: 0 auto 50px;
    padding: 0px 10px;
    transition: all .3s;
}

#pass:checked ~ .pass-title{
    background-color: rgba(47, 200, 190);
    color: #fff;
    border-bottom: 0px;
    /* border-radius: 50px; */
    /* transform: rotate(-135deg); */
    margin-bottom: 0;
}

#pass:checked ~ .pass-title::after{
    /* border-bottom: red 2px dotted; */
    border-color: #fff;
    transform: rotate(-135deg);
    margin-bottom: 0;
}

#pass:checked ~ .pass-wrap{
    height: auto;
    padding: 10px 10px;
}

.pass-wrap ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.pass-wrap ul li{
    width: 45%;
    width: 100%;
    margin-bottom: 10px;
}

.pass-wrap ul li a{
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 5px 5px;
}

.pass-wrap ul li a:hover{
}

.return{
    margin: 0 auto 50px;
}

.return a{
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
}

.return a::after{
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    vertical-align: middle;
    transform: rotate(45deg);
    margin-left: 10px;
}

/* #footer ------------------- */
#footer{
    font-family: 'Hiragino Mincho Pro','游明朝','Yu Mincho',YuMincho,serif;
	width: 100%;
}

.foot-logo{
    margin-bottom: 10px;
}

.foot-logo img{
    width: 100%;
    max-width: 145px;
}

.foot-wrap{
    width: clamp( 350px, 95%, 1000px );
    margin: 0 auto 0px;
    padding: 0 15px;
    padding: 5em 0;
}

.foot-wrap h1{
    background-color: var(--white);
    font-size: 1.6rem;
    width: 100%;
    max-width: 130px;
    text-align: center;
    border: 1px solid #000;
    padding: 10px 10px;
}

.foot-wrap ul{
}

.foot-wrap ul li br{
    display: none;
}

.foot-wrap ul li:nth-child(1),
.foot-wrap ul li:nth-child(2){
    font-weight: bold;
}

#footer .sc-logo{
    /* background-color: rgba(60, 80, 100, 1); */
    display: flex;
    justify-content: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--white);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

#footer .sc-logo p img{
    margin-right: 10px;
}

#footer .sc-logo p img{
    width: 60%;
    margin-right: 0;
}

/* タブレットたて --------------- */
@media screen and (max-width: 1024px){
}

/* スマホよこ ------------------ */
@media screen and (max-width: 896px){
    .hum-but{
        position: fixed;
        top: 2%;
        right: 3%;
        width: 40px;
        height: 30px;
        cursor: pointer;
        z-index: 1;
        transition: all 0.5s ease-in-out;
        z-index: 9999;
    }

    .hum-but span{
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: var(--blue);
        border-radius: 4px;
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }

    .hum-but span:nth-of-type(1){
        top: 0;
    }

    .hum-but span:nth-of-type(2){
        top: 13px;
    }

    .hum-but span:nth-of-type(3){
        bottom: 0;
    }

    input:checked ~ .hum-but{
        /* left: 0%; */
    }

    input:checked ~ .hum-but span:nth-of-type(1){
        background-color: var(--blue);
        transform: translateY(13px) rotate(-45deg);
    }

    input:checked ~ .hum-but span:nth-of-type(2){
        /* left: 50%; */
        opacity: 0;
        animation: active-btn .8s forwards;
    }

    @keyframes active-btn{
        100% {
            height: 0;
        }
    }

    input:checked ~ .hum-but span:nth-of-type(3){
        background-color: var(--blue);
        transform: translateY(-13px) rotate(45deg);
    }

    nav{
        background-color: rgba(205, 205, 205, 1);
        background-color: rgb(239, 239, 239);
        position: fixed;
        bottom: 100%;
        width: 100%;
        height: 100vh;
        border-radius: 0 0;
        animation: fadeOut .3s ease 0s 1 normal backwards;
        z-index: 999;
    }

    @keyframes fadeOut{
        from{
            transform: translateY(100%);
        }

        to{
            transform: translateY(0%);
        }
    }

    input:checked ~ nav{
        bottom: 0;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        align-items: center;
        margin: 0 auto;
        animation: fadeIn .5s ease .1s 1 normal backwards;
    }

    @keyframes fadeIn{
        from{
            opacity: 0;
            transform: translateY(-100%);
        }

        to{
            opacity: 1;
            transform: translateY(0%);
        }
    }

    input:checked ~ nav .head-menu{
        display: flex;
        margin: 0 auto;
    }

    /* #header ------------------------ */
    .head-images-wrap{
        background-size: cover;
        padding: 15em 15em;
    }
    
    .head-images-wrap ul{
        background-color: none;
        display: flex;
        flex-flow: row;
        margin: 0 auto;
        padding: 10px 0px;
    }
    
    .head-images-wrap ul li{
        width: clamp( 350px, 100% / 5, 1000px );
        width: 100%;
    }
    
    .head-images-wrap ul li img{
        width: 100%;
        max-width: 500px;
    }

    .section-bg{
        /* background-size: 100%; */
        /* background-size: contain; */
        background-size: cover;
    }

    /* #terms：応募条件 ---------------- */
    #terms ul li img{
        width: 80%;
    }

    #terms ul li:nth-child(1){
        bottom: 33%;
        left: 2%;
    }

    #terms ul li:nth-child(2){
        bottom: 8%;
        right: 3%;
    }

    /* #pagetop ---------------- */
    #pagetop{
        right: 3%;
        bottom: 3%;
    }

    .foot-wrap{
        padding: 5em 0;
    }

    .foot-wrap ul li br{
        display: block;
    }
}

/* スマホたて ------------------ */
@media screen and (max-width: 480px){
    /* #header ----------------------- */
    .sc-logo{
        justify-content: center;
        align-items: center;
    }

    .sc-logo .sbw{
        font-size: 1.4rem;
        text-align: right;
    }

    .sc-logo .sbw br{
        display: none
    }

    /* 左側のリボン端 */
    .ribbon::before{
        position: absolute;
        left: 4%;
    }

    /* 右側のリボン端 */
    .ribbon::after{
        position: absolute;
        right: 4%;
    }

    .main-img img{
        width: 85%;
        max-width: 500px;
        margin: 0 auto;
    }


    /* #terms：応募条件 ---------------- */
    #terms ul li{
        /* background-color: red; */
        width: 100%;
        max-width: 50px;
    }

    #terms ul li img{
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    #terms ul li:nth-child(1){
        bottom: 38%;
        left: 3%;
    }

    #terms ul li:nth-child(2){
        bottom: 8%;
        right: 8%;
    }

    /* #pagetop ---------------- */
    #pagetop{
        right: 3%;
        bottom: 3%;
    }

    /* #footer --------------------- */
    .foot-wrap ul li{
        font-size: 93%;
        margin-bottom: 5px;
    }

    .foot-wrap ul li a{
        text-decoration: underline;
    }
}