﻿@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');

body {
  font-family :"Noto Sans JP",YuGothic, 'Yu Gothic', sans-serif!important;
}

p {
  margin: 0;
  line-height: 1.6;
}

input, button, textarea, select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-section {
  max-width: 530px;
  width: 100%;
  margin: auto;
}

.form-heading{
  margin-bottom: 40px;
  padding: 18px 0 12px;
  background: #efefef;
  font-weight: bold;
  color: #333;
  font-size: 16px;
  text-align: center;
}

.form-heading span {
  color: #4c5e75;
  font-size: 10px;
}

.form-steps {
  margin-bottom: 40px;
  text-align: center;
}

.form-wrapper{
  margin-bottom: 32px;
  padding: 50px 50px 30px;
  background: #efefef;
}
.input-wrapper{
 position: relative;
 max-width: 430px;
 margin-right: auto;
 margin-left: auto;
 margin-bottom: 20px
}

.error-field {
  border: solid 1px red;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: -14px;
  margin-bottom: 14px;
}

.input-wrapper .input-placeholder {
  pointer-events: none;
  font-weight: normal;
  position: absolute;
  top: 8px;
  left: 10px;
  color: #b5b5b5;
  font-size: 16px;
}

.input-wrapper .form-control {
  position: relative;
  font-size: 16px;
  height: 40px;
}
select::-ms-expand {
    display: none;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
  background: #fff;
}

.input-wrapper input{
  max-width: 430px;
}

.input-wrapper  textarea.form-control{
  height: 76px;
}

.require-text{
  z-index: 1;
  position: absolute;
  top: 14px;
  right: 10px;
  color: #b5b5b5;
  font-size: 12pz;
}

.input-wrapper--autofield {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.auto-field-label, 
.auto-field {
  display: table-cell;
  vertical-align: top;
}

.auto-field-label {
  width: 80px;
  padding-top: 3px;
  background: #794e39;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  color: #fff;
}

.auto-field-label span {
  font-size: 10px;
}

.auto-field {
  position: relative;
  width: 100%;
}

.auto-field .form-control {
  border-radius: 0 4px 4px 0;
}

.form-bottom {
  margin-bottom: 24px;
  text-align: center;
}


.form-bottom a {
  color: #333;
  text-decoration: underline;
}


@media (max-width: 768px) {
  .form-wrapper {
    padding: 16px 10px;
  }

  .form-steps {
    padding: 0 8px;
  }
  .form-steps img {
    max-width: 100%;
  }
  .input-wrapper .input-placeholder {
    top: 10px;
    font-size: 12px;
  }
  .input-wrapper .form-control {
    font-size: 12px;
    padding-left: 8px;
  }

  .require-text {
    top: 14px;
    font-size: 10px;
  }
  
  .auto-field-label {
    width: 70px;
  }
  .auto-field {
    width: 100%;
  }

  .auto-field-label {
    padding-top: 6px;
    font-size: 12px;
  }
}

.input-label {
  font-size: 12px;
}

.form-row {
  display: table;
  table-layout: fixed;
  width: 100%;
  background: #dfdfdf;
  padding: 10px 16px 8px;
}

.form-col {
  display: table-cell;
  vertical-align: middle;
}


.form-col.form-col--m {
  width: 104px;
}

.form-col.form-col--l {
  width: 216px;
}

.form-col-label {
  display: table-cell; 
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.2;
}

.form-col-label span {
  color: #777;
  font-size: 10px;
}

.form-col-status {
  display: table-cell;
  width: 122px;
  vertical-align: top;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}

.form-col-status span {
  width: 100%;
  display: block;
  padding: 3px 0 2px;
  background: #333;
  font-weight: normal;
  color: #fff;
}

.form-col-status.is-checked span {
  background: #794e39;
}

.form-col-input {
  display: table-cell;
  width: 94px;
  padding-left: 14px;
  vertical-align: middle;
}

.form-col-select {
  display: table-cell;
  width: 104px;
  /*padding-left: 14px;*/
  vertical-align: middle;
}

.form-col-select 
.form-attention-text {
  clear: both;
  margin-top: 10px;
  font-size: 12px;
}


.red-text {
  font-weight: bold;
  color: #c70202;
}

.form-attention-text {
  color :#606060;
  font-size: 12px;
}

.sub-field {
  margin-top: 2px;
  background: #dfdfdf;
  padding: 18px 24px 16px;
}

.sub-field .auto-field {
  width: 298px;
}

.sub-field-label {
  display: block;
  text-align: center;
  font-size: 13px;
  margin-bottom: 10px;
}


@media (max-width: 768px) {
  .form-row {
    overflow: hidden;
    display: block;
    padding: 14px 10% 12px;
  }

  .form-col-label,
  .form-col-status,
  .form-col-input {
    display: block;
  }

  .form-col {
    display: block;
  }

  .form-col.form-col--m, 
  .form-col.form-col--l {
    width: 100%;
  }

  .form-col-label {
    margin-bottom: 6px;
  }

  .form-col-status {
    float: left;
    width: 50%;
  }
  .form-col-input {
    width: 50%;
    float: left;
  }

  .form-col-input .tgl-btn {
    margin: 0 auto;
  }

  .sub-field {
    padding: 18px 10px 12px;
  }

  .sub-field .auto-field{
    width: 100%;
  }

  .form-attention-text {
    margin-right: 10px;
    font-size: 10px;
  }
  .form-attention-text br{
    display: none;
  }
}


.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper.select-wrapper--m{
  width: 104px;
}

.select-wrapper.select-wrapper--l{
  width: 216px;
}

.select-wrapper select{
  position: relative;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
}

.select-wrapper:after{
  display: block;
  position: absolute;
  content: "";
  width: 16px;
  height: 14px;
  top: 38%;
  right: 6px;
	pointer-events: none;
  background: url(../form_img/arrow.png) no-repeat;
  -webkit-background-size: 100%;
  background-size: 100%;
}

.select-fields {
  width: 340px;
  margin: 0 auto 20px;
}

.select-fields .select-wrapper {
  float: left;
  display: block;
  width: 104px;
  margin-right: 10px;
}

.select-fields .select-wrapper:last-child {
  margin-right: 0;
}

.select-fields .error-message {
  position: absolute;
  margin-top: 0;
  text-align: center;
}

#datepicker-error {
  margin-top: 10px;
}
.submit-btn {
  margin: 0 auto 24px;
  display: block;
  background: #794e39;
  font-size: 16px;
  width: 230px;
  height: 60px;
  padding: 0;
  line-height: 60px;
  font-weight: bold;
  color: #fff;
  border-radius: 5px;
  border-bottom: solid 3px #333;
}

.submit-btn.moreorder {
width: 330px;
}

.submit-btn:hover {
  color :#fff;
  opacity: .7;
}

@media (max-width: 768px) {
  .select-fields {
    width: 100%;
  }
  .select-wrapper.select-wrapper--m{
    float: none;
    display: block;
    width: 240px;
    margin:0px auto 12px;
  }

  .select-wrapper select {
    font-size: 12px;
  }
  .select-fields .select-wrapper:last-child {
    margin-right: auto;
  }
}

.about-goods-image, .about-goods-text {
  display: block;
}

.about-goods-image {
  width: auto;
  background: #fff;
  text-align: center;
}

.about-goods-image img {
  display: inline-block;
}
.about-goods-text {
  width: auto;
}

.soryo-table-wrapper {

}

.soryo-table-wrapper span {

}

.soryo-table {
  max-width: 100%;
  table-layout: fixed;
  width: 100%;
  font-size: 9px;
  border-top: solid 1px #b9b9b9;
}

.soryo-table th:first-child{
  width: 80px;
  vertical-align: middle;
}

.soryo-table td{
  font-size: 11px;
  text-align: center;
}

/* Utility
//----------------------------------------------------------------- */
.mt-n { margin-top: 0 !important; }

.mt-s { margin-top: 10px; }

.mr-s { margin-right: 10px; }

.ml-s { margin-left: 6px; }

.mb-s { margin-bottom: 10px; }

.text-center { text-align: center; }

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
/* IE7,MacIE5 */
.clearfix {
  display: inline-block;
}
/* WinIE6 below, Exclude MacIE5 \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}

.form-icon {
  display: inline-block;
  margin-right: 4px;
  vertical-align: 2px;
}

.flatpickr-calendar.open, .flatpickr-calendar.inline {
  padding-top: 8px;
  padding-bottom: 16px;
  width: 100%;
  top: 6px;
}

.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after{
  display: none;
}

.flatpickr-current-month {
  padding: 0 !important;
}

.flatpickr-current-month input.cur-year {
  color: #454545 !important;
}
.flatpickr-month {
  margin: 10px 0 16px;
}

.flatpickr-rContainer {
  margin-right: auto;
  margin-left: auto;
}

.flatpickr-day.today {
  border : solid 2px #794e39 !important;
}

.flatpickr-day.selected {
  background: #794e39 !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  border-color: #794e39 !important;
}

.flatpickr-current-month span.cur-month, 
.flatpickr-current-month input.cur-year {
  font-size: 16px !important;
  font-weight: bold !important;
}

@media (max-width: 768px) {
  .flatpickr-rContainer,
  .flatpickr-rContainer .flatpickr-days,
  .flatpickr-rContainer .dayContainer {
    width: 280px;
    min-width: auto;
    min-width: initial;
    min-width: 0;
  }

  .flatpickr-rContainer {
    padding: 10px;
  }
  
  .form-heading {
    padding: 12px 0 12px;
    margin-top: 0px;
    margin-bottom: 20px;
}
    .form-steps {
        margin-bottom: 20px;
    }
    .form-wrapper{
    	margin-bottom: 0px;
    }
}
/* Checkbox Toggle Btn
//----------------------------------------------------------------- */
.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 80px;
  height: 40px;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-light + .tgl-btn {
  background: #fff;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}
.tgl-light + .tgl-btn:after {
  border-radius: 50%;
  background: #747474;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}
.tgl-light:checked + .tgl-btn {
  background: #794e39;
}
.tgl-light:checked + .tgl-btn:after{
  background: #fff;
}

@media screen and (max-width:640px){
	.input-wrapper input[type=text].form-control, .input-wrapper input[type=tel].form-control, .input-wrapper select.form-control,.select-wrapper select.form-control, .input-wrapper textarea.form-control{
		font-size: 16px;
	}
}

.form-wrapper.memberinfo {
    padding: 20px 50px 10px;
    margin-bottom: 12px;
}

.form-wrapper.nonmemberinfo {
    padding: 20px 50px 30px;
}

.nextstep2, .nextstep3 {
    text-align: center;
    padding:10px;
    width:40px;
    margin:0 auto;
    border:1px solid #000;
    border-radius: 20px;
    background:#666;
}

.nextstep2 a, .nextstep3 a {
    color:#fff;
}

.loginsave {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

@media (max-width: 600px) {
.form-wrapper.memberinfo {
    padding: 5px 20px 1px;
    margin-bottom: 3px;
}

.form-wrapper.nonmemberinfo {
    padding: 5px 20px 10px;
}


}