/* =====================================================
共通
===================================================== */

/* 全体共通 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 横スクロール防止 */
html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif;
    background: #000;
    color: #fff;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

/* =====================================================
お問い合わせ
===================================================== */

/* -------------------------
お問い合わせセクション全体
------------------------- */
.contact {
    padding: 75px 10px 20px;
}

@media screen and (min-width: 641px) {
    .contact {
        padding-top: 125px;
        padding-bottom: 50px;
    }
}

@media screen and (min-width: 641px) and (max-width: 991px) {
    .contact {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width: 992px) {
    .contact {
        padding-left: 0;
        padding-right: 0;
    }
}

/* -------------------------
セクション見出し
------------------------- */
.section-heading {
    max-width: 1032px;
    margin: 0 auto;
    padding-bottom: 20px;
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 10px;
}

.section-title span {
    display: inline-block;
    margin-top: 4px;
    margin-right: .35em;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, .75);
}

/* -------------------------
コンテンツ全体
------------------------- */
.contact-content {
    max-width: 1032px;
    margin: 0 auto;
}

/* -------------------------
説明
------------------------- */
.contact-message {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    line-height: 2;
}

/* -------------------------
メッセージ
------------------------- */
.contact-message-box {
    display: none;
    margin-top: 30px;
    padding: 15px;
    border-radius: 5px;
    line-height: 1.8;
}

/* 成功 */
.contact-message-box.is-success {
    display: block;
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

/* エラー */
.contact-message-box.is-error {
    display: block;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}


/* =====================================================
フォーム
===================================================== */
.contact-form {
    margin-top: 40px;
}

.contact-item {
    margin-top: 25px;
}

@media screen and (min-width:768px) {
    .contact-item {
        width: 750px;
        margin: 25px auto 0;
    }
}

@media screen and (min-width:992px) {
    .contact-item {
        width: 944px;
        display: grid;
        grid-template-columns: 220px 1fr;
        align-items: start;
        gap: 30px;
    }
}

/* ラベル */
.contact-label {
    display: block;
    margin-bottom: 8px;
    padding: 0 25px;
    font-size: 11.5px;
    font-weight: 100;
}

/* 必須（※）*/
.required {
    color: #d40000;
    margin-left: 5px;
}

/* input */
.contact-input {
    width: 85%;
    height: 34px;
    margin: 0 25px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}

@media screen and (min-width:768px) {
    .contact-input {
        width: 90%;
    }
}

/* textarea */
.contact-textarea {
    width: 85%;
    margin: 0 25px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font: inherit;
    background: #fff;
    min-height: 220px;
}

@media screen and (min-width:768px) {
    .contact-textarea {
        width: 90%;
    }
}

/* フォーカス時 */
.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #555;
}


/* =====================================================
フォーム状態
===================================================== */

/* エラー */
.contact-input.is-error,
.contact-textarea.is-error {

    border-color: #dc3545;

}

/* OK */
.contact-input.is-success {

    border-color: #28a745;

}


/* =====================================================
送信ボタン
===================================================== */

.contact-button {
    margin: 40px 0 60px;
    padding-left: 25px;
}

@media screen and (min-width:768px) {
    .contact-button {
        width: 750px;
        margin: 40px auto 60px;
    }
}

@media screen and (min-width:992px) {
    .contact-button {
        width: 944px;
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 30px;
    }
}

.contact-submit {
    grid-column: 2;
    justify-self: start;
    width: 72px;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 11.5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

/* ホバー時 */
.contact-submit:hover {
    border-color: #888;
}

/* 送信中 */
.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =====================================================
Honeypot
===================================================== */
.contact-honeypot {
    display: none;
}


/* =====================================================
Cloudflare Turnstile
===================================================== */

/* Cloudflare Turnstile全体 */
.contact-item-turnstile {
    display: block;

}

/* スパム対策説明 */
.contact-note {
    margin: 24px 0 12px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 100;
    line-height: 1.7;
}

/* チェックボックス */
.cf-turnstile {
    width: 85%;
    margin: 0;
    padding: 0 25px;
}

@media screen and (min-width:992px) {

    .contact-note,
    .cf-turnstile {
        margin-left: 250px;
        padding-left: 25px;
        padding-right: 0;
    }
}