@charset "utf-8";

/* =========================================================
   お問い合わせページ専用CSS
   対象：/otoiawase/ 配下のみ
   body class="otoiawasePage" が付いたページにだけ適用
========================================================= */

/* 共通ラッパー */
.otoiawasePage #formWrap,
.otoiawasePage #thanksWrap {
    width: calc(100% - 40px);
    max-width: 920px;
    margin: 120px auto 0px;
    background: #fff;
    padding: 42px 34px 80px;
    box-sizing: border-box;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

/* STEP表示 */
.otoiawasePage .stepArea {
    display: flex;
    margin-bottom: 48px;
}

.otoiawasePage .step {
    position: relative;
    flex: 1;
    background: #eee;
    color: #333;
    padding: 14px 26px;
    font-weight: bold;
    line-height: 1.35;
    box-sizing: border-box;
}

.otoiawasePage .step span {
    display: block;
    font-size: 14px;
}

.otoiawasePage .stepCurrent {
    background: #20a78f;
    color: #fff;
}

/* テキスト */
.otoiawasePage .lead {
    margin: 0 0 28px;
}

.otoiawasePage .sectionTitle {
    margin: 30px 0 16px;
    padding-left: 14px;
    border-left: 6px solid #20a78f;
    font-size: 18px;
    font-weight: bold;
}

/* フォームテーブル */
.otoiawasePage table.formTable {
    width: 100%;
    margin: 0 auto 28px;
    border-collapse: collapse;
    border: 1px solid #d6d6d6;
    table-layout: fixed;
}

.otoiawasePage table.formTable th,
.otoiawasePage table.formTable td {
    border: 1px solid #d6d6d6;
    padding: 15px;
    vertical-align: top;
    box-sizing: border-box;
}

.otoiawasePage table.formTable td {
    min-width: 0;
}

.otoiawasePage table.formTable th {
    width: 230px;
    background: #eaf8f6;
    text-align: left;
    font-weight: bold;
}

/* 必須ラベル */
.otoiawasePage .required {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #f05a00;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
}

/* 入力欄 */
.otoiawasePage #formWrap input[type="text"],
.otoiawasePage #formWrap input[type="email"],
.otoiawasePage #formWrap input[type="tel"],
.otoiawasePage #formWrap select,
.otoiawasePage #formWrap textarea {
    width: 100%;
    max-width: 100%;
    padding: 9px 10px;
    border: 1px solid #cfcfcf;
    box-sizing: border-box;
    font-size: 16px;
    background: #fff;
}

.otoiawasePage textarea {
    height: 140px;
    resize: vertical;
}

.otoiawasePage .inputShort {
    max-width: 150px !important;
}

.otoiawasePage .inputMedium {
    max-width: 340px !important;
}

/* 補足テキスト */
.otoiawasePage .example {
    margin: 7px 0 0;
    color: #555;
    font-size: 14px;
}

.otoiawasePage .confirmNote {
    margin: 10px 0 6px;
    color: #269000;
    font-weight: bold;
}

/* 郵便番号 */
.otoiawasePage .zipRow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.otoiawasePage .zipButton {
    padding: 8px 18px;
    border: none;
    background: #004556;
    color: #fff;
    cursor: pointer;
}

.otoiawasePage .zipButton:hover {
    opacity: 0.85;
}

/* 住所欄 */
.otoiawasePage .addressList {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.otoiawasePage .addressList dt {
    font-weight: bold;
}

.otoiawasePage .addressList dd {
    margin: 0;
}

/* プライバシーポリシー */
.otoiawasePage .privacyText {
    margin: 0 0 24px;
}

.otoiawasePage .privacyCheck {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #eef8ff;
    padding: 14px 16px;
    margin-bottom: 36px;
}

.otoiawasePage .privacyCheck label {
    font-weight: bold;
}

.otoiawasePage .privacyCheck a {
    color: #000;
    text-decoration: underline;
}

/* 送信ボタン */
.otoiawasePage .submitNote {
    text-align: center;
    margin-bottom: 28px;
}

.otoiawasePage .submitArea,
.otoiawasePage .buttonArea {
    text-align: center;
}

.otoiawasePage .submitButton,
.otoiawasePage .homeButton {
    display: inline-block;
    min-width: 320px;
    padding: 17px 30px;
    border: none;
    border-radius: 999px;
    background: #ff9500;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.otoiawasePage .submitButton:hover,
.otoiawasePage .homeButton:hover {
    opacity: 0.85;
}

/* 注意書き */
.otoiawasePage .notice {
    margin-top: 40px;
    font-size: 13px;
    color: #666;
}

/* thanks.html 用 */
.otoiawasePage .thanksMessage {
    text-align: center;
    margin: 60px 0;
}

.otoiawasePage .thanksMessage h1 {
    margin: 0 0 24px;
    font-size: 24px;
    color: #333;
}

.otoiawasePage .thanksMessage p {
    margin: 0 0 12px;
}

/* PHP工房 確認画面・エラー表示用 */
.otoiawasePage p.error_messe {
    margin: 5px 0;
    color: red;
    font-weight: bold;
}

.otoiawasePage .errorBox {
    text-align: center;
}

.otoiawasePage #formWrap input[type="button"],
.otoiawasePage #thanksWrap input[type="button"] {
    padding: 10px 20px;
    border: none;
    background: #666;
    color: #fff;
    cursor: pointer;
}

.otoiawasePage #formWrap input[type="button"]:hover,
.otoiawasePage #thanksWrap input[type="button"]:hover {
    opacity: 0.85;
}

/* タブレット・スマホ対応 */
@media screen and (max-width: 900px) {

    .otoiawasePage #formWrap,
    .otoiawasePage #thanksWrap {
        width: calc(100% - 24px);
        margin: 100px auto 0px;
        padding: 0px 8px 50px;
    }

    .otoiawasePage .stepArea {
        display: flex;
        margin-bottom: 32px;
    }

    .otoiawasePage .step {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
        padding: 10px 6px;
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
    }

    .otoiawasePage .step span {
        font-size: 11px;
    }

    .otoiawasePage table.formTable,
    .otoiawasePage table.formTable tbody,
    .otoiawasePage table.formTable tr,
    .otoiawasePage table.formTable th,
    .otoiawasePage table.formTable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .otoiawasePage table.formTable th {
        width: 100%;
        border-bottom: none;
    }

    .otoiawasePage #formWrap input[type="text"],
    .otoiawasePage #formWrap input[type="email"],
    .otoiawasePage #formWrap input[type="tel"],
    .otoiawasePage #formWrap select,
    .otoiawasePage #formWrap textarea {
        max-width: none;
    }

    .otoiawasePage .zipRow {
        flex-wrap: wrap;
    }

    .otoiawasePage .addressList {
        display: block;
    }

    .otoiawasePage .addressList dt {
        margin-top: 12px;
    }

    .otoiawasePage .privacyCheck {
        align-items: flex-start;
    }

    .otoiawasePage .submitButton,
    .otoiawasePage .homeButton {
        width: 100%;
        min-width: auto;
    }

    .otoiawasePage .thanksMessage {
        margin: 40px 0;
        text-align: left;
    }

    .otoiawasePage .thanksMessage h1 {
        font-size: 21px;
    }
}

/* 480px以下の小さいスマホ用 */
@media screen and (max-width: 480px) {
    .otoiawasePage .step {
        padding: 8px 3px;
        font-size: 11px;
    }

    .otoiawasePage .step span {
        font-size: 10px;
    }
}