@charset "utf-8";
/* フォーム専用スタイル */

/* ================================
   注意書きエリア
   ================================ */
.formNotice {
    padding: 20px 0;
    margin: 0 0 30px;
    line-height: 1.8;
}
.formNotice h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0 0 10px;
    color: #333;
}
.formNotice .listDisc_01,
.formGuide + .listDisc_01 {
    margin-bottom: 0;
    padding-left: 30px;
    list-style-type: disc;
    line-height: 180%;
    font-size: 90%;
}
.formNotice .listDisc_01 li,
.formGuide + .listDisc_01 li {
    margin-bottom: 5px;
}

/* ================================
   フォームタイトル
   ================================ */
.formTitle {
    position: relative;
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 3px solid #e4e4e4;
}
.formGuide {
    font-size: 2.2rem;
}
.text-red {
    color: #D00;
    font-weight: bold;
}
.formTitle sup {
    font-size: 0.55em;
    line-height: 0;
    vertical-align: super;
}
.formTitle::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    background: #008482;
    height: 3px;
    width: 35px;
}

/* ================================
   必須・任意バッジ
   ================================ */
.badge-required,
.badge-optional {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 8px;
}
.badge-required {
    background: #008482;
    color: #FFF;
}
.badge-optional {
    background: #999;
    color: #FFF;
}

/* ================================
   フォームテーブル
   ================================ */
.formTable {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 30px;
}
.formTable th,
.formTable td {
    padding: 15px;
    border-bottom: #DDD 1px solid;
    vertical-align: top;
    font-size: 1.6rem;
}
.formTable tr:first-child th,
.formTable tr:first-child td {
    border-top: #DDD 1px solid;
    padding-top: 25px;
}
.formTable th {
    width: 200px;
    text-align: left;
    white-space: nowrap;
    padding-right: 20px;
    font-weight: bold;
}
.formTable td {
    text-align: left;
}
.formTable input[type="text"],
.formTable input[type="email"],
.formTable textarea,
.formTable select {
    border: #CCC 1px solid;
    padding: 8px 10px;
    font-size: 1.4rem;
    border-radius: 3px;
    box-sizing: border-box;
}
.formTable input[type="text"]:focus,
.formTable input[type="email"]:focus,
.formTable textarea:focus,
.formTable select:focus {
    border-color: #2755A6;
    outline: none;
    box-shadow: 0 0 3px rgba(39, 85, 166, 0.3);
}
.formTable textarea {
    width: 100%;
    min-height: 150px;
    resize: none;
}
.formTable .inputL {
    width: 400px;
}
.formTable .inputM {
    width: 300px;
}
.formTable .inputS {
    width: 100px;
}
.formTable .inputSS {
    width: 70px;
}
.formTable select {
    padding: 7px 10px;
    color: #999;
}
.formTable select option {
    color: #333;
}
.formTable select.selected {
    color: #333;
}

/* ラジオ（カタログ選択など） */
.formTable .formRadioList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.formTable .formRadioLabel {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
}
.formTable .formRadioLabel input[type="radio"] {
    margin-top: 5px;
    flex-shrink: 0;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    accent-color: #008482;
}
.formTable .has-error .formRadioList {
    padding: 10px 12px;
    border-radius: 3px;
    background-color: #FFF5F5;
}

/* 住所行 */
.formTable .zipWrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
.formTable .zipWrap .zipMark {
    font-weight: bold;
}
.formTable .zipWrap .zipSep {
    font-size: 1.4rem;
}
.formTable .prefectureWrap {
    margin-bottom: 10px;
}

/* 電話番号行 */
.formTable .telWrap {
    display: flex;
    align-items: center;
    gap: 5px;
}
.formTable .telWrap .telSep {
    font-size: 1.4rem;
}

/* ヘルプテキスト */
.formTable .help {
    display: block;
    color: #333;
    font-size: 1.2rem;
    margin-top: 4px;
}

/* ================================
   エラー表示
   ================================ */
.formTable .error-message {
    display: block;
    color: #D00;
    font-size: 1.3rem;
    margin-top: 5px;
    font-weight: bold;
}
.formTable .has-error input,
.formTable .has-error textarea,
.formTable .has-error select {
    border-color: #D00;
    background-color: #FFF5F5;
}

/* エラーサマリー */
.errorSummary {
    background: #FFF5F5;
    border: #D00 1px solid;
    border-radius: 5px;
    padding: 15px 20px;
    margin: 0 0 20px;
    color: #D00;
}
.errorSummary p {
    margin: 0;
    font-weight: bold;
}

/* ================================
   ボタンエリア
   ================================ */
.formBtnArea {
    text-align: center;
    padding: 20px 0;
    background: rgba(1, 64, 153, 0.1);
    border-radius: 5px;
    margin: 0 0 30px;
}
.formBtnArea .btn_01 {
    min-width: 200px;
    padding: 12px 40px 12px 30px;
    font-size: 1.6rem;
}

/* 確認画面の戻る＋送信ボタン */
.formBtnArea .btn-back {
    display: inline-block;
    min-width: 200px;
    padding: 12px 30px 12px 40px;
    font-size: 1.6rem;
    line-height: 1;
    box-sizing: border-box;
    background: #999;
    color: #FFF;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    margin-right: 20px;
    position: relative;
}
.formBtnArea .btn-back:hover {
    opacity: 0.7;
}
.formBtnArea .btn-back i {
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -0.5em;
    line-height: 100%;
}

/* ================================
   確認画面テーブル
   ================================ */
.confirmTable {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 30px;
}
.confirmTable th,
.confirmTable td {
    padding: 15px;
    border-bottom: #DDD 1px solid;
    font-size: 1.6rem;
}
.confirmTable th {
    width: 200px;
    text-align: right;
    padding-right: 20px;
    font-weight: bold;
    background: #F9F9F9;
}
.confirmTable td {
    text-align: left;
}
.confirmTable td.questionText {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ================================
   完了画面
   ================================ */
.thanksMessage {
    text-align: center;
    padding: 40px 0;
}
.thanksMessage h2 {
    font-size: 2.4rem;
    color: #014099;
    margin: 0 0 20px;
}
.thanksMessage p {
    font-size: 1.6rem;
    line-height: 1.8;
}

/* ================================
   レスポンシブ
   ================================ */
@media screen and (max-width: 767px) {
    .formTable th,
    .formTable td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    .formTable th {
        text-align: left;
        padding-bottom: 5px;
        border-bottom: none;
    }
    .formTable td {
        padding-top: 0;
    }
    .formTable .inputL,
    .formTable .inputM {
        width: 100%;
    }
    .formTable .zipWrap,
    .formTable .telWrap {
        flex-wrap: wrap;
    }

    .confirmTable th,
    .confirmTable td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    .confirmTable th {
        text-align: left;
        padding-bottom: 3px;
        border-bottom: none;
        background: none;
    }

    .formBtnArea .btn-back {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .formBtnArea .btn_01 {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
}

/* ================================
   PDFアイコン
   ================================ */
.pdfIcon {
    background: #cc000e;
    color: #fff;
    display: inline-block;
    padding: 3px 4px 4px;
    margin-left: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 1;
}
