@charset "utf-8";

/* ============================================================
   Rentaluxes – Luxury Contact (Matching Register Style)
   ============================================================ */

body {
    background: #0b0b0b;
    color: #eee;
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}

.register-bg {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.85));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px; /* スマホ時の上下余白 */
    box-sizing: border-box;
}

.register-box {
    width: 100%;
    max-width: 560px;
    padding: 60px 50px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
}

.register-head {
    text-align: center;
    margin-bottom: 50px;
}

.register-head span {
    display: block;
    color: #bfa76a;
    letter-spacing: 0.25em;
    font-size: 11px;
    margin-bottom: 10px;
}

.register-head h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.12em;
    margin: 0;
}

fieldset {
    border: none;
    padding: 0;
    margin-bottom: 40px;
}

legend {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #bfa76a;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.input {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.input label {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #aaa;
    margin-bottom: 8px;
}

/* 入力・セレクト・テキストエリア共通 */
.input input,
.input select,
.input textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 15px;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    transition: all 0.3s;
}

/* セレクトボックス特有の調整 */
.input select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23aaa' d='M0 3l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input select option {
    background: #1a1a1a;
    color: #fff;
}

/* テキストエリア（お問合せ内容） */
.input textarea {
    border: 1px solid rgba(255,255,255,0.15); /* 内容は枠線があったほうが書きやすいため */
    padding: 12px;
    margin-top: 5px;
    line-height: 1.6;
    resize: vertical;
}

/* フォーカス時 */
.input input:focus,
.input select:focus,
.input textarea:focus {
    outline: none;
    border-bottom-color: #bfa76a;
}
.input textarea:focus {
    border-color: #bfa76a;
}

/* ボタン（ゴールドアウトライン） */
.btn-primary {
    width: 100%;
    height: 52px;
    background: transparent;
    border: 1px solid #bfa76a;
    color: #bfa76a;
    letter-spacing: 0.2em;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 10px;
}

.btn-primary:hover {
    background: #bfa76a;
    color: #000;
}

/* プレースホルダーの色 */
::placeholder {
    color: rgba(255,255,255,0.2);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 600px) {
    .register-box {
        padding: 40px 30px;
        background: transparent; /* スマホでは背景の透過度を上げてよりシンプルに */
        border: none;
    }

    .register-head h1 {
        font-size: 22px;
    }

    .input input, 
    .input select, 
    .input textarea {
        font-size: 16px; /* スマホズーム防止 */
    }
}