@charset "utf-8";

body {
    background: url("../img/background.jpg") repeat center center;
    background-size: cover;
    font-family: "Zen Kaku Gothic New", "Noto Serif JP", serif;
    color: #323844;
    line-height: 1.8;
}

/* =========================================
   タイトル（h2）
========================================= */
.section-title {
    font-family: "Kaisei HarunoUmi", serif;
    font-size: 48px;
    text-align: center;
    margin: 60px auto 40px;
    display: inline-block;
    position: relative;
    color: #323844;
    padding-bottom: 14px;
    /* 線と文字の余白を確保 */
}

/* --- 二重下線（カラー #d25729） --- */
.section-title::after,
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #d25729;
}

.section-title::after {
    bottom: 7px;
    /* 少し上に配置（間隔） */
    height: 2px;
    /* 上線：細く */
    width: 100%;
}

.section-title::before {
    bottom: 0;
    /* 一番下の線 */
    height: 5px;
    /* 下線：太く */
    width: 100%;
}

/* ===== お問い合わせ ===== */
.contact-section {
    text-align: center;
    padding: 60px 20px 100px;
}

.contact-text {
    margin-bottom: 5px;
}

.contact-note {
    font-size: 16px;
    color: #323844;
    margin-bottom: 40px;
}

/* ===== フォーム ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.required {
    color: #fff;
    background: #d25729;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3;
    position: relative;
    top: -1px;
    left: -2px;
    /* ← ポイント！少し左に寄せる */
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
}

textarea {
    resize: vertical;
}

.form-btn {
    text-align: center;
    margin-top: 30px;
}

.form-btn button {
    background-color: #d25729;
    color: #fff;
    font-size: 15px;
    padding: 10px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.form-btn button:hover {
    opacity: 0.8;
}



/* =========================================
   レスポンシブ対応
========================================= */
@media screen and (max-width: 959px) {
    .section-title {
        font-size: 22px;
        margin: 40px auto 30px;
    }

    .contact-section {
        padding: 40px 15px 80px;
    }

    .contact-form {
        max-width: 100%;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 15px;
    }

    .form-btn button {
        width: 100%;
        padding: 12px 0;
    }
}