@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,
                    url("../img/bg-sv-photocontest-cc-tab-bg.jpg") no-repeat center center;
                background-size:contain,cover;
                max-height: 900px;
            }
        }
        @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;
                max-height: 590px;
            }
        }
        &::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;
    */
    max-width: 1000px;
    padding: 60px 80px;
	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% 8%;
    }
    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: 1.75rem;
            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-size: clamp(1.125rem, 0.898rem + 0.97vw, 1.625rem);
            font-weight: 600;
            padding:0.5em;
            position: relative;
            padding-left: 30px;
            line-height: 1.5em;
            padding: 0 0.5em 0.5em 35px;
            margin-top: 3rem;
            @media screen and (max-width: 840px){
                /*font-size:1rem;*/
                font-size:clamp(1.188rem, 1.102rem + 0.36vw, 1.375rem);
            }
            span{
                position: absolute;
                counter-increment: number;
                content: counter(number);
                display:flex;
                background: #654343;
                color: white;
                font-weight:bold;
                font-size: 16px;
                border-radius: 50%;
                left: 0;
                width: 25px;
                height: 25px;
                line-height: normal;
                justify-content: center;
                align-items: baseline;
                top: 40%;
                -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
            }
            .terms &{
                padding-left: 0;
            }
        }
        p{
            /*font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);*/
            font-size: clamp(1.125rem, 1.068rem + 0.24vw, 1.25rem);
            line-height: 1.75;
            margin-bottom: 1rem;
        }
        ul{
            margin-left: 1rem;
            li{
                line-height: 1.75;
                margin-bottom: 1rem;
                font-size: clamp(1.063rem, 1.034rem + 0.12vw, 1.125rem);
                &:last-child{
                    margin-bottom: unset;
                }
                .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;
                border-radius: 10px;
                &::before{
                    position: absolute;
                    counter-increment: number;
                    content: counter(number);
                    display:inline-block;
                    background: #d05e8c;
                    color: white;
                    font-weight:bold;
                    font-size: 16px;
                    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.75;
                margin-left: 2rem;
                margin-bottom: .5rem;
                font-size: clamp(1.063rem, 1.034rem + 0.12vw, 1.125rem);
                word-break: auot-phrase;
                &:last-child{
                    margin-bottom: unset;
                }
            }
            ol{
                margin-top: 1rem;
                li{
                    list-style:lower-alpha;
                    line-height: 1.25rem;
                    &:last-child{
                        margin-bottom: 2rem;
                    }
                }
            }
        }
        &.next-step{
            position: relative;
            padding-bottom: 0;
            &::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{
            padding-top: 50px;
            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;
    }
}

/* short story*/
.short-story{
    padding: 50px;
    /*background: url("../img/bg-dot-pink.jpg") repeat;*/
    background: #d47199;
    position: relative;
    @media screen and (max-width: 840px){
        padding: 40px 20px;
    }
    .inner{
        padding: 40px 80px;
        @media (max-width: 480px) {
            padding: 8%;
        }
    }
}
.short-story-box {
    /*background-color: #fff;
    border: 2px solid #E495AC;
    border-radius: 20px;
    overflow: hidden;*/
}
.short-story 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;
    }
}
@media screen and (max-width: 840px) {
    .short-story-box {
        border-radius: 10px;
    }
}
.short-story-box + .short-story-box {
    margin-top: 20px;
}
@media screen and (max-width: 840px) {
    .short-story-box + .short-story-box {
        margin-top: 10px;
    }
}
.short-story-box-ttl {
    position: relative;
    padding: 22px 20px 20px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    span{
        display: block;
        font-size: 80%;
        font-weight: normal;
    }
    @media screen and (max-width: 840px) {
        padding: 10px 60px;
        font-size: 18px;
    }
    @media (max-width: 480px) {
        padding: 10px 50px;
    }
}

@media (any-hover: hover) {
    .short-story-box-ttl {
        -webkit-transition: color 0.3s;
        transition: color 0.3s;
    }
    .short-story-box-ttl:hover {
        color: #E495AC;
    }
}
.short-story-box-ttl::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 36px;
    height: 36px;
    margin-block: auto;
    background: url("../img/icon_arrow_accordion.svg") no-repeat left top/100% auto;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    @media (max-width: 480px) {
        right:0;
    }
}
.short-story-box-ttl.is-open::before {
    -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.short-story-box-contents {
    display: none;
}
.short-story-box-contents-inner {
    padding: 30px 50px 40px;
}
@media screen and (max-width: 840px) {
    .short-story-box-contents-inner {
        padding: 40px 20px 20px;
    }
}
.short-story-box-close {
    display: block;
    width: fit-content;
    padding: 13px 20px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #E495AC;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
}
@media screen and (max-width: 840px) {
    .short-story-box-close {
        padding-block: 4px;
        font-size: 18px;
    }
}

/* toast */
#toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    gap: 0.5rem;
}
.toast {
    background: #333;
    color: #fff;
    padding: 0.8rem 1.2rem;
}

/*Other*/
.display-none{
	display: none !important;
}
