:root {
    --green: #0b6f55;
    --green-dark: #064535;
    --gold: #b89a42;
    --black: #151515;
    --bg: #f7f7f2;
    --white: #fff;
    --red: #b00020;
    --line: rgba(6,69,53,.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--black);
    background: #fff url(https://d20dfxyuz7q532.cloudfront.net/uratanuki/2026/bg____.jpg) repeat;
    background-position: center top;
    background-size: cover;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}
a { color: inherit; }
img{
    max-width: 100%;
    width: 100%;
}
.site-wrap { min-height: 100vh; }
.hero { padding: 0; }
.hero__inner { max-width: 1000px; margin: 0 auto; }
.hero__img { display: block; width: 100%; height: auto; }
.main {
    width: min(1040px, calc(100% - 28px)); margin: 0 auto;
    padding: 38px 0 64px;
}
.card {
    /*background: rgba(255,255,255,.55);*/
    /*border: 1px solid var(--line);*/
    border-radius: 0;
    text-align: center;
    padding: clamp(22px, 4vw, 42px);
    /*box-shadow: 0 18px 40px rgba(0,0,0,.08);*/
    margin: 30px 0 24px;
}
.song-group{
    background: rgba(255,255,255,.55);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.eyebrow, .step {
    color: var(--green);
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 .5em;
}
h1, h2 {
    font-family: "Kaisei Decol", "Yu Mincho", "YuMincho", serif;
    letter-spacing: .02em;
    line-height: 1.45;
}
h1 {
    font-size: 14px;
    margin: -10% 0 2.75em;
}
h2 { font-size: clamp(22px, 3vw, 30px); color: var(--green-dark); margin: 0 0 .75em; }
.lead { font-weight: 700; }
.note, .field-help { color: #111; font-size: 14px;text-align: left }
.note{
    text-align: center;
}
.notice-box {
    margin: 28px 0;
    padding: 20px;
    border-left: 5px solid var(--green);
    background: rgba(11,111,85,.06);
    border-radius: 12px;
}
.notice-box ul { margin: 0; padding-left: 1.3em; }
.login-user {
    display: block;
    text-align: center;
    margin: 0 0 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11,111,85,.08);
    color: var(--green-dark);
    font-weight: 700;
}
.btn {
    background: transparent;
    appearance: none;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 28px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
.btn--secondary { width:100%; background: #bdd4ca; color: var(--black); margin-bottom: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--image {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1;
}
.btn--image[disabled] { opacity: 1; cursor: not-allowed; transform: none; }
.btn--image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}
.selected-bar .btn--selected-submit,
.btn--confirm-submit {
    width: min(430px, 100%);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.selected-bar .btn--selected-submit img,
.btn--confirm-submit img {
    width: 100%;
}

.alert {
    font-size: 84%;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 16px 0;
    letter-spacing: -.2px;
    font-weight: 700;
}
.alert--error { background: #fff0f0; color: var(--red); border: 1px solid rgba(176,0,32,.2); }
.alert--success { background: #f0fff9; color: var(--green-dark); border: 1px solid rgba(11,111,85,.2); }
.song-form { margin: 0 0 60px; }
.selected-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    margin: 0 0 20px;
}
.selected-bar strong { color: var(--green); font-size: 24px; }
.song-group h2 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}
.song-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    font-size: 18px;
}
.song-option {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
    min-height: 56px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.song-option:hover { border-color: rgba(11,111,85,.5); }
.song-option:has(input:checked) {
    border-color: var(--green);
    background: rgba(11,111,85,.08);
    box-shadow: inset 0 0 0 1px var(--green);
}
.song-option input { width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 auto; }
.song-option span { font-weight: 700; line-height: 1.45; }
.song-option.is-disabled { opacity: .42; }
.other-field {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(11,111,85,.06);
}
.other-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.other-field input {
    display: block;
    width: 100%;
    max-width: 640px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
}
.confirm-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    counter-reset: number;
}
.confirm-list li {
    counter-increment: number;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}
.confirm-list li::before {
    content: counter(number);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    flex: 0 0 auto;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.complete-card { text-align: center; }
.footer {
    text-align: center;
    padding: 32px 16px;
    color: #ccc;
    font-size: 13px;
}
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.admin-table th { background: rgba(11,111,85,.08); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-row input { width: 100%; max-width: 460px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; }
.nopc,.br-sp{
    display: none;
}
.nosp,.br-pc{
    display: inline;
}
@media (max-width: 800px) {
    .main{
        padding: 10px 0 10px;
    }
    .btn{
        padding-left: 0;
        padding-right: 0;
    }
    .song-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        font-size: 2.8vw;
    }
    .selected-bar .btn--selected-submit,
    .btn--confirm-submit {
        width: min(450px, 100%);
        position: relative;
        left: 0;
        transform: translateX(0);
    }
    .selected-bar {
        flex-direction: column; align-items: stretch;
        padding: 5px 18px 14px;
    }
    .selected-bar .btn { width: 100%; }
    .card{
        margin: 10px 0 10px;
    }
    .footer {
        padding: 16px 8px;
        color: #ccc;
        font-size: 13px;
    }
    .nopc,.br-sp{
        display: inline;
    }
    .nosp,.br-pc{
        display: none;
    }
}
@media (max-width: 520px) {
    .main {
        width: min(100% - 20px, 1040px);
        padding-top: 22px;
    }
    .card { padding: 18px; }
    .song-option { min-height: 50px; }
}

.email-auth-form {
    display: grid;
    gap: 12px;
    max-width: 700px;
    margin: 22px auto 0;
}
.email-auth-form label {
    font-weight: 700;
}
.email-auth-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 16px;
}
.email-auth-form .btn {
    justify-self: center;
    margin-top: 8px;
}
.alert--success {
    background: #edf9f2;
    color: #116b36;
    border-color: #b6e4c8;
}
