@charset "utf-8";
/* CSS Document */

/* Contents Common
----------------------------------------------------------------------------------------------------*/
section {
    overflow: hidden;
}

main section {
    position: relative;
    border-top: solid 3px #e60028;
}

.bg {
    position: relative;
    display: block;
    top: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1024px;
    z-index: 0;
}

.bg:after {
    content: "";
    position: absolute;
    display: block;
    top: -122px;
    left: 0;
    right: 0;
    margin: auto;
    width: 240px;
    height: 240px;
    background: #ecebeb;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

h2 {
    position: relative;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    z-index: 5;
}

h2 span {
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "sans-serif";
    display: block;
    font-weight: bold;
    line-height: 1;
    color: #e60028;
    border-bottom: solid 1px #ecebeb;
}

.cont_box {
    position: relative;
    margin: 0 auto;
}

.input_area {
    display: flex;
    flex-direction: column;
}

.entry {
    position: relative;
    z-index: 10;
}

.red, .error {
    color: #e60028;
}

.bold {
    font-weight: bold;
}

.discription {
    margin-bottom: 30px;
}

.discription ul {
    padding-left: 20px;
}

.discription ul p {
    padding-left: 20px;
}

.left_blank {
    padding-left: 15px;
}

.input_area a {
    color: #e60028;
}

.input_area a:hover {
    opacity: 0.7;
}

.input_area input, .input_area textarea {
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "sans-serif";
    margin: 0 0 5px;
    padding: 5px 10px;
    font-size: 1.2em;
    border: solid 1px #ccc;
    border-radius: 5px;
}

.gender {
    display: flex;
    flex-direction: row;
}

.gender input[type=radio] {
    display: none;
}

.gender input[type=radio]:checked+label {
    background: #e60028;
    color: #ffffff;
}

.gender label {
    cursor: pointer;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "sans-serif";
    padding-left: 5px;
    padding-right: 5px;
    margin: 5px;
    width: 100px;
    height: 45px;
    color: #e60028;
    text-align: center;
    line-height: 45px;
    border: 2px solid #e60028;
    border-radius: 5px;
}

.gender label:hover {
    background-color: #ffccff;
}

.privacy_policy {
    margin-left: 5px;
}

.check_box {
    display: none;
}

.privacy_policy label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding-left: 25px;
    line-height: 21px;
    font-size: 17px;
}

.privacy_policy label:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e60028;
    border-radius: 5px;
}

.privacy_policy input[type=checkbox]:checked + label:before {
    content: '\2713';
    font-size: 18px;
    color: #fff;
    background-color: #e60028;
}

.button-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#btn-submit {
    display: block;
    width: 180px;
    height: 54px;
    font-size: 17px;
    color: #e60028;
    font-weight: bold;
    background: #fff;
    border: solid 1px #e60028;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

#btn-submit[disabled] {
    color: #ccc;
    border: solid 1px #ccc;
    background: #fff;
}

#btn-submit:hover, .thanks a:hover {
    background: #fff;
    transform: translateY(3px);
}

#lnk-solution {
    display: none;
}

#lnk-solution a {
    padding: 0 10px 5px;
    color: #e60028;
    font-weight: bold;
    border-bottom: 1px solid;
    border-color: #e60028;
    transition: all .5s ease-in-out;
}

#lnk-solution a:hover {
    opacity: .7;
}

.thanks {
    margin: 35px 0;
    text-align: center;
}

.thanks img {
    width: 200px;
    height: 200px;
    font-size: 180px;
    color: #20bca1;
}

.thanks h3 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}

.thanks a {
    display: block;
    margin: 20px auto;
    padding: 10px;
    width: 350px;
    font-size: 18px;
    color: #e60028;
    font-weight: bold;
    background: #fff;
    border: solid 1px #e60028;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

/* -------------------- for SP (480px) ----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
    /* CONTENTS
--------------------------------------------------------------------------------------*/
    .result {
        background-size: 190%;
    }

    .cont_box {
        width: 100%;
    }

    h2 {
        margin-bottom: 6vw;
    }

    .content {
        margin-bottom: 12vw;
        padding-top: 2vw;
    }

    .discription, .input_area {
        margin-bottom: 20px;
    }

    .thanks a {
        width: 90%
    }
} /* (max-width: 480px) end */

/* -------------------- for PC (481px) ----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 481px) {
    /* CONTENTS
--------------------------------------------------------------------------------------*/
    .cont_box {
        width: 100%;
        max-width: 1024px;
    }

    .content {
        margin-bottom: 10vw;
    }

    #shimei, #kana {
        width: 200px;
    }

    #tel, #postal, #age {
        width: 160px;
    }
} /* (min-width: 481px) end */

/* -------------------- for other ----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 481px) and (max-width: 1023px) {
    /* Contents Common
--------------------------------------------------------------------------------------*/
    main section {
        padding-bottom: 5vw !important;
    }

    .bg:after {
        top: -105px !important;
    }

    .cont_box {
        margin: 2vw auto 0 !important;
        padding: 0 3vw !important;
    }

    h2 {
        margin-bottom: 8vw;
        padding: 4vw 0 0 !important;
        font-size: 200% !important;
    }

    h2 span {
        padding: 1.5vw 0 4vw !important;
        font-size: 40% !important;
    }

    .input_area {
        margin-bottom: 40px;
    }

    .input_area input[type=email] {
        width: 450px;
    }
} /* (min-width: 481px) and (max-width: 1023px) end */

/* -------------------- for SP other (1023px) ----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1023px) {
    /* Contents Common
--------------------------------------------------------------------------------------*/
    main section {
        padding-bottom: 12%;
    }

    .bg:after {
        top: -135px;
        width: 213px;
        height: 213px;
    }

    .cont_box {
        margin: 7% auto 0;
        padding: 0 3%;
    }

    h2 {
        padding: 6.5% 0 1.5%;
        font-size: 170%;
    }

    h2 span {
        padding: 2.5% 0 7%;
        font-size: 44%;
    }
} /* (max-width: 1023px) end */

/* -------------------- for PC (1024px) ----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
    /* Contents Common
--------------------------------------------------------------------------------------*/
    main section {
        padding-bottom: 45px;
    }

    h2 {
        margin-bottom: 70px;
        padding-top: 32px;
        font-size: 230%;
        letter-spacing: -0.02em;
    }

    h2 span {
        padding: 9px 0 38px;
        font-size: 40%;
        letter-spacing: 0;
    }

    .cont_box {
        width: 1000px;
    }

    .content {
        margin-bottom: 80px;
    }

    .input_area {
        margin-bottom: 20px;
    }

    .input_area label {
        margin-bottom: 5px;
    }

    #email {
        width: 450px;
    }
} /* (min-width: 1024px) end */
