@charset "UTF-8";
:root{
	--main-color: #ed6c00;
	--sub-color: #2a78b3;
	--color-red: #e83836;
	--bg-color: #fffaf3;
}

/*簡易的にリセット*/
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
	background: none;
	border: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    cursor: pointer;
}

select {
    background: #fff;
    border: solid 1px gray;
    border-radius: 8px;
}

body{
    width: 100%;
}

/*-----------------------------------------------------------------------------------------------


問い合わせフォーム専用stylesheet


-----------------------------------------------------------------------------------------------*/
*{
    box-sizing: border-box;
}

.g-recaptcha{
    margin: 25px 0;
}

.privacy-check{
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.privacy-check a{
    font-weight: 700;
    margin: 0 6px;
    color: #000;
}

/* ------------- サイト内問い合わせ部分 ---------------- */
.contact_wrap{
    width: 100%;
}

form{
    width: 100%;
    margin: 30px auto;
}

.contact-td input,
.contact-td select,
.contact-td textarea{
    font-size: 1.6rem;
    padding: 12px;
    width: 100%;
    border: solid 1px #231815;
    border-radius: 8px;
}

/*　以下フォームtable内classの調整 */
.contact-table{
    width: 100%;
}

.contact-tr{
    flex-direction: column;
    margin-top: 30px;
}

.contact-tr:first-of-type{
    margin-top: 0;
}

.contact-th{
    width: 100%;
    background: #fef4e5;
    border-left: solid 8px var(--main-color);
    font-size: 1.7rem;
    font-weight: bold;
    color: #000;
    padding: 8px 0 8px 10px;
    text-align: left;
}

.checkbox input{
    width: 18px;
    height: 18px;
    -webkit-transform: translateY(3px);
    -moz-transform: translateY(3px);
    transform: translateY(3px);
}

.checkbox span{
    font-size: 1.8rem;
    margin-left: 3px;
}

.contact-td{
    width: 100%;
    margin-top: 12px;
}

.checkbox{
    width: 100%;
    margin: 20px 0;
}

.req{
    font-size: 1.4rem;
    vertical-align: middle;
    background: var(--color-red);
    color: #fff;
    padding: 2px 4px;
    margin-left: 8px;
    border-radius: 2px;
}

.contact-wrap button[type="submit"],
#formWrap button[type="submit"]{
    width: 100%;
    padding: 12px;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    background: linear-gradient(to right, var(--main-color) 50%, var(--color-red) 50%);/*枠内背景色*/
    background-size: 200% auto;/*拡大表示で白部分を全体表示する*/
    box-sizing: border-box;
    color: #fff;/*文字の色*/
    text-align: center;
    transition: .5s;
    margin-bottom: 16px;
}

.contact-wrap button[type="submit"]:hover,
#formWrap button[type="submit"]:hover,
#formWrap button[type="submit"]:hover{
    background-position: -100% 0;/*背景色を移動して黒部分を表示する*/
}

#formWrap input[type="button"],
.contact-wrap button[type="button"]{
    width: 100%;
    padding: 12px;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    border: solid 1.5px gray;
    color: gray;
    border-radius: 40px;
    text-align: center;
    transition: .5s;
    margin-top: 20px;
}

#formWrap input[type="button"]:hover{
    color: #fff;
    background: gray;
}

.contact-tel-btn{
    width: 550px;
    margin: 55px auto 0;
}

/* ----------------------------- 確認画面用スタイル ----------------------------- */
#formWrap{
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
}

.error-div{
    width: 90%;
    margin: auto;
    text-align: center;
}

#formWrap h3{
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}

#formWrap p{
    font-size: 1.5rem;
    text-align: center;
    width: 90%;
    margin: auto;
}

#formWrap .formTable{
    width: 90%;
    margin: 0 auto;
}

.formTable tr{
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    margin: 18px auto;
}

.formTable th,
.formTable td{
    display: block;
}

.formTable th{
    background: lightgray;
    padding: 8px 0 8px 12px;
    margin-bottom: 10px;
}

.submit-button{
    width: 90%;
    margin: 15px auto;
}

.back-button{
   font-size: 1.5rem;
}

/* =====================================================================================================



メディアクエリ//タブレット表示用スタイル



======================================================================================================== */
@media screen and (min-width:571px) and (max-width:859px){

.contact-form-wrap{
    width: 100%;
}

.form-caption{
    width: 100%;
    font-size: 1.8rem;
}

form{
    width: 100%;
    margin: 30px auto;
}

.checkbox input,
.checkbox input span{
    font-size: 1.7rem;
    padding: 12px;
    border: solid 1px #231815;
    border-radius: 8px;
}

.contact-td input,
.contact-td select,
.contact-td textarea{
    font-size: 1.7rem;
    padding: 15px;
}

/*　以下フォームtable内classの調整 */

.contact-th{
    font-size: 2.2rem;
}

.req{
    border-radius: 5px;
}

/* ------------- 入力内容確認ページ ------------- */
#formWrap{
    width: 85%;
    padding: 18px 25px;
    margin: 30px auto;
}
}

/* ======================================================================================================



メディアクエリ//スマホ表示用スタイル



========================================================================================================= */
@media screen and (max-width:570px){

.contact-wrap{
    width: 100%;
    margin: 0 auto;
}

.form-caption{
    width: 100%;
    font-size: 1.5rem;
}

form{
    width: 100%;
    margin: 10px auto 0;
}

.contact-td input,
.contact-td select,
.contact-td textarea{
    font-size: 1.5rem;
}

/*　以下フォームtable内classの調整 */
.contact-table{
    width: 100%;
}

.contact-tr{
    padding: 10px 0;
    margin: 0;
}

.contact-th{
    font-size: 1.6rem;
}

.contact-td{
    margin-top: 15px;
}

.req{
    font-size: 1.3rem;
    border-radius: 5px;
}

.contact-wrap .submit-1st input[type="submit"]{
    padding: 6px;
    font-size: 1.6rem;
}

.submit-2nd input[type="submit"]{
    padding: 6px;
    font-size: 1.8rem;
}

#formWrap input[type="button"]{
    padding: 6px;
    font-size: 1.8rem;
}

.contact-tel-btn{
    width: 90%;
    margin: 30px auto 0;
}

.contact-tel-btn img{
    border-radius: 10px;
}

.contact-wrap button[type="submit"],
#formWrap button[type="submit"]{
    padding: 6px;
    font-size: 2rem;
    border-radius: 30px;
}

}