* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:#15181d;
    color:#f4f4f1;
    font-family:Arial,"Noto Sans JP",sans-serif;
    line-height:1.65
}
a {
    color:inherit;
    text-decoration:none
}
header {
    height:72px;
    display:flex;
    align-items:center;
    gap:30px;
    padding:0 5vw;
    position:sticky;
    top:0;
    background:rgba(21,24,29,.94);
    z-index:10;
    border-bottom:1px solid #30343b
}
.brand {
    font-size:22px;
    font-weight:800;
    margin-right:auto
}
nav {
    display:flex;
    gap:20px;
    font-size:12px;
    letter-spacing:.12em
}
.lang {
    font-size:12px;
    color:#aaa
}
main {
    max-width:1180px;
    margin:auto
}
.hero {
    min-height:620px;
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:55px;
    align-items:center;
    padding:70px 28px
}
.dummy {
    display:grid;
    place-items:center;
    text-align:center;
    background:linear-gradient(135deg,#303943,#20252d);
    border:1px dashed #7c8792;
    color:#aeb6bf;
    letter-spacing:.08em
}
.hero-art {
    min-height:0;
    border:0;
    border-radius:0;
    background:none;
    overflow:hidden
}
.hero-art img {
    display:block;
    width:100%;
    height:auto
}
.hero h1 {
    font-size:clamp(52px,8vw,100px);
    line-height:.9;
    margin:.1em 0 .25em
}
.hero-copy>p:not(.eyebrow) {
    font-size:18px;
    color:#c6c9cd
}
.eyebrow,.section-title>p {
    font-size:12px;
    letter-spacing:.22em;
    color:#9ca5af
}
.actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:24px
}
.button,button {
    font:inherit;
    padding:11px 18px;
    border:1px solid #d7d9db;
    background:#f4f4f1;
    color:#15181d;
    border-radius:5px;
    cursor:pointer
}
.button.secondary {
    background:transparent;
    color:#f4f4f1;
    border-color:#676d75
}
.section {
    padding:85px 28px;
    border-top:1px solid #30343b
}
.section-title {
    margin-bottom:28px
}
.section h2 {
    font-size:clamp(28px,4vw,44px);
    margin:0 0 18px
}
.latest {
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:35px;
    align-items:center
}
.wide {
    min-height:0
}

/* v0.51: artwork and thumbnails always keep their original aspect ratio. */
.media-frame {
    width:100%;
    min-height:0;
    overflow:hidden;
    background:none;
    border:0;
}
.media-frame img,
.qcm-art img,
.hero-art img {
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    max-width:100%;
    object-fit:contain;
}

.tag {
    font-size:11px;
    border:1px solid #777;
    padding:4px 8px;
    border-radius:4px
}
.cards {
    display:grid;
    gap:22px
}
.three {
    grid-template-columns:repeat(3,1fr)
}
.cards article {
    background:#1c2026;
    padding:14px;
    border-radius:14px
}
.square {
    aspect-ratio:auto
}
.cards h3 {
    margin-bottom:5px
}
.cards p,.split p,.contact p {
    color:#aeb3ba
}
.worlds {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px
}
.world {
    min-height:270px;
    padding:24px;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end
}
.world b {
    display:block;
    width:100%;
    font-size:26px
}
.world b img {
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:contain
}
.world span {
    font-size:13px
}
.aor {
    background:linear-gradient(160deg,#111a27,#32475e)
}
.neon {
    background:linear-gradient(160deg,#49274e,#173d4c)
}
.ktv {
    background:linear-gradient(160deg,#4b2034,#5b4420)
}
.qcm {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center
}
.qcm-art {
    min-height:0;
    border-radius:20px;
    overflow:hidden
}
.qcm-art img {
    display:block;
    width:100%;
    height:auto;
    object-fit:contain
}
.platforms {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px
}
.platform-link {
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:14px 18px;
    border:1px solid #4a5058;
    border-radius:8px;
    background:#1a1e24;
    color:#f5f5f5;
    text-decoration:none;
    font-weight:700
}
.platform-link:hover {
    background:#242a32;
    border-color:#777f89
}
.platform-link img {
    width:25px;
    height:25px;
    display:block;
    filter:invert(1)
}
.contact-address {
    font-size:16px;
    font-weight:600
}
.contact-address a {
    color:inherit
}
.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px
}
.contact {
    text-align:center
}
footer {
    max-width:1180px;
    margin:auto;
    padding:35px 28px 60px;
    border-top:1px solid #30343b;
    display:flex;
    justify-content:space-between;
    color:#7f858d;
    font-size:12px
}
@media(max-width:760px) {
    header {
        height:auto;
        padding:16px 20px;
        flex-wrap:wrap
    }
    nav {
        order:3;
        width:100%;
        gap:16px;
        overflow-x:auto;
        white-space:nowrap;
        padding-top:4px;
        padding-bottom:2px;
        scrollbar-width:none
    }
    nav::-webkit-scrollbar {
        display:none
    }
    .lang {
        margin-left:auto;
        white-space:nowrap
    }
    .hero,.latest,.qcm,.split {
        grid-template-columns:1fr
    }
    .hero {
        padding-top:35px
    }
    .hero-art {
        min-height:0;
        order:2
    }

    .media-frame,
    .media-frame img {
        width:100%;
        height:auto;
        min-height:0;
        aspect-ratio:auto;
    }

    .qcm-art,
    .qcm-art img {
        min-height:0;
        height:auto
    }
    .three,.worlds {
        grid-template-columns:1fr
    }
    .platforms {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .world {
        min-height:190px
    }
    .section {
        padding:60px 20px
    }
    footer {
        display:block;
        padding:30px 20px
    }
    footer span {
        display:block;
        margin-top:8px
    }
}

@media(max-width:480px) {
    header {
        padding:13px 16px 11px
    }
    .brand {
        font-size:20px
    }
    nav {
        font-size:11px;
        gap:15px
    }
    .lang {
        font-size:11px
    }
}

.lang a { color:#aaa; }
.lang a:hover { color:#f4f4f1; }
.lang .current { color:#f4f4f1; font-weight:700; }
