/* 01-lp */


h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    /* padding-left: 1.5rem; */
    /* 縦線分のスペースを空ける */
    margin: 2rem;
    text-align: center;
    /* 見た目中央 */
    word-break: keep-all;
    overflow-wrap: break-word;
}

h2 {
    font-size: 1.3rem;
    text-align: center;
    color: #000000;
    position: relative;
    padding-bottom: 0.5rem;
    margin: 1rem 0.75rem;
    word-break: keep-all;
    overflow-wrap: break-word;
}

h3 {
    font-size: 1.3rem;
    text-align: center;
    color: #000000;
    position: relative;
    margin: 1rem;
}

p {
    font-size: 1rem;
    margin: 10px 20px;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.3rem;
        margin: 3rem 0.7rem 3rem 1rem;
    }

    h2 {
        font-size: 1.6rem;
        text-align: center;
        color: #000000;
        position: relative;
        padding-bottom: 0.5rem;
        margin: 1rem 0.75rem;
    }

    h3 {
        font-size: 1.3rem;

    }


    p {
        font-size: 1.3rem;
        margin: 10px 20px;
        text-align: center;
    }
}

/*====================================================================
　Videoコンテナ部分
====================================================================*/
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 動画サイズの比率指定 */
    overflow: hidden;
}

.video-frame {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* 動画操作を邪魔しないように */
}

.lp-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    pointer-events: auto;

}


.lp-overlay-img {
    width: 60px;
    height: auto;
}

.lp-overlay-text {
    color: #000;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

@media (min-width: 768px) {

    .lp-overlay-img {
        width: 150px;
        height: auto;
    }

    .lp-overlay-text {
        font-size: 3rem;
    }
}



/*====================================================================
　About
====================================================================*/

.about-section h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 3rem;
    /* 縦線の高さ */
    border-radius: 3px;
    background-color: #f9c264;

}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.scroll-infinity__item {
    width: calc(100vw / 2);
    margin: 10px;
}

.scroll-infinity__item-02 {
    width: calc(100vw / 2);
    margin-right: 190px;
    margin-left: -100px;
}

.scroll-infinity__item>img {
    width: 100%;
    height: 200px;
    /* スマホの高さ */
    object-fit: cover;
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* PC用スタイル */
@media (min-width: 768px) {
    .about-section {
        width: 70%;
        margin: auto;
    }

    .about-section h1::before {
        display: none;
    }

    .about-section h1::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 4px;
        background-color: #f9c264;
        border-radius: 2px;
    }

    .scroll-infinity__wrap {
        justify-content: flex-start;
    }

    .scroll-infinity__item {
        width: 250px;
        margin: 10px;
    }

    .scroll-infinity__item-02 {
        max-width: 300px;
    }

    .scroll-infinity__item>img {
        max-width: 250px;
        height: 350px;
    }

    .overlay-text {
        font-size: 1rem;
    }
}


/*====================================================================
　参加の流れ
====================================================================*/

.flow-section {
    margin-top: 3rem;
}

.flow-section h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 3rem;
    /* 縦線の高さ */
    border-radius: 3px;
    background-color: #249693;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    margin: 1rem 0.5rem;
}

.grid-item {
    background-color: #e3fffc;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;

    min-width: 100%;
}

.grid-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 0.5rem;
}

.text-item {
    margin: auto 0;
    font-size: 1.1rem;
    font-weight: 600;
    word-break: keep-all;
    overflow-wrap: break-word;
}


.container {
    position: relative;
    width: 50px;
    height: 50px;
    margin: auto;
    margin-bottom: 30px;
    padding-right: 50px;

    /* ← 左に20px寄せる（値は調整可） */
}

.chevron {
    position: absolute;
    width: 50px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
    margin-top: 0px;
    margin-right: 30px;
}


.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #2e2e2e;
}

.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;

    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.horizontal-prize-box {
    align-items: center;
    margin: 1rem auto;
    /* ← autoで左右中央揃え */
    background-color: #fff6b0;
    border-radius: 20px;
    height: auto;
    max-width: 350px;
}

.top-prize-get {
    height: 200px;
    display: block;
    position: relative;
    top: -10px;
    /* ← これで「画像だけ」上に浮かせる */
    margin-left: auto;
    margin-right: auto;

}

.horizontal-prize-box h2 {
    position: relative;
    top: -30px;
    /* ← 上に浮かせる値（調整可能） */
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}

.horizontal-prize-box h2 span {
    font-size: 2rem;
    color: #c74f20;
    font-weight: 600;
}

.img-caption {
    text-align: right;
    font-size: 0.8rem;
    color: #2e2e2e;
    margin: 10px;
}

@media (min-width: 768px) {

    .flow-section {
        width: 80%;
        margin: auto;
    }

    .flow-section h1::before {
        display: none;
    }

    .flow-section h1::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 4px;
        background-color: #249693;
        border-radius: 2px;
    }

    .grid-layout {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .grid-item img {
        width: 200px;
        height: 200px;
        margin-bottom: 0.5rem;
    }

    .text-item {
        margin: 10px 0;
        font-size: 1.3rem;
    }

    .horizontal-prize-box {
        margin: 1rem auto;
        max-width: 500px;
    }

    .top-prize-demo {
        max-height: 300px;
        width: 500px;
        margin: auto;
        display: block;

    }

    .img-caption {
        text-align: center;
        font-size: 1rem;
        color: #2e2e2e;
        margin: 10px;
    }



}

/*====================================================================
　景品エリア
====================================================================*/
.prize-section {
    padding: 1rem 0;
    /* ← 画像の縮小時にズレが起きにくくなる */
}

.prize-section h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 3rem;
    /* 縦線の高さ */
    border-radius: 3px;
    background-color: #e7352b;
}

.prize-list {
    display: grid;
    grid-template-columns: 1fr;
    /* スマホ：1列 */
    gap: 1.5rem;
    padding: 0 1rem;
}

.prize-item {
    background-color: #fde6e6;
    border-radius: 12px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    width: 95%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;

}

.prize-item:hover {
    transform: translateY(-4px);
}

.prize-image-wrapper {
    position: relative;
    display: inline-block;
}

.prize-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    display: block;
    object-fit: cover;
}


/* フラグ表示用 */
.prize-flags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;

}

.flag {
    background-color: #fff;
    color: #242424;
    font-size: 0.875rem;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}


.prize-text {
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
}

.prize-text-detail {
    font-size: 1.2rem;
    text-align: center;
}


.prize-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
    margin: 0.5rem 1.5rem;
    text-align: center;
}

.prize-detail {
    margin: 0 1.5rem 0.5rem;
    line-height: 1.6;
    text-align: center;
    font-size: 1rem;
}

.prize-place {
    margin: 0 1.5rem 1.2rem;
    text-align: center;
    font-size: 1rem;
}

.prize-place a {
    color: #007acc;
    text-decoration: underline;
}

.prize-place a:hover {
    color: #005fa3;
}


.prize-note {
    font-size: 1rem;
    text-align: center;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

@media (min-width: 768px) {
    .prize-section h1::before {
        display: none;
    }

    .prize-section h1::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 4px;
        background-color: #e7352b;
        border-radius: 2px;
    }

    .prize-list {
        grid-template-columns: repeat(3, 1fr);
        /* PC：3列 */
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
        /* ⇒ 中央にはみ出す */
    }

    .prize-item {
        width: 350px;
        height: auto;
    }

    .prize-title {
        font-size: 1.5rem;

    }

    .prize-detail {

        font-size: 1rem;
    }

    .prize-place {

        font-size: 1.3rem;
    }

    .prize-note {
        font-size: 1.3rem;
    }
}

/*====================================================================
　promise section
====================================================================*/

.promise-section {
    margin-bottom: 3rem;
}

.promise-section h1::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background-color: #333;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);

}

.promise-button {
    background-color: #B00000;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.promise-button:hover {
    background-color: #ffffff;
    border: 1px solid #B00000;
    /* 背景を白に */
    color: #B00000;
    /* 文字色を元の背景色に */
    transform: scale(1.05);
    /* 少し大きく */
}

.promise-button:active {
    background-color: #B00000;
    /* 押したときの背景色 */
    color: #ffffff;
    /* 押したときは文字色白のまま */
    transform: scale(0.98);
    /* 押したとき少し縮む */
    transition: background-color 0.1s, transform 0.05s;
}



@media (min-width: 768px) {
    .promise-section {
        width: 100%;
        margin: auto;
        margin-bottom: 4rem;
    }

    .promise-section h1::after {
        width: 300px;
    }

    .promise-button {
        padding: 2rem 2.5rem;
        border-radius: 10px;
        font-size: 1.6rem;
        margin: 4rem auto;
    }

}


/*====================================================================
　規約
====================================================================*/

.terms-of-service {
    position: relative;
    background: #fff;
    border: 1px solid #a0a0a0;
    width: 90%;
    padding: 0.5rem;
    margin: auto;
    margin: 1rem auto;
}

.terms-of-service .inner {
    position: relative;
    border: var(--black) solid 0.1rem;
    max-width: 84rem;
    max-height: 20rem;
    overflow-y: scroll;
    margin: auto;
    padding: 1rem;
    font-weight: 400;
    padding: 0;
}

.terms-of-service h1 {
    margin: 0.5rem;
}

.terms-of-service dt {
    font-size: 1rem;
    font-weight: 600;
}

.terms-of-service .num-list {
    padding: 0;
}

.terms-of-service .num-list li {
    list-style: none;
}

.terms-of-service dd {
    font-size: 0.85rem;
    padding: 0.7rem 0 0 0.7rem;
    margin-bottom: 1rem;
}

.terms-of-service dd div {
    padding: 1rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.topics {
    position: relative;
    background: #fff;
    border-top: var(--black) solid 0.5rem;
    border-bottom: var(--black) solid 0.5rem;
    padding: 1.5rem 0 3rem;
    font-size: 1rem;
}

.topics dt {
    display: flex;
    justify-content: flex-start;

    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 2rem;
    font-size: 1rem;
}

.topics dt::before {
    top: 1.2rem;
    right: 3rem;
}

.topics dt::after {
    right: 1.5rem;
}

.topics dd {
    padding: 1rem 2rem;
    font-size: 1.3rem;
}

.topics dd {
    display: none;
    padding: 1rem 2rem 2rem 8rem;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
}

.top-img {
    display: flex;
    /* ← これを追加 */
    justify-content: center;
    /* 中央寄せしたい場合 */
    gap: 0px;
    /* 画像同士の間隔（任意） */
    width: 100%;
    margin: auto;
    /* background-color: #f9c264; */
    background: linear-gradient(to bottom, white, #f9c264);
    /* ← 追加 */
}

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

/* ---------- PC用 ---------- */
@media screen and (min-width: 768px) {
    .terms-of-service {
        width: 50%;
        padding: 0.5rem;
    }

    .terms-of-service h1 {
        margin: 0.5rem;
        font-size: 1.4rem;
    }

    .terms-of-service .inner {
        max-height: 30rem;
        padding: 0;
    }

    .terms-of-service dt {
        font-size: 1.3rem;
    }

    .terms-of-service dd {
        font-size: 1rem;
    }

    .terms-of-service dd div {
        font-size: 1rem;
    }

    .topics {
        padding: 3rem 0 5rem;
        font-size: 1.6rem;
    }

    .topics dt {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 2rem;
        font-size: 1rem;
    }

}