@font-face {
    font-family: '04b09';
    src: url('../fonts/04b09.woff2') format('woff2'),
         url('../fonts/04b09.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    background-image: url('../img/official_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-color: #0a0a0a;
    color: #333;
    font-family: '04b09', 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
ul { margin: 0; padding: 0; list-style: none; }
img { width: 100%; height: auto; display: block; }
a { display: inline-block; color: #EE4F5C; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }
p { margin: 0 0 1em 0; line-height: 1.85; font-family: 'Noto Sans JP', sans-serif; }
p:last-child { margin-bottom: 0; }
li { font-family: 'Noto Sans JP', sans-serif; }
.pc { display: block; }
.sp { display: none; }

.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
.heading {
    max-width: 1200px;
    width: 100%;
    padding: 80px min(15%, 180px);
    box-sizing: border-box;
}

section {
    border-bottom: 1px solid rgba(255,255,255,.1);
}
section:last-of-type { border-bottom: none; }

section.apply_section {
    background: rgba(238,79,92,.92);
}

/* ─── HEADER ─── */
.header01 {
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    background: #fff;
    border-bottom: 2px solid #EE4F5C;
    z-index: 9999;
}
.nav01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
}
.header_logo {
    height: 38px;
    width: auto;
    display: block;
}
.header_logo img {
    height: 38px;
    width: auto;
    display: block;
}

/* PC nav */
.header_ul {
    display: flex;
    align-items: center;
    gap: 0;
}
.header_li a {
    font-family: '04b09', sans-serif;
    font-size: .9rem;
    letter-spacing: .12em;
    color: #333;
    padding: 20px 14px;
    display: block;
    transition: color .2s;
    opacity: 1;
}
.header_li a:hover { color: #EE4F5C; opacity: 1; }

/* ENTRY button in PC nav */
.header_li--entry { display: flex; align-items: center; padding: 0 0 0 8px; }
.header_entry_btn {
    font-family: '04b09', sans-serif;
    font-size: .85rem;
    letter-spacing: .14em;
    color: #fff !important;
    background: #EE4F5C;
    padding: 9px 22px !important;
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    transition: background .2s, transform .2s !important;
    line-height: 1;
}
.header_entry_btn:hover {
    background: #d43a48;
    color: #fff !important;
    opacity: 1 !important;
    transform: translateY(-1px);
}

/* Hamburger */
.ham_btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    z-index: 99999;
    flex-shrink: 0;
}
.ham_btn span {
    position: absolute;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all .3s ease;
    left: 7px;
}
.ham_btn span:nth-of-type(1) { width: 30px; top: 13px; }
.ham_btn span:nth-of-type(2) { width: 20px; top: 21px; }
.ham_btn span:nth-of-type(3) { width: 30px; top: 29px; }
.ham_btn.is-active span:nth-of-type(1) {
    width: 30px; top: 21px; transform: rotate(45deg);
}
.ham_btn.is-active span:nth-of-type(2) { opacity: 0; }
.ham_btn.is-active span:nth-of-type(3) {
    width: 30px; top: 21px; transform: rotate(-45deg);
}

/* Mobile modal */
.header_modal {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: right .3s ease-in-out;
    z-index: 9998;
    overflow-y: auto;
}
.header_modal.is-active { right: 0; }
.header_modal .header_ul {
    flex-direction: column;
    width: 100%;
    padding: 80px 20px 100px;
    gap: 0;
}
.header_modal .header_li {
    width: 100%;
    border-bottom: 1px solid #eee;
}
.header_modal .header_li a {
    width: 100%;
    padding: 18px 0;
    font-size: 1.2rem;
    color: #333;
}
body.no-scroll { overflow: hidden; }

/* scroll offset */
#members, #requirements, #support, #process, #faq, #caution, #apply {
    scroll-margin-top: 60px;
}

/* ─── KV ─── */
.kv {
    position: relative;
    margin-top: 60px;
    border-bottom: 3px solid #EE4F5C;
}
.kv img { display: block; width: 100%; }

/* ─── SECTION HEADING ─── */
.sec_en {
    font-family: '04b09', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: .12em;
    color: #EE4F5C;
    margin: 0 0 .1em 0;
    line-height: 1;
}
.sec_ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: #999;
    letter-spacing: .18em;
    margin: 0 0 2em 0;
    text-transform: uppercase;
}
.sec_rule {
    width: 36px;
    height: 2px;
    background: #EE4F5C;
    margin: .4em 0 1.8em 0;
}

/* ─── MEMBERS ─── */
.member_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.member_card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .25s;
    background: #fff;
}
.member_card:hover { box-shadow: 0 4px 20px rgba(238,79,92,.15); }

.member_img_wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.member_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    transition: transform .5s ease;
    transform: scale(0.95);
}
.member_card:hover .member_img_wrap img { transform: scale(0.99); }

.member_info {
    padding: 20px 22px 24px;
    border-top: 3px solid #a8e6b1;
}
.member_card._eve .member_info { border-top-color: #00b8b0; }

.member_name_en {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: .07em;
    color:#a8e6b1;
    margin: 0 0 2px 0;
    line-height: 1;
}
.member_card._eve .member_name_en { color: #00b8b0; }

.member_name_ja {
    font-family: '04b09', sans-serif;
    font-size: .78rem;
    color: #aaa;
    letter-spacing: .12em;
    margin: 0 0 10px 0;
    font-weight: 700;
}
.member_desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .88rem;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ─── REQUIREMENTS ─── */
.req_cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.req_block {
    padding: 28px;
    border: 1px solid #eee;
    border-top: 3px solid #EE4F5C;
    border-radius: 4px;
    background: #fff;
}
.req_block._welcome { border-top-color: #FFB180; }
.req_block_title {
    font-family: '04b09', sans-serif;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #EE4F5C;
    margin: 0 0 1.4em 0;
}
.req_block._welcome .req_block_title { color: #FFB180; }
.req_list { display: flex; flex-direction: column; gap: 10px; }
.req_list li {
    font-size: .9rem;
    color: #444;
    line-height: 1.65;
    padding-left: 1.1em;
    position: relative;
}
.req_list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #EE4F5C;
    font-size: .8rem;
}
.req_block._welcome .req_list li::before { color: #FFB180; }
.note_box {
    margin-top: 18px;
    padding: 12px 14px;
    background: #fff5f5;
    border-left: 2px solid #EE4F5C;
    font-size: .78rem;
    color: #888;
    line-height: 1.75;
}

/* ─── SUPPORT ─── */
.support_body {
    font-size: .95rem;
    color: #444;
    line-height: 1.9;
    max-width: 600px;
}
.support_body strong { color: #EE4F5C; }
.support_note { margin-top: 12px; font-size: .78rem; color: #aaa; }

/* ─── PROCESS ─── */
.process_list { display: flex; flex-direction: column; gap: 16px; }
.pstep {
    display: flex;
    align-items: flex-start;
    position: relative;
}
.pnum_wrap {
    flex-shrink: 0;
    width: 56px;
    position: relative;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    z-index: 1;
}

.pstep:not(:last-child) .pnum_wrap::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 56px;
    bottom: -16px;
    width: 2px;
    background: #EE4F5C;
    z-index: 0;
}
.pnum_circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #EE4F5C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: '04b09', sans-serif;
    font-size: 1.3rem;
    letter-spacing: .04em;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(238,79,92,.35);
    position: relative;
    z-index: 1;
}
.pstep_content {
    flex: 1;
    margin-left: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(238,79,92,.2);
}
.pstep_header {
    background: #EE4F5C;
    padding: 14px 20px;
}
.pstep_title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.pstep_body {
    padding: 14px 20px 16px;
    background: rgba(255,255,255,.85);
    font-size: .88rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.process_note {
    margin-top: 16px;
    font-size: .78rem;
    color: #888;
    line-height: 1.85;
    padding-left: 76px;
}

/* ─── FAQ ─── */
.faq_list { display: flex; flex-direction: column; gap: 10px; }
details.faq_item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(238,79,92,.18);
}
details.faq_item summary {
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(238,79,92,.08);
    transition: background .2s;
    user-select: none;
}
details.faq_item[open] summary { background: rgba(238,79,92,.15); }
details.faq_item summary::-webkit-details-marker { display: none; }
.faq_q_badge {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #EE4F5C;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq_q_text {
    flex: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}
.faq_toggle {
    flex-shrink: 0;
    color: #EE4F5C;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    transition: transform .22s;
    font-family: sans-serif;
}
details.faq_item[open] .faq_toggle { transform: rotate(45deg); }
.faq_answer {
    background: rgba(255,249,249,.9);
    padding: 14px 20px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.faq_a_badge {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid #EE4F5C;
    color: #EE4F5C;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq_a_text {
    flex: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .88rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ─── CAUTION ─── */
.caution_list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.caution_list li {
    font-size: .88rem;
    color: #555;
    line-height: 1.75;
    padding: 12px 0 12px 1.5em;
    border-bottom: 1px solid #eee;
    position: relative;
}
.caution_list li:first-child { border-top: 1px solid #eee; }
.caution_list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #EE4F5C;
    font-size: .55rem;
    top: 18px;
}

/* ─── APPLY CTA ─── */
.apply_section .sec_en { color: #fff; }
.apply_section .sec_ja { color: rgba(255,255,255,.6); }
.apply_section .sec_rule { background: rgba(255,255,255,.5); }
.apply_inner { text-align: center; }
.apply_catch {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .95rem;
    color: rgba(255,255,255,.9);
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 2em 0;
}
.btn_wrapper { display: flex; justify-content: center; }
.btn_more1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: '04b09', sans-serif;
    font-size: 28px;
    letter-spacing: .12em;
    width: 280px;
    padding: 14px 0;
    background: #fff;
    color: #EE4F5C;
    border-radius: 5px;
    border: none;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}
.btn_more1:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    opacity: 1;
}
.btn_arrow {
    position: absolute;
    right: 14px;
    width: 16px;
    transition: right .3s ease;
}
.btn_more1:hover .btn_arrow { right: 11px; }
.apply_note {
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 16px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}

/* ─── FOOTER ─── */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}
footer p {
    font-size: 13px;
    color: #aaa;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ─── SP FIXED ENTRY FOOTER ─── */
.footer_cta {
    display: none; /* PCでは非表示 */
}

/* ─── SCROLL ANIMATION ─── */
.js-scroll { opacity: 0; transform: translateY(18px); }
.js-scroll.animate {
    opacity: 1; transform: translateY(0);
    transition: opacity .75s ease, transform .75s ease;
}

/* ─── RESPONSIVE ─── */
@media screen and (max-width: 960px) {
    .pc { display: none; }
    .sp { display: block; }

    .heading {
        max-width: 500px;
        padding: 50px min(5.333%, 20px);
    }

    .ham_btn { display: flex; align-items: center; justify-content: center; }
    .header_modal { display: block; }

    .member_grid { grid-template-columns: 1fr; }
    .req_cols    { grid-template-columns: 1fr; }

    .pstep:not(:last-child)::after { left: 27px; }
    .process_note { padding-left: 0; margin-top: 16px; }

    /* SP時 コンテンツ下にfixed CTAの余白 */
    body { padding-bottom: 50px; }

    /* SP fixed ENTRY footer */
    .footer_cta {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 50px;
        z-index: 9990;
        background: #EE4F5C;
        border-top: 2px solid #fff;
    }
    .footer_cta_link {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        font-family: '04b09', sans-serif;
        font-size: 1.1rem;
        letter-spacing: .15em;
        color: #fff;
        text-decoration: none;
        background: #EE4F5C;
        transition: background .2s;
        opacity: 1;
    }
    .footer_cta_link:hover { background: #d43a48; opacity: 1; }

    .btn_more1 { width: 78%; max-width: 280px; font-size: 24px; }
}

@media screen and (max-width: 480px) {
    .sec_en { font-size: 2rem; }
    .header_logo img { height: 30px; }
}
