@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yantramanav&display=swap');
.pc-none {
    display: none !important;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    text-rendering: geometricPrecision;
}


/*header*/

.top-header {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 53vh !important;
    overflow: hidden;
    position: relative;
}

.top-header-banner {
    display: none;
}

.top-header-banner-mobile {
    display: block;
    position: initial;
    top: 0;
    width: 100%;
    background-image: url(../img/contact-page/header-1.jpg);
    background-repeat: no-repeat;
    height: 100%;
    min-height: 53vh;
    background-position: 35% 78%;
    background-size: cover;
}

.header-overlay {
    content: '';
    width: 100%;
    height: 100% !important;
    position: absolute;
    z-index: 2;
    opacity: 1;
    background: url(../img/kv_dot.png) repeat 0 0;
    background-size: 4px 4px;
}

.header-overlay::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.header-overlay img {
    opacity: 30%;
}

.top_ttl {
    writing-mode: initial !important;
    display: flex;
    text-align: center;
    font-size: clamp(20px, 3vw, 35px);
    width: 100%;
    height: 50%;
    margin: auto;
    color: white;
    z-index: 3;
    position: absolute;
    font-family: yu-mincho-pr6n, sans-serif;
    font-weight: normal;
    letter-spacing: 5px;
    flex-direction: column;
    justify-content: center;
    margin-top: 25% !important;
}

.top_ttl .separator {
    width: clamp(140px, 4vw, 35px);
    height: 2px;
    background-color: #fefefe;
    margin: 0 auto;
}

.titlecont {
    display: flex;
}

.homepage-main {
    width: 100%;
    height: max-content;
    overflow: hidden;
}

.header-title {
    display: none;
}

.header-title span {
    vertical-align: middle;
    font-size: 1.8rem;
}

.titlecont {
    width: 100%;
    height: 100%;
    bottom: 0;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
}

.titlecont .filter {
    background-color: #00000020;
    line-height: 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: 0.3s ease-in-out;
    flex-direction: column;
}

.titlecont .filter .top {
    text-align: center;
    font-family: yu-mincho-pr6n, sans-serif;
    font-weight: 100;
    font-size: 30px;
    color: #ffffff;
    letter-spacing: 2.5PX;
    display: block;
}

.titlecont .filter .mid {
    border: solid 1px white;
    width: 165px;
    border: solid 1px white;
    -webkit-animation: expand ease 5s forwards;
    -moz-animation: expand ease 5s forwards;
    -o-animation: expand ease 5s forwards;
    animation: expand ease 5s forwards;
    margin: 1em 0;
    -webkit-animation: expand ease 5s forwards;
    -moz-animation: expand ease 5s forwards;
    -o-animation: expand ease 5s forwards;
    animation: expand ease 5s forwards;
}

.titlecont .filter .btm {
    text-align: center;
    font-family: yu-mincho-pr6n, sans-serif;
    font-weight: 100;
    font-size: 30px;
    color: #ffffff;
    letter-spacing: 2.5PX;
    margin-top: 5px;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 165px;
    }
}


/*form*/

.select2-container--default .select2-selection--single {
    border-color: black !important;
    padding-left: 12px !important;
    padding-top: 3px !important;
    height: 37px !important;
    position: relative;
    border-radius: 15px !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 40px;
    color: #000000;
    font-size: 1.3em;
    padding: 4px 12px;
    height: 27px;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #000000 transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000000 transparent transparent transparent !important;
}

.select2-results__options .select2-results__option {
    padding-left: 20px !important;
    font-size: 16px !important;
}

.line-parent {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 50px;
}

.form-vertical-line {
    height: 100px;
    width: 1px;
    margin: 0 auto;
    background-color: #131b2e;
    animation: scrolldown_animation 3s ease 0s infinite;
}

@keyframes scrolldown_animation {
    0% {
        transform: translateY(-100%);
    }
    20%,
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(120%);
    }
}

.contact-form {
    width: 90%;
    margin: 10% auto;
}

.contact-form .form-header {
    font-size: 23px;
    text-align: center;
    font-family: yu-mincho-pr6n, sans-serif;
    font-weight: 100;
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.form-group .form-label {
    display: table;
}

.form-group .form-label span {
    vertical-align: middle;
}

.form-group label {
    font-weight: bold;
    letter-spacing: 1px;
    vertical-align: middle;
}

.no-display,
.wpcf7-form sent {
    display: none;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #d13636;
    outline: none;
}

.contact-form input[type=text],
.contact-form input[type=email] {
    height: 37px !important;
}

.contact-form input[type=text]:active,
.contact-form input[type=email]:active,
.contact-form select:active,
.contact-form textarea:active,
.select2-container--default .select2-selection--single,
.select2-container--open .select2-selection--single {
    border-color: #d13636;
    outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #d13636 !important;
}

.contact-form select,
.contact-form input[type=text],
.contact-form input[type=email],
.select2-container--default .select2-selection--single,
.select2-container--open .select2-selection--single {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 99.5%;
    background-position-y: 7px;
    margin-right: 2rem;
}

.contact-form .required-label {
    background: #d13636;
    color: #fff;
    font-size: 12px;
    font-size: 0.67rem;
    padding: 2px 4px 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 2px;
    margin: 0 0 0 10px;
    line-height: 1;
}

.word-count-box {
    float: right;
    color: #7b7b7b;
}

#inquiry-content-answer {
    overflow-wrap: break-word;
}

#char-count-text {
    text-align: right;
    margin-top: 20px;
}

.contact-form input[type=text]::-webkit-input-placeholder,
.contact-form input[type=email]::-webkit-input-placeholder,
.contact-form select::-webkit-input-placeholder,
.contact-form textarea::-webkit-input-placeholder {
    letter-spacing: 1px;
}

.contact-form input[type=text]::-moz-placeholder,
.contact-form input[type=email]::-moz-placeholder,
.contact-form select::-moz-placeholder,
.contact-form textarea::-moz-placeholder {
    letter-spacing: 1px;
}

.contact-form input[type=text]:-ms-input-placeholder,
.contact-form input[type=email]:-ms-input-placeholder,
.contact-form select:-ms-input-placeholder,
.contact-form textarea:-ms-input-placeholder {
    letter-spacing: 1px;
}

.contact-form input[type=text]:-moz-placeholder,
.contact-form input[type=email]:-moz-placeholder,
.contact-form select:-moz-placeholder,
.contact-form textarea:-moz-placeholder {
    letter-spacing: 1px;
}

.contact-form .info-text {
    font-size: 12px;
}

.privacy-text {
    margin: 50px 0px;
}

input[type="text"],
input[type="email"],
textarea {
    font-size: 16px;
}


/*messages*/

.wpcf7-form.sent .contact-form,
.screen-reader-response {
    display: none !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    text-align: center;
    color: #25855B;
    margin: 15% 0%;
}


/*errors*/

.form-group-error label {
    color: #d13636;
}

.form-group-error input[type=text],
.form-group-error input[type=email],
.form-group-error select,
.form-group-error textarea,
.form-group-error .select2-container--default .select2-selection--single,
.select2-container--open .select2-selection--single {
    border-color: #d13636 !important;
}


/*form confirmation*/

.form-answer-group {
    border-top: 1px solid #131b2e;
    padding: 20px 0px;
}

.cFAnswer {
    padding: 10px 25px 10px 25px;
}


/*buttons*/

.contact-form input[type=submit],
.contact-form button,
.wpcf7-form.sent a,
.wpcf7-form.sent button {
    position: relative;
    display: block;
    width: 225px;
    height: 48px;
    margin: 0px auto 0;
    background-color: #bd1821;
    cursor: pointer;
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-weight: bold;
}

.contact-form input[type=submit],
.contact-form input[type=submit]::before,
.contact-form input[type=submit]::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.contact-form input[type=submit]:hover {
    background-color: #e12e37;
}

.form-buttons {
    text-align: center;
    padding-top: 50px;
}

.form-buttons br {
    display: none;
}

#btnSend {
    display: inline-block;
    margin-bottom: 10px;
    -webkit-appearance: none;
}

#newCFBackBtn {
    background-color: #fefefe;
    color: #131b2e;
    border: 1px solid #131b2e;
    display: inline-block;
}