input {
	vertical-align:middle;
}
input[type="text"],textarea {
    width:100%;
    border: 0;
    background-color: #eee;
    padding: 10px 15px;
    box-sizing: border-box;
    line-height: 1.7;
}
select {
  display:block;
  max-width:100% !important;
}
.sarea {
	width:50% !important;
    min-width: 200px !important;
}
.ssarea {
	width:30% !important;
    min-width: 100px !important;
}
.sssarea {
	width:20% !important;
    min-width: 50px !important;
}


.datebox ul {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}
.datebox ul li:first-child {
    width: 50%;
    margin-right: 10px;
}

label {
	display:block;
    position:relative;
    line-height: 1.7;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
label.nochoice {
    cursor: default !important;
    color: #999;
}
label input[type="radio"],label input[type="checkbox"]{
    margin: -0.15em 2px 0 0;
}
label.error {
	display:none;
	color:#cc0000;
	font-size:12px;
    line-height: 22px;
    line-height: 1.4;
    margin-top: 0.5em;
}

.smbtn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    border-radius: 100px;
    background-color:#6c2d49;
    border-width: 0;
    padding: 20px;
    text-align: center;
    font-size: 1.16em;
    line-height: 1.3;
    color: #fff;
    width: 80%;
    max-width: 400px;
	font-weight:bold;
	cursor:pointer;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}
.smbtn2 {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    border-radius: 100px;
    background-color:#906e57;
    border-width: 0;
    padding: 20px;
    text-align: center;
    font-size: 1.16em;
    line-height: 1.3;
    color: #fff;
    width: 80%;
    max-width: 400px;
	font-weight:bold;
	cursor:pointer;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}
.ref_box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

label.chk {
    padding: 5px 0;
    box-sizing: border-box;
}

label.chtax {
	padding:15px;
	background: linear-gradient(to bottom, #fff, #eee);
    font-size: 1.16em;
}

label.chpr {
	width:230px;
	margin:auto;
	padding:15px;
	background: linear-gradient(to bottom, #fff, #eee);
}
select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 0;
  color: #111;
  line-height: 1.7;
  padding: 10px 40px 10px 15px;
  width: auto;
  box-sizing: border-box;
  position: relative;
  background-color: #eee;
  background-image: url("../img/down.png");
  background-position: right 15px center;
  background-size: 12px auto;
  background-repeat: no-repeat;
  cursor: pointer;
}

#dpick1,#dpick2,#dpick3 {
    width: 100%;
	margin-bottom:10px;
}
.ui-datepicker {
	width:auto !important;
}
.ui-state-default {
    background-color: #f6f4f1 !important;
}
.ui-state-disabled .ui-state-default {
    background-color: #f6f4f1 !important;
}
.ui-state-active {
    background-color: #906e57 !important;
    border-color: #3e2e23 !important;
}
.ui-datepicker th {
    background-color: #fff !important;
}

@media screen and (min-width: 1025px) {
label.error {
    padding: 0 8px;
}
.ref_box label.flt {
	display:block;
	width: calc(100% / 3);
    white-space: nowrap;
}

.table_fm th {
	width:250px;
    background-color: #f5f5f5;
}
.table_fm th img {
	float:right;
	height:18px;
	margin:8px 0 0 10px;
}
.table_fm tr:last-child th,.table_fm tr:last-child td {
    border-bottom:none !important;
}
}

@media screen and (max-width: 1024px) {
input[type="text"],textarea {
	width:100%;
    border: 0;
    background-color: #eee;
}

label.error {

}
label.chk {
	padding:10px 0 10px 10px;
	background: linear-gradient(to bottom, #fff, #eee);
}
label.chpr {
    padding: 10px;
    width: 100%;
    max-width: 250px;
}
label.tch {
    width: 50%;
    border-right: 1px solid #fff;
}
label.tch2 {
    width: 100%;
    border-right: 1px solid #fff;
}
select {
    width: auto;
}

.table_fm th img {
	float:right;
	height:18px;
	margin:4px 0 0 0;
}

#dpick1 .table,#dpick2 .table,#dpick3 .table {
	display:table;
	width:auto !important;
}
#dpick1 tbody,#dpick2 tbody,#dpick3 tbody {
    display: table-row-group;
}
#dpick1 tr,#dpick2 tr,#dpick3 tr {
	display:table-row;
}
#dpick1 thead th,#dpick2 thead th,#dpick3 thead th {
    background-color: #fff !important;	
}
#dpick1 th,#dpick1 td,#dpick2 th,#dpick2 td,#dpick3 th,#dpick3 td {
	float:none;
	clear:none;
	display:table-cell;
}

}

@media screen and (max-width: 599px) {
.ref_box label.tch {
    font-size: 0.92em;
}
.datebox ul {
    flex-wrap: wrap
}
.datebox ul li:first-child {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
}

label.chtax {
    font-size: 1em;
}

}

@media screen and (max-width: 460px) {
.ref_box label.tch {
    font-size: 0.84em;
}
}

