@charset "UTF-8";

/* ======================================================
   teriteri.jp コンタクトフォーム スタイル
   ====================================================== */

#contact-form,
#contact-complete {
    width: 720px;
    margin: 30px 0 60px;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    color: #333;
    line-height: 1.7;
}

#contact-form h2,
#contact-complete h2 {
    font-size: 22px;
    border-left: 5px solid #b08968;
    padding-left: 12px;
    margin-bottom: 20px;
    color: #4a3628;
}

#contact-form .lead {
    font-size: 14px;
    margin-bottom: 25px;
}

.req-mark {
    color: #c0392b;
    font-weight: bold;
}

/* 注意事項ボックス */
.notice-box {
    background: #fdf8f0;
    border: 1px solid #e3d9c8;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 0;
}
.notice-box summary {
    font-weight: bold;
    font-size: 15px;
    color: #4a3628;
    cursor: pointer;
    padding: 12px 16px;
    list-style: none;
    position: relative;
    padding-left: 16px;
    padding-right: 80px;
}
.notice-box summary::-webkit-details-marker {
    display: none;
}
details.notice-box summary::after {
    content: "\2015 \9589\3058\308B" !important;
    display: inline-block !important;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: normal;
    color: #999;
}
details.notice-box:not([open]) summary::after {
    content: "\FF0B \958B\304F" !important;
}
.notice-box ul {
    margin: 0;
    padding: 0 16px 14px 36px;
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}
.notice-box ul li {
    margin-bottom: 2px;
}

/* エラーボックス */
.error-box {
    background: #fdecea;
    border: 1px solid #e74c3c;
    color: #c0392b;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}
.error-box p {
    margin: 0 0 6px;
    font-weight: bold;
}
.error-box ul {
    margin: 0;
    padding-left: 20px;
}

/* 個別フィールドエラー */
.err {
    color: #c0392b;
    font-size: 12px;
    margin: 4px 0 0;
}

/* フォームテーブル */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: #fff;
}
.form-table th,
.form-table td {
    border-bottom: 1px solid #e3e3e3;
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}
.form-table th {
    width: 200px;
    background: #f7f4ef;
    font-weight: normal;
    vertical-align: middle;
    color: #4a3628;
}
.form-table td input[type="text"],
.form-table td input[type="tel"],
.form-table td input[type="email"],
.form-table td textarea {
    border: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 3px;
    box-sizing: border-box;
    max-width: 100%;
    font-family: inherit;
}
.form-table td input:focus,
.form-table td textarea:focus {
    outline: none;
    border-color: #b08968;
    box-shadow: 0 0 3px rgba(176, 137, 104, 0.4);
}
.form-table td .note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* ラジオボタン */
.radio-label {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
    cursor: pointer;
}
.radio-label input[type="radio"] {
    margin-right: 4px;
    vertical-align: middle;
}

/* チェックボックス */
.checkbox-label {
    display: inline-block;
    margin-right: 16px;
    font-size: 14px;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    margin-right: 4px;
    vertical-align: middle;
}

/* セレクトボックス */
.form-table td select {
    border: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 3px;
    font-family: inherit;
    max-width: 100%;
}
.form-table td select:focus {
    outline: none;
    border-color: #b08968;
    box-shadow: 0 0 3px rgba(176, 137, 104, 0.4);
}

/* 複数選択可マーク */
.multi-mark {
    display: inline-block;
    font-size: 11px;
    color: #888;
    font-weight: normal;
    margin-left: 4px;
}

/* 送信ボタン */
.submit-area {
    text-align: center;
    margin-top: 30px;
}
.submit-area button {
    background: #b08968;
    color: #fff;
    border: none;
    padding: 14px 60px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.submit-area button:hover {
    background: #8c6a4e;
}
.submit-area button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* 完了ページ */
#contact-complete .complete-message {
    background: #f7f4ef;
    border: 1px solid #e3d9c8;
    padding: 25px 30px;
    margin: 20px 0 30px;
    border-radius: 4px;
    font-size: 14px;
}
#contact-complete .complete-message p {
    margin: 0 0 12px;
}
#contact-complete .complete-message p:last-child {
    margin-bottom: 0;
}
#contact-complete .back-link {
    text-align: center;
    margin-top: 20px;
}
#contact-complete .back-link a {
    color: #b08968;
    text-decoration: none;
    font-size: 14px;
}
#contact-complete .back-link a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------ */
@media screen and (max-width: 768px) {
    #contact-form,
    #contact-complete {
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .form-table th {
        border-bottom: none;
        padding: 10px 12px 4px;
    }
    .form-table td {
        padding: 4px 12px 14px;
    }
    .form-table td input[type="text"],
    .form-table td input[type="tel"],
    .form-table td input[type="email"],
    .form-table td textarea {
        width: 100%;
    }
    .form-table td select {
        width: 100%;
    }
    .submit-area button {
        width: 100%;
        padding: 16px;
    }
}
