/* --- 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* ヘッダー */
header {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

header a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.2em;
    transition: 0.3s;
}

header a:hover {
    color: #ff3300;
}

/* コンテナ */
.container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

/* フォーム */
.request-form {
    background: #0a0a0a;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group label span {
    background: #ff3300;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
}

input,
select,
textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #ff3300;
}

.full-width {
    grid-column: span 2;
}

/* 送信ボタン */
.btn-submit {
    width: 100%;
    background: #ff3300;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.btn-submit:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* 送信完了メッセージ */
#form-thanks {
    display: none;
    text-align: center;
    padding: 60px 0;
}

#form-thanks h2 {
    color: #ff3300;
    margin-bottom: 20px;
    font-size: 2rem;
}

.back-link {
    color: #fff;
    display: inline-block;
    margin-top: 30px;
    text-decoration: underline;
}

/* フッター */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 12px;
}

/* スマホ用レスポンシブ */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .request-form {
        padding: 25px 20px;
    }
}

/* ロゴのサイズを調整 */
.header-logo img {
    height: 40px;
    /* 他のページと同じ高さに固定 */
    width: auto;
    display: block;
    transition: 0.3s;
}

/* ついでにナビゲーション全体の横並びを整える（崩れている場合） */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}