@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400&family=Noto+Sans+JP:wght@300;400&display=swap");

/* ============================================
   基本設定
   css/index.css からの画像パスは ../img/ です。
============================================ */
html {
    box-sizing: border-box;
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: #fff;
    color: #453e31;
    font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Roboto", "Noto Sans CJK JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
}

.entrance h1,
.entrance p {
    margin: 0;
}

.entrance img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

.entrance a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.entrance a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}

.entrance-background,
.entrance-copy,
.entrance-age-mark,
.br_sp {
    display: none;
}

/* ============================================
   PC（769px以上）
   コンテンツの実幅が最大1600px。左右の余白は各20px。
============================================ */
.entrance {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: 1600px;
    margin: 26px auto 0;
    text-align: center;
}

.entrance-visual {
    display: block;
    width: 100%;
}

.entrance-content {
    padding: 26px 16px 0;
}

.entrance-logo {
    width: 260px;
    margin: 0 auto !important;
    line-height: 0;
}

.entrance-logo img {
    /* 添付の白いロゴを、PCだけ濃いブラウン（#453e31相当）にします。
       SVG内の画像を含めて着色するため、fill ではなく filter を使用。 */
    -webkit-filter: brightness(0) invert(20.4376%) sepia(93.0061%) hue-rotate(0.5467deg);
    filter: brightness(0) invert(20.4376%) sepia(93.0061%) hue-rotate(0.5467deg);
}

.entrance-enter {
    display: inline-block;
    margin-top: 13px;
    font-weight: 100;
    line-height: 1.2;
    transition: opacity 0.2s ease;
}

.entrance-enter-label {
    display: block;
    font-size: 4.2rem;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    letter-spacing: -0.035em;
}

.entrance-notice {
    margin-top: 15px;
    font-size: 1.3rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.entrance-recruit {
    display: flex;
    justify-content: center;
    gap: 36px;
    width: 100%;
    max-width: 610px;
    margin: 48px auto 0;
}

.entrance .entrance-recruit-link {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 72px;
    padding: 12px 8px;
    color: #f7f4dc;
    font-family: "Anton", "Arial Narrow", Impact, "Roboto Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.entrance-recruit-cast {
    background: #cb629f;
}

.entrance-recruit-staff {
    background: #453e31;
}

.entrance-recruit-cast .entrance-recruit-accent {
    color: #ffd64a;
}

.entrance-recruit-staff .entrance-recruit-accent {
    color: #0586ba;
}

.entrance-recruit-separator {
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 0.9em;
}

.entrance-footer {
    padding: 98px 10px 24px;
    font-size: 1.3rem;
    line-height: 1.6;
}

.entrance-footer small {
    font-size: inherit;
}

@media (hover: hover) {
    .entrance-enter:hover,
    .entrance-recruit-link:hover {
        opacity: 0.75;
    }
}

/* ============================================
   スマホ（768px以下）
   背景は画面いっぱい。本文は最低1画面分の高さ。
   高さの足りない端末では、内容を切らずにスクロールさせます。
============================================ */
@media screen and (max-width: 768px) {
    body {
        background: #211e1c;
        color: #fff;
    }

    .br_sp {
        display: block;
    }

    .entrance-background {
        position: fixed;
        z-index: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        pointer-events: none;
        background-color: #211e1c;
        background-image: url("../img/sp_morning.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    html[data-time="night"] .entrance-background {
        background-image: url("../img/sp_night.jpg");
    }

    .entrance {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        min-height: 100vh;
        min-height: 100svh;
        margin: 0;
    }

    .entrance-visual {
        display: none;
    }

    .entrance-content {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 4.7vw;
        padding-right: max(4.7vw, env(safe-area-inset-right));
        padding-left: max(4.7vw, env(safe-area-inset-left));
    }

    .entrance-content::before {
        /* 上の余白を可変にして、低い端末では内容を優先します。 */
        content: "";
        display: block;
        flex: 1 0 64px;
        width: 1px;
        min-height: 64px;
        max-height: 29.8vh;
        max-height: 29.8svh;
    }

    .entrance-logo {
        width: 50vw;
        max-width: 320px;
    }

    .entrance-logo img {
        /* スマホは元の白いロゴをそのまま使用。 */
        -webkit-filter: none;
        filter: none;
    }

    .entrance-enter {
        margin-top: 4.6vh;
        margin-top: 4.6svh;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    }

    .entrance-copy {
        display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
        font-size: 5.4vw;
        font-size: clamp(21px, 5.4vw, 34px);
        line-height: 1.22;
        letter-spacing: 0;
    }

    .entrance-copy-morning {
        display: block;
    }

    .entrance-copy-night {
        display: none;
    }

    html[data-time="night"] .entrance-copy-morning {
        display: none;
    }

    html[data-time="night"] .entrance-copy-night {
        display: block;
    }

    .entrance-enter-label {
        margin-top: 8px;
        font-size: 7.4vw;
        font-size: clamp(30px, 7.4vw, 50px);
        line-height: 1.15;
    }

    .entrance-notice {
        width: 100%;
        margin-top: 5.8vh;
        margin-top: 5.8svh;
        font-size: 2.3vw;
        font-size: clamp(10px, 2.3vw, 14px);
        line-height: 1.8;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    .entrance-age-mark {
        display: block;
        width: 12vw;
        max-width: 72px;
        margin: 2.8vh auto 0;
        margin-top: 2.8svh;
    }

    .entrance-recruit {
        gap: 3vw;
        max-width: 610px;
        margin-top: 2.6vh;
        margin-top: 2.6svh;
    }

    .entrance .entrance-recruit-link {
        min-height: 44px;
        height: 11vw;
        max-height: 76px;
        padding: 8px 4px;
        font-size: 5.3vw;
        font-size: clamp(18px, 5.3vw, 34px);
    }

    .entrance-footer {
        flex: 0 0 auto;
        margin-top: auto;
        padding: 6vh 10px 12px;
        padding-top: 6svh;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        font-size: 2.3vw;
        font-size: clamp(9px, 2.3vw, 13px);
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }
}

/* 低い画面・横向きでは上の余白を減らして、操作部分を見つけやすく。 */
@media screen and (max-width: 768px) and (max-height: 640px) {
    .entrance-content::before {
        max-height: 20vh;
        max-height: 20svh;
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    .entrance-content::before {
        flex: 0 0 40px;
        min-height: 40px;
        max-height: 40px;
    }

    .entrance-logo {
        width: 220px;
        max-width: 44vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .entrance-enter,
    .entrance-recruit-link {
        transition: none;
    }
}
