@charset "utf-8";

.interactive {
    position: relative;
    transition: 1s ease-in-out;
    transform: translateY(40px);
    opacity: 0;
}

.fadeIn {
    transform: translateY(0);
    opacity: 100;
}

/* .delay {
    transition: transform .8s, opacity .4s;
} */

body .content-wrapper {
    position: relative;
    font-family: dnp-shuei-shogomincho-std, sans-serif;
    font-style: normal;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.6em;
    color: #333;
    line-height: 1.8;
    overflow-x: clip;
}

main.campaign {
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.campaign h2 {
    padding: 70px 0 100px;
    font-size: clamp(1.3em, 4vw, 2em);
    color: #fff;
}

header.scrolled#header {
    top: 0;
}

/*firstview----------------------------*/
.firstview {
    position: relative;
}

.firstview img {
    margin: 0 auto;
    display: block;
}

.firstview .fv_bg {
    width: 100%;
    max-width: fit-content;
}

.firstview .thanks,
.firstview .congratulations,
.firstview .nabao,
.firstview .nabako {
    width: 25vw !important;

}

.firstview .thanks {
    position: absolute;
    top: 110px;
    left: 140px;
    max-width: 300px;
}

.firstview .congratulations {
    position: absolute;
    top: 200px;
    right: 70px;
    max-width: 300px;
}

.firstview .nabao {
    position: absolute;
    top: 360px;
    left: 120px;
    max-width: 300px;
}

.firstview .nabako {
    position: absolute;
    top: 360px;
    right: 140px;
    width: 300px;
    max-width: 300px;
}

.jump {
    display: inline-block;
    font-size: 3rem;
    animation: jump 0.6s ease-in-out infinite;
}

.confetti_container2 {
    position: absolute;
    right: 0;
}

.cracker {
    position: relative;
    width: 300px;
    height: 300px;
    background: url('cracker.png') no-repeat center/contain;
    /* クラッカー画像を用意 */
}

.confetti {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: red;
    border-radius: 20%;
    opacity: 0.8;
    animation: fly 1s ease-out forwards;
}

@keyframes fly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--x), var(--y)) scale(0.5);
        opacity: 0;
    }
}


/* background----------------------------*/
.background {
    background: linear-gradient(70deg, #e83422, #960018);
}

/* description----------------------------*/
.description {
    background: linear-gradient(to right, #f9f2a9, #fff9e7, #f9f2a9);
    width: 90%;
    margin: 0 auto;
    position: relative;
    margin-bottom: 50px;
}

.description .topframe {
    position: absolute;
    top: -4.82vw;
    left: -4%;
    width: 104%;
}

.description .bottomframe {
    position: absolute;
    bottom: -4vw;
    left: -4%;
    width: 104%;
}

.description .announce,
.description .announce-2 {
    margin: 0 auto;

}

.description .announce {
    padding: 150px 0 40px;
    width: 73%;
}

.description .arrow {
    width: 50vw;
    max-width: 350px;
}

.campaign_date {
    padding: 35px 0 130px;
    font-size: clamp(1.3em, 2vw, 2em);
}

.description .remember {
    display: inline-block;
    transform: rotate(-12deg);
    font-size: clamp(1.3em, 3vw, 2em);
    position: absolute;
    top: 29%;
    left: 20%;
    color: #ff3040;
}

.description .nostalgicitem {
    display: inline-block;
    transform: rotate(13deg);
    font-size: clamp(1.3em, 3vw, 2em);
    position: absolute;
    top: 37%;
    right: 14%;
    color: #ff3040;
}

.slider_container {
    width: 78%;
    margin: 180px auto 80px;
}

.slider_container ul {
    padding: 0 0.5% 0 1.3%;
}

.slider_container ul li {
    margin: 20px;
}

.slick-prev::before,
.slick-next::before {
    color: #292929;
    font-size: 25px;
}

.slick-prev:before {
    content: '◀';
}

.slick-next:before {
    content: '▶';
}

.description .announce-2 {
    padding: 0 3% 160px;
}

/* present-------------------------*/
.background .present18years {
    color: #fff;
    padding-bottom: 50px;
}

.present18years .present h2 {
    padding: 60px 0;
    margin: 0 auto;
}

.present18years .present p {
    line-height: 2.4;
    padding: 0 2%;
}

.present18years .present span {
    font-size: xxx-large;
}

.present18years .present .presentitem {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2%;
}

.background-2 {
    position: relative;
}

.background-2::before {
    content: '';
    display: block;
    position: absolute;
    top: -210px;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    background-image: url(../img/bg2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    mix-blend-mode: screen;
}

.background-2 img {
    margin-top: -60px;
    width: 95%;
}

.btn {
    display: block;
    max-width: fit-content;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 auto;
    padding: 1% 4%;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 6px;

    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.4);
}

.btn:hover {
    background-color: #ddd;
}

.present .btnlink {
    width: 50%;
    margin: 0 auto;
    padding: 60px 0 50px;
}

.present .btnlink a {
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.present18years .present_text {
    margin-bottom: 80px;
    padding: 0 2%;
}

.present18years .present_text small {
    font-size: 70%;
}

.present18years .nabakoboshi {
    display: flex;
    justify-content: space-evenly;
}

.present18years .nabakoboshi img {
    width: 5vw;
}

.nabakoboshi1,
.nabakoboshi3,
.nabakoboshi5 {
    display: inline-block;
    font-size: 5rem;
    animation: wobble 1.5s ease-out infinite;
    transform-origin: bottom center;
}

.nabakoboshi2,
.nabakoboshi4,
.nabakoboshi6 {
    display: inline-block;
    font-size: 5rem;
    animation: wobble 2s ease-out infinite;
    transform-origin: bottom center;
}


@keyframes jump {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-10px);
    }

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

@keyframes wobble {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-20deg);
    }

    30% {
        transform: rotate(18deg);
    }

    45% {
        transform: rotate(-12deg);
    }

    60% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media screen and (min-width:1240px) {
    .description .topframe {
        top: -59px;
    }
}

@media screen and (max-width:1024px) {
    .firstview .thanks {
        top: 100px;
        left: 70px;
    }

    .firstview .congratulations {
        right: 30px;
    }

    .firstview .nabao {
        top: 300px;
    }

    .firstview .nabako {
        top: 300px;
    }

    .background-2 img {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .firstview .congratulations {
        right: 50px;
        top: 160px;
    }

    .firstview .nabao {
        top: 270px;
        left: 95px;
    }

    .firstview .nabako {
        top: 260px;
        right: 105px;
    }




    .overview h2 {
        width: 90%;
    }

}

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

    main.campaign {
        margin-top: 80px;
    }

    body .content-wrapper {
        font-size: 1.3em;
    }

    .firstview .congratulations {
        right: 30px;
        top: 140px;
    }

    .firstview .nabao {
        top: 220px;
    }

    .firstview .nabako {
        top: 215px;
    }

    .description .announce {
        padding: 110px 0 20px;
    }

    .description .campaign_date {
        padding: 20px 0 50px;
    }

    .description .remember {
        top: 28%;
        left: 17%;
    }

    .description .nostalgicitem {
        top: 32%;
        right: 12%;
    }

    .description .slider_container {
        width: 80%;
        margin: 120px auto 40px;
    }

    .present18years .present h2 {
        padding: 20px 0;
    }

    .present18years .present .interactive {
        margin-bottom: 20px;
    }

    .present18years .present .presentitem {
        flex-direction: column;
    }

    .present .btnlink {
        padding: 20px 0 30px;
    }

    .btn {
        font-size: 1em;
    }

    .present18years .present_text {
        margin-bottom: 40px;
    }
}

@media screen and (max-width:633px) {
    .description .remember {
        top: 29%;
    }

    .description .nostalgicitem {
        top: 34%;
    }
}

@media screen and (max-width:610px) {
    .firstview .nabao {
        top: 170px;
        left: 65px;
    }

    .firstview .nabako {
        top: 170px;
        right: 80px;
    }
}

@media screen and (max-width:610px) {
    .description .remember {
        top: 28%;
    }

    .description .nostalgicitem {
        top: 33%;
    }
}

@media screen and (max-width:480px) {
    main.campaign {
        margin-top: 80px;
        background-position: -260px 410px;
    }

    .firstview .thanks {
        top: 50px;
        left: 50px;
    }

    .firstview .congratulations {
        top: 80px;
    }

    .firstview .nabao {
        top: 140px;
        left: 50px;
    }

    .firstview .nabako {
        top: 140px;
        right: 55px;
    }

    .campaign h2 {
        padding: 30px 0 35px;
    }

    .description .announce {
        padding: 70px 0 20px;
    }

    .description .campaign_date {
        font-size: 20px;
    }

    .description .remember {
        top: 29.3%;
        left: 7%;
        font-size: 25px;
    }

    .description .nostalgicitem {
        top: 34%;
        right: 2%;
        font-size: 25px;

    }

    .description .slider_container {
        width: 70%;
        margin: 100px auto 20px;
    }

    .description .slider_container ul {
        padding: 0 0.5% 0 2%;
    }

    .description .announce-2 {
        padding: 0 3% 80px;
    }

    .present18years .present .presentitem img {
        width: 90%;
    }

    .confetti {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width:375px) {
    .overview h2 {
        background-size: 100% 200%;
    }

    .description .slider_container {
        width: 80%;
    }

    .slick-next {
        right: -10px;
    }

}

#footer {
    margin-top: 0;
}