:root {
    --bg: #000;
    --panel: #080b0d;
    --ink: #eef2f8;
    --muted: #9eabb9;
    --line: #4e535f;
    --accent: #00C2DE;
    --max: 1250px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: var(--bg)
}

body {
    margin: 0;
    /* background:var(--bg); */
    color: var(--ink);
    font-family: "Noto Sans JP",system-ui,-apple-system,sans-serif;
    line-height: 2;
    font-feature-settings: "palt";
    letter-spacing: .02rem
}

a {
    color: inherit
}

.wrap {
    width: min(var(--max),calc(100% - 48px));
    margin: auto
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--accent)
}

.top .wrap {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    font-family: "klavika-web",sans-serif;
    font-weight: 600;
    letter-spacing: .01em;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 14px
}

.brand img {
    display: block;
    width: 78px;
    height: auto
}

.brand .build-day {
    color: var(--accent);
    font-family: "klavika-web-condensed",sans-serif;
    font-weight: 700;
    letter-spacing: .08em
}

.lang {
    display: flex;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    padding: 3px
}

.lang button {
    font-family: "klavika-web",sans-serif;
    border: 0;
    background: none;
    color: #b7c0cb;
    padding: 6px 14px;
    border-radius: 2px;
    font-weight: 700;
    cursor: pointer
}

.lang button.on {
    background: var(--accent);
    color: #001317
}

.hero {
    position: relative;
    padding: 110px 0 72px;
    overflow: hidden;
    background: transparent
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.04) 55%,rgba(0,0,0,.12))
}

.hero .wrap {
    position: relative
}

.eyebrow,.num {
    font: 700 16px/1.2 "klavika-web-condensed",sans-serif;
    letter-spacing: .13em;
    color: var(--accent);
    text-transform: uppercase
}

.hero h1 {
    font-family: "klavika-web-display",sans-serif;
    font-weight: 800;
    font-size: clamp(66px,10vw,138px);
    line-height: .84;
    letter-spacing: -.065em;
    margin: 24px 0 32px;
    max-width: 1050px
}

.hero-title {
    display: flex;
    align-items: baseline;
    gap: clamp(18px,2.4vw,34px);
    margin: 24px 0 32px
}

.hero-title img {
    width: clamp(180px,28vw,360px);
    height: auto;
    display: block
}

.hero-title .build {
    font: 700 12px/1.2 "klavika-web-condensed",sans-serif;
    font-weight: 800;
    font-size: clamp(66px,10vw,138px);
    line-height: .84;
    /* letter-spacing:-.065em; */
}

.lead {
    font-size: clamp(22px,2.5vw,34px);
    max-width: 820px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 26px
}

.hero-copy {
    max-width: 760px;
    color: #c9d2e3;
    font-size: 16px
}

.cta {
    font-family: "klavika-web","Noto Sans JP",sans-serif;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    min-width: 250px;
    background-image: linear-gradient(171deg,#00C2DE 10%,#0badc4 45%,#16626d 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 700;
    transition: .2s
}

.cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px)
}

.facts {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 72px
}

.fact {
    padding: 22px 20px;
    border-right: 1px solid var(--line)
}

.fact:last-child {
    border: 0
}

.fact small {
    display: block;
    color: var(--accent);
    font: 700 18px/1.2 "klavika-web-condensed",sans-serif;
    letter-spacing: .12em
}

.fact b {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65
}

.section {
    padding: 92px 0;
    /* border-top:1px solid var(--line); */
}

.section-head {
    display: flex;
    gap: 30px;
    margin-bottom: 44px;
    align-items: start;
    flex-direction: column;
}

.section h2 {
    font-family: "klavika-web", "Noto Sans JP",sans-serif;
    font-size: clamp(34px,4.5vw,58px);
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 0;
    color: var(--accent);
    font-weight: 700
}

.prose {
    max-width: 820px;
    font-size: 16px;
    color: #d2d8e0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.card {
    background: transparent;
    border-right: 1px solid var(--line);
    padding: 30px 28px;
    min-height: 270px
}

.card:last-child {
    border-right: 0
}

.card h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 16px 0
}

.card p {
    color: #b8c2ce
}

.team {
    font-family: "klavika-web-display", "Noto Sans JP",sans-serif;
    font-size: clamp(34px,5vw,68px);
    font-weight: 700;
    letter-spacing: -.04em;
    padding: 38px 0;
    border-block:1px solid var(--line)}

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    /* margin: auto -35px; */
}

.box {
    padding: 30px;
    border-right: 1px solid var(--line)
}

.box:last-child {
    border-right: 0
}

.box h3 {
    margin-top: 0;
    color: var(--accent)
}

.clean {
    padding-left: 1.15em
}

.clean li {
    margin: .55em 0
}

.timeline {
    border-top: 1px solid var(--line)
}

.row {
    display: grid;
    grid-template-columns: 145px 1fr;
    padding: 19px 0;
    border-bottom: 1px solid var(--line)
}

.row time {
    font-family: "klavika-web-condensed",sans-serif;
    color: var(--accent);
    font-weight: 700
}

.note {
    margin-top: 30px;
    border-left: 3px solid var(--accent);
    padding: 5px 0 5px 20px;
    color: #cbd4df
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.faq details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    font-weight: 750;
    font-size: 18px;
    cursor: pointer
}

summary::marker {
    color: var(--accent)
}

.faq p {
    max-width: 800px;
    color: #bcc6d2
}

.tbd {
    padding: 25px;
    color: #aeb8c4;
    border-right: 1px solid var(--line)
}

.tbd:last-child {
    border: 0
}

.footer {
    border-top: 2px solid var(--accent);
    padding: 58px 0 100px;
    color: #9ba6b2;
    /* background:#030405; */
}

.mobile-cta {
    display: none
}

.en {
    display: none
}

body[data-lang=en] .ja {
    display: none
}

body[data-lang=en] .en {
    display: initial
}

body[data-lang=en] div.en,body[data-lang=en] p.en,body[data-lang=en] section.en {
    display: block
}

@media(max-width: 760px) {
    .wrap {
        width:min(100% - 30px,var(--max))
    }

    .top .wrap {
        height: 64px
    }

    .hero {
        padding-top: 72px
    }

    .hero h1 {
        font-size: 18vw
    }

    .hero-title {
        display: block
    }

    .hero-title img {
        width: min(58vw,260px);
        margin-bottom: 16px
    }

    .hero-title .build {
        font-size: 18vw
    }

    .facts {
        grid-template-columns: 1fr 1fr
    }

    .fact {
        border-bottom: 1px solid var(--line)
    }

    .section {
        padding: 65px 0
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .cards,.cols {
        grid-template-columns: 1fr;
        border-bottom: 0
    }

    .card,.box,.tbd {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .row {
        grid-template-columns: 100px 1fr
    }

    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 14px;
        left: 14px;
        right: 14px;
        z-index: 30;
        background-image: linear-gradient(171deg,#00C2DE,#0badc4 55%,#16626d);
        color: #fff;
        text-align: center;
        padding: 13px;
        text-decoration: none;
        font-weight: 850;
        border-radius: 8px;
        box-shadow: 0 8px 30px #000
    }

    .footer {
        padding-bottom: 110px
    }

    .pc{display: none;}
}

.parallax-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("../imgs/bg_pc.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transform-origin: center top;
    will-change: transform,opacity;
    pointer-events: none
}

@media screen and (max-width: 767px) {
    .parallax-bg {
        background-image:url("../imgs/bg_sp.png")
    }
}

/* Captain / Builders label */
.team small {
    font: 400 1em "klavika-web-condensed", sans-serif;
    letter-spacing: 0;
}


/* Header navigation */
.header-actions{display:flex;align-items:center;gap:12px}
.brand-x{color:#fff;opacity:.75}
.brand .amd-logo{width:84px;height:auto}
.menu-toggle{position:relative;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:4px;background:transparent;cursor:pointer;z-index:42;padding:0}
.menu-toggle span{position:absolute;left:11px;width:20px;height:2px;background:#fff;transition:transform .38s cubic-bezier(.22,1,.36,1),top .38s cubic-bezier(.22,1,.36,1)}
.menu-toggle span:first-child{top:16px}.menu-toggle span:last-child{top:25px}
.menu-toggle.is-open span:first-child{top:21px;transform:rotate(45deg)}
.menu-toggle.is-open span:last-child{top:21px;transform:rotate(-45deg)}
body.menu-open{overflow:hidden}
.global-menu{position:fixed;inset:0;z-index:35;background:rgba(0,0,0,.97);display:grid;place-items:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .38s ease,visibility 0s linear .38s;overflow-y:auto;padding:100px 24px 42px}
.global-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .38s ease}
.global-menu-inner{width:min(620px,100%);display:flex;flex-direction:column;align-items:center;text-align:center}
.menu-link{font-family:"klavika-web","Noto Sans JP",sans-serif;font-weight:600;font-size:clamp(17px,2.1vw,24px);line-height:1.2;text-decoration:none;color:#eef2f8;padding:8px 16px;opacity:0;transform:translateY(16px);transition:color .2s,opacity .35s ease,transform .35s ease}
.global-menu.is-open .menu-link{opacity:1;transform:translateY(0)}
.global-menu.is-open .menu-link:nth-child(1){transition-delay:.06s}.global-menu.is-open .menu-link:nth-child(2){transition-delay:.09s}.global-menu.is-open .menu-link:nth-child(3){transition-delay:.12s}.global-menu.is-open .menu-link:nth-child(4){transition-delay:.15s}.global-menu.is-open .menu-link:nth-child(5){transition-delay:.18s}.global-menu.is-open .menu-link:nth-child(6){transition-delay:.21s}.global-menu.is-open .menu-link:nth-child(7){transition-delay:.24s}.global-menu.is-open .menu-link:nth-child(8){transition-delay:.27s}.global-menu.is-open .menu-link:nth-child(9){transition-delay:.30s}.global-menu.is-open .menu-link:nth-child(10){transition-delay:.33s}.global-menu.is-open .menu-link:nth-child(11){transition-delay:.36s}
.menu-link:hover{color:var(--accent)}
.menu-title{font-family:"klavika-web-display",sans-serif;font-weight:800;font-size:clamp(30px,4.2vw,50px);margin-bottom:10px}
.menu-num{display:inline-block;width:2.5em;color:var(--accent);font-family:"klavika-web-condensed",sans-serif;font-weight:700}
.section[id],.hero[id]{scroll-margin-top:74px}
@media(max-width:760px){.brand{gap:8px}.brand img{width:62px}.brand .amd-logo{width:62px}.brand .build-day{display:none}.brand-x{font-size:14px}.header-actions{gap:7px}.lang button{padding:6px 9px}.global-menu{padding-top:82px;padding-bottom:28px}.menu-link{font-size:17px;padding:6px 10px}.menu-title{font-size:32px;margin-bottom:7px}.section[id],.hero[id]{scroll-margin-top:64px}}
@media(prefers-reduced-motion:reduce){.global-menu,.menu-link,.menu-toggle span{transition:none!important}}

/* ai& × AMD combined logo */
.brand .partner-logo{width:210px;height:auto}
.hero-title{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(18px,2.2vw,28px)}
.hero-title .partner-logo{width:clamp(360px,46vw,620px);height:auto}
.hero-title .build{font-size:clamp(78px,11vw,154px)}
@media(max-width:760px){.brand .partner-logo{width:150px}.hero-title{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.hero-title .partner-logo{width:min(84vw,420px);margin-bottom:0}.hero-title .build{font-size:20vw}}

/* Supplied combined logo: preserve original aspect ratio and artwork */
.partner-logo { height: auto !important; object-fit: contain; }
.menu-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; max-width: 100%; }
.menu-brand .partner-logo { width: 260px; max-width: 100%; }
.menu-brand .build { color: #fff; font-family: "klavika-web-condensed", sans-serif; font-size: 54px; font-weight: 800; line-height: 1; white-space: nowrap; }
.menu-divider { flex: 0 0 auto; width: min(360px, 90%); height: 1px; background: rgba(255,255,255,.25); margin-top: 24px; }
.menu-world-tour { display: block; width: min(160px, 65%); padding: 0; margin-top: 20px; }
.menu-world-tour .gold, .menu-world-tour .secondline { display: block; width: 100%; background-repeat: no-repeat; background-position: center; background-size: contain; overflow: hidden; text-indent: 100%; white-space: nowrap; }
.menu-world-tour .gold { aspect-ratio: 450 / 130; background-image: url("../../img/logo.svg"); }
.menu-world-tour .secondline { aspect-ratio: 480 / 55; background-image: url("../../img/logo_jp.svg"); margin-top: 5px; }
@media (max-width: 760px) {
  .menu-brand { gap: 10px; }
  .menu-brand .partner-logo { width: 220px; }
  .menu-brand .build { font-size: 46px; }
}

/* Application links */
.header-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 4px;
    background: var(--accent);
    background: linear-gradient(171deg,#00C2DE 10%,#0badc4 45%,#16626d 100%);
    color: #FFF;
    font-family: "klavika-web","Noto Sans JP",sans-serif;
    font-size: 90%;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: .2s;
}
.header-apply:hover { filter: brightness(1.12); }
.hero-apply { display: inline-flex; flex-direction: column; align-items: flex-start; }
.hero-apply .cta { margin-top: 30px; font-size: 1.5rem;}
.apply-details {
    margin-top: 10px;
    color: #c9d2e3;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.apply-details:hover { color: #fff; }
.mobile-apply { display: none; }

.apply_txt{display: inline-block;margin-left: 1rem;color: var(--accent);}

@media(max-width:760px) {
    .header-apply { display: none; }
    .hero-apply.pc { display: none; }
    .mobile-cta { display: block; position: static; }
    .mobile-apply {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 14px;
        left: 14px;
        right: 14px;
        z-index: 30;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 30px #000;
        background: #080b0d;
    }
    .mobile-apply .mobile-cta {
        border-radius: 0;
        box-shadow: none;
        padding: 13px;
    }
    .mobile-apply-details {
        display: block;
        padding: 8px 10px 9px;
        color: #c9d2e3;
        text-align: center;
        font-size: 12px;
        line-height: 1.25;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .footer { padding-bottom: 135px; }
}

/* Link to the main event in the desktop header. */
.header-world-tour { border-left: 1px solid rgba(255,255,255,.65); padding-left: 16px; color: #fff; font-weight: 200; font-size: 80%; line-height: 1.4; text-decoration: none; transition: opacity .2s ease; }
.header-world-tour:hover { opacity: .6; text-decoration: none; }
@media (max-width: 945px) { .header-world-tour { display: none; } }
@media (max-width: 760px) {
  .brand .build-day { display: inline; font-size: 14px; white-space: nowrap; }
  .brand .partner-logo { width: clamp(90px, 26vw, 150px); }
}
