@charset "utf-8";

/* =========================================================
   メイン領域の配置（固定ヘッダーとの余白調整）
========================================================= */
#contact1 #main {
    width: 100vw;
    position: relative;
    top: 5vw;
    box-sizing: border-box;
    padding-bottom: 8vw;
}

@media (max-width: 900px) {
    #contact1 #main {
        top: 40px;
        padding-bottom: 60px;
    }
}

/* 見出しのスタイル調整 */
#contact1 .headline {
    color: #222;
}

#contact1 .headline_ja {
    text-align: center;
    font-size: 1.37vw;
    letter-spacing: 0.3em;
    color: #666;
    margin-bottom: 4vw;
}

@media (max-width: 900px) {
    #contact1 .headline_ja {
        font-size: 4vw;
        margin-bottom: 30px;
    }
}

/* =========================================================
   フォーム要素の共通スタイル（input, textarea, button）
========================================================= */
input[type="text"],
input[type="mail"],
input[type="email"],
textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #fafafa;
    color: #333;
    margin-top: 6px;
    margin-bottom: 4px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

input[type="text"]:focus,
input[type="mail"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #1aa170;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(26, 161, 112, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

hr {
    border: none;
    border-bottom: 1px solid #eee;
    margin: 18px 0;
}

/* 送信ボタン（共通） */
button.button {
    display: block;
    margin: 30px auto 0;
    padding: 14px 44px;
    background-color: #1aa170;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(26, 161, 112, 0.25);
    transition: all 0.3s ease;
}

button.button:hover {
    background-color: #158058;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 161, 112, 0.35);
}

/* =========================================================
   PC版レイアウト（.PC: 901px以上）
========================================================= */
.PC {
    display: block;
    width: 76vw;
    max-width: 960px;
    margin: 0 auto;
}
.SP {
    display: none;
}

.PC .con_1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    background: #fff;
    padding: 45px 50px;
    border-radius: 6px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

/* 左側：お問い合わせ項目 */
.PC .c1 {
    width: 38%;
    border-right: 1px solid #eee;
    padding-right: 40px;
    box-sizing: border-box;
}

.PC .c1 h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #222;
    padding-bottom: 12px;
    border-bottom: 2px solid #1aa170;
    margin-bottom: 20px;
}

.PC .c1 ul li {
    font-size: 13.5px;
    line-height: 1.8;
    color: #555;
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
}

.PC .c1 ul li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 9px;
    color: #1aa170;
    line-height: 24px;
}

/* 右側：フォーム入力エリア */
.PC .c2 {
    width: 62%;
    font-size: 13.5px;
    color: #333;
    font-weight: 600;
}

.PC .c2 div {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 10px;
}

/* =========================================================
   スマホ版レイアウト（.SP: 900px以下）
========================================================= */
@media (max-width: 900px) {
    .PC {
        display: none;
    }
    .SP {
        display: block;
        width: 90vw;
        margin: 0 auto;
    }

    .SP .con_1 {
        background: #fff;
        padding: 24px 20px 35px;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    /* 左側/上部：お問い合わせ項目案内 */
    .SP .c1 {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px dashed #ddd;
    }

    .SP .c1 h2 {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: #222;
        padding-bottom: 8px;
        border-bottom: 2px solid #1aa170;
        margin-bottom: 14px;
    }

    .SP .c1 ul li.sp_li {
        font-size: 13px;
        line-height: 1.8;
        color: #555;
        position: relative;
        padding-left: 16px;
        margin-bottom: 6px;
    }

    .SP .c1 ul li.sp_li::before {
        content: "◆";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 8px;
        color: #1aa170;
        line-height: 22px;
    }

    /* フォームエリア */
    .SP .c2 {
        font-size: 13px;
        color: #333;
        font-weight: 600;
    }

    /* 必須・任意ラベルバッジ */
    .SP .must,
    .SP .free {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 2px;
        margin-right: 8px;
        vertical-align: 1px;
    }

    .SP .must {
        background-color: #1aa170;
        color: #fff;
    }

    .SP .free {
        background-color: #eee;
        color: #666;
    }

    .SP button.button {
        width: 100%;
        padding: 13px 0;
        font-size: 14px;
        margin-top: 25px;
    }
}