@charset "UTF-8";

#form {
    & .step {
        margin: 1em 0;
        text-align: center;
    }
}

/*----------------------------------form*/
table#contact {
    width: 100%;
    margin: 20px 0;
    border-radius: var(--base-radius);
    border-left: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
    border-top: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
}
table#contact tr th {
    display: block;
    padding: 10px;
    border-right: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
    border-bottom: none;
    background: color-mix(in srgb, var(--maincolor) 10%, white);
    line-height: 150%;
    text-align: left;
}
table#contact tr:first-child th {
    border-radius: var(--base-radius) var(--base-radius) 0 0;
}
table#contact tr td {
    display: block;
    padding: 10px;
    border-right: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
    border-bottom: 2px solid color-mix(in srgb, var(--maincolor) 50%, white);
    text-align: left;
    background: #fff;
}
table#contact tr td.td_child {
    border-bottom: none;
}
table#contact tr:last-child td {
    border-radius: 0 0 var(--base-radius) var(--base-radius);
    border-bottom: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
}
table#contact p {
    margin-bottom: 5px;
}
table#contact tr td .attention {
    white-space: nowrap;
}

table#contact tr th span.form_title {
    display: block;
    overflow: hidden;
}

/*必須アイコン*/
table#contact tr th span.txt_required {
    float: left;
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    border-radius: 2px;
    color: #fff;
    background: var(--red);
    padding: 6px 0;
    margin-right: 10px;
    line-height: 70%;
    width: 40px;
    display: block;
}
/*任意アイコン*/
table#contact tr th span.txt_optional {
    float: left;
    font-size: 11px;
    text-align: center;
    font-weight: normal;
    border-radius: 2px;
    color: #fff;
    background: #666;
    padding: 6px 0;
    margin-right: 10px;
    line-height: 70%;
    width: 40px;
    display: block;
}
/*入力エリア装飾*/
input[type="text"],
input[type="tel"],
textarea {
    padding: 10px;
    font-size: 1.6rem;
    border-radius: 0;
    border: 1px solid #e8e8e8;
    background: linear-gradient(90deg, #e8e8e8 0%, #e8e8e8 100%);
}
select {
    padding: 10px;
    font-size: 1.6rem;
    border-radius: 0;
    border: none;
    background: #e8e8e8;
}
select:focus {
    padding: 10px;
    font-size: 1.6rem;
    border-radius: 0;
    border: none;
}
/*入力エリアサイズ*/
.input_10 {
    width: 10%;
}
.input_20 {
    width: 20%;
}
.input_30 {
    width: 30%;
}
.input_50 {
    width: 50%;
}
.input_70 {
    width: 70%;
}
.input_100 {
    width: 100%;
}

.input_zip {
    width: 180px;
}
.input_tel {
    width: 200px;
}

/*入力モード*/
.ime_dis {
    ime-mode: disabled;
}
.ime_act {
    ime-mode: active;
}

/*入力例の文字装飾*/
::-webkit-input-placeholder {
    color: #bbb;
}
::-moz-placeholder {
    color: #bbb;
}
input:focus::-webkit-input-placeholder {
    color: transparent;
}
/*ラジオボタン余白調整*/
input[type="radio"] {
    margin-left: 15px;
}
td label.first input[type="radio"] {
    margin-left: 0;
}
/*チェックボックス余白調整*/
input[type="checkbox"] {
    margin-left: 15px;
}
td label.first input[type="checkbox"] {
    margin-left: 0;
}

/*送信・戻るボタン*/
ul.submit_btn {
    font-size: 0;
    text-align: center;
    margin-bottom: 20px;
}
ul.submit_btn li {
    display: inline-block;
    cursor: pointer;
}
ul.submit_btn li input {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.5s;
}
ul.submit_btn li.inp_submit01 input {
    color: #fff;
    font-weight: 900;
    background: var(--maincolor);
    border: none;
    border-radius: var(--base-radius);
    padding: 15px 2em;
    min-width: 180px;
    margin: 0 5px;
    cursor: pointer;
}
ul.submit_btn li.inp_submit02 input {
    color: #fff;
    font-weight: 900;
    background: #808080;
    border: none;
    border-radius: var(--base-radius);
    padding: 15px 2em;
    min-width: 180px;
    margin: 0 5px;
    cursor: pointer;
}

/*エラーメッセージ用*/
.errtop {
    position: relative;
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #c33;
    background: #fcc;
}
.errtop::after {
    position: absolute;
    left: 50%;
    bottom: -30px;
    width: 0;
    height: 0;
    margin-left: -15px;
    content: "";
    border: solid 15px transparent;
    border-top: solid 15px #fcc;
}
.errmsg span {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    font-weight: bold;
    color: #c33;
    background: #fcc;
}
.errmsg span::after {
    position: absolute;
    left: 30px;
    top: -20px;
    width: 0;
    height: 0;
    content: "";
    border: solid 10px transparent;
    border-bottom: solid 10px #fcc;
}

/*遷移後のランディング位置調整*/
#form_landing {
    margin-top: -80px;
    padding-top: 80px;
}
/*送信完了画面用*/
#thanks {
    margin: 20px 0;
}
@media print, screen and (min-width: 768px) {
    table#contact {
        margin: 40px 0;
        border-collapse: separate;
    }
    table#contact tr th {
        display: table-cell;
        border-right: 2px dotted color-mix(in srgb, var(--maincolor) 50%, white);
        border-bottom: 2px solid color-mix(in srgb, var(--maincolor) 50%, white);
        width: 24%;
    }
    table#contact tr:first-child th {
        border-radius: var(--base-radius) 0 0 0;
}
    table#contact tr:last-child th {
        border-radius: 0 0 0 var(--base-radius);
        border-bottom: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
    }
    table#contact tr td {
        display: table-cell;
    }
    table#contact tr:first-child td:last-child {
        border-radius: 0 var(--base-radius) 0 0;
    }
    table#contact tr:last-child td {
        border-bottom: 4px solid color-mix(in srgb, var(--maincolor) 50%, white);
    }
    table#contact tr:last-child td:last-child {
        border-radius: 0 0 var(--base-radius) 0;
    }
    table#contact tr td.td_child {
        border-right: 2px dotted color-mix(in srgb, var(--maincolor) 50%, white);
        border-bottom: 2px solid color-mix(in srgb, var(--maincolor) 50%, white);
    }
    ul.submit_btn li input {
        font-size: 28px;
    }
    ul.submit_btn li:hover input {
        opacity: 0.6;
    }
    #thanks {
        margin: 30px 0;
        text-align: center;
    }
    /*入力例の文字装飾*/
    ::-webkit-input-placeholder {
        color: #666;
    }
    ::-moz-placeholder {
        color: #666;
    }
    :-ms-input-placeholder {
        color: #666;
    }
    #form {
        & .container {
            & > p {
                text-align: center;
            }
        }
    }
}
