/* Form Specific Styles */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00e5ff;
    --input-bg: #1a1a1a;
    --input-border: #333;
    --font-main: "TsukuGoPr5-Medium", "筑紫ゴシック Pro5 M", "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
    background-color: rgba(5, 5, 20, 0.65);
    background-image: url('こだわり用画像/back/Scifi BG01.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-blend-mode: multiply;
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.hero-content {
    text-align: center;
}

.form-container {
    width: 95%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 50px auto;
    /* 中央寄せ */
    text-align: left;
    /* 入力欄や説明文を左詰めにする */
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.required::after {
    content: " (必須)";
    color: #ff4d4d;
    font-size: 12px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100% !important;
    /* 強制的に統一 */
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    display: block;
    box-sizing: border-box;
    /* パディングを含めた幅計算 */
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea {
    height: 150px;
    resize: vertical;
}

.help-text {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    opacity: 0.8;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: #fff;
}

/* Unified Form Styles */
.category-group {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-group.active {
    display: block;
}

.notice-box {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid #00e5ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.notice-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: #ddd;
}

.notice-box li {
    margin-bottom: 8px;
}

.warning-box {
    background: rgba(255, 77, 77, 0.1);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ff4d4d;
    margin-bottom: 20px;
}

.warning-text {
    color: #ff4d4d;
    font-size: 13px;
    margin: 0;
    font-weight: 700;
}

.external-link-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
}

.success-message {
    background: rgba(0, 229, 100, 0.1);
    border: 1px solid #00e564;
    color: #00e564;
}

.error-message {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}

