@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;
    height: 100%;
}

: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 );
    --title-size: clamp( 2rem, 2vw, 3rem );
    --text-size: clamp( 1.6rem, 2vw, 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, p{
    list-style-type: none;
    font-size: var(--text-size);
}

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

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

@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: 30px;
}

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

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

/* 右側のリボン端 */
.ribbon::after{
    position: absolute;
    right: 6%;
    bottom: -5px;
    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: var(--brown);
    padding: 20px 1em;
}

#header h1{
    color: #fff;
    margin-bottom: 0;
}

.head-title-wrap{
    background-color: rgba(60, 80, 100, 1);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.head-title-wrap p{
    font-size: var(--title-size);
    font-weight: bold;
    color: #fff;
}

.sc-logo{
    display: flex;
    align-items: center;
}

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

.head-images-wrap{
    background-image: url(../images/2023/photocon2023.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /* background-size: contain; */
    background-position: center;
    padding: 30em 0;
}

.wrapper{
    height: 100%;
    margin: 0 auto;
}

.section{
    margin: 0 auto 0px;
}

#main{
}

.main-img img{
    width: 100%;
}

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

.middle{
    background-image: url(../images/2023/section_bg01.jpg);
    background-image: url(../images/2023/section_bg04.jpg);
}

.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;
}

.bottom{
    background-image: url(../images/2023/section_bg02.jpg);
    background-image: url(../images/2023/section_bg05.jpg);
}

.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{
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

#period{
    margin-bottom: 80px;
}

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

.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 50px;
    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: 10%;
    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 50px;
}

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

.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{
}

.photo{
    background-image: url(../images/sukashi.png);
}

.sukashi{
    background-color: red;
    /* position: absolute;
    top: 20%;
    left: 35%; */
    display: block;
    width: 100%;
    /* max-width: 300px; */
}

/* .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;
}

/* #footer ------------------- */
#footer{
	/* background: #e2e2e2; */
    background-image: url(../images/2023/foot-bg.jpg);
    background-size: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Hiragino Mincho Pro','游明朝','Yu Mincho',YuMincho,serif;
	width: 100%;
    margin-top: auto;
}

.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: 10em 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: 5px 0;
}

#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: 5%;
        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;
        bottom: -5px;
        left: 4%;
    }

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

    /* #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: 9%;
        bottom: 3%;
    }

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