/*============================
404ページ（404.php）
2026-09-12 追加

これまでスタイルが1つも無く、黒地に素のテキストが並ぶ状態だったため新設。
見出し帯（css/page.css の common-cover）と同じ宇宙背景に揃えています。
============================*/

div#nopage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 70vh;
    padding: 220px 16px 390px;
    text-align: center;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(../img/fv-stars.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    @media screen and (max-width:640px){
        padding: 160px 16px 200px;
    }
}

div#nopage h2 {
    font-family: "Bebas Neue", sans-serif;
    color: #fff;
    font-size: 8rem;
    line-height: 1;
    letter-spacing: 0.1em;

    @media screen and (max-width:640px){
        font-size: 5rem;
    }
}

div#nopage p.sub {
    font-family: "Bebas Neue", sans-serif;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.2em;
    margin-top: 12px;

    @media screen and (max-width:640px){
        font-size: 1.25rem;
    }
}

div#nopage p.explain {
    color: #fff;
    line-height: 2;
    margin-top: 32px;

    @media screen and (max-width:640px){
        font-size: 0.9375rem;
    }
}

/* スマホでは文の途中で折り返さず、2行に分ける */
div#nopage p.explain span {

    @media screen and (max-width:640px){
        display: block;
    }
}

div#nopage a.btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    max-width: 100%;
    height: 60px;
    margin-top: 48px;
    border-radius: 30px;
    background-color: #007ec6;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: 0.25s;

    @media screen and (max-width:640px){
        width: 100%;
        height: 56px;
        margin-top: 36px;
    }
}

div#nopage a.btn-green:hover {
    background-color: #fff;
    color: #007ec6;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 126, 198, 0.35);
}

div#nopage a.btn-green:active {
    transform: translateY(0);
}
