*,
*:before,
*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    color: #242424;
}

.contact #page-header {
    padding: 210px 0 25px;
}

.contact #page-header .page-title h1 .ttl-jp {
    color: #fff;
}

.contact #page-header .breadcrumb {
    margin: 299px 10px 0 0;
}

.contact #page-header .breadcrumb ul li {
    color: #fff;
}

.contact #page-header .breadcrumb ul li:not(:last-child)::after {
    border-color: #fff;
}

.nav-target {
    padding: 55px 0 121px;
    min-height: 600px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
    .nav-target {
        min-height: 1000px;
    }
}

.contact-form {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form .contact-description {
    color: #242424;
    margin-bottom: 54px;
}

.contact-form form .custom-contact-form {
    display: flex;
}

.contact-form form .form-left {
    width: 378px;
}

.contact-form form .form-right {
    flex: 1;
    margin-left: 30px;
}

.contact-form form .form-right .form-submit-wrap {
    display: flex;
    justify-content: space-between;
}

.contact-form form .form-right .input-group {
    margin-bottom: 14px !important;
}

.contact-form form .form-right .btn-box {
    margin: 0;
}

.contact-form form .form-right .form-privacy {
    margin: 13px 0 0 3px;
}

.contact-form form .form-right .form-privacy .custom-checkbox {
    position: relative;
}

.contact-form form .form-right .form-privacy .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.contact-form form .form-right .form-privacy .custom-checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: #f3f3f3;
    border: 1px solid #cdcdcd;
    border-radius: 4px;
}

.contact-form form .form-right .form-privacy .custom-checkbox input[type="checkbox"]:checked+span::before {
    background-color: #007bff;
    border-color: #007bff;
}

.contact-form form .form-right .form-privacy .custom-checkbox input[type="checkbox"]:checked+span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 7px;
    width: 16px;
    height: 9px;
    border: solid #007bff;
    border-width: 0 0 3px 3px;
    transform: rotate(-45deg);
}

.contact-form form .form-right .form-privacy input {
    width: 24px;
    height: 24px;
    background: #f3f3f3;
    border: 1px solid #cdcdcd;
}

.contact-form form .form-right .form-privacy .checkbox-wrap {
    font-size: 14px;
    letter-spacing: 0.1em;
    display: inline-block;
    color: #242424;
    margin: 5px 0 0 7px;
    padding-left: 15px;
}

.contact-form form .form-right .form-privacy .checkbox-wrap a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form form .form-right .form-privacy .checkbox-wrap a:hover {
    text-decoration: none;
}

.contact-form form .input-group {
    position: relative;
}

.contact-form form .input-group.filled .custom-placeholder {
    display: none;
}

.contact-form form .input-group:not(:last-child) {
    margin-bottom: 24px;
}

.contact-form form .input-group input,
.contact-form form .input-group select,
.contact-form form .input-group textarea {
    width: 100%;
    padding: 11px 12px;
    line-height: 2;
    border: 1px solid #f3f3f3;
    border-radius: 4px;
    background-color: #f3f3f3;
    letter-spacing: 0.1em;
}

.contact-form form .input-group textarea {
    min-height: 385px;
    padding: 18px 24px;
}

.contact-form form .input-group .custom-placeholder {
    position: absolute;
    top: 12px;
    left: 17px;
    color: #9f9f9f;
    pointer-events: none;
}

.contact-form form .input-group .custom-placeholder .required {
    color: #a33131;
    margin-left: 2px;
}

.contact-form form select {
    color: #242424;
    padding: 15px 17px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../img/blog/icon_down.png) no-repeat right 17px center;
}

.btn-box {
    padding: 14px 45px;
    margin-top: 42px;
    display: block;
    width: 260px;
    background: url(../img/blog/icon_arr.png) no-repeat right 18px center/25px auto #242424;
    font-family: "Noto Serif JP", serif;
    color: #fff;
    border: none;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.btn-box:hover {
    opacity: 0.8;
}

.wpcf7-previous {
        padding: 14px 45px;
    display: block;
    width: 260px;
    background: url(../img/blog/icon_arr.png) no-repeat right 18px center/25px auto #242424;
    font-family: "Noto Serif JP", serif;
    color: #fff;
    border: none;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    position: relative;
    position: absolute;
    bottom: 40px;
}

.wpcf7-previous:hover {
    opacity: 0.8;
}

.confirm-form {
	position: relative;
    max-width: 830px;
    margin: 0 auto;
    padding: 0 20px 120px;
}

.confirm-form .form-note {
    margin-bottom: 36px;
}

.confirm-form .confirm-item:not(:last-of-type) {
    margin-bottom: 36px;
}

.confirm-form .confirm-item label {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #7c7c7c;
}

.confirm-form .confirm-policy {
    font-size: 14px;
}

.contact-padding .nav-target {
    padding: 63px 0 121px;
}

.form-complete {
    max-width: 830px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-complete h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    margin-bottom: 34px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.error-page {
    max-width: 830px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-page h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    margin-bottom: 34px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.error-page .note {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-top: 41px;
}

@media screen and (max-width: 767.98px) {
	.confirm-form {
		padding-bottom: 70px;
	}
    .wpcf7-previous {
		bottom: 0;
		left: 50%;
		transform: translatex(-50%);
			    padding: 13px 45px;
    width: 260px;
    font-size: 16px;
    }

    .contact #page-header {
        padding: 68vw 0 21px;
    }

    .contact #page-header .page-title h1 .ttl-jp {
        color: #fff;
    }

    .contact #page-header .breadcrumb {
        margin: 54.5vw -2px 0 0;
    }

    .nav-target {
        padding: 38px 0 99px;
    }

    .contact-form .contact-description {
        margin-bottom: 34px;
    }

    .contact-form form .custom-contact-form {
        display: block;
    }

    .contact-form form .form-left {
        width: 100%;
    }

    .contact-form form .contact-form form .input-group input,
    .contact-form form .contact-form form .input-group select,
    .contact-form form .contact-form form .input-group textarea {
        line-height: 2.2;
    }

    .contact-form form .form-right {
        margin: 25px 0 0;
    }

    .contact-form form .form-right .form-submit-wrap {
        display: block;
    }

    .contact-form form .form-right .input-group {
        margin-bottom: 14px !important;
    }

    .contact-form form .form-right .btn-box {
        margin: 26px auto 0;
    }

    .contact-form form .form-right .form-privacy {
        margin: -10px 0 0 0px;
    }

    .contact-form form .form-right .form-privacy .checkbox-wrap {
        font-size: 12px;
        margin: 8px 0 0 7px;
        position: relative;
        top: 3px;
    }

    .contact-form form .input-group:not(:last-child) {
        margin-bottom: 26px;
    }

    .contact-form form .input-group textarea {
        min-height: 300px;
        padding: 13px 16px;
    }

    .btn-box {
        padding: 13px 45px;
        margin: 26px auto 0;
        width: 260px;
        font-size: 16px;
    }

    .confirm-form .form-note {
        margin-bottom: 22px;
    }

    .confirm-form .confirm-item:not(:last-of-type) {
        margin-bottom: 24px;
    }

    .confirm-form .confirm-item label {
        font-size: 12px;
    }

    .confirm-form .confirm-policy {
        font-size: 12px;
    }

    .contact-padding .nav-target {
        padding: 40px 0 27vw;
    }

    .form-complete h2 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .form-complete .btn-back {
        margin: 16px auto 0;
    }

    .error-page h2 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .error-page .note {
        margin-top: 20px;
    }
}

.wpcf7-spinner {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
    .contact-form form .form-right .form-submit-wrap {
        flex-direction: column;
        row-gap: 20px;
    }
}