@charset "UTF-8";

.headline {
    background: #ee637b;
    padding-bottom: 15px;
}
h2 {
    font-size: 33px;
    letter-spacing: 0.15em;
    color: #fff;
    font-weight: 900;
    line-height: 95px;
    border-bottom: 1px solid #fff;
    text-align: center;
}
@media screen and (max-width: 640px) {
    h2 {
        font-size: 24px;
        line-height: 60px;
    }
}
/*-----------------------------------

    contact

-----------------------------------*/
#contact.contents_inner {
    padding: 60px 0;
}
#contact h3 {
    font-size: 24px;
    letter-spacing: 0.15em;
    color: #f04e64;
    border-bottom: 3px solid #f04e64;
    display: block;
    width: 100%;
    margin: 0 auto 0.5em;
    padding-bottom: 10px;
}
#contact dl {
    font-size: 16px;
}
#contact dl dt {
    float: left;
    clear: both;
    width: 13em;
    padding: 2em 0;
}
#contact dl dd {
    padding: 2em 0 2em 13em;
    border-bottom: 1px solid #ee637b;
}
#contact .w400 {
    width: 400px;
    border: 1px solid #afafaf;
    height: 30px;
    border-radius: 5px;
}
#contact .w100 {
    width: 100px;
    border: 1px solid #afafaf;
    height: 30px;
    border-radius: 5px;
}
#contact dl dd:nth-of-type(3) label,
#contact dl dd:nth-of-type(9) label,
#contact dl dd:nth-of-type(11) label {
    margin-right: 20px;
}
#contact dl dd ul li:first-child{
    margin-bottom: 0.5em;
}
#contact dl dd ul li span{
    display: inline-block;
    width: 5em;
    font-size: 14px;
}
#contact dl dd:nth-of-type(4) label{
    position: relative;
    display: inline-block;
    width: 150px;
    height: 30px;
    border: 1px solid #afafaf;
    border-radius: 5px;
}
#contact dl dd input[type="date"] {
    position: relative;
    padding: 0.5em;
    width: 190px;
    height: 30px;
    border: 0;
    background: transparent;
}
#contact dl dd:nth-of-type(4) label::before {
    font-family: "Font Awesome 5 Free";
    content: '\f073';
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0;
    right: -42px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: #ee637b;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}
#contact dl dd input[type="date"]::-webkit-inner-spin-button,
#contact dl dd input[type="date"]::-webkit-clear-button{
    -webkit-appearance: none;
}
#contact dl dd input[type="date"]::-webkit-calendar-picker-indicator{
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0;
    width: 26px;
    height: 26px;
    background: transparent;
    color: transparent;
    cursor: pointer;
}
#contact dl dd textarea {
    width: 100%;
    border: 1px solid #afafaf;
    padding: 0.5em;
    border-radius: 5px;
}
#contact dl dd input::placeholder,
#contact dl dd textarea::placeholder {
    color: #c9c9c9;
    font-size: 12px;
    position: relative;
    top:0;
    left: 5px;
}
#contact dl dd input:-ms-input-placeholder,
#contact dl dd textarea:-ms-input-placeholder {
    color: #c9c9c9;
    font-size: 12px;
    position: relative;
    top:0;
    left: 5px;
}
#contact dl dd input::-ms-input-placeholder,
#contact dl dd textarea::-ms-input-placeholder {
    color: #c9c9c9;
    font-size: 12px;
    position: relative;
    top:0;
    left: 5px;
}
#contact .button {
    text-align: center;
    padding-top: 50px;
}
#contact input[type="button"] {
    border: none;
    -webkit-appearance: button;
}
#contact .submit_wrap, #contact .back_wrap {
    width: 15em;
    height: 4em;
    margin: 0 auto;
    display:inline-block;
    position: relative;
}
#contact .submit_wrap::after{
    font-family: "Font Awesome 5 Free";
    content: '\f101';
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    position: absolute;
    top:30%;
    right: 10px;
    margin: auto;
}
#contact .back_wrap::before{
    font-family: "Font Awesome 5 Free";
    content: '\f100';
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    position: absolute;
    top:30%;
    left: 10px;
    margin: auto;
}
#contact input.submit {
    background: #ee637b;
    padding-right: 1.5em;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    width: 100%;
    height: 100%;
}
#contact input.back {
    background: #7c7c7c;
    padding-left: 1.5em;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 640px) {
    #contact.contents_inner {
        padding: 30px 0;
    }
    #contact dl dt {
        float: none;
        width: 100%;
        padding: 2em 0 1em 0;
    }
    #contact dl dd {
        padding: 0 0 2em 0;
    }
    #contact .w400 {
        width: 100%;
    }
    #contact .button .left,
    #contact .button .right {
        float: none !important;
        width: 80%;
    }
    #contact .button .back_wrap {
        margin-bottom: 1em;
    }
    #contact input.submit {
        padding-right: 0;
    }
    #contact input.back {
        padding-left: 0;
    }
}
