@charset "UTF-8";

/*------------------------------------------form*/
#colum49 {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0vh 0 10vh 0;
    width: 100%;
    font-size: 110%;
    color: #555353;
    line-height: 1.8;
    background: #fff;
}

.colum49-box {
    display: block;
    margin: 0 auto;
    padding: 0 0 5vh 0;
    width: 1100px;
    clear: both;
    text-align: left;
}

.colum49-box:after {
    content: "";
    clear: both;
    display: block;
}

#colum49 a:link,
#colum49 a:visited {
    color: #535253;
    text-decoration: none;
}

#colum49 a:hover {
    color: #535253;
    text-decoration: underline;
    transition: 1s;
}

#colum49 h4 {
    font-size: 160%;
    color: #302f2f;
    line-height: 1.8;
    margin: 1em 2%;
    padding: 0.25em 0.5em;
    border-left: 8px solid #249af0;
}

#colum49 h3 {
    font-size: 200%;
    color: #fff;
    line-height: 1;
    margin: 1vh auto;
    padding: 0.5em 1%;
    text-shadow: 1px 1px 1px rgba(1, 1, 1, 0.5);
    border-left: 8px solid #24b4f0;
    background: #1479c2;
    display: block;
    width: 98%;
    background-image: url(../images/bg8.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}

#colum49 h3 small {
    font-family: "M PLUS Rounded 1c";
    font-size: 50%;
    color: #fff;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    display: block;
}

#colum49 p {
    display: block;
    clear: both;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    text-align: left;
}

label {
    display: inline-block;
    margin: 0 0.5em;
    cursor: pointer;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    border-color: #eae8e8;
    border-radius: 5px;
    font-size: 110%;
    padding: 0.5em;
    margin: 0.5em;
    border: solid 1px #eae8e8;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 5px 0 rgba(211, 239, 250, 1);
    outline: 0;
    background-color: #d3effa;
}

.form {
    width: 80%;
    height: 2em;
}

select.form2 {
    width: 52%;
    display: inline-block;
    height: 3em;
}

input.zip {
    width: 50%;
    height: 2em;
}

textarea {
    width: 70%;
}

input[type="radio"] {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    content: "";
    background-color: #fff;
    border: 1px solid #1479c2;
    border-radius: 24px;
    vertical-align: middle;
    cursor: pointer;
    margin: 0.5em;
}

input[type="radio"]:checked:after {
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    content: "";
    width: 12px;
    height: 12px;
    background: #24b4f0;
    border-radius: 12px;
}

input[type=checkbox] {
    width: 24px;
    height: 24px;
    transform: scale(1.4);
    vertical-align: middle;
}

.spec1 {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    border-collapse: collapse;
    color: #555353;
}

.spec1 th {
    color: #302f2f;
    font-weight: normal;
}

.spec1 th,
.spec1 td {
    border-bottom: solid 1px #fff;
    padding: 5px;
    text-align: left;
}

.spec1 small {
    font-size: 90%;
}

.spec1 caption {
    background-color: #eae8e8;
    color: #000;
    font-weight: normal;
    border-top: solid 2px #eae8e8;
    border-left: solid 2px #eae8e8;
    border-right: solid 2px #eae8e8;
}

.spec1 .required-mark {
    background-color: #fff;
    color: #ff3f51;
    border-radius: 5px;
    font-size: 70%;
    display: inline-block;
    padding: 0.25em;
    vertical-align: middle;
    margin-left: 0.5em;
    font-weight: bold;
}

/* =========================================
   確認画面（$page_flag === 0）のテーブル調整
========================================= */
.spec1-confirm th,
.spec1-confirm td {
    border-bottom: solid 1px #eae8e8;
    padding: 1em 5px;
    vertical-align: middle;
}

.spec1-confirm th {
    background-color: #fcfcfc;
    width: 30%;
    border-right: solid 1px #eae8e8;
}

/* =========================================
   エラー画面（$page_flag === 1）のメッセージ
========================================= */
.error-message {
    border: solid 2px #ff3f51;
    background-color: #fffafb;
    color: #ff3f51;
    padding: 1.5em;
    margin: 2em auto;
    width: 90%;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    box-sizing: border-box;
}

/* =========================================
   送信ボタン（.btn2）
========================================= */
#colum49 .btn2 {
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
    background-color: #1479c2;
    color: #fff;
    border-bottom: solid 4px #0f5c93;
    border-top: none;
    /* <input>タグの標準枠線を消す */
    border-left: none;
    border-right: none;
    border-radius: 3px;
    transition: all .4s ease-out;
    font-size: 120%;
    width: 30%;
    margin: 5vh auto;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    /* マウスカーソルを指マークに */
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

#colum49 .btn2:link,
#colum49 .btn2:visited {
    color: #fff;
    text-decoration: none;
}

#colum49 .btn2:hover {
    background-color: #1a8ce0;
    border-bottom: solid 4px #126ba8;
}

/* その他のボタンデザインはそのまま利用可 */

.uline1 {
    text-decoration: underline;
}

.uline1 a:link,
.uline1 a:visited {
    color: #535253;
    text-decoration: underline;
}

.uline1 a:hover {
    text-decoration: none;
    transition: 0.5s;
    opacity: 0.5;
}

#colum49 .flowchart:hover {
    color: #000;
    background-color: #add8e6;
    text-decoration: none;
}

/* --- レスポンシブ (スマホ向け) --- */
@media screen and (max-width: 768px) {

    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        margin: 0.5em 0;
    }

    .form {
        width: 90%;
    }

    select.form2 {
        width: 92%;
    }

    input.zip {
        width: 90%;
    }

    textarea {
        width: 90%;
    }

    #colum49 {
        text-align: left;
        margin: 0 auto;
        width: 90%;
    }

    .colum49-box {
        width: 100%;
    }

    .spec1 {
        width: 90%;
        margin: 5vh auto;
    }

    .spec1 th {
        background: #fff;
        color: #000;
        border-bottom: solid 1px #fff;
    }

    .spec1 th,
    .spec1 td {
        display: block;
        width: 96%;
        padding: 0.5em 2%;
        box-sizing: border-box;
    }

    /* スマホ時の確認画面テーブル調整 */
    .spec1-confirm th {
        border-right: none;
        background-color: transparent;
        border-bottom: none;
        color: #1479c2;
        font-weight: bold;
        padding-bottom: 0;
    }

    .spec1-confirm td {
        padding-top: 0;
        margin-bottom: 1em;
        border-bottom: solid 1px #eae8e8;
    }

    #colum49 .btn2,
    #colum49 .btn6,
    #colum49 .btn7 {
        width: 90%;
        margin: 1vh 5%;
        float: none;
        display: block;
    }
}

/*------------------------------------------form*/