/* リセットCSS */

* {
    margin: 0;
    padding: 0;
}

*,
 ::before,
 ::after {
    border-style: solid;
    box-sizing: border-box;
    border-width: 0;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
    text-align: justify;
    overflow-x: hidden;
}

.is-fixed body {
    overflow: hidden;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    background-color: transparent;
    text-decoration: none;
    text-decoration-skip-ink: auto;
}

img {
    width: 100%;
    display: block;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@media screen and (max-width: 1188px) {
    html {
        font-size: 1.4134275618vw;
    }
}

.pc-dn {
    display: none;
}

.sp-dn {
    display: block;
}

@media screen and (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }
    html {
        font-size: 16px;
    }
    .pc-dn {
        display: block;
    }
    .sp-dn {
        display: none;
    }
}

@media screen and (max-width: 380px) {
    html {
        font-size: 4.2105263158vw;
    }
}

a,
button,
.btn {
    cursor: pointer;
    transition: 0.3s;
}

a:hover,
button:hover,
.btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    a:hover,
    button:hover,
    .btn:hover {
        opacity: 1;
    }
}

@charset "utf-8";

/*----------------------------------------------
　フォーム
----------------------------------------------*/

#the-list tr:nth-of-type(2) {
    display: none!important;
}

#form label,
#form .wpcf7-form-control-wrap {
    margin-bottom: 0!important;
    margin-top: 0!important;
}

input,
select,
textarea {
    width: 100%;
    box-sizing: border-box;
}

input {
    border: 1px solid #ddd!important;
    border-radius: 5px!important;
    outline: none;
    background: #fff;
    line-height: 1.8;
    padding: 0.5rem 0.8rem!important;
    box-sizing: border-box;
}

.wpcf7-previous {
    display: block;
    width: auto;
    margin: auto;
    padding: 0.5rem 7rem !important;
    background: #ebebeb;
}


/*input:-webkit-autofill {
    box-shadow: 0 0 0px 100px #161416 inset;
    -webkit-text-fill-color: white !important;
}*/

.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpcf7-list-item {
    width: 47%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 0 0 1em;
}

textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    padding: 0.8rem!important;
}

h2 {
    display: none;
}

h3 {
    font-size: 1.75rem;
    text-align: center;
    margin: 0 auto 1em;
    margin-top: 2rem;
}

#form {
    width: auto;
    max-width: 820px;
    margin: 3rem auto;
    background: #fff;
    padding: 2em 0;
    /*box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.15);
    border-radius: 15px;*/
}

#form table th,
#form table td {
    display: block;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

#form table th {
    text-align: left;
    background: none;
    padding-bottom: 0.75rem;
}

#form table td {
    padding-top: 0;
    word-break: break-word;
}

#form table td.photo input {
    border: none!important;
    padding-left: 3rem !important;
}

#form span.must,
#form span.may {
    color: rgb(255, 255, 255);
    font-size: 12px;
    border-radius: 0.25rem;
    padding: 0.3rem;
    margin: 0 0.5rem 0 0;
}

#form span.must {
    background-color: rgb(244, 67, 54);
}

#form span.may {
    background-color: rgb(96, 125, 139);
}

#form span.red {
    color: rgb(255, 255, 255);
    background-color: rgb(244, 67, 54);
    font-size: 12px;
    border-radius: 0.25rem;
    padding: 0.3rem;
    margin: 0 0.3rem;
}

#form span.gray {
    color: rgb(255, 255, 255);
    background-color: rgb(96, 125, 139);
    font-size: 12px;
    border-radius: 0.25rem;
    padding: 0.3rem;
    margin: 0 0.3rem;
}

#form label,
#form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

#form label.photo,
#form label.photo .wpcf7-form-control-wrap {
    margin-bottom: 0;
}

input[type="checkbox" i] {
    padding: 0;
    display: inline-block;
    width: auto;
}

#form .wp-block-contact-form-7-contact-form-selector {
    padding: 0 5rem;
}

.current-check {
    position: absolute;
    top: 0;
    left: -50vw;
}

.wpcf7-submit {
    border: none;
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 0.5rem 2rem !important;
    margin: 3em auto 0;
    color: #fff;
    font-size: 1rem;
    border-radius: 40px;
    background: #3b3b3b;
}

.contact-confirm .border {
    border-bottom: 1px solid #bdbdbd;
    padding-bottom: 0.5rem;
}

.contact-complete p {
    text-align: center;
}

.article-box {
    padding-top: 0;
}


/*---------------------------------
タブレット
---------------------------------*/

@media screen and (max-width: 1240px) {
    #form {
        width: auto;
        margin: 2rem 5rem;
    }
    #form label.photo {
        word-wrap: break-word;
    }
    h3 {
        font-size: 1.5rem;
    }
}


/*----------------------------------------------
　スマホ
----------------------------------------------*/

@media screen and (max-width: 480px) {
    #form {
        width: auto;
        margin: 0 auto;
        padding: 1em 0;
    }
    #form .wp-block-contact-form-7-contact-form-selector {
        padding: 0;
    }
    .wpcf7-list-item {
        width: 43%;
        margin-bottom: 0.6rem;
    }
}


/*----------------------------------------------
　共通
----------------------------------------------*/
