@charset "utf-8";

main {
    background: #eeeada;
    padding-bottom: 120px;
}

.main-head-contact {
    padding: 90px 0 80px;
}

.main-head-contact h1 {
    font-size: 46px;
    color: #eb6100;
    font-weight: 500;
    text-align: center;
    display:block;
    z-index: 2;
    width: 100%;
    letter-spacing: 13px;
}

.box-contact {
    width: 980px;
    display: block;
    margin: 0 auto;
    padding: 80px 60px;
    position: relative;
    background: #FFF;
}

.box-form .box-wrap {
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
}

.box-form .txt {
    text-align: left;
    font-size: 18px;
    line-height: 200%;
    margin-bottom: 80px;
    position: relative;
    padding-left: 20px;
}

.box-form .txt::before {
    content: "●";
    position: absolute;
    font-size: 16px;
    color: #eb6100;
    top: 0;
    left: 0;
}

.box-input {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap:20px;
    margin-bottom: 30px;
}

.box-input .tit-input {
    padding: 15px 0;
    font-size: 16px;
    position: relative;
}

.box-form-co .box-input .tit-input {
    padding: 0;
}

.box-input .input {
    width: 100%;
    border: 1px solid #bdbdbd;
    padding: 15px;
    font-size: 16px;
    color: #626262;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    outline: none;
    letter-spacing: 2px;
    position: relative;
    font-family: "Comfortaa","Kiwi Maru","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.box-input .input:focus {
    border: 1px solid #bdbdbd;
    outline: none;
}

.box-input .box-name-sei,
.box-input .box-name-mei {
    width: 190px;
    position: relative;
    display: inline-block;
}

.box-input .box-name-sei::after,
.box-input .box-name-mei::before {
    content: "姓";
    font-size: 16px;
    position: absolute;
    left: 0;
    top: -25px;
}

.box-input .box-name-mei::before {
    content: "名";
}

.box-input .box-name-sei {
    margin-right: 50px;
}

.box-input #comment.input-area {
    height: 18em;
    line-height: 160%;
}

.box-input:last-of-type {
    margin-bottom: 50px;
}

.btn-send {
    display: block;
    width: 450px;
    font-size: 20px;
	font-family: "Comfortaa","Kiwi Maru","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color:#FFF;
    background: #b2b2b2;
    padding: 20px 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition:all 0.3s ease;
	-webkit-transition: all .3s;
    margin: 0 auto;
}

.btn-send:hover {
    background: #cccccc;
}

.box-form input[type="submit"][disabled]{
    background:#DCDCDC;
    cursor: default;
}

.box-form ::placeholder {
    color: #cccccc;
}

.btn-back {
    display: block;
    width: 450px;
    font-size: 20px;
    background: #FFF;
    padding: 20px 0;
    border: solid 1px #b2b2b2;
    outline: none;
    cursor: pointer;
    transition:all 0.3s ease;
	-webkit-transition: all .3s;
    margin: 20px auto 0;
    text-align: center;
}

.btn-back:hover {
    color: #cccccc;
    border: solid 1px #cccccc;
}

.box-txt-co {
    border-bottom: solid 1px #ccc;
    padding-bottom: 25px;
}

.box-txt-co .box-txt {
    font-size: 16px;
}

label.error {
    position: relative;
    display: inline-block;
    padding: 8px 10px 6px;
    background: #fbdde6;
    color: #E95383;
    margin-top: 10px;
    line-height: 100%;
    letter-spacing: 0;
}

.txt-end {
    font-size: 18px;
    line-height: 200%;
    text-align: center;
    padding-top: 30px;
}


/******************************************************/

@media screen and (max-width: 900px) {
    main {
        padding-bottom: 12%;
    }

    .main-head-contact {
        padding: 12% 0 10%;
    }

    .main-head-contact h1 {
        font-size: 5vw;
        letter-spacing: 1vw;
    }

    .box-contact {
        width: 90%;
        padding: 8% 5%;
        margin: 0 5%;
    }
    
    .box-form .box-wrap {
        width: 100%;
    }
    
    .box-form .box-wrap:nth-of-type(2) {
        margin-bottom: 12%;
        padding-bottom: 0;
    }
    
    .box-form .txt {
        font-size: 3.2vw;
        letter-spacing: 0.2vw;
        padding-left: 1.4em;
        margin-bottom: 8%;
        line-height: 180%;
    }
    
    .box-form .txt::before {
        font-size: 3vw;
        top: -1%;
    }
    
    .box-input {
        grid-template-columns: 28% 1fr;
        gap: 2%;
        margin-bottom: 5%;
        letter-spacing: 0.4vw;
    }
    
    .box-input .box-name-sei,
    .box-input .box-name-mei {
        width: 100%;
        margin-right: 0;
        padding-left: 10%;
    }
    
    .box-input .box-name-sei {
        margin-bottom: 4%;
    }
    
    .box-input .box-name-sei::after,
    .box-input .box-name-mei::before {
        font-size: 3vw;
        top:20%;
        left: 0;
    }
    
    .box-input:last-of-type {
        margin-bottom: 6%;
    }
    
    .box-input .input {
        font-size: 2.8vw;
        padding: 3%;
        letter-spacing: 0.2vw;
    }
    
    .box-input .tit-input {
        padding: 6% 0;
        font-size: 3vw;
        letter-spacing: 0.2vw;
    }
    
    .btn-send {
        width: calc(100% - 30%);
        margin-left: 30%;
        font-size: 4vw;
        padding: 3% 0;
    }
    
    .btn-back {
        width: calc(100% - 30%);
        margin:3% 0 0 30%;
        font-size: 4vw;
        padding: 3% 0;
    }

    .box-txt-co .box-txt {
        font-size: 3vw;
    }
    
    label.error {
        padding: 3% 3% 2%;
        margin-top: 3%;
        font-size: 2.4vw;
    }
    
    .txt-end {
        font-size: 2.3vw;
        padding-top: 5%;
        margin-left: 30%;
    }
    
}


