@charset "UTF-8";

/*フォームエラーメッセージ*/
.error p.error {/*エラーメッセージ*/
    font-size: 1.8rem;
    color: #BD181B;
    display:block;/*非表示*/
}
.error div.error {/*エラーメッセージ*/
    font-size: 1.8rem;
    color: #BD181B;
    text-align: center;
    width: 100%;
    padding: 20px;
    margin: 30px auto 0;
    border: 1px solid #BD181B;
    display:block;/*非表示*/
}
p.error {/*エラーメッセージ*/
    font-size: 1.8rem;
    color: #BD181B;
    display: none;/*非表示*/
}
div.error {/*エラーメッセージ*/
    font-size: 1.8rem;
    color: #BD181B;
    text-align: center;
    width: 100%;
    padding: 20px;
    margin: 30px auto 0;
    border: 1px solid #BD181B;
    display: none;/*非表示*/
}

.form_wrap {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}



/*メイン画像*/
.main_area {
    width: 100%;
    position: relative;
}
.main_area h2 {
    padding: 50px 0;
    text-align: center;
}


/*お申し込みフォーム*/
.form_wrap {
    max-width: 1000px;
    width: 95%;
    margin: 0 auto;
    padding: 50px 0;
}
.form_wrap div.read {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.8rem;
}
.form_wrap div.read strong {
    font-size: 1.8rem;
    line-height: 1.8;
  color: #583d84;
}
ol{
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}
ol ol{
  padding-left: 0em;
}
ol ol li:before{
  counter-increment:none;
  content:'・';
}
ol li{
  text-indent: -1em;
  padding-left: 1em;
}
ol li:before {
  counter-increment: item;
  content: counter(item)'.';
  /* 以下は自由に装飾... */
  padding-right: .5em;
  font-weight: bold;
  color: #583d84;
}

ol.kakko{
}
ol.kakko>li{
  list-style-type: none;
  counter-increment: cnt;
  text-indent: -2.3em;
  padding-left: 2.5em;
}
ol.kakko>li::before {
	content: "(" counter(cnt) ") ";
}

ol.maru{
}
ol.maru li{
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
}
ol.maru li::before {
	content: "";
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
  -moz-appearance:textfield;
}
table.mailform {
    width: 100%;
    margin: 30px auto 40px;
    border-top: 2px solid #583d84;
    border-bottom: 2px solid #583d84;
}
table.mailform tbody {}
table.mailform tbody tr {}
table.mailform tbody tr th {
    width: 30%;
    padding: 20px 0 20px 2%;
    vertical-align: middle;
    font-weight: bold;
    border-bottom: 1px solid #583d84;
    font-size: 2.2rem;
}
table.mailform tbody tr th.ttl {
width: 100%;	
background: #f3f1f5;	
}
table.mailform tbody tr th span.req {
    background: #BD181B;
    color: #fff;
    padding: 2px 8px 3px;
    font-size: 1.6rem;
    font-weight: normal;
    float: right;
}
span.req {
    background: #BD181B;
    color: #fff;
    padding: 2px 8px 3px;
    font-size: 1.6rem;
    font-weight: normal;
}
table.mailform tbody tr td {
    font-size: 1.8rem;
    border-bottom: 1px solid #583d84;
    padding: 15px 0 15px 30px;
}
table.mailform tbody tr:last-child th ,
table.mailform tbody tr:last-child td {
    border-bottom: none;
}
table.mailform tbody tr td input ,
table.mailform tbody tr td textarea {
    font-size: 2.2rem;
    border-radius: 5px;
    border: 1px solid #b5b5b5;
    padding: 3px;
    margin: 5px 5px 5px 0;
}
table.mailform tbody tr td select {
    font-size: 1.8rem;
    border-radius: 5px;
    border: 1px solid #b5b5b5;
    padding: 3px;
    margin: 5px 5px 5px 0;
}
table.mailform tbody tr td label {
    padding-right: 10px;
    margin-right: 5px;
    cursor: pointer;
}
table.mailform tbody tr td .note {
    font-size: 1.7rem;
}
table.mailform tbody tr td textarea {
    width: 400px;
    max-width: 100%;
    height: 150px;
}
.form_wrap .submit {
    width: 100%;
    text-align: center;
}
.form_wrap .submit button {
    font-size: 2.2rem;
    width: 300px;
    margin: 0 10px;
    padding: 10px 0;
    background: #583d84;
    color: #fff;
    box-shadow: 0px 0px 10px #717171;
    transition: 0.3s;
    cursor: pointer;
}
.form_wrap .submit button:hover {
    box-shadow: 0px 0px 5px #717171;
    background: #8163b1;
}



/*サンクスページ*/
.form_wrap.thanks {
    padding: 50px 0 0;
}
.form_wrap.thanks h3 {
    text-align: center;
    margin: 0 auto 50px;
    line-height: 1.8;
    border: 1px solid #808080;
    padding: 20px;
}

.red {
	color: #ad1414;
}


/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 960px) {

    /*メイン画像*/
    .main_area div .txt {
        max-width: 40%;
        right: 50px;
    }

}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 767px) {
    
    /*メイン画像*/
    .main_area {
    }
    .main_area h2 {
        padding: 40px 0;
    }
    .main_area div .txt {
        top: 15px;
        right: 10px;
        max-width: 50%;
    }
    
    /*お問い合わせフォーム*/
    table.mailform tbody tr th {
        width: 100%;
        display: block;
        border-bottom: 1px dotted #583d84;
        background: #f0f0f0;
        padding: 15px 2% 15px 2%;
    }
    table.mailform tbody tr td {
        width: 100%;
        padding: 15px 0 15px 0px;
        float: left;
        border-bottom: 2px solid #583d84;
    }
    table.mailform tbody tr td textarea {
        width: 100%;
    }
    table.mailform tbody tr td label {
        padding-right: 18px;
    }


    .form_wrap .submit {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .form_wrap .submit button {
        margin-bottom: 20px;
    }


}


/* 追記 */

.attention_Txt {
  padding: 0 0 20px;
  color: #BD181B;
  font-size: 16px;
  line-height: 1.8;
}

#MailMessageTr-tel03 th { border-color: #fff;}
#MailMessageTr-tel03 th::after {
display: inline-block;
content: 'いずれか必須';
margin-left: 10px;
color: #BD181B;
font-size: 16px;
line-height: 1;
box-sizing: border-box;
}
#MailMessageTr-mobile03 th { opacity: 0;}
#MailMessageTr-tel03 td {border-color: #fff;}
#MailMessageTr-tel03 td::before {
display:inline-block;
vertical-align: middle;
content:'固定電話';
padding: 0 10px 0 0;
font-size: 14px;
line-height: 1;
}
#MailMessageTr-mobile03 td::before {
display:inline-block;
vertical-align: middle;
content:'携帯番号';
padding: 0 10px 0 0;
font-size: 14px;
line-height: 1;
}

@media only screen and (max-width: 767px) {
#MailMessageTr-mobile03 th {
  height: 0;
  padding: 0;
}
#MailMessageTr-tel03 td::before {
display:block;
padding: 0 0 8px 0;
}
#MailMessageTr-mobile03 td::before {
display:block;
padding: 0 0 8px 0;
}
}



#MailMessageTr-address_banchi p.rei1, #MailMessageTr-address_banchi p.rei2, #MailMessageTr-address_banchi p.rei3, #MailMessageTr-address_banchi p.rei4 {
color: #222;
font-size: 1.3rem;
line-height: 1.5;
padding-bottom: 5px;
}
#MailMessageTr-address_banchi p.rei1 {
padding-bottom: 0;
}
#MailMessageTr-address_banchi p.rei3 {
padding-top: 5px;
padding-bottom: 0;
}
#MailMessageTr-address_banchi p.rei2, #MailMessageTr-address_banchi p.rei4 {
border-bottom: solid 1px #ccc;
}
#MailMessageTr-address_banchi p.note {
margin-top: 5px;
}

