@charset "UTF-8";

/*-------------------------------------------*/
/*メインイメージ*/
/*-------------------------------------------*/
.mainimg {
    position: relative;
    margin-top: 97px;
}

.bgimg img {
    width: 100%;
    object-fit: cover;
    max-height: 252px;
    min-height: 252px;
}

.text_img {
    position: absolute;
    top: 50px;
    right: 0;
    left: -1px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.symbol_wrap {
    position: relative;
}

.symbol {
    position: absolute;
    top: -60px;
    right: 0;
    left: 0;
    bottom: 0;
}

.symbol img {
    margin: 0 auto;
    padding-right: 11px;
}




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

    .mainimg {
        margin-top: 72px;
    }
}

@media screen and (max-width: 480px) {
    .mainimg {
        margin-top: 58px;
    }

    .bgimg img {
        min-height: 200px;
    }

    .text_img img {
        max-height: 80px;
    }

    .symbol img {
        max-width: 80px;
        padding-right: 0px;
    }

}

/*--------------------------------------------------- */
/* contactForm */
/*--------------------------------------------------- */

.contactForm .maxWid {
    max-width: 800px;
}

#contactForm p {
    font-size: 1.4rem;
    text-align: center;
}

.contactForm {
    padding-top: 125px;
    padding-bottom: 92px;
    color: #333;
    background-color: #e5e5e5;
}

.contactForm dl {
    margin-top: 23px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contactForm dl dt {
    width: 220px;
    font-weight: 700;
    border-bottom: 1px solid #fff;
}

.contactForm dl dd {
    width: calc(100% - 220px);
    border-bottom: 1px solid #fff;
}

.contactForm dt.label {
    padding-bottom: 40px;
    padding-top: 40px;
}

dt.upper.must.label {
    padding-top: 30px;
}

.caption {
    margin-top: 24px;
    margin-bottom: 80px;
}

#contactForm .caption p {
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.7;
    font-feature-settings: "palt";
    letter-spacing: -0.009em;
}

/*#contactForm .must {
    position: relative;
}

#contactForm .must:after {
    position: absolute;
    content: "*";
    top: 0;
    color: #c50000;
}*/
.must_marker {
    color: #c50000;
    padding-left: 3px;
}

@media (min-width: 769px) {}

.contactForm dl dd input, .contactForm dl dd textarea {
    color: #000;
    background-color: #fff;
    width: 100%;
    padding: 10px;
}

.contactForm dl dd, .contactForm dl dt {
    font-size: 2.3rem;
    padding: 24px;
    line-height: 1.3em;
    font-weight: normal;
}

@media (min-width: 769px) {
    .contactForm dl dd, .contactForm dl dt {
        padding: 30px 0px 30px;
    }
}

.contactForm dl input[type=radio] {
    display: none;
}

.contactForm dl .radio {
    padding-left: 0.8em;
    position: relative;
    margin-left: 8px;
    margin-right: 70px;
}

.contactForm dl .radio::before {
    background: #fff;
    border: 1px solid #7e7e7e;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.contactForm dl input[type=radio]:checked+.radio::after {
    background-color: #005cc8;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.contactForm .btn {
    margin-top: 15px;
}

.contactForm .btn input {
    margin: auto;
    padding: 20px 70px;
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: normal;
    /*border-radius: 70px;*/
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    color: #fff;
    background-color: #8f619e;
    border: 1px solid #8f619e;
    line-height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    /* ホバー時のアニメーション */
}

input[type="submit"]:hover {
    opacity: 0.6;
}

.date-select select {
    display: inline-block;
    margin-right: 10px;
    width: auto;
}

.date-select {
    display: inline-block;
}

.date-select select {
    display: inline-block;
    margin-right: 10px;
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url('/contact/img/form_btn@2x.png') no-repeat right 4px center;
    background-size: 6px;
}

.date-select {
    display: inline-block;
    position: relative;
}

.date-select select {
    padding-right: 20px;
}

select.select_day {
    margin-left: 4px;
    padding-right: 14px;
}

select.select_month {
    padding-right: 14px;
    margin-right: 10px;
    margin-left: 6px;
}

select.select_year {
    padding-right: 39px;
}

select.select_time {
    margin-left: 3px;
    padding-right: 48px;
}

.labelWrap {
    padding-left: 10px;
    padding-top: 10px;
}


@media (max-width: 768px) {

    .contactForm dl {
        flex-wrap: wrap;
    }

    .contactForm dl dd, .contactForm dl dt {
        padding: 20px 0;
    }

    .contactForm dl dt {
        width: 100%;
        border: 0;
        padding-bottom: 0;
    }


    .contactForm dl dd {
        padding-top: 0px;
        width: 100%;
        border-bottom: 1px solid #fff;
        padding-bottom: 30px;
    }

    .contactForm dl dd, .contactForm dl dt {
        font-size: 18px;
        font-size: 1.8rem;
    }

    .contactForm dt.label {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .contactForm .btn {
        margin-top: 50px;
    }

    .contactForm .btn input {
        padding: 20px 40px;
        font-size: 16px;
        font-size: 2rem;
    }

    .contactForm [type=text], .contactForm textarea, .contactForm [type=email], .contactForm [type=tel], .contactForm [type=number], .contactForm select {
        margin-left: 0px;
    }

    .contactForm [type=text], .contactForm textarea, .contactForm [type=email], .contactForm [type=tel], .contactForm select {
        width: 100%;
    }

    .date-select {
        display: flex;
        align-items: center;
    }

    .date-select select {
        padding-right: 20px;
    }

    select.select_day {
        margin-left: 4px;
        padding-right: 14px;
        width: 15%;
    }

    select.select_month {
        padding-right: 14px;
        margin-right: 10px;
        margin-left: 6px;
        width: 15%;
    }

    select.select_year {
        padding-right: 15px;
        width: 19%;
    }

    select.select_time {
        margin-left: 3px;
        padding-right: 0px;
        width: 16%;
    }


}

@media screen and (max-width: 480px) {
    .contactForm {
        padding-top: 80px;
        padding-bottom: 100px;
        color: #333;
        background-color: #e5e5e5;
    }

    #contactForm p {
        font-size: 1.2rem;
        font-feature-settings: "palt";
    }

    .contactForm dl dd, .contactForm dl dt {
        font-size: 16px;
        font-size: 1.6rem;
    }

    .contactForm .must:after {
        font-size: 1rem;
        padding: 5px 7px;
    }

    .contactForm .upper {
        align-items: center;
    }

    select.select_year {
        padding-right: 22px;
        width: 25%;
    }

    select.select_month {
        padding-right: 10px;
        margin-right: 10px;
        margin-left: 7px;
        width: 20%;
    }

    select.select_day {
        margin-left: 4px;
        padding-right: 11px;
        width: 20%;
    }

    .date-select2 {
        flex-wrap: wrap;
        gap: 15px 0px;
    }

    select.select_time {
        margin-left: 0px;
        padding-right: 0px;
        width: 25%;
        align-items: center;
    }

    .contactForm form {
        margin-top: 0px;
    }

    .contactForm dl .radio::before {
        width: 15px;
        height: 15px;
    }

    .contactForm .labelWrap {
        margin-left: 0px;
        padding-top: 0px;
    }

    .contactForm dl .radio {
        margin-left: 0px;
        margin-right: 40px;
    }

    #contactForm .caption p {
        font-size: 1.3rem;
        text-align: left;
        line-height: 1.4;
    }

    .contactForm .btn input {
        padding: 15px 60px;
        font-size: 1.8rem;
    }

    .caption {
        margin-top: 0px;
    }
}

input[type="button"], input[type="text"], input[type="submit"], input[type="image"], textarea {
    -webkit-appearance: none;
    border-radius: 0;
}


/*-------------------------------------------*/
/*サンクスページのCSS*/
/*-------------------------------------------*/
/*--------------------------------------------------- */
/* thanks */
/*--------------------------------------------------- */
#thanks {
    margin-top: 120px;
    margin-bottom: 100px;
}

#thanks .btn {
    border-radius: 10px;
}

#thanks img {
    max-width: 475px;
    margin: auto;
}

#thanks p {
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #757575;
}

#thanks h3 {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.2em;
    text-align: center;
    color: #000;
}

#thanks .text {
    text-align: center;
    margin-top: 40px;
}

#thanks .text span {
    color: #333;
    font-size: 1.6rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    #thanks h3 {
        font-size: 16px;
        font-size: 1.6rem;
    }

    #thanks {
        /* margin-bottom: 0px; */
        margin-top: 150px;
    }
}

@media (max-width: 480px) {
    #thanks h3 {
        text-align: center;
        font-size: 15px;
        font-size: 1.5rem;
    }

    #thanks .text span {
        font-size: 1.5rem;
    }

    #thanks p br {
        display: none;
    }

    #thanks p {
        font-size: 12px;
        font-size: 1.2rem;
        font-feature-settings: "palt";
        text-align: left;
    }

    #thanks {
        margin-top: 120px;
    }
}


#thanks .btn {
    margin: 38px auto 0;
}

#thanks .btn a, #thanks .btn a:visited {
    margin: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    color: #fff;
    background-color: #d01c97;
    /* border: 1px solid #ffc000; */
    line-height: 1em;
    display: flex;
    justify-content: center;
    padding: 12px 40px;
    align-items: center;
    font-size: 18px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1em;
}

@media (min-width: 769px) {
    #thanks .btn a:hover, #thanks .btn a:visited:hover {
        transition-duration: 0.5s;
        opacity: 0.6;
    }
}