@charset "UTF-8";

/**
 * layer.css
 *
 * # contact
 *
*/

main {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: #EFFBFF;
}

.layer-ttl {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1;
  text-align: center;
}

.layer-ttl-sub {
  margin-bottom: 60px;
  color: #0037FF;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.layer-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 60px;
  background-color: #fff;
  border-radius: 20px;
}

@media screen and (max-width:500px) {
  
  main {
    padding-bottom: 0;
  }
  
  .layer-content {
    padding: 30px 20px 60px;
    border-radius: 0;
  }
  
}

/* # スタイル
   -------------------------------------------------------------------------- */

.layer-content p:not([class]) {
  font-size: 14px;
  line-height: 2;
}

.layer-content p:not([class]) + p:not([class]) {
  margin-top: 20px;
}

.layer-content h2:not([class]) {
  margin: 60px 0 30px;
  font-size: 20px;
  line-height: 1.5;
}

.layer-content table:not([class]) {
  width: 100%;
  font-size: 14px;
  line-height: 2;
  border-top: 1px solid #AADCEC;
}
.layer-content table:not([class]) th {
  padding: 20px;
  background-color: #EFFBFF;
  border-bottom: 1px solid #AADCEC;
}
.layer-content table:not([class]) td {
  padding: 20px;
  border-bottom: 1px solid #AADCEC;
}

@media screen and (max-width:500px) {
  
  .layer-content table:not([class]) {
    line-height: 1.5;
  }
  .layer-content table:not([class]) th {
    padding: 10px;
  }
  .layer-content table:not([class]) td {
    padding: 10px;
  }
}

.layer-content ul:not([class]) {
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
}
.layer-content ul:not([class]) li {
  position: relative;
  padding-left: 14px;
}
.layer-content ul:not([class]) li:before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}
.layer-content ul:not([class]) li + li {
  margin-top: 10px;
}



/* ==========================================================================
   # contact
   ========================================================================== */

.form-step {
  margin-bottom: 30px;
  padding-top: 16px;
  text-align: center;
  font-size: 0;
  letter-spacing: 0;
  line-height: 1;
}
.form-step-item {
  position: relative;
  display: inline-block;
}
.form-step-item + .form-step-item {
  position: relative;
  margin-left: 30px;
}
.form-step-item + .form-step-item:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 30px;
  height: 1px;
  background-color: #ddd;
}
.form-step-item .num {
  position: absolute;
  left: 50%;
  top: -16px;
  font-size: 12px;
  transform: translateX(-50%);
}
.form-step-item .txt {
  width: 56px;
  padding: 20px 0;color: #999;
  font-size: 16px;
  background-color: #eee;
  border-radius: 50%;
}
.form-step-item.on .txt {
  color: #111;
  background-color: #F7FF00;
}

.form-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 20px;
}
.form-table {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 20px;
}
.form-content td {
  position: relative;
  width: 50%;
  padding: 0 0 20px;
  vertical-align: top;
}

/* # 見出し
   -------------------------------------------------------------------------- */
.form-head {
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  padding-left: 45px;
  font-size: 14px;
  font-weight: bold;
  font-weight: 600;
  line-height: 1.2857142857;
}
.form-head .hissu,
.form-head .nini {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 40px;
  padding: 3px 0;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  background-color: #0037FF;
  border-radius: 2px;
}
.form-head .nini { background-color: #999; }

/* # text
   -------------------------------------------------------------------------- */
.form-input {
  display: block;
  width: 100%;
  padding: 0 20px;
  height: 60px;
  font-size: 16px;
  line-height: normal;
  border-radius: 4px;
  border: 1px solid #DDDDDD;
  background-color: #EFEFEF;
}
.form-input:-webkit-autofill { box-shadow: 0 0 0 1000px #EFEFEF inset; }

/* # textarea
   -------------------------------------------------------------------------- */
.form-textarea {
  display: block;
  width: 100%;
  padding: 18px 20px;
  height: 120px;
  font-size: 16px;
  line-height: normal;
  line-height: 1.25;
  border-radius: 4px;
  border: 1px solid #DDDDDD;
  background-color: #EFEFEF;
}

::placeholder { color: #b7bec5; }

/* # radio
   -------------------------------------------------------------------------- */
.form-radio-wrap {
  overflow: hidden;
  margin-bottom: -10px;
}

.form-radio {
  float: left;
  display: block;
  margin: 0 20px 10px 0;
}

.form-radio input { display: none; }
.form-radio label {
  position: relative;
  display: block;
  padding-left: 25px;
  font-size: 16px;
  line-height: 1.25;
}
.form-radio label:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #DDDDDD;
  background-color: #EFEFEF;
  border-radius: 50%;
  transform: translateY(-50%);
}
.form-radio label:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 10px;
  height: 10px;
  background-color: #FF4800;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translateY(-50%);
}
.form-radio input:checked + label { color: #FF4800; }
.form-radio input:checked + label:after { opacity: 1; }

/* # checkbox
   -------------------------------------------------------------------------- */
.form-checkbox-wrap {
  overflow: hidden;
  margin-bottom: -10px;
}
.form-checkbox-wrap.privacy {
  text-align: center;
}

.form-checkbox {
  float: left;
  display: block;
  margin: 0 20px 10px 0;
}
.form-checkbox-wrap.privacy .form-checkbox {
  float: none;
  display: inline-block;
}

.form-checkbox input { display: none; }
.form-checkbox label {
  position: relative;
  display: block;
  padding-left: 25px;
  font-size: 16px;
  line-height: 1.25;
}
.form-checkbox label:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #DDDDDD;
  background-color: #EFEFEF;
  border-radius: 2px;
  transform: translateY(-50%);
}
.form-checkbox label:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transition: opacity 0.3s;
  transform-origin: left bottom;
  transform: translateY(-50%) rotate(-45deg);
}
.form-checkbox input:checked + label { color: #FF4800; }
.form-checkbox input:checked + label:before {
  background-color: #FF4800;
  border-color: #FF4800;
}
.form-checkbox input:checked + label:after { opacity: 1; }

.form-checkbox-wrap.privacy .form-checkbox label a {
  color: #111;
}

/* # select
   -------------------------------------------------------------------------- */
.form-select-wrap {
  position: relative;
  margin-bottom: -20px;
  padding-bottom: 20px;
}
.form-select-wrap:before {
  content: "";
  position: absolute;
  top: 30px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform-origin: top right;
  transform: rotate(135deg);
}
.form-select{
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0 20px;
  color: #333;
  font-size: 16px;
  line-height: normal;
  background: linear-gradient(#fff, #eee);
  border: 1px solid #999;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* # validation
   -------------------------------------------------------------------------- */
.formError,
.error {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FF5DBE;
  font-size: 12px;
  line-height: 1;
}

.form-checkbox-wrap.privacy + .formError {
  left: 50%;
  transform: translateX(-50%);
}

/* # btn
   -------------------------------------------------------------------------- */
.form-confirm {
  display: block;
  width: 280px;
  margin: 0 auto;
  padding: 30px 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  background-color: #999;
  border-radius: 42px;
}
.form-confirm.active {
  background-color: #FF4800;
  cursor: pointer;
}

.form-back-wrap {
  margin-top: 20px;
  text-align: center;
}
.form-back {
  display: inline-block;
  color: #999;
  font-size: 12px;
  line-height: 1;
  text-decoration: underline;
}

/* # txt
   -------------------------------------------------------------------------- */
.form-txt {
  margin-bottom: 15px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 2;
}

@media screen and (max-width:500px) {
  
  .form-content {
    border-radius: 0;
  }
  
  .form-table {
    overflow: hidden;
    display: block;
    border-collapse: collapse;
    border-spacing: 0;
  }
  .form-table tbody,
  .form-table tr {
    display: block;
    width: 100%;
  }
  .form-table td {
    clear: left;
    float: left;
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .form-radio {
    float: none;
    margin-right: 0;
  }
  .form-checkbox {
    float: none;
    margin-right: 0;
  }
  
  .form-txt {
    padding: 0;
  }
  .form-txt.tc {
    text-align: left!important;
  }
}













