@charset "UTF-8";

/* ↓PC（横幅640px超）の場合 */
html {
    /* 1rem = 1pxと定義 */
    font-size: 1px;
}

/* ↓スマホ（横幅640px以上）の場合 */
@media screen and (max-width: 640px) {
    html {
        font-size: .75px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-size: 16rem;
    color: #262626;
    font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
    font-feature-settings: 'palt' on;
    min-width: 320px;
    position: relative;
    margin: 0 auto;
    background: #8881f4;
}

.wrap {
    overflow: hidden;
    background-color: #8881f4;
}

.inner {
    width: min(800px, calc(100% - 40px));
    padding: 0;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/*bits
================================================*/
.pc_none {
    display: none !important;
}

.sp_none {
    display: block !important;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*fv
================================================*/
#fv {
    position: relative;
    z-index: 5;
    width: 100%;
    height: auto;
    background-color: transparent;
    overflow: hidden;
}

#fv h1 {
    width: 100%;
    height: auto;
    margin: 0;
}

#fv h1 img {
    width: 100%;
    height: auto;
}

/*date
================================================*/
#date {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 238px;
    margin-top: -41px;
    padding: 42px 20px 29px;
    background: #1f1f1f;
    text-align: center;
}

#date h2 {
    width: 152px;
    margin: 0 auto 20px;
}

#date p {
    width: min(712px, 100%);
    margin: 0 auto;
}

/*main
================================================*/
#main {
    position: relative;
    padding: 45px 0 0;
    background-color: #8881f4;
}

.bg_fig {
    position: absolute;
    z-index: 1;
    width: clamp(230px, 23vw, 317px);
    pointer-events: none;
}

.bg_fig img {
    width: 100%;
}

.bg_fig_01 { top: 62px; left: 0; width: 271px; }
.bg_fig_02 { top: 593px; left: 0; width: 289px; }
.bg_fig_03 { top: 1123px; left: 0; width: 289px; }
.bg_fig_04 { top: 1659px; left: 0; width: 288px; }
.bg_fig_05 { top: 123px; right: 0; width: 297px; }
.bg_fig_06 { top: 660px; right: 0; width: 296px; }
.bg_fig_07 { top: 1198px; right: 0; width: 298px; }
.bg_fig_08 { top: 1735px; right: 0; width: 317px; }

.about {
    min-height: 216px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about p {
    color: #fff;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.74;
    letter-spacing: .01em;
    text-shadow: 0 3px 1px rgba(0, 0, 0, 0.28);
}

.section-block {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.section-title {
    position: relative;
    z-index: 3;
    width: 204px;
    margin: 0 auto -15px;
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rule-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 20px 24px 22px;
    background: #fff;
    border-radius: 10px;
}

.rule-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.rule-head img {
    width: 64px;
    flex: 0 0 auto;
}

.rule-head h3 {
    padding-top: 8px;
    color: #252525;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.x-btn {
    width: 100%;
    margin: auto 0;
}

.x-btn a,
.post-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
    border-radius: 999px;
    background: #ff5b19;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 5px 0 rgba(159, 54, 10, .35);
    transition: transform .25s, box-shadow .25s;
}

.x-btn a::after,
.post-btn a::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fff;
}

.x-btn a:hover,
.post-btn a:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 rgba(159, 54, 10, .35);
}

.step-img img {
    width: 100%;
    height: auto;
}

.step-img-02 {
    width: 100%;
    margin: 38px auto 0;
}

.step-img-03 {
    width: 100%;
    margin: 30px auto 0;
}

.step-img-04 {
    width: 100%;
    margin: 22px auto 0;
}

.post-btn {
    width: 320px;
    margin: 48px auto 0;
}

.post-btn a {
    min-height: 66px;
    font-size: 24px;
}

.panel-section {
    margin-top: 80px;
}

.white-panel {
    background: #fff;
    border-radius: 10px;
    color: #252525;
    text-align: center;
}

.prize-panel {
    min-height: 346px;
    padding: 25px 24px 24px;
}

.prize-panel h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.75;
}

.prize-img {
    width: 410px;
    margin: 18px auto 0;
}

.prize-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.announcement-panel {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 48px;
}

.announcement-panel p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.75;
}

.caution-panel {
    padding: 50px 48px 42px;
    text-align: left;
}

.caution-panel ul {
    padding-left: 1.3em;
    list-style: disc;
}

.caution-panel li {
    color: #252525;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.57;
}

.caution-panel h3 {
    margin-top: 34px;
    color: #252525;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.57;
}

.caution-panel a {
    color: #3155d4;
    text-decoration: underline;
}

#contact {
    position: relative;
    z-index: 2;
    height: 322px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #252525;
    text-align: center;
}

#contact h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
}

#contact p {
    margin-top: 22px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.55;
}

#contact a {
    color: inherit;
    text-decoration: none;
}

/*footer
================================================*/
#footer {
    background: #fff;
    color: #333;
    padding: 44px 0 38px;
    text-align: center;
}

#footer .inner {
    width: min(800px, calc(100% - 40px));
}

#footer ul {
    display: flex;
    justify-content: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #777;
}

#footer li {
    width: 201px;
}

#footer div {
    padding: 18px 0;
    border-bottom: 1px solid #777;
}

#footer p {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.65;
}

#footer > .inner > p {
    margin-top: 18px;
}

@media screen and (max-width: 900px) {
    .bg_fig {
        opacity: .58;
    }

    .bg_fig_01,
    .bg_fig_02,
    .bg_fig_03,
    .bg_fig_04 { left: 0; }
    .bg_fig_05,
    .bg_fig_06,
    .bg_fig_07,
    .bg_fig_08 { right: 0; }
}

@media screen and (max-width:670px) {
    html {
        font-size: 1px;
    }

    .pc_none {
        display: block !important;
    }

    .sp_none {
        display: none !important;
    }

    .inner {
        width: min(100% - 28px, 520px);
    }

    #fv {
        height: auto;
        min-height: 0;
    }

    #fv h1 img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #date {
        min-height: 199px;
        margin-top: -7px;
        padding: 24px 16px 24px;
        justify-content: flex-start;
    }

    #date h2 {
        width: 128px;
        margin: 0 auto 8px;
    }

    #date p {
        width: 221px;
        margin: 0 auto;
    }

    #date img {
        margin-right: auto;
        margin-left: auto;
    }

    #main {
        padding-top: 34px;
        padding-bottom: 52px;
    }

    .bg_fig {
        width: 190px !important;
        opacity: .42;
    }

    .bg_fig_01 { top: 80px; left: -110px; }
    .bg_fig_02 { top: 660px; left: -120px; }
    .bg_fig_03 { top: 1240px; left: -120px; }
    .bg_fig_04 { top: 1800px; left: -120px; }
    .bg_fig_05 { top: 210px; right: -115px; }
    .bg_fig_06 { top: 840px; right: -118px; }
    .bg_fig_07 { top: 1440px; right: -118px; }
    .bg_fig_08 { top: 2050px; right: -118px; }

    .about {
        min-height: auto;
        padding: 20px 0;
    }

    .about p {
        font-size: 22px;
        line-height: 1.75;
    }

    .section-block,
    .panel-section {
        margin-top: 56px;
    }

    .section-title {
        width: 168px;
        margin-bottom: -12px;
    }

    .rule-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rule-card {
        height: auto;
        min-height: 220px;
        padding: 18px 18px 20px;
    }

    .rule-head {
        gap: 14px;
    }

    .rule-head img {
        width: 58px;
    }

    .rule-head h3 {
        font-size: 19px;
    }

    .x-btn {
        width: 100%;
        margin: auto 0;
    }

    .step-img-02,
    .step-img-03,
    .step-img-04 {
        width: 100%;
        margin-top: 24px;
    }

    .post-btn {
        width: 100%;
        margin-top: 32px;
    }

    .post-btn a {
        min-height: 60px;
        font-size: 20px;
    }

    .prize-panel {
        min-height: 300px;
        padding: 28px 18px 24px;
    }

    .prize-panel h3,
    .announcement-panel p,
    .caution-panel li,
    .caution-panel h3 {
        font-size: 17px;
    }

    .prize-img {
        width: 100%;
    }

    .announcement-panel {
        min-height: 120px;
        padding: 28px 22px;
    }

    .caution-panel {
        padding: 42px 24px 32px;
    }

    #contact {
        height: auto;
        margin-top: 56px;
    }

    #contact h2 {
        font-size: 28px;
    }

    #contact p {
        font-size: 18px;
    }

    #footer {
        padding: 34px 0 30px;
    }

    #footer li {
        width: 170px;
    }
}
