/* for body */
body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	/*background: #f0f0f0;*/
	color: #333;
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3";
}
::placeholder{
  color:#ccc
}


@media screen and (min-width: 641px){

#form {
	border-collapse: collapse;
	margin: 1em 0;
    width: 100%;
}
#form th, #form td {
	border: 1px solid #ccc;
	padding: 8px;
}
#form th {
	white-space: nowrap;
	background: #eee;
}
#form td {background: #fff;}

/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {color: #dd0000;}
.reserve_box {
    display: flex;
}
.reserve_box div:first-child {
    margin-right: 20px;
}
/* for back-button */
form.back {margin-top: 2em;}


#wrapper {
    background: #fcfef7;
    margin: 0 auto;
    width: auto;
    padding-bottom: 40px;
}
.contents {
    margin: 0 auto;
    width: 900px;
}
.basic_box {
    border: solid 1px #ccc;
    border-top: none;
    padding: 20px;
    background: #fff;
    overflow: hidden;
}
.personal_info_box {
    display: flex;
    border: solid 1px #ededed;
    border: solid 1px #ddd;
    border-bottom: 0;
}
.bb_last {
    border-bottom: solid 1px #ddd;
}
.personal_info_title {
    background: #eee;
    padding: 10px;
    width: 30%;
    display: flex;
    align-items: center;
    font-size: 20px;
}
.required_text {
    color: #fff;
    background: #d70101;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    display: inline-block;
    margin-bottom: 5px;
}
h1 {
    font-size: 30px;
    background: #319b03;
    text-indent: 4.2em;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2);
    padding: 28px 5px 18px 0;
    color: #fff;
    width: 895px;
    height: 49px;
    margin: 0;
}
h2 {
    border: solid 1px #ccc;
    border-bottom: none;
    background: #d6eacd;
    color: #319b03;
    text-align: center;
    font-size: 30px;
    padding: 27px 23px 20px 0;
    margin-bottom: 0;
    width: auto;
}
h3 {
    color: #319b03;
    border: solid 2px #83c068;
    padding: 15px 0 10px;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
    font-size: 24px;
}
.box_h1 {
    position: relative;
    padding-top: 30px;
}
.box_h1 + .basic_box.reserve_box{
    margin-top: 25px;
    border-top: solid 1px #ccc;
}
.img_title_builtin {
    position: absolute;
    left: 10px;
    top: 15px;
}
#select_form {
    position: relative;
}
.form_top_text {
    padding: 10px;
    border: solid 2px #d6eacd;
    margin: 10px 0 30px;
    font-size: 22px;
    color: #319b03;
    font-weight: bold;
    text-align: center;
}
.required_title_text {
    vertical-align: middle;
    color: #fff;
    background: #d70101;
    font-size: 16px;
    padding: 4px 10px 2px;
    border-radius: 4px;
    margin-left: 15px;
    display: inline-block;
    margin-top: -6px;
}
.gas_type_modal {
    background: #ff7e13;
    border-radius: 4px;
    padding: 5px 8px 3px 32px;
    color: #fff;
    position: absolute;
    font-size: 15px;
    margin-top: 10px;
    top: 23px;
    right: 30px;
    text-align: center;
}
.gas_type_modal a {
    display: block;
    position: absolute;
    top: 7px;
    left: 0;
    height: 100%;
    width: 100%;
}
.gas_type_modal a::before {
    content: url(https://www.sunrefre.jp/img/common/question.png);
    position: absolute;
    bottom: 7px;
    left: 8px;
}

.pc_none {display: none;}
.mt10 {margin-top: 10px;}   
.mt20 {margin-top: 20px;}
.mb20 {margin-bottom: 20px;}
.mr5 {margin-right: 5px !important;}
.center {text-align: center;}
.pic_info {color: #d70101;}
.text_posi {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 5px !important;
}
.basic_box ul {
    list-style: none;
    font-size: 20px;
    width: 100%;
    box-sizing: border-box;
}
/*.personal_info_box ul {padding: 20px !important;}*/
/*.personal_info_box ul li {margin: 10px 0;}*/
.name_box {display: flex;}
.input_text_align {
    display: inline-block;
    vertical-align: sub;
}
input:not(.btn) {
    /*font-size: 18px;*/
    height: 22px;
    padding: 5px 10px 5px 10px;
    /*border: solid 2px #999;*/
}
.wd450 {width: 450px;}
.img_send_box {padding: 0;}
.imgupld dd {
    margin: 0;
    float: left;
    font-size: 14px;
    position: relative;
}
.inputFileWrapper:before {
    content: url(https://www.sunrefre.jp/img/freeform/common/btn_tenpu_pc.png);
    width: 264px;
    height: 67px;
    display: inline-block;
    vertical-align: middle;
    text-indent: 0;
}
.inputFileWrapper input[type=file] {
    opacity: 0;
    display: block;
    width: 100%;
    height: 54px;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    padding: 0;
}
.inputFileWrapper:after {
    content: '選択されていません';
    display: inline-block;
    vertical-align: middle;
    text-indent: 10px;
}
    
.dn {display:none}
.input_fileupload {width: 350px;}
.btn_fileupload {
    background:url(https://www.sunrefre.jp/img/freeform/common/btn_tenpu_pc.png);
    border: none;
    width: 268px;
    height: 67px !important;
    margin-left: 10px;
    cursor: pointer;
    /* float: left; */
    display: inline-block;
    vertical-align: middle;
}
.btn_box {
    margin-top: 10px;
    display: inline-block;
}
.btn_box:hover{opacity: .8;}

/**********************************************************
個人情報保護方針
***********************************************************/ 
.agreement_check_block-wrap {margin-bottom: 20px;}
.agreement_check_block-wrap .attention {text-align: center;}
.agreement_check_block {
    border: 3px solid #ccc;
    padding: 20px 20px;
    background: rgb(251, 251, 219);
    font-size: 18px;
}
.agreement_check_block input[type=checkbox] {
    width: 20px;
    height: 20px 20px 20px;
    vertical-align: middle;
    -moz-transform-origin: right middle;
    -moz-transform: scale( 1.3 , 1.3 );
}
    
/**********************************************************
送信ボタン　戻るボタン
***********************************************************/    
.btn_esti {
    height: auto !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100%;
}
.submit_btn {
    border: none;
    width: 576px;
    height: 99px !important;
    background: url(https://www.sunrefre.jp/img/default/pt/btn_send.png) left top no-repeat;
    text-indent: -9999px;
}
.submit_btn:hover{
	cursor: pointer;
    opacity: .8;
}
/*.conf_btn {
    border: none;
    width: 576px;
    height: 99px !important;
    background: url(https://www.sunr.jp/pt/img/btn_confirm.png) left top no-repeat;
    text-indent: -9999px;
}
.conf_btn:hover{
	cursor: pointer;
    opacity: .8;
}*/
.button_btn {
    border: none;
    width: 238px;
    height: 67px !important;
    background: url(https://www.sunrefre.jp/img/default/pt/btn_return.png) left top no-repeat;
    text-indent: -9999px; 
}
.button_btn:hover{
	cursor: pointer;
    opacity: .8;
}
.btn {
    display: flex;
    justify-content: space-between;
}
    
/**********************************************************
ボタン下テキスト
***********************************************************/     
.direct_send_text {
    text-align: center;
    margin: 20px 0 0;
}

/**********************************************************
footer
***********************************************************/
#footer {
    border-top: #159220 solid 4px;
    background-color: #fff;
    width: auto;
    padding: 10px 0 10px 0;
}
#footer_left {
    display: flex;
    justify-content: space-between;
}
#footer > div {
    width: 900px;
    margin: 0 auto;
}

}



/*****************************************************************************************************************
SP
*****************************************************************************************************************/
@media screen and (max-width: 640px) {
    
#body { margin-left: 0; }

/* 投稿フォーム */

#form th, #form td {
    text-align: left;
    width: auto;
    display: block;
    padding: 6px 3px;
    border-top: none;
    border: 1px solid #ccc;
	padding: 8px;
}
#form tr:first-child th	{ border-top: 1px solid #ccc; }
/*p.btn input { width: 10em; }*/

/* 小見出し */
/*h2 { margin: 1em 3px; width: 90%; }*/

/* サンクス */
/*p.msg { margin: 1em auto; }*/
    
.sp_none {display: none;}    
#form {
	border-collapse: collapse;
    width: 100%;
}

#form th {
	white-space: nowrap;
	background: #eee;
    border-bottom: none;
}
#form tr {
    display: block;
    margin-bottom: 10px;
}
#form td {background: #fff;}

/* for message */
p.msg {
	color: #dd0000;
	margin: 0;
}
span.msg {color: #dd0000;}
    .msg {margin-bottom: 10px;}    
.reserve_box {
    display: flex;
}
.reserve_box div:first-child {
    margin-right: 20px;
}

/* for back-button */
form.back {margin-top: 2em;}


#wrapper {
    /*background: #fcfef7;*/
    margin: 2%;
    width: auto;
    padding-bottom: 20px;
}
.contents {
    margin: 0 auto;
    width: auto;
}
.modal_wrap_gastype {
    position: relative;
    background: #ff7e13;
    padding: 10px 8px 7px 32px;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    margin-top: 10px;
    border-radius: 4px;
}
.basic_box {
    border: solid 1px #ccc;
    border-top: none;
    padding: 20px;
    background: #fff;
    overflow: hidden;
}
.personal_info_box {
    display: grid;
    border: none;
}
.personal_info_title {
    background: #eee;
    padding: 10px;
    width: auto;
    display: flex;
    align-items: center;
}
.required_text {
    color: #fff;
    background: #d70101;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    display: inline-block;
    margin-bottom: 3px;
}
h1 {
    font-size: 18px;
    background: #319b03;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2);
    padding: 10px 5px;
    color: #fff;
    margin: 0;
}
h2 {
    border: solid 1px #ccc;
    border-bottom: none;
    background: #d6eacd;
    color: #319b03;
    text-align: center;
    font-size: 18px;
    padding: 10px 5px;
    margin-bottom: 0;
    width: auto;
}
h3 {
    color: #319b03;
    border: solid 2px #83c068;
    padding: 15px 0 10px;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
    font-size: 24px;
}
#select_form {
    position: relative;
}
.form_top_text {
    padding: 10px;
    border: solid 2px #d6eacd;
    margin: 0 0 20px;
    color: #319b03;
    font-weight: bold;
}
.required_title_text {
    vertical-align: middle;
    color: #fff;
    background: #d70101;
    font-size: 14px;
    padding: 2px 6px 0;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    margin-top: -6px;
}
.gas_type_modal {
    background: #ff7e13;
    border-radius: 4px;
    padding: 5px 8px 3px 32px;
    color: #fff;
    position: relative;
    font-size: 15px;
    margin-top: 10px;
    text-align: left;
    font-weight: normal;
    border: solid 1px #fff;
    display: inline-block;
}
.gas_type_modal a {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
.gas_type_modal::after {
    content: url(https://www.sunrefre.jp/img/common/question.png);
    position: absolute;
    bottom: 0;
    left: 8px;
}
.mt10 {margin-top: 10px;}    
.mt20 {margin-top: 20px;}
.mb20 {margin-bottom: 20px;}
.mr5 {margin-right: 5px !important;}
.center {text-align: center;}
.pic_info {color: #d70101;}
.sp_block {display: block;}
.text_posi {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px !important;
}
.basic_box ul {
    list-style: none;
    width: 100%;
    box-sizing: border-box;
}
.personal_info_box ul {padding: 0;}
.personal_info_box ul li {
    margin: 0;
    width: 100%;
}
.name_box {
    display: flex;
    margin: 10px 0;
}
.input_text_align {
    display: inline-block;
    vertical-align: sub;
}
input:not(.btn) {
    /*font-size: 18px;*/
    height: 22px;
    padding: 5px 10px 5px 10px;
    /*border: solid 2px #999;*/
    width: 80%;
}
.wd450 {width: auto;}
.img_send_box {padding: 0;}
.imgupld dd {
    margin: 0;
    float: left;
    font-size: 14px;
    position: relative;
}
.inputFileWrapper:before {
    content: url(https://www.sunrefre.jp/img/freeform/common/btn_tenpu_pc.png);
    width: 264px;
    height: 67px;
    display: inline-block;
    vertical-align: middle;
    text-indent: 0;
}
.inputFileWrapper input[type=file] {
    opacity: 0;
    display: block;
    width: 100%;
    height: 54px;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    padding: 0;
}
.inputFileWrapper:after {
    content: '選択されていません';
    display: inline-block;
    vertical-align: middle;
    text-indent: 10px;
}
    
.dn {display:none}
.input_fileupload {
    width: auto;
}
.btn_fileupload {
    background:url(https://www.sunrefre.jp/img/freeform/common/btn_tenpu_pc.png);
    border: none;
    width: 268px !important;
    height: 67px !important;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}
.btn_box {
    margin-top: 15px;
    text-align: center;
    border: dotted 1px #ddd;
    padding: 10px 0 10px;
    border-radius: 4px;
}
.btn_box:hover{opacity: .8;}    

/**********************************************************
個人情報保護方針
***********************************************************/
.agreement_check_block-wrap {margin-bottom: 20px;}
.agreement_check_block-wrap .attention {
    /*text-align: center;*/
    margin: 20px;
}
.agreement_check_block {
    border: 2px solid #ccc;
    padding: 0 10px;
    background: rgb(251, 251, 219);
    font-size: 16px;
}
.agreement_check_block input[type=checkbox] {
    width: 20px;
    height: 20px 20px 20px;
    vertical-align: middle;
    -moz-transform-origin: right middle;
    -moz-transform: scale( 1.3 , 1.3 );
}
.privacy_text {
    text-indent: -2em;
    margin-left: 2em;
}
    
/**********************************************************
送信ボタン　戻るボタン
***********************************************************/    
/*.btn_esti {
    width: 643px !important;
    height: 106px !important;
    border: none !important;
}*/
.submit_btn {
    border: none;
    /*background-size: contain;
    padding: 13% !important;*/
    background: url(https://www.sunrefre.jp/img/default/pt/btn_send.png) left top no-repeat;
    text-indent: -9999px;
    /*display: block;
    width: 100%;
    height: auto !important;*/
    cursor: pointer;
    background-size: contain;
    padding-top: 11% !important;
    width: 100%;
    height: auto !important;
    margin-top: 20px;
}
.submit_btn:hover{
	cursor: pointer;
    opacity: .8;
}
/*.button_btn {
    border: none;
    width: 236px;
    height: 63px !important;
    background: url(https://www.sunr.jp/pt/img/btn_return.png) left top no-repeat;
    text-indent: -9999px; 
}*/
.button_btn {
    border: none;
    width: 180px;
    height: 40px !important;
    background: url(https://www.sunrefre.jp/img/default/pt/btn_return.png) left top no-repeat;
    text-indent: -9999px;
    background-size: contain;
}
.button_btn:hover{
	cursor: pointer;
    opacity: .8;
}
.btn {
    display: block;
    margin-bottom: 0;
    /*display: flex;
    justify-content: space-between;*/
}
.btn_esti {
    height: auto !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100%;
}    
    
    
/**********************************************************
ボタン下テキスト
***********************************************************/     
.direct_send_text {
    /*text-align: center;*/
    margin: 20px 20px 0;
}

/**********************************************************
footer
***********************************************************/
#footer {
    border-top: #159220 solid 4px;
    width: auto;
    padding: 10px 0 0 0;
    text-align: center;
}
#footer_left {
    display: flex;
    justify-content: space-between;
}
#footer > div {
    display: block;
    margin: 0 0 5px 0;
}    
.footer_text {font-size: 12px;}    
    
    
    

    
}
