@charset "utf-8";
/* --------------------------------------------- */
#mailformpro {
width: 100%;
margin: auto;
}
.form_box dl {
display: flex;
flex-wrap: nowrap;
width: 100%;
}
.form_box dt {
width: max(27.5%, 275px);
flex-shrink: 0;
display: flex;
align-items: center;
padding: 15px 20px;
box-sizing: border-box;
border-bottom: #fff solid 1px;
background-color: #daeef9;
}
.form_box dd {
flex-grow: 1;
width: auto;
background: #fff;
padding: 15px 20px;
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
border-bottom: #E2DAD2 dashed 1px;
align-items: center;
}
.address_list{
    margin-left: 0px !important;
    width: 50% !important;
}
.form_box input[type="text"],
.form_box input[type="email"] {
width: 100%;
border: solid 2px #aaa;
padding: 15px;
/* border-radius: 5px;*/
}
.form_box .hissu {
color: #ffffff;
background: #cc0000;
font-size: 12px;
line-height: 1;
padding: 5px;
border-radius: 5px;
margin-left: 1em;
font-weight: normal;
}
.form_box .exm {
display: block;
width: 100%;
font-size: .8em;
color: #999;
line-height: 1.0;
margin-top: 5px;
padding: 0;
}
.form_box label {
padding-left: 0.5em;
margin-right: 1.5em;
}

.form_box dd.address {
position: relative;
}

/*.form_box span {
display: block;
width: 100%;
}
.form_box span:not(:nth-of-type(1)) {
margin-top: .5rem;
}*/

.form_box textarea {
width: 100%;
height: auto;
aspect-ratio: 3/1;
}
.form_box button[type="submit"] {
background: #61462b;
color: #fff;
width: min(80%,300px);
display: flex;
align-items: center;
justify-content: center;
transition: .2s;
border: solid 1px #E2DAD2;
border-radius: 4px;
}
.form_box button[type="submit"]::before {
content: "";
display: inline-block;
width: .5rem;
height: 1rem;
background: #fff;
clip-path: polygon(0 0, 0 100%, 100% 50%);
margin-right: .5rem;
transition: .2s;
}
.form_box button[type="submit"]:hover {
background: #E2DAD2;
color: #61462b;
border: solid 1px #61462b;
}
.form_box button[type="submit"]:hover::before {
background: #61462b;
}

@media (max-width:768px) {
#mailformpro {}
.form_box dl {flex-wrap: wrap;}
.form_box dt,.form_box dd { width: 100%;}
#contact .wrap{width: 96%;margin: 0 auto;}
}

.form_box .thanks {
width: min(94%, 1200px);
background: #fff;
min-height: 300px;
margin: 5rem auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
padding: 2rem;
}
.form_box .thanks h2 {
width: 100%;
text-align: center;
font-size: 2rem;
font-weight: bold;
margin-bottom: 2rem;
}
.form_box .thanks p {
display: block;
width: 100%;
text-align: center;
margin-bottom: 2rem;
}
.form_box .thanks .linkBtn {
width: 100%;
margin: auto;
}
.form_box .thanks .linkBtn a {
background: #61462b;
color: #fff;
width: min(80%, 300px);
display: flex;
align-items: center;
justify-content: center;
transition: .2s;
border: solid 1px #E2DAD2;
border-radius: 4px;
padding: 10px;
margin: auto;
}
.form_box .thanks .linkBtn a::before {
content: "";
display: inline-block;
width: .5rem;
height: 1rem;
background: #fff;
clip-path: polygon(0 0, 0 100%, 100% 50%);
margin-right: .5rem;
transition: .2s;
}
.form_box div.prefcodeWrapper {
position: absolute !important;
top: 0;
width: 100%;
height: fit-content;
left: 0;
}
.form_box .submit{
width: 260px;
background: #001c58;
border: #001c58 1px solid;
color: #fff;
padding: 0.5em;
transition: opacity .6s;
cursor: pointer;
margin: 1em auto;
display: block;
border-radius: 80px;
box-shadow: #ccc 5px 5px 5px;
text-align: center;
}
.contact_btn {
width: 100%;
margin: auto;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: nowrap;
-webkit-justify-content: space-between;
align-content: space-around;
flex-direction: row;
justify-content: center;
align-items: stretch;
}
.form_box input[type="submit"],
.form_box input[type="reset"]{
width: fit-content;
min-width: 130px;
background: #001c58;
border: #001c58 1px solid;
color: #fff;
padding: 1em;
transition: opacity .6s;
cursor: pointer;
margin: 1em;
display: block;
border-radius: 80px;
box-shadow: #ccc 5px 5px 5px;
text-align: center;
}

.form_box input[type="reset"]{
color: #001c58;
background: #ccc;
}