html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Yu Gothic", sans-serif;
    background: url('../画像/0.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

::placeholder {
    color: rgba(255,255,255,0.9);
}

.error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.8);
}

.error-msg {
    color: #ff4d4d;
    font-size: clamp(16px, 3vw, 22px);
    margin-top: -5px;
    padding-left: 10px;
}

.panel {
    width: min(95vw, 650px);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    padding: 4%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
    margin-top: 80px;
    margin-bottom: 80px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: bold;
    gap: 12px;
    margin: 0;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.7);
}

.attend-box {
    display: flex;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    position: relative;
}

.attend-box::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 80%;
    background: rgba(255,255,255,0.85);
    left: 50%;
    top: 10%;
    border-radius: 2px;
}

.attend-btn {
    flex: 1;
    padding: 20px 0;
    font-size: clamp(20px, 4vw, 30px);
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    transition: 0.25s;
    user-select: none;
    text-align: center;
}

.active-attend {
    background: linear-gradient(
        to bottom,
        rgba(180, 255, 200, 0.45),
        rgba(120, 230, 150, 0.45)
    );
    text-shadow: 0 0 8px rgba(255,255,255,0.9);
    box-shadow: inset 0 0 18px rgba(255,255,255,0.5),
                inset 0 0 25px rgba(0,0,0,0.25);
}

.active-absent {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55),
        rgba(230, 230, 230, 0.55)
    );
    text-shadow: 0 0 8px rgba(255,255,255,0.9);
    box-shadow: inset 0 0 18px rgba(255,255,255,0.6),
                inset 0 0 25px rgba(0,0,0,0.25);
}

.comment-label {
    color: #fff;
    font-size: clamp(18px, 3vw, 26px);
    line-height: 1.6;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.request-box {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    padding: 12px;
    font-size: clamp(16px, 3vw, 22px);
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.name-label-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: -10px;
}

.name-label {
    flex: 1;
    color: #fff;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    text-align: left;
    padding-left: 10px;
}

.name-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.name-box {
    flex: 1;
    min-width: 120px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    padding: 10px;
    font-size: clamp(16px, 3vw, 22px);
    outline: none;
    box-sizing: border-box;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.phone-box {
    flex: 1 1 calc(30% - 20px);
    min-width: 80px;
}

.hyphen {
    color: #fff;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
}

.zipcode-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.zipcode-box {
    flex: 1 1 40%;
    min-width: 120px;
}

.zip-btn {
    flex: 1 1 40%;
    min-width: 180px;
    height: 55px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.zip-btn:hover {
    background: linear-gradient(135deg, #e8c75f, #cfa63a);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.zipcode-comment {
    color: #ffffff;
    font-size: clamp(16px, 3vw, 22px);
    margin-top: -10px;
    padding-left: 10px;
}

.divider {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    margin: 25px 0;
}

.submit-btn {
    width: 100%;
    height: 65px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #e6c068, #cfa63a);
    color: #fff;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.45);
    transition: 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #f3d98a, #e0b95a);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.55);
}