body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}

html {
    overflow-y: scroll
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

ol,
ul {
    list-style: none
}

fieldset,
img {
    border: 0
}

img {
    max-width: 100%;
    vertical-align: bottom
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

caption,
th {
    text-align: left
}

a {
    text-decoration: none;
    color: #000
}

a:focus {
    outline: none
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: normal
}

* {
    box-sizing: border-box
}

input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0
}
input[type="checkbox"] {
    appearance: auto; /* デフォルトの外観を復元 */
}

form {
    width: 100%;
    margin: auto
}

.form_item {
    display: flex
}

.form_item:first-child .head_box {
    border-top: 1px solid #00138C
}

.form_item:first-child .element_box {
    border-top: 1px solid #7d7d7d
}

.form_item .head_box,
.form_item .element_box {
    padding: 15px
}

.form_item .head_box {
    width: 40%;
    border-bottom: 1px solid #00138C;
    display: flex;
    align-items: center
}

.form_item .head_box p.must {
    padding: 6px 10px;
    border-radius: 10px;
    margin-left: 15px;
    white-space: nowrap;
    font-size: calc(12px + 2 * (100vw - 320px) / 1046);
    color: red
}

.form_item .element_box {
    width: 60%;
    border-bottom: 1px solid #7d7d7d;
    border-left: unset;
    border-right: unset
}

.form_item .element_box p.errors {
    color: #dc0000;
    margin-top: 5px
}


@media (max-width:768px) {
    .form_item .head_box {
        background-color: #F6F8FB
    }

    .form_item .element_box {
        border: 0
    }

    .form_item .head_box,
    .form_item .element_box {
        padding: 8px;
        width: 100%
    }

    .form_item .head_box p.must {
        padding: 0;
        margin-left: 8px
    }
}

.input_wrap {
    width: 100%
}

.double_text_input_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.submit_btn {
    width: 40%;
    min-width: 200px;
    padding: 1.464128843vw;
    background-color: #00138C;
    text-align: center;
    display: block;
    border-radius: 5px;
    margin: auto;
    margin-top: 5.856515373vw;
    cursor: pointer;
    transition: all 0.5s;
    color: #ffffff
}

.submit_btn:hover {
    opacity: 0.7
}

@media screen and (max-width:768px) {
    .submit_btn {
        margin-top: 60px;
        padding: 12px
    }
}

.input_item.text {
    width: 100%;
    padding: 15px;
    background-color: #ecedf2;
    border-radius: 5px;
    width: 100%
}

.input_item.half {
    width: 48%
}

.input_item.textarea {
    width: 100%;
    padding: 15px;
    background-color: #ecedf2;
    border-radius: 5px;
    height: 20vw;
    max-height: 270px;
    min-height: 160px
}

@media screen and (max-width:1024px) {
    form {
        width: 100%
    }
}

@media screen and (max-width:768px) {
    .form_item {
        flex-direction: column
    }

    .form_item:not(:first-child) {
        margin-top: 10px
    }

    .head_box {
        width: 100%;
        padding: 15px 0px
    }

    .form_item:first-child .head_box {
        border-top: unset
    }

    .form_item:first-child .element_box {
        border-top: unset
    }

    .element_box {
        width: 100%;
        padding: 20px 0px
    }

    .input_item.text {
        padding: 12px
    }
}

@media screen and (max-width:480px) {
    .submit_btn {
        margin-top: 40px
    }
}

.thanks_wrap {
    text-align: center;
    margin: 12% 0
}

.thanks_wrap .main_text {
    margin-bottom: 20px
}

.thanks_wrap .btn_wrap {
    margin-top: 5%
}

@media (max-width:480px) {
    .thanks_wrap {
        margin: 100px 0 50px
    }

    .thanks_wrap .main_text {
        font-size: 16px;
        margin-bottom: 0px
    }

    .thanks_wrap .middle_text {
        font-size: 16px
    }

    .thanks_wrap .btn_wrap {
        margin-top: 40px
    }
}
.js-mw-checkbox {
    display: table;
    margin: 0 auto;
    padding-top: 40px;
}
.priv {
  color: #5F9EA0;
}
.js-mw-checkbox {
    display: table;
    margin: 0 auto;
    padding: 20px 0;
  }
  .priv {
    color: #5F9EA0;
  }