body, html {
    overflow-x: hidden;
}

#contact {
    height: auto;
    background-color: #EDE9E2;
}
.require-text {
    color: #000000 !important;
}

.banner-contact{
    background-image: url("../banner_img/banner_002_419.png");
    background-repeat: no-repeat;
    width: 100vw;
    height: 21.82vw;
    background-size: 100%;
}

.banner-contact-nacg{
    background-image: url("../banner_img/nacg_logo.png");
    background-repeat: no-repeat;
    width: 100vw;
    height: 21.82vw;
    background-size: 100%;
}

.contact-content{
    position: relative;
    background-image: url("../img/entry/background.png");
    background-color: #EDE9E2;
    margin: 0;
    height: auto;
    padding-bottom: 4.375vw;
    background-repeat-y: no-repeat;
}

#contact .contact-banner {
    position: relative;
}

#contact .contact-banner .text-contact {
    position: absolute;
    margin: -3.6% 64.7% 0 -3.1%;
    z-index: 1;
}

#contact .content{
    position: relative;
    top: 4.375vw;
    /* margin-bottom: 7.1354166666667vw; */
    margin-bottom: 6.770833333333333vw;
 
}

#contact .contact-content .info-text{
    padding-top: 9.1vw;
    text-align: left;
    margin-left: 21.6vw;
    margin-right: 19vw;
}

#contact .contact-content .info-text p{
    color: #FFFFFF;
    font-size: 1.6666666666667vw;
    margin-bottom: 0;
}

#contact .contact-content .info-text a{
    color: #11C7B2;
    text-decoration: none;
}

#contact .contact-content .sp{
    display: none;
}



#contact .edit:hover {
    background-color: black;
    color: #ffffff;
}

#contact .div-form {
    background-color: #FFFFFF;
    margin: 0 5.2vw 0 5.2vw;
    border: 5px solid #000000;
}

#contact #contact-form {
    margin: 0 5.2vw 0 5.2vw;
    padding-top: 5.21vw;
    /* padding-bottom: 8.8541666666667vw; */
}

#contact #contact-form .contact-text {
    font-size: 24px;
    font-weight: 500;
}

#contact #contact-form .text-header {
    font-size: 3.125vw;
    font-weight: bold;
    letter-spacing: 0.46875vw;
}

#contact #contact-form .info1{
    font-size: 1.25vw;
    font-weight: bold;
    margin-top: 3.125vw;
    font-family: "Hiragino Kaku Gothic ProN W6";
}

#contact #contact-form .info2{
    font-size: 0.9375vw;
    font-weight: normal;
    margin-top: 2.08vw;
    font-family: "Hiragino Kaku Gothic ProN W6";
    font-weight: bold;
}

#contact #contact-form .validate{
    display: none;
    font-size: 1.25vw;
    color: #D50000;
    font-weight: 600;
    font-family: "Hiragino Kaku Gothic ProN W6";
    margin-top: 2.86vw;
    padding: 1.71875vw 2.0833333333333vw;
    border: 5px solid #D50000;
}

#contact #contact-form .info2 a{
    color: #11C7B2;
    text-decoration: none;
}

#contact #contact-form .form {
    margin-top: 4.16vw;
    background-color: #EAEAEA;
}

#contact #contact-form .input-padding {
    padding: 5.2vw 6.25vw 5.2vw 5.2vw;
}

#contact #contact-form .input-padding label, p {
    font-size: 1.25vw;
    font-weight: 500;
}

.l-text-center {
    text-align: center;
    vertical-align: middle;
    margin-bottom: 0px;
}

#contact #contact-form .input-padding .top {
    margin-top: 40px;
}

#contact #contact-form .input-padding .check-box {
    margin-top: 15px;
}

#contact #contact-form .input-padding .description {
    margin-top: 20px;
    font-size: 20px;
    color: #707070;
}

#contact #contact-form .input-padding input{
    height: 4.1666666666667vw;
    font-size: 1.25vw;
    padding-left: 1.0416666666667vw;
    color: black !important;
}

#contact #contact-form .input-padding select{
    height: 4.1666666666667vw;
    font-size: 1.25vw;
    padding-left: 1.0416666666667vw;
    background-image: url('../img/contact/select-form.png') !important;
    background-size: 4%;
}

#contact #contact-form .input-padding textarea{
    height: 12.5vw;
    font-size: 1.25vw;
    padding-left: 1.0416666666667vw;
    padding-top: 1.1979166666667vw;
}

#contact .div-button {
    text-align: center;
    margin-top: 4.17vw;
}

#contact #contact-form .input-left{
    width: 47%;
    margin-right: 2vw;
}

#contact #contact-form .input-right{
    width: 47%;
    margin-left: 2vw;
}

#contact #contact-form .input-padding .checkbox {
    margin-top: 89px;
    margin-bottom: 100px;
    text-align: center;
}

#contact #contact-form #checkbox-contact {
    padding-left: 0 !important;
    height: 20px !important;
    width: 20px !important;
}

#contact #btn-submit {
    font-weight: bold;
    font-size: 1.875vw;
    padding: 1.197916666666667vw 1.041666666666667vw;
    color: white !important;
    background-color: black;
    padding-left: 3vw !important;
    text-align: left;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32.56' height='62.615' viewBox='0 0 32.56 62.615'%3E%3Cpath id='Path_7738' data-name='Path 7738' d='M61.362 0 31.307 30.055 1.252 0 0 1.253 31.307 32.56 62.614 1.253Z' transform='translate(0 62.615) rotate(-90)' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2.604166666666667vw center;
    letter-spacing: 4.5px;
    height: 6.25vw;
    width: 31.25vw;
    background-size: auto 55%;
    border: 1px solid black;
}

/* #contact .img-next {
    height: 33px;
    width: auto;
    margin-left: 4.7vw;
    margin-right: 2.6vw;
} */

/* Radio */
input[type="radio"] {
    border-radius: 20px;
    height: 1.25vw !important;
    padding-left: 0px !important;
    margin-right: 10px;
    width: 1.25vw;
    -webkit-appearance: none;
    border: 1px black solid;
    background-color: white !important;
    min-width: 18px;
    min-height: 18px;
    position: relative;
    text-align: center;
    vertical-align:middle;
}

input[type="radio"]:after {
    border-radius: 20px;
    content: '';
    display: block;
    height: 0.72916666666667vw;
    width: 0.72916666666667vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    min-width: 10px;
    min-height: 10px;
}

input[type="radio"]:checked:after {
    background-color: #000000;
}
/* Checkbox */
input[type="checkbox"] {
    background-color: #EAEAEA !important;
    height: 20px!important;
    width: 20px;
    padding-left: 0!important;
}
.element-btn-action {
    margin-bottom: 0;
}

.col-4 {
    width: 17.5%;
}

table {
    table-layout: fixed;
    width: 100%;
}

table tr {
    border: none;
}

table td {
    border-top: none !important;
    font-size: 1.25vw;
    padding-top: 1.0416666666667vw !important;
    padding-bottom: 1.0416666666667vw !important;
    font-weight: 500;
}

table td pre {
    padding: 0;
    font-size: 1.25vw;
    background: none;
    font-family: 'Noto Sans JP';
    margin-bottom: 0;
    white-space: break-spaces;
    font-weight: 500;
}

.table {
    margin-top: 5.05vw;
    padding-right: 5.73vw;
}

table .title {
    width: 26vw;
    padding-right: 55px;
}

table .description {
    padding-left: 55px;
}

.db-redirect {
    margin-top: 5.2vw;
    display: flex;
    justify-content: center;
}

.btn-cf{
    margin: 0 2.6vw;
    font-weight: bold;
    font-size: 1.875vw;
    padding: 1.197916666666667vw 1.041666666666667vw;
    color: white !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32.56' height='62.615' viewBox='0 0 32.56 62.615'%3E%3Cpath id='Path_7738' data-name='Path 7738' d='M61.362 0 31.307 30.055 1.252 0 0 1.253 31.307 32.56 62.614 1.253Z' transform='translate(0 62.615) rotate(-90)' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2.604166666666667vw center;
    letter-spacing: 4.5px;
    width: 31.25vw;
    background-size: auto 55%;
}

.edit {
    background-color: #aaaaaa;
    background-image: unset;
}

.send {
    background-color: #000000;
    text-align: center;
}

#contact .db-redirect .img-next {
    height: auto;
    width: auto;
    margin-right: 2.6vw;
    margin-left: 7.1vw;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

#loading {
    display: none; /* Hide the loading icon by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Add a semi-transparent white background behind the icon */
    z-index: 9999; /* Make sure the loading icon is displayed on top of everything else */
}

#loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the icon vertically and horizontally */
}

::placeholder {
    color: #B5B5B5 !important;
}

#channel{
    color: #B5B5B5 ;
}

select option {
    color: black;
} 

.question {
    text-align: center;
    padding: 3vw 0 2vw;
    
}
.question p {
    font-size: 1.6666666666667vw;
}
.question a {
    color: #11C7B2;
    text-decoration: none;
}

@media screen and (max-width: 1920px){
    .btn-cf{
        height: 6.25vw;
    }
}

@media screen and (max-width: 1440px){
    .btn-cf{
        /* font-size: 32px; */
    }
}

@media screen and (max-width: 1024px){
    .btn-cf{
        /* font-size: 28px; */
    }

    #contact .db-redirect .img-next {
        height: 50%;
    }
    table .title {
        padding-right: 35px;
    }

    table .description {
        padding-left: 35px;
    }

    table td {
        /* font-size: 20px; */
    }

   
    #contact .db-redirect .img-next {
        margin-right: 1.6vw;
        margin-left: 4.1vw;
    }
}

@media screen and (max-width: 760px){
    .banner-contact{
        background-image: url("../banner_img/banner_002_sp.png");
        background-repeat: no-repeat;
        width: 100vw;
        height: 116.7vw;
        background-size: 100%;
    }

    #contact .contact-content .info-text {
        margin-left: 15.79vw;
        margin-right: 15.79vw;
    }

    #contact .contact-content .info-text p {
        text-align: center;
        font-size: 3.1578947368421vw;
    }

    #contact .contact-content .sp{
        display: block;
    }

    #contact .contact-content .pc{
        display: none;
    }

    #contact .contact-banner .text-contact {
        margin: 8.02vw 52.23vw 0 -9.21vw;
    }

    #contact .content {
        top: 26.4vw;
    }
    #contact #contact-form .text-header {
        font-size: 6.5789473684211vw;
    }

    #contact #contact-form .info1 {
        font-size: 3.1578947368421vw;
        margin-top: 5.2631578947368vw;
    }

    #contact .div-form {
        margin: 0 6.58vw;
    }

    #contact .div-button {
        margin-top: 7.9vw;
    }


    #contact #contact-form {
        margin: 0 4.7vw;
        padding-top: 5.92vw;
        /* padding-bottom: 6.2vw; */
    }

    #contact #contact-form .form {
        margin-top: 5.13vw;
    }

    #contact #contact-form .input-padding {
        padding: 8.47vw 5.52vw 6.95vw 4.34vw;
    }

    .col-4 {
        display: flex;
    }

    #contact #contact-form .input-padding label,p {
        font-size: 2.6315789473684vw;
        font-weight: normal;
    }

    #contact #contact-form .input-padding input{
        height: 8.815vw;
        font-size: 2.6315789473684vw;
        padding-left: 2.1vw;
    }

    #contact #contact-form .input-padding select{
        height: 8.815vw;
        font-size: 2.6315789473684vw;
        padding-left: 2.1vw;
    }

    #contact #contact-form .input-left {
        width: 100%;
        margin-right: 0;
    }
    #contact #contact-form .input-right {
        width: 100%;
        margin-left: 0;
    }

    #contact #contact-form .input-padding .top {
        margin-top: 0;
    }
    .col-md-6, .col-md-12 {
        margin-top: 4.355vw;
    }
    #contact #contact-form .input-padding textarea {
        height: 27.76vw;
        font-size: 2.6315789473684vw;
        padding-left: 2.1vw;
        padding-top: 2.63vw;
    }

    #contact #contact-form .input-padding .checkbox {
        margin-top: 6.3vw;
        margin-bottom: 3.81vw;
        text-align: left;
    }

    #contact #btn-submit {
        padding: 1.197916666666667vw 2.041667vw !important;
        height: 13.3vw;
        font-size: 4vw;
        padding-left: 5vw !important;
        background-size: 3.7vw;
        background-position: 58vw;
        width: 100%;
    }

    #contact .img-next {
        margin: 0px 4.5vw 0 9vw;
        height: 55px;
    }

    section {
        padding-top: 24.2vw;
    }

    .col-6 {
        width: 100%;
    }

    .element-btn-action {
        padding-bottom: 13.16vw;
    }

    #contact #contact-form #checkbox-contact {
        height: 14px!important;
        width: 14px!important;
    }

    #contact #contact-form .info2 {
        font-size: 2.3684210526316vw;
    }

    #contact .contact-content .info-text {
        padding-top: 27vw;
    }

    #contact .content {
        top: 9.2vw;
    }

    #contact #contact-form .validate{
        display: none;
        font-size: 3.1578947368421vw;
        margin-top: 5.26vw;
        padding: 1.9736842105263vw 23.7vw 3.4210526315789vw 5.26vw;
    }

    table tr {
        display: flex;
        flex-direction: column;
        padding: 2.6315789473684vw 0 !important;
    }

    table td {
        padding: 0.65789473684211vw 0 !important;
        font-size: 2.6315789473684vw;
    }

    table td pre {
        font-size: 2.6315789473684vw;
    }
    
    table .title {
        width: 100%;
        padding-right: 0;
    }
    table .description {
        width: 100%;
        padding-left: 0;
        word-wrap: break-word;
    }


    .table {
        margin-top: 20px;
        padding-right: 4.6vw;
    }

    .btn-cf {
        margin: 0;
        height: 13.3vw;
        padding: 2vw 0;
        font-size: 4vw;
        background-size: 3.7vw;
        background-position: 58vw;
        width: 100%;
    }

    .db-redirect {
        margin-top: 6.58vw;
        display: block;
        margin-left: 4vw;
    }

    .send {
        margin-top: 5.2631578947368vw;
    }
    #contact .db-redirect .img-next {
        /* height: 10vw;
        margin-left: 15.26vw;
        position: relative;
        bottom: 0.5vw; */
        height: 6.9vw;
        margin-left: 17.26vw;
        position: relative;
        bottom: 0.5vw;
        right: 5.5%; 
    }
    .question p {
        font-size: 3.1578947368421vw;
    }

}
@media screen and (min-width: 761px)  {
    #contact #contact-form .input-padding { 
        padding: 5.2vw 5.2vw 5.2vw 5.2vw;
    }
}