@charset "UTF-8";

/*brakepoint library
@media (max-width: 480px) {sp}
@media (min-width: 481px) and (max-width: 768px) {tab}
@media (min-width: 769px) and (max-width: 1024px) {s_desktop}
@media (min-width: 1025px) and (max-width: 1280px) {m_desktop}
@media (min-width: 1281px) {l_desktop}
*/

/* common -----*/
:root{
    --base-color:#664444;
    --point-color:#e95283;
}

/* contest ---------------------------------------*/

.future-wrapper {
    background-color:#ffcde1;
    .future-main{
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        margin-top: 70px;
        margin-inline:auto;
        background: url("../img/bg-sv-photocontest.jpg") no-repeat center center;
        height: 900px;
        width: 100%;
        max-width: 1920px;
        &.calico{
            background: url("../img/bg-sv-photocontest-cc.jpg") no-repeat center center;
            background-size: cover;
        }
        @media (min-width: 1281px) {
            background-size:cover;
        }
        @media (min-width: 481px) and (max-width: 820px) {
            background: url("../img/bg-sv-photocontest-tab.jpg")  no-repeat center center;
            background-size:cover;
            margin-top: 0;
            min-height:650px;
            max-height:800px;
            &.calico{
                background: url("../img/bg-sv-photocontest-cc-tab.jpg") no-repeat center center;
                background-size:cover;
            }
        }
        @media (max-width: 480px) {
            background: url("../img/bg-sv-photocontest-sp.jpg") no-repeat top center;
            background-size:cover;
            margin-top: 0;
            max-height:680px;
            &.calico{
                background: url("../img/bg-sv-photocontest-cc-sp.jpg") no-repeat center center;
                background-size:cover;
            }
        }
        &::after{
            content: "";
            background: url("../../assets/img/logo_header.png") center top no-repeat;
            position: absolute;
            right: 20px;
            top: 20px;
            display: block;
            width: 170px;
            height: 100%;
            @media (min-width: 481px) and (max-width: 820px) {
                right:10px;
                top:50px;
                width:170px;
                background-size:contain;
            }
            @media (max-width: 480px) {
                right:10px;
                top:50px;
                width:105px;
                background-size:contain;
            }
        }
        .future-title{
            position: absolute;
            left: 3%;
            bottom: 10%;
            @media (min-width: 481px) and (max-width: 820px) {
                    bottom:3%;
                }
            @media (max-width: 480px) {
                left:0;
                bottom:3%;
                text-align:center;
            }
            img{
                @media (min-width: 481px) and (max-width: 820px) {
                    max-width:90%;
                }
                @media (max-width: 480px) {
                    max-width:90%;
                }
            }
        }
    }
}

.prologue
{
    padding: 96px 50px 80px;
    background: url("../img/bg-dot-pink.jpg") repeat;
    position: relative;
    @media screen and (max-width: 840px){
        padding: 40px 20px;
    }
    &::after {
        content: "";
        background-image: url("../img/lace.png");
        background-repeat: repeat-x;
        background-position: bottom;
        display: inline-block;
        width: 100%;
        height: 35px;
        position: absolute;
        bottom: -35px;
        left: 0;
        overflow: hidden;
        z-index: 1;
        @media screen and (max-width: 840px){
            background-size:50px;
            bottom:-22px;
        }
    }
}

.contest-wrapper {
    background: #fde8e9;
	position: relative;
	overflow: unset;
}

.contest-term-text {
    padding: 1rem;
	font-size: clamp(1rem, 0.924rem + 0.32vw, 1.313rem);
	line-height: 1.6;
    letter-spacing: .1rem;
	font-weight: 600;
    text-align: center;
    background-color: #d05e8c;
    color: #fff;
}

.main-wrapper {
    color: #664444;
	position: relative;
	overflow: unset;
}

.contest-main {
	background: #ceedea;
	padding: 96px 50px 80px;
    position: relative;
    @media (min-width: 481px) and (max-width: 768px) {
        padding: 2rem 3rem 2rem;
    }
    @media (max-width: 480px) {
		padding: 2rem 1rem 2rem;
	}
}

.theme,.attend{
    margin-bottom: 80px;
}

.inner {
	max-width: 1100px;
    padding: 65px 110px;
	margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    .prologue & {
        padding: unset;
        background:unset;
        border-radius: unset;
    }
    @media screen and (max-width: 840px){
        padding:15% 10%;
    }
    h2{
        color: #d05e8c;
        border-bottom: 3px dashed;
        /*font-size: clamp(2rem, 1.757rem + 1.04vw, 3rem);*/
        font-size: clamp(1.313rem, 0.773rem + 2.3vw, 2.5rem);
        font-weight: 800;
        text-align: center;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }
    .lead{
        border-radius: 15px;
        padding: 20px;
        @media screen and (max-width: 840px){
            padding:0;
        }
        .prologue & {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            font-size: 2rem;
            text-align: left;
            line-height: 1.5;
            padding: 65px 110px;
            margin-bottom: 0;
            position: relative;
            word-break: auto-phrase;
            outline: 3px dashed #d05e8c;
            outline-offset: -15px;
            @media screen and (max-width: 840px){
                font-size:1.15rem;
                padding: 50px 30px 50px 40px;
                margin: 0 auto;
            }
            &::before {
                display: block;
                content: '';
                background: url('../img/strawberry.png') no-repeat left top;
                background-size: 100%;
                width: 160px;
                height: 100%;
                position: absolute;
                left: -40px;
                top: -42px;
                @media screen and (max-width: 840px){
                    width:90px;
                    left:-10px;
                    top:-30px;
                }
            }
            &::after {
                display: block;
                content: '';
                background: url('../img/strawberry.png') no-repeat right bottom;
                background-size: 100%;
                width: 160px;
                height: 230px;
                position: absolute;
                right: -30px;
                bottom: -32px;
                left: unset;
                top: unset;
                @media screen and (max-width: 840px){
                    width:90px;
                    height:107px;
                    right:-10px;
                    bottom:-20px;
                }
            }
        }
        .hashtag-text{
            color: #d05e8c;
            text-align: center;
        }
        .hashtag-image{
            color: #fff;
            background: #d05e8c;
            width: fit-content;
            margin: 0 auto;
            padding: .5rem 1rem;
        }
        .sns-image{
            display: block;
            width: 65%;
            max-width: 180px;
            margin: 15px auto 15px auto;
        }
        .sns-btn{
            background: #d05e8c;
            border-radius: 30px;
            color: #FFFFFF;
            font-weight: 600;
            padding: 0.2em 1em;
            display: block;
            width: fit-content;
            margin: .5rem auto;
            @media screen and (max-width: 840px){
                font-size:3.5vw;
            }
        }
        h3{
            font-size: 1.5rem;
            font-weight: 600;
            padding:0.5em;
            position: relative;
            padding-left: 30px;
            line-height: 1.5em;
            padding: 0 0.5em 0.5em 35px;
            margin-top: 2rem;
            @media screen and (max-width: 840px){
                font-size:1rem;
            }
            span{
                position: absolute;
                counter-increment: number;
                content: counter(number);
                display:inline-block;
                background: #654343;
                color: white;
                font-weight:bold;
                font-size: 15px;
                border-radius: 50%;
                left: 0;
                width: 25px;
                height: 25px;
                line-height: 25px;
                text-align: center;
                top: 40%;
                -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
            }
            .terms &{
                padding-left: 0;
            }
        }
        p{
            font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
            line-height: 1.5;
        }
        ul{
            margin-left: 1rem;
            li{
                .theme &{
                    list-style: disc;
                }
            }
        }
        ol.number-deco{
            counter-reset:number;
            list-style-type: none!important;
            padding:0.5em;
            margin-left: 1rem;
            @media screen and (max-width: 840px){
                padding:0;
                margin-left: 0;
            }
            li{
                position: relative;
                padding-left: 30px;
                line-height: 1.5em;
                padding: 0.5em 0.5em 0.5em 45px;
                margin-bottom: .5rem;
                &::before{
                    position: absolute;
                    counter-increment: number;
                    content: counter(number);
                    display:inline-block;
                    background: #654343;
                    color: white;
                    font-weight:bold;
                    font-size: 15px;
                    border-radius: 50%;
                    left: 10px;
                    width: 25px;
                    height: 25px;
                    line-height: 25px;
                    text-align: center;
                    top: 50%;
                    -webkit-transform: translateY(-50%);
                    transform: translateY(-50%);
                }
            }
        }
        ol.number-pink{
            counter-reset:number;
            list-style-type: none!important;
            padding:0.5em;
            margin-left: 1rem;
            @media screen and (max-width: 840px){
                padding:0;
                margin-left: 0;
            }
            li{
                position: relative;
                padding-left: 30px;
                line-height: 1.5em;
                padding: 0.5em 0.5em 0.5em 45px;
                margin-bottom: .5rem;
                background: #fde8e9;
                &::before{
                    position: absolute;
                    counter-increment: number;
                    content: counter(number);
                    display:inline-block;
                    background: #d05e8c;
                    color: white;
                    font-weight:bold;
                    font-size: 15px;
                    border-radius: 50%;
                    left: 10px;
                    width: 25px;
                    height: 25px;
                    line-height: 25px;
                    text-align: center;
                    top: 50%;
                    -webkit-transform: translateY(-50%);
                    transform: translateY(-50%);
                }
            }
        }
        ol.terms{
            li{
                list-style: auto;
                line-height: 1.5;
                margin-left: 2rem;
                margin-bottom: .5rem;
                &:last-child{
                    margin-bottom: unset;
                }
            }
            ol{
                li{
                    list-style:lower-alpha;
                }
            }
        }
        &.next-step{
            position: relative;
            &::after{
                content: "";
                background: #58b7ac;
                display: block;
                width: 100%;
                height: 30px;
                clip-path: polygon(47% 0, 53% 0, 50% 100%);
                margin-top: 1rem;
                @media screen and (max-width: 840px){
                    clip-path: polygon(42% 0, 59% 0, 50% 100%);
                }
            }
        }
        }
        .text-caution{
            li{
                position: relative;
                padding-left: 1rem;
                &::before{
                    content: "※";
                    position: absolute;
                    display:flex;
                    align-items: center;
                    justify-content: center;
                    width: fit-content;
                    height: auto;
                    left: 0;
                }
            }
        }
    }
}

.prologue-inner {
	max-width: 1100px;
	margin: 0 auto;
    @media screen and (max-width: 840px){
        padding:15% 10%;
    }
}

.prologue-lead {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 20px;
    font-size: 2rem;
	text-align: left;
    line-height: 1.5;
	padding: 65px 110px;
	margin-bottom: 0;
	position: relative;
    word-break: auto-phrase;
    @media screen and (max-width: 840px){
        font-size:1.15rem;
		padding: 50px 30px 50px 40px;
		margin: 0 auto;
    }
    &::before {
        display: block;
        content: '';
        background: url('../img/entry-lead-frame.png') no-repeat left top;
        background-size: 100%;
        width: 230px;
        height: 100%;
        position: absolute;
        left: -40px;
        top: -42px;
        @media screen and (max-width: 840px){
            width:107px;
            left:-10px;
            top:-10px;
        }
    }
    &::after {
        display: block;
        content: '';
        background: url('../img/entry-lead-frame.png') no-repeat right bottom;
        background-size: 100%;
        width: 230px;
        height: 230px;
        position: absolute;
        right: -30px;
        bottom: -32px;
        left: unset;
        top: unset;
        transform: rotate(180deg);
        @media screen and (max-width: 840px){
            width:107px;
            height:107px;
            right:-10px;
            bottom:-20px;
        }
    }
}

.prologue-lead p {
	font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
	line-height: 1.89;
	margin-bottom: 1em;
	color: #664444;
	letter-spacing: 0.08em;
    word-break:auto-phrase;
    @media screen and (max-width: 840px){
        text-align:left;
		line-height: 1.62;
		margin-bottom: 1.7em;
		letter-spacing: 0.1em;
        word-break:break-word;
    }
}

.prologue-lead p:last-child {
	margin-bottom: 0;
}

.commercial{
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem 2rem;
     grid-column-gap:1rem;
    @media screen and (max-width: 840px){
        padding: 1rem 1rem 2rem;
        flex-direction:column;
        grid-row-gap:1rem;
    }
    img{
        width: 100%;
        max-width: 580px;
        max-height: 250px;
    }
}

.copyright{
    padding-bottom: 4rem;
    @media screen and (max-width: 840px){
        padding-bottom: 2rem;
    }
}

/*Other*/
.display-none{
	display: none !important;
}
