:root {
    /* --------------------------
         デザイン幅
       -------------------------- */
    --designwidth: 1440;
    /* --------------------------
       配色
       -------------------------- */
    --base: #f9f9f9;
    --bk: #2F2D2C;
    --yellow: #F4AB21;
    --light_gray: #bfbfbf;
    --gray: #eaeaea;
    --white: #FEF7ED;
    --red: #B3351F;
    --gridline-bg: rgba(185, 185, 185, 0.5);
    --blue: #289EFE;

    /* --------------------------
       日本語 (Noto Sans JP)
       -------------------------- */
    --jp-font: "YakuHanJP", "Noto Sans JP", sans-serif;

    --jp-font-weight-Thin: 100;
    --jp-font-weight-ExtraLight: 200;
    --jp-font-weight-Light: 300;
    --jp-font-weight-Regular: 400;
    --jp-font-weight-Medium: 500;
    --jp-font-weight-SemiBold: 600;
    --jp-font-weight-Bold: 700;
    --jp-font-weight-ExtraBold: 800;
    --jp-font-weight-Black: 900;

    /* --------------------------
       英語 (Roboto)
       -------------------------- */
    --en-font: "Roboto", sans-serif;

    --en-font-weight-Thin: 100;
    --en-font-weight-ExtraLight: 200;
    --en-font-weight-Light: 300;
    --en-font-weight-Regular: 400;
    --en-font-weight-Medium: 500;
    --en-font-weight-SemiBold: 600;
    --en-font-weight-Bold: 700;
    --en-font-weight-ExtraBold: 800;
    --en-font-weight-Black: 900;

    /* --------------------------
       見出し・アクセント (Dela Gothic One)
       ※このフォントはWeight 400のみ
       -------------------------- */
    --dela-font: "YakuHanJP", "Dela Gothic One", sans-serif;
    --dela-font-weight-Regular: 400;
}


/*============================
#lp_wrapper
============================*/
#lp_wrapper {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    color: var(--bk);
}

#lp_wrapper .lp_container_base {
    position: relative;
    width: calc(390 / var(--designwidth) * 100vw);
    margin-left: calc(525 / var(--designwidth) * 100vw);
    box-shadow: 4px 4px 4px rgba(36, 36, 36, 0.25);
    background-color: var(--white);
    z-index: 100;
    overflow-x: hidden;
}

#lp_wrapper .background_pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#lp_wrapper .background_pc .bg_left,
#lp_wrapper .background_pc .bg_right {
    position: fixed;
    top: 0;
    width: calc(525 / var(--designwidth) * 100vw);
    height: 100%;
}

#lp_wrapper .background_pc .bg_left {
    left: 0;
}

#lp_wrapper .background_pc .bg_right {
    margin-left: calc(915 / var(--designwidth) * 100vw);
}

#lp_wrapper .background_pc .bg_color {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--red);
    background-image: url(../img/bg_noise.png);
    background-repeat: repeat;
    background-size: auto;
    z-index: -1;
}

@media (max-width: 1024px) {
    #lp_wrapper .background_pc {
        display: none;
    }

    #lp_wrapper .lp_container_base {
        width: 100%;
        margin-left: unset;
        box-shadow: unset;
    }
}

/*============================
.bg_left
============================*/

div.bg_left div.bg_left_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(350 / var(--designwidth) * 100vw);
}

div.bg_left div.bg_left_wrapper figure {
    width: 100%;
}

div.bg_left div.bg_left_wrapper figure img {
    width: 100%;
}

/*============================
.bg_right
============================*/

div.bg_right nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(200 / var(--designwidth) * 100vw);
}

div.bg_right nav ul {
    display: flex;
    flex-direction: column;
    gap: calc(16 / var(--designwidth) * 100vw);
}

div.bg_right nav ul li {
    width: 100%;
    border-bottom: 2px solid var(--white);
    padding-bottom: 8px;
}

div.bg_right nav ul li a {
    text-decoration: none;
    color: var(--white);
    display: block;
}

div.bg_right nav ul li a div.nav_flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

div.bg_right nav ul li a div.nav_flex figure {
    width: calc(30 / var(--designwidth) * 100vw);
}

div.bg_right nav ul li a div.nav_flex figure img {
    width: 100%;
    animation: buruburu 1s infinite linear alternate;
}



@keyframes buruburu {
    0% {
        -webkit-transform: translate(0, 0) rotate(-3deg);
    }

    5% {
        -webkit-transform: translate(0, -1px) rotate(0deg);
    }

    10% {
        -webkit-transform: translate(0, 0)rotate(3deg);
    }

    15% {
        -webkit-transform: translate(0, 0) rotate(-3deg);
    }

    20% {
        -webkit-transform: translate(0, -1px) rotate(0deg);
    }

    25% {
        -webkit-transform: translate(0, 0)rotate(3deg);
    }

    30% {
        -webkit-transform: translate(0, 0) rotate(-3deg);
    }

    35%,
    100% {
        -webkit-transform: translate(0, -1px) rotate(0deg);
    }

}

div.bg_right nav ul li a div.nav_flex p {
    font-size: 1.4rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

div.bg_right nav ul li a div.nav_flex p span.dela_font {
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-family: var(--dela-font);
}

/*============================
メインコンテンツ
============================*/


div.header_logo {
    position: fixed;
    top: 0;
    left: calc(525 / var(--designwidth) * 100vw);
    z-index: 1000;
    background-color: var(--red);
    padding: 22px 35px;
}

div.header_logo a figure {
    width: 30px;
}

div.header_logo a figure img {
    width: 100%;
}

section.lp_kv {
    position: relative;
    height: 100svh;
    background-image: url(../img/bg_red.png);
    background-repeat: repeat;
    background-size: auto;
}

section.lp_kv h1 {
    display: none;
}

section.lp_kv div.lp_kv_inner {
    width: calc(350 / var(--designwidth) * 100vw);
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section.lp_kv div.lp_kv_inner figure {
    width: 100%;
}

section.lp_kv div.lp_kv_inner figure img {
    width: 100%;
}

section.lp_kv div.lp_kv_inner div.to_ec {
    width: calc(300 / var(--designwidth) * 100vw);
    margin: 40px auto 40px;
    text-align: center;
    background-color: var(--yellow);
    box-shadow: 4px 4px 4px rgba(36, 36, 36, 0.25);
}

section.lp_kv div.lp_kv_inner div.to_ec a {
    width: 100%;
    font-size: 2rem;
    font-weight: var(--jp-font-weight-Bold);
    letter-spacing: 0.05em;
    display: block;
    color: var(--white);
    padding: 20px 0;
}

section.lp_kv div.lp_kv_inner div.to_ec a i {
    margin-left: 8px;
}

/*============================
スクロールダウン
============================*/

.scroll_down a {
    color: var(--white);
    font-family: var(--en-font);
    font-weight: var(--en-font-weight-Bold);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: block;
    background-size: 14px auto;
    z-index: 2;
    text-decoration: none;
    transform: translate(-50%, -50%);
}

.scroll_down a ::before {
    position: absolute;
    top: calc(50% - 56px);
    left: calc(50% - 8px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid var(--white);
    border-width: 0px 0 2px 2px;
}

.scroll_down a ::after {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--white);
    content: "";
    border-radius: 100%;
    top: calc(50% - 64px);
    left: calc(50% - 19px);
}

.scroll_down a span::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 0 0 var(--white);
    opacity: 0;
    animation: circle 3s infinite;
    top: calc(50% - 63px);
    left: calc(50% - 19px);
}

@keyframes circle {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        box-shadow: 0 0 0 40px rgba(255, 255, 255, .1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    section.lp_kv div.lp_kv_inner {
        width: calc(700 / var(--designwidth) * 100vw);
    }

    div.header_logo {
        left: 0;
        padding: 22px 35px;
    }
}

@media (max-width: 768px) {
    section.lp_kv div.lp_kv_inner {
        width: 90%;
    }
}

/*============================
aboutセクション
============================*/


section.lp_about {
    padding: 80px 0;
}

section.lp_about div.lp_about_inner {
    width: calc(350 / var(--designwidth) * 100vw);
    margin: 0 auto;
}

section.lp_about div.lp_about_inner div.about_ttl_container {
    position: relative;
    padding: calc(14px + 24px) 0;
}

section.lp_about div.lp_about_inner div.about_ttl_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    background-image: url(../img/shimenawa_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

section.lp_about div.lp_about_inner div.about_ttl_container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 14px;
    background-image: url(../img/shimenawa_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

section.lp_about div.lp_about_inner div.about_ttl_container h2 {
    font-size: 3rem;
    font-family: var(--dela-font);
    line-height: 1.25;
    color: var(--red);
}

section.lp_about div.lp_about_inner div.about_ttl_container h2 span.large {
    font-size: 5rem;
    padding-top: 25px;
    padding-bottom: 55px;
    display: block;
    line-height: 0;
}

section.lp_about div.lp_about_inner div.about_paragraph {
    width: calc(350 / var(--designwidth) * 100vw);
    margin: 0 auto 40px auto;
}

section.lp_about div.lp_about_inner div.about_paragraph p.mt {
    margin-top: 32px;
}

section.lp_about div.lp_about_inner div.about_paragraph p {
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.05em;
    margin-top: 20px;
    font-weight: var(--jp-font-weight-SemiBold);
}

section.lp_about div.lp_about_inner div.about_paragraph p a {
    text-decoration: underline;
    color: var(--blue);
}

/*============================
#countdown
============================*/
section.lp_about div.lp_about_inner div.about_ttl_container div#countdown {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

section.lp_about div.lp_about_inner div.about_ttl_container div#countdown span.num {
    font-size: 3rem;
    font-family: var(--en-font);
    font-weight: var(--en-font-weight-Black);
}

section.lp_about div.lp_about_inner p {
    font-family: var(--jp-font);
    font-weight: var(--jp-font-weight-Black);
}

@media (max-width: 1024px) {
    section.lp_about div.lp_about_inner {
        width: calc(700 / var(--designwidth) * 100vw);
    }

    section.lp_about div.lp_about_inner div.about_paragraph {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section.lp_about div.lp_about_inner {
        width: 90%;
    }

}



/* --- カードユニット（スクラッチ＋シェアエリアのセット） --- */
section.scratch_content {
    width: 100%;
}

section.scratch_content div.scratch_innner {
    width: 100%;
}

section.scratch_content div.scratch_innner ol {
    width: 100%;
}

section.scratch_content div.scratch_innner ol li {
    width: 100%;
    padding: 80px 0;
}

section.scratch_content div.scratch_innner ol li:nth-child(odd) {
    background-image: url(../img/bg_red.png);
    background-repeat: repeat;
    background-size: auto;
}

section.scratch_content div.scratch_innner ol li:nth-child(even) {
    background-image: url(../img/bg_yellow.png);
    background-repeat: repeat;
    background-size: auto;
}

section.scratch_content div.scratch_innner ol li div.card-unit {
    width: calc(350 / var(--designwidth) * 100vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.card-label {
    align-self: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #666;
    font-size: 14px;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.card-label p {
    font-family: var(--dela-font);
    font-weight: var(--dela-font-weight-Regular);
    font-size: 2.4rem;
    letter-spacing: 0.09em;
    color: var(--white);
}

section.scratch_content div.scratch_innner ol li div.card-unit div.card-label p span.large {
    font-size: 4.8rem;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    user-select: none;
    background: var(--white);
    z-index: 10;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 90px;
    height: 30px;
    background-image: url(../img/kumo.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
    animation: leftsidekumo 2s infinite ease-in-out alternate;
    -webkit-animation: leftsidekumo 2s infinite ease-in-out alternate;
}


@keyframes leftsidekumo {
    0% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
    }

    100% {
        transform: translate(15px, 0);
        -webkit-transform: translate(15px, 0);
        -moz-transform: translate(15px, 0);
        -ms-transform: translate(15px, 0);
        -o-transform: translate(15px, 0);
    }

}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 90px;
    height: 30px;
    background-image: url(../img/kumo.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
    animation: rightsidekumo 2s infinite ease-in-out alternate;
    -webkit-animation: rightsidekumo 2s infinite ease-in-out alternate;
}

@keyframes rightsidekumo {
    0% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
    }

    100% {
        transform: translate(-15px, 0);
        -webkit-transform: translate(-15px, 0);
        -moz-transform: translate(-15px, 0);
        -ms-transform: translate(-15px, 0);
        -o-transform: translate(-15px, 0);
    }

}




section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container img.scratch-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
}

/* ▼▼▼ CSSの最後に追加 ▼▼▼ */

/* スクラッチのヒントオーバーレイ */
section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container div.scratch-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 100%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    color: var(--white);
    transition: opacity 0.3s;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

section.scratch_content div.scratch_innner ol li:nth-child(odd) div.card-unit div.scratch-container div.scratch-hint {
    background-color: var(--red);
}

section.scratch_content div.scratch_innner ol li:nth-child(even) div.card-unit div.scratch-container div.scratch-hint {
    background-color: var(--yellow);
}

/* 削り始めたら非表示にするためのクラス */
section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container div.scratch-hint.is-hidden {
    opacity: 0;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container div.scratch-hint .hint-hand {
    font-size: 2rem;
    margin-bottom: 4px;
    animation: scratchMotion 1.5s ease-in-out infinite alternate;
    -webkit-animation: scratchMotion 1.5s ease-in-out infinite alternate;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container div.scratch-hint .hint-hand i {
    color: var(--white);
}

section.scratch_content div.scratch_innner ol li div.card-unit div.scratch-container div.scratch-hint p {
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: bold;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
}

/* 指を左右に動かすキーフレーム */
@keyframes scratchMotion {
    0% {
        transform: translate(-15px, 0) rotate(-10deg);
    }

    100% {
        transform: translate(15px, 0) rotate(10deg);
    }
}

canvas {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    z-index: 11;
    cursor: grab;
    transition: opacity 0.5s;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.share-area {
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease-out;
    margin-top: -10px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 5;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.share-area.is-visible {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px;
    z-index: 9;
    margin-top: 0;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.share-area div.message {
    font-weight: var(--jp-font-weight-Medium);
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 10px;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.share-area div.btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

section.scratch_content div.scratch_innner ol li div.card-unit div.share-area div.btn-container a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 12px;
    text-decoration: none;
    color: white;
    font-weight: var(--jp-font-weight-Bold);
    font-size: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}


/* アニメーション定義 */
@keyframes vibrate {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(3px, -3px);
    }

    60% {
        transform: translate(-3px, -3px);
    }

    80% {
        transform: translate(3px, 3px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.shake-effect {
    animation: vibrate 0.4s ease-in-out;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ▼▼▼ 追加：キラキラエフェクト ▼▼▼ */
.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%);
    background-size: 200% 100%;
    z-index: 15;
    pointer-events: none;
    animation: shine-animation 1.5s infinite linear;
    transition: opacity 0.3s;
    -webkit-animation: shine-animation 1.5s infinite linear;
}

.shine-effect.is-hidden {
    opacity: 0;
}

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

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


@media (max-width: 1024px) {
    section.scratch_content div.scratch_innner ol li div.card-unit {
        width: calc(700 / var(--designwidth) * 100vw);
    }
}

@media (max-width: 768px) {
    section.scratch_content div.scratch_innner ol li div.card-unit {
        width: 90%;
    }
}

/*============================
ctaセクション
============================*/

section.lp_cta {
    padding: 80px 0;
}

section.lp_cta div.lp_cta_innner {
    width: calc(350 / var(--designwidth) * 100vw);
    margin: 0 auto;
}

section.lp_cta div.lp_cta_innner h3 {
    font-size: 3rem;
    font-family: var(--dela-font);
    color: var(--red);
    margin-bottom: 16px;
}

/*============================
#countdown_cta
============================*/
section.lp_cta div.lp_cta_innner div#countdown_cta {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

section.lp_cta div.lp_cta_innner div#countdown_cta span.num {
    font-size: 3rem;
    font-family: var(--en-font);
    font-weight: var(--en-font-weight-Black);
    margin-bottom: 24px;
}

section.lp_cta div.lp_cta_innner div.cta_btn {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 4px 4px 4px rgba(36, 36, 36, 0.25);
}

section.lp_cta div.lp_cta_innner div.cta_btn a {
    width: 100%;
    font-size: 2rem;
    font-weight: var(--jp-font-weight-Bold);
    letter-spacing: 0.05em;
    display: block;
    color: var(--white);
    padding: 20px 0;
}

section.lp_cta div.lp_cta_innner div.cta_btn a i {
    margin-left: 8px;
}

iframe.instagram-media {
    margin: 0 auto 12px auto !important;
}

@media (max-width: 1024px) {
    section.lp_cta div.lp_cta_innner {
        width: calc(700 / var(--designwidth) * 100vw);
    }
}

@media (max-width: 768px) {
    section.lp_cta div.lp_cta_innner {
        width: 90%;
    }
}