@charset "utf-8";
@import "anime.css";

/*
------------
contact.css
------------
*/

/* page_container */
#page_container {
    background: #F5F5F7;
    padding: 0 0 150px 0;
}
@media only screen and (max-width: 768px) {
    #page_container {
        padding: 0 0 80px 0;
    }
}
/* tit_area */
#tit_area {
    background-image: url(../../images/content/contact/titBg.webp);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}
@media only screen and (max-width: 768px) {
    #tit_area {
        background-image: url(../../images/content/contact/titBgSP.webp);
    }
}
/* form_area */
#form_area {
    margin: 100px 0 0 0;
}
#form_area .inner {
    font-feature-settings: "palt";
}
#form_area .inner p.lead {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-align: center;
    padding: 0 50px;
}
#form_area .inner form {
    width: calc(100vw * 900 / 1500);
    max-width: 900px;
    margin: 85px auto 0 auto;
}
#form_area .inner form dl dt {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
#form_area .inner form dl dt span.required {
    display: inline-block;
    font-size: 1.2rem;
    color: #fff;
    background: #E61900;
    border-radius: 2px;
    padding: 4px 6px;
    margin: 0 10px 0 0;
    position: relative;
    top: -2px;
}
#form_area .inner form dl dd {
    width: 100%;
    margin: 10px 0 45px 0;
}
#form_area .inner form dl dd input[type="text"],
#form_area .inner form dl dd select,
#form_area .inner form dl dd textarea {
    appearance: none;
    outline: none;
    background: #fff;
    border: 1px solid #BAC1C5;
    border-radius: 10px;
    padding: 15px 20px;
    width: 100%;
    font-size: 1.4rem;
    letter-spacing: 0.075em;
    line-height: 1.6;
}
#form_area .inner form dl dd input::placeholder {
    color: #BAC1C5;
}
#form_area .inner form dl dd .select_box {
    width: 100%;
    position: relative;
}
#form_area .inner form dl dd .select_box::before {
    content: "";
    width: 16px;
    height: 8px;
    background-image: url(../../images/global/arrow_down_b.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
#form_area .inner form dl dd.privacy label {
    display: flex;
    align-items: center;
    gap: 7px;
}
#form_area .inner form dl dd.privacy span {
    display: inline-block;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}
#form_area .inner form p.link a {
    font-size: 1.4rem;
    letter-spacing: 0.075em;
    color: #1900E6;
    text-decoration: underline;
    transition: all .3s ease;
}
#form_area .inner form p.link a:hover {
    opacity: .6;
}
#form_area .inner form ul#btn_area {
    margin: 65px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#form_area .inner form ul#btn_area li button {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    background: #E61900;
    border: 1px solid #E61900;
    border-radius: 300px;
    cursor: pointer;
    transition: all .3s ease;
}
#form_area .inner form ul#btn_area li button:hover {
    background: #fff;
    color: #E61900;
}
.input #form_area .inner form ul#btn_area li button {
    padding: 20px 150px;
}
.confirm #form_area .inner form ul#btn_area li button {
    padding: 20px 65px;
}
@media only screen and (max-width: 768px) {
    #form_area {
        margin: 50px 0 0 0;
    }
    #form_area .inner p.lead {
        width: 90vw;
        margin: 0 auto;
        font-size: 1.4rem;
        letter-spacing: 0.075em;
        padding: 0;
    }
    #form_area .inner form {
        width: 90vw;
        max-width: 90vw;
        margin: 65px auto 0 auto;
    }
    #form_area .inner form dl dt {
        letter-spacing: 0.075em;
    }
    #form_area .inner form dl dt span.required {
        margin: 0 7px 0 0;
    }
    #form_area .inner form dl dd {
        margin: 10px 0 35px 0;
    }
    .input #form_area .inner form ul#btn_area li button {
        padding: 15px 80px;
    }
    .confirm #form_area .inner form ul#btn_area li {
        width: 50%;
    }
    .confirm #form_area .inner form ul#btn_area li button {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
}
/* error */
#form_area .inner form dl dd ul.error_list {
    margin: 10px 0 0 0;
}
#form_area .inner form dl dd ul.error_list li {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #E61900;
    line-height: 1.6;
}
/* confirm */
.confirm #form_area .inner form dl dd {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    background: #fff;
    padding: 20px;
    margin: 20px 0 45px 0;
}
@media only screen and (max-width: 768px) {
    .confirm #form_area .inner form dl dd {
        padding: 15px;
    }
}
/* thanks */
.thanks #form_area .inner h3 {
    font-size: 2.4rem;
    letter-spacing: 0.15em;
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
    padding: 0 50px;
}
.thanks #form_area .inner p.lead {
    margin: 45px 0 0 0;
}
@media only screen and (max-width: 768px) {
    .thanks #form_area .inner h3 {
        font-size: 2rem;
        width: 90vw;
        margin: 0 auto;
        padding: 0;
    }
    .thanks #form_area .inner p.lead {
        width: 90vw;
        margin: 30px auto 0 auto;
        font-size: 1.4rem;
        letter-spacing: 0.075em;
        padding: 0;
    }
}