@charset 'utf-8';

.form_wrap {
    margin-top: 3em;
}

@media screen and (max-width: 768px) {
    .form_wrap {
        margin-top: 2.3em;
    }
}

.form_wrap dl {
    display: table;
    /* min-height: 92px; */
    width: 100%;
}

@media screen and (max-width: 768px) {
    .form_wrap dl {
        display: block;
        margin-bottom: 1em;
    }
}

.form_wrap dt {
    display: table-cell;
    /* vertical-align: middle; */
    /* padding: 0.9em 0 0.9em 0; */
    padding: 1.1em 0 0.7em 0;
    padding-left: 44px;
    width: 270px;
    color: #011b6a;
    font-size: 1.214rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-indent: -44px;
}

@media screen and (max-width: 768px) {
    .form_wrap dt {
        display: block;
        width: 100%;
        padding-top: 0;
        padding-bottom: 0.3em;
        font-size: 0.85rem;
    }
}

.form_wrap dd {
    display: table-cell;
    vertical-align: middle;
    padding: 0.9em 0 0.9em 0;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .form_wrap dd {
        display: block;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.form_wrap .must {
    margin-left: 10px;
    vertical-align: 2px;
    padding: 2px 5px;
    background: #34b14e;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

@media screen and (max-width: 768px) {
    .form_wrap .must {
        font-size: 0.7rem;
    }
}

.form_wrap input[type=text],
.form_wrap input[type=email] {
    padding: 0.5em;
    width: 100%;
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

@media screen and (max-width: 768px) {

    .form_wrap input[type=text],
    .form_wrap input[type=email] {
        padding: 0 0.5em;
    }
}

input[type="text"],
input[type="email"],
textarea {
    height: auto;
}

.form_wrap textarea {
    height: 260px;
    width: 100%;
    padding: 1em;
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

.form_wrap .mwform-checkbox-field-text {
    color: #011b6a;
    font-size: 1.357rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
    .form_wrap .mwform-checkbox-field {
        display: block;
        margin-left: 1em;
    }

    .mw_wp_form .form_wrap .horizontal-item+.horizontal-item {
        margin-left: 1em;
    }

    .form_wrap .mwform-checkbox-field-text {
        font-size: 0.85rem;
    }
}

input[type="checkbox"] {
    accent-color: #057000;
}

.form_wrap .policy {
    /*text-align: center;*/
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
	line-height: 1.6em;
}
.form_wrap .policy p {
	line-height:inherit;
}
@media screen and (max-width: 768px) {
    .form_wrap .policy .mwform-checkbox-field {
        display: inline-block;
    }
}
.form_wrap .policy .mwform-checkbox-field-text {
    display: none;
}

.boxIndexContact .form_wrap .policy p {
    margin-top: 0;
    display: inline-block;
}
@media screen and (max-width: 768px) {
    .boxIndexContact .form_wrap .policy p {
        text-align-last: left;
    }
}
.boxIndexContact .form_wrap .policy p span {
    color: #011b6a;
    font-weight: 600;
    border-bottom: 1px solid #011b6a;
    cursor: pointer;
    transition: 0.3s ease-in-out;

    position: relative;
}
.boxIndexContact .form_wrap .policy p span:hover {
    opacity: 0.6;
}

.boxIndexContact .form_wrap .policy p span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.8em;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url(../images/common/icn-policy.png) no-repeat center center / contain;
}

.boxFormSubmit {
    margin-top: 4.2em;
    text-align: center;
}

.boxFormSubmit .btnSubmit {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 334px;
    height: 46px;
    border: 0;
    background-color: #1aa93a;
    letter-spacing: 0.1em;
    font-size: 1.429rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    position: relative;
}

@media screen and (max-width: 768px) {
    .boxFormSubmit .btnSubmit {
        width: 100%;
        height: 100px;
        margin-bottom: 1em;
    }
}

.boxFormSubmit .btnSubmit {
    text-decoration: none;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.boxFormSubmit .btnSubmit a:hover {
    color: #0c7f00;
}




/*モーダルを開くボタン*/
.modal-open {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 50px;
    font-weight: bold;
    color: #fff;
    background: #000;
    margin: auto;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 60%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;

    z-index: 1003;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
    opacity: 1;
    visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 840px;
    width: 90%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content {
    background: #fff;
    text-align: left;
    padding: 30px;
}

.modal-content p {
    margin-bottom: 1em;
    font-size: 1.1rem;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .modal-content p {
        font-size: 0.85rem;
    }
}