@charset "UTF-8";

/*---------------------------------------------------------*/

html {font-size: 62.5%}/*=font-size:10px*/
body,html {height:100%;}
body {
  position: relative;
  font-size: 14px;
  color: #555555;
  background-color: #F8FAFA;
  font-family: Verdana,"ヒラギノ角ゴシック Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

p, pre, blockquote, ul, ol, dl, dt, dd, hr, form, input {
  margin: 0;
  padding: 0;
}

img, table, figure {
  margin: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  table-layout: fixed;
}

li {
  list-style: none;
}

address {
  font-style: normal;
}

img {
  margin: 0;
  padding: 0;
  border: none;
  vertical-align: bottom;
}

strong {
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: bold;
}

em {
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: bold;
  font-style: normal;
}

a {
  outline: none;
  transition: color .3s, background-color .3s;
}

a:link {
  color: #1F93D0;
  text-decoration: underline;
}

a:visited {
  color: #935fc3;
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: none;
}

input, textarea, select, button {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

button {
  padding: 0 !important;
  border: none;
  background: none;
  outline: none;
}


a {
  -webkit-tap-highlight-color: transparent;
}

.inline-block {
  display: inline-block;
}

/*---------------------------------------------------------*/

.fontcolor--red {color: #CC3838 !important;}
.fontcolor--orange {color: #EB8F24 !important;}
.fontcolor--blue {color: #1F93D0 !important;}
.fontcolor--green {color: #45A83C !important;}

/*---------------------------------------------------------*/

.bordercolor--red,
.bordercolor--red > * {border-color: #CC3838 !important;}
.bordercolor--orange,
.bordercolor--orange > * {border-color: #EB8F24 !important;}
.bordercolor--blue,
.bordercolor--blue > * {border-color: #1F93D0 !important;}
.bordercolor--green,
.bordercolor--green > * {border-color: #45A83C !important;}

/*---------------------------------------------------------*/

a.btncolor--white,
.btncolor--white {
  color: #555555;
  text-decoration: none;
  border: 1px solid #777777;
  background: #ffffff;
}
.btncolor--white:hover,
.btncolor--white:focus {
  box-shadow: 0 0 8px #d5d5d5 !important;
}
.submitset .btncolor--white {
  box-shadow: 0 10px 10px rgba(180, 180, 180, 0.2);
}
.submitset .btncolor--white:hover,
.submitset .btncolor--white:focus {
  background: #f1f1f1;
  box-shadow: 0 0 10px rgba(180, 180, 180, 0.2) !important;
}


a.btncolor--red,
.btncolor--red {
  border: none;
  color: #fff;
  text-decoration: none;
  background: #CC3838;
}
.btncolor--red:hover,
.btncolor--red:focus {
  box-shadow: 0 0 8px #CC3838 !important;
}
.submitset .btncolor--red {
  box-shadow: 0 10px 10px rgba(204, 56, 56, 0.2);
}
.submitset .btncolor--red:hover,
.submitset .btncolor--red:focus {
  filter: brightness(115%);
  box-shadow: 0 0 10px rgba(204, 56, 56, 0.2) !important;
}

a.btncolor--orange,
.btncolor--orange {
  border: none;
  color: #fff;
  text-decoration: none;
  background: #EB8F24;
}
.btncolor--orange:hover,
.btncolor--orange:focus {
  box-shadow: 0 0 8px #EB8F24 !important;
}
.submitset .btncolor--orange {
  box-shadow: 0 10px 10px rgba(235, 143, 36, 0.2);
}
.submitset .btncolor--orange:hover,
.submitset .btncolor--orange:focus {
  filter: brightness(115%);
  box-shadow: 0 0 10px rgba(235, 143, 36, 0.2) !important;
}

a.btncolor--green,
.btncolor--green {
  border: none;
  color: #fff;
  text-decoration: none;
  background: #45A83C;
}
.btncolor--green:hover,
.btncolor--green:focus {
  box-shadow: 0 0 8px #45A83C !important;
}
.submitset .btncolor--green {
  box-shadow: 0 10px 10px rgba(69, 168, 60, 0.2);
}
.submitset .btncolor--green:hover,
.submitset .btncolor--green:focus {
  filter: brightness(115%);
  box-shadow: 0 0 10px rgba(69, 168, 60, 0.2) !important;
}

a.btncolor--blue,
.btncolor--blue {
  border: none;
  color: #fff;
  text-decoration: none;
  background: #1F93D0;
}
.btncolor--blue:hover,
.btncolor--blue:focus {
  box-shadow: 0 0 8px #1F93D0 !important;
}
.submitset .btncolor--blue {
  box-shadow: 0 10px 10px rgba(31, 147, 208, 0.2);
}
.submitset .btncolor--blue:hover,
.submitset .btncolor--blue:focus {
  filter: brightness(115%);
  box-shadow: 0 0 10px rgba(31, 147, 208, 0.2) !important;
}

/*---------------------------------------------------------*/

#layout {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto !important;
  min-height: 100%;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}

header {
  padding: 0 40px;
  background: #ffffff;
}

#headerInner {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  position: relative;
  width: 100%;
  max-width: 1380px;
  height: 70px;
  margin: 0 auto;
}

header h1 {
  flex: 0 0 200px;
  width: 200px;
}
header h1 img {
  display: block;
  width: 100%;
  height: auto;
}
header h2 {
  padding: 0 20px;
  font-weight: normal;
  font-size: 20px;
  overflow: hidden;
}
header h2 span {
  width: 100%;
  white-space: nowrap;
  -webkit-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
header .steps {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  width: 120px;
  height: 100%;
  margin-left: auto;
  font-family: 'Jost', Verdana, sans-serif;
  font-style: italic;
  line-height: 1;
  background: #101010;
}
header .steps em {
  display: inline-block;
  font-style: italic;
  font-weight: normal;
  font-size: 22px;
  color: #ffffff;
}
header .steps span {
  display: inline-block;
  padding-left: 1em;
  color: #C6C6C6;
}

main {
  padding: 0 40px 40px 40px;
}
#wrapper-main {
  display: block;
  max-width: 1380px;
  margin: 0 auto;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 40px;
  background: #101010;
}
#footerInner {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  
  max-width: 1380px;
  height: 40px;
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.4em;
}

footer address {
  font-style: normal;
  letter-spacing: 1px;
}
footer address a:link,
footer address a:visited {
  color: #ffffff;
  text-decoration: none;
}
footer address a:hover {
  color: #4aaee2;
}

@media screen and (max-width: 1280px) {
  header {
    padding: 0 0 0 20px;
  }
  header .steps {
    flex: 0 0 100px;
    width: 100px;
  }
  main {
    padding: 0 20px 40px 20px;
  }
  footer {
    padding: 0 20px;
  }
}
@media screen and (max-width: 767px) {
  header {
    padding: 0 0 0 10px;
  }
  #headerInner {
    display: block;
    height: auto;
  }
  header h1 {
    width: 100px;
    padding: 12px 0 10px 2px;
  }
  header h2 {
    padding: 0 10px 12px 0;
    font-size: 16px;
  }
  header .steps {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 26px;
  }
  header .steps em {
    font-size: 16px;
  }
  header .steps span {
    font-size: 10px;
  }
  main {
    padding: 0 10px 40px 10px;
  }
  footer {
    padding: 0 10px;
  }
}

/*---------------------------------------------------------*/

.note {
  margin: 20px 0;
  line-height: 1.6;
}
.note > * {
  margin-top: 1.0em;
}
.note img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}
.formset-wrapper table .note {
  padding-left: 80px;
}
.note ul {
  counter-reset: notenumber 0;
}
.note li {
  position: relative;
  padding-left: 1.5em;
}
.note li + li {
  margin-top: 0.3em;
}
.note li::before {
  position: absolute;
  left: 0;
  content: "◆";
}
.note .number li::before {
  position: absolute;
  left: 0;
  counter-increment: notenumber 1; 
  content: counter(notenumber) ". ";
}

.note .border {
  display: inline-block;
  margin: 0 0.4em;
  padding: 0 0.4em;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
}
.note .border:nth-child(1) {
  margin-left: 0;
}
.note .border-blue {color: #1F93D0;border-color: #1F93D0;}
.note .border-red {color: #CC3838;border-color: #CC3838;}
.note .border-orange {color: #EB8F24;border-color: #EB8F24;}

/*---------------------------------------------------------*/

.form-wrapper {
  margin: 20px 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(175, 175, 175, 0.2);
}
.form-wrapper h3 {
  padding: 10px 20px;
  font-size: 18px;
  line-height: 1.2;
  color: #444444;
  border-bottom: 1px solid #E5E5E5;
}
.form-wrapper h3.title--large {
  padding: 20px;
}
.form-wrapper h3.title--center {
  text-align: center;
}

.form-wrapper h3.title--red {
  color: #CC3838;
  /*background-color: rgba(204, 56, 56, 0.1);*/
}
.form-wrapper h3.title--orange {
  color: #EB8F24;
  /*background-color: rgba(235, 143, 36, 0.1);*/
}
.form-wrapper h3.title--blue {
  color: #1F93D0;
  /*background-color: rgba(31, 147, 208, 0.1);*/
}
.form-wrapper h3.title--green {
  color: #45A83C;
  /*background-color: rgba(69, 168, 60, 0.1);*/
}

.form-wrapper h3:last-child {
  border: none;
  border-radius: 8px;
}

.form-wrapper table {
  width: calc( 100% - 40px );
  margin: 0 auto;
}
.form-wrapper th,
.form-wrapper td {
  min-height: 40px;
  font-weight: normal;
  border-top: 1px solid #E5E5E5;
  text-align: left;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.form-wrapper th {
  width: 280px;
  padding: 28px 0;
  line-height: 1.6;
  vertical-align: top;
}
.form-wrapper th span {
  display: inline-block;
}
.form-wrapper td {
  position: relative;
  padding-left: 80px;
  line-height: 1.6;
}
.form-wrapper tr:nth-child(1) th,
.form-wrapper tr:nth-child(1) td {
  border: none;
}

.form-wrapper tr.confirm th {
  padding: 20px 0;
}
.form-wrapper tr.confirm td {
  padding: 20px 0 20px 80px;
  line-height: 1.6;
}

.form-wrapper h4.hr-title {
  position: relative;
  margin: 20px 0 20px -80px;
  padding: 0 0 0 80px;
  font-weight: normal;
  font-size: 12px;
}
.form-wrapper h4.hr-title::after {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  width: 100%;
  height: 8px;
  border-top: 1px solid #d5d5d5;
  border-right: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  z-index: 2;
}
.form-wrapper h4.hr-title span {
  position: relative;
  display: inline-block;
  padding: 4px 1.5em;
  background: #f5f5f5;
  border: 1px solid #d5d5d5;
  border-radius: 5em;
  z-index: 3;
}

/*---------------------------------------------------------*/

.fin-image {
  width: 200px;
  margin: 60px auto;
  background: #1F93D0;
  border-radius: 100px;
}
.fin-image img {
  display: block;
  width: 100%;
  height: auto;
}

.form-fin {
  padding: 5px 40px;
}
.form-fin > p {
  line-height: 1.6;
}
.form-fin > * {
  margin: 30px 0;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.form-fin .number {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  line-height: 1;
}
.form-fin .number span {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;

  min-width: 140px;
  padding: 0.8em 1em;
  color: #ffffff;
  background: #45A83C;
}
.form-fin .number em {
  padding-left: 0.8em;
  font-weight: normal;
  font-size: 24px;
  font-family: 'Jost', Verdana, sans-serif;
}

.form-fin dl {
  display: table;
}
.form-fin dt,
.form-fin dd {
  display: table-cell;
  vertical-align: top;
}
.form-fin dt {
  width: 2em;
}

/*---------------------------------------------------------*/

.approval-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(175, 175, 175, 0.2);
}

.approval-wrapper table {
  margin: 0 auto;
}
.approval-wrapper td {
  padding: 20px 50px;
}
.approval-wrapper td .radioset {
  margin: 20px 0;
}
.approval-block {
  position: relative;
}

/*---------------------------------------------------------*/

a.modal-ticker {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: -4px;
  margin-left: 8px;
  background: #101010 url(../img/icon_faq.svg) no-repeat 50% 50%;
  border-radius: 10px;
  vertical-align: middle;
}

/*---------------------------------------------------------*/

.form-container {
  margin: 20px 0;
}

.form-block {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;

  margin-top: -10px;
  margin-left: -10px;
}
.form-block > div {
  margin-top: 10px;
  margin-left: 10px;
}

.form-block--2 > div {
  width: calc( 50% - 10px );
}
.form-block--3 > div {
  width: calc( 33.33% - 10px );
}
.form-block--4 > div {
  width: calc( 25% - 10px );
}
.form-block--5 > div {
  width: calc( 20% - 10px );
}
.form-block--6 > div {
  width: calc( 16.66% - 10px );
}

/*---------------------------------------------------------*/

.form-reqbox {
  position: relative;
}
.form-req {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  position: absolute;
  bottom: -42px;
  left: -80px;
  width: 60px;
  height: 22px;
  font-size: 10px;
  line-height: 1;
  background: #E0E0E0;
  border-radius: 11px;
}
.form-req--req {
  color: #ffffff;
  background: #80BC65;
}

/*---------------------------------------------------------*/

.button {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  -webkit-appearance: none;
  appearance: none;
  height: 40px;
  padding: 0 15px;
  border-radius: 6px;
  white-space: nowrap;
  transition: .5s;
  outline: none;
  cursor: pointer;
}

/*---------------------------------------------------------*/

.form-focus {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  position: relative;
  max-width: calc( 100% - 10px );
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid #d5d5d5;
  transition: .5s;
}
.form-focus--noborder {
  border: none;
}
.form-focus--active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
}
.form-focus > div {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  -ms-flex: 2 1 auto;
  min-width: 0;
  display: inline-block\9;

  min-height: 40px;
  padding: 8px 15px;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.form-focus > div + div {
  border-left: 1px solid #d5d5d5;
}

.form-focus .name {
  position: absolute;
  top: -6px;
  left: 10px;
  display: block;
  padding: 0 5px;
  font-size: 12px;
  line-height: 1;
  color: #707070;
  z-index: 2;
}
.form-focus .name::before {
  position: absolute;
  top: 4px;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background: #ffffff;
  z-index: -1;
}

.form-focus .unit {
  padding: 0 14px;
  border-left: 1px solid #d5d5d5;
  white-space: nowrap;
}
.form-focus .name + .unit,
.form-focus .unit:nth-child(1) {
  border-left: none;
  border-right: 1px solid #d5d5d5;
}
.form-focus .unit:last-child {
  margin-left: auto;
}

.form--w100 {
  width: calc( 100% - 10px );
}
.form--w75 {
  width: calc( 75% - 10px );
}
.form--w50 {
  width: calc( 50% - 10px );
}
.form--w25 {
  width: calc( 25% - 10px );
}
.form--w20 {
  width: calc( 20% - 10px );
}
.form--fix {
  flex: 2 0 auto;
}

/*---------------------------------------------------------*/

.approval-block .error {
  margin-bottom: -10px;
}
.error {
  display: none;
  width: 100%;
}
.error--active {
  display: block;
}
.error--alpha span {
  opacity: .2;
}

.error span {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  padding: 0.5em 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #ffffff;
  background: #d84b4b;
  box-shadow: 0 0 5px #d84b4b;
}
.error span::after {
  position: absolute;
  bottom: -3px;
  left: 16px;
  content: "";
  width: 8px;
  height: 8px;
  background: #d84b4b;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  box-shadow: 0 0 5px #d84b4b;
}

.error--focus {
  border-color: #d84b4b;
}

/*---------------------------------------------------------*/

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
select {
  flex: 2 0 auto;
  width: 1%;
  height: 38px;
  padding: 0 15px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
  outline: none;
}

textarea {
  display: block;
  width: 100%;
  padding: 7px 15px;
  font-size: 14px;
  line-height: 1.8;
  border-radius: 6px;
  border: none;
  outline: none;
  transition: .5s;
}

.disabled,
:disabled {
  background-color: #f1f1f1 !important;
}

:-ms-input-placeholder {
  color: #aaa;
}

::-webkit-input-placeholder {
  color: #ccc;
}

:-moz-placeholder,
::-moz-placeholder {
  color: #aaa;
}

:required {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
}

select {
  display: block;
  padding: 0 30px 0 15px;
  background: transparent url(../img/f_select.svg) no-repeat right 10px top 50%;
  cursor: pointer;
  outline: none;
  text-indent: 0.01px;
  text-overflow: '';
}

@-moz-document url-prefix() {/*firefox*/
  select {padding: 0 30px 0 10px;}
}

select::-ms-expand {
  display: none;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #555555;
}

/*---------------------------------------------------------*/

textarea:focus {box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);}

input[type="radio"],
input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.radioset {
  position: relative;
  display: table;
}
.radioset label {
  display: table-cell;
  vertical-align: middle;

  height: 40px;
  line-height: 1.2;
  padding: 0 20px 0 50px;
  cursor: pointer;
}

.radioset label:empty {
  padding: 0 0 0 40px;
}

.approval-wrapper .radioset {
  display: table;
}
.approval-wrapper .radioset > * {
  display: table-cell;
  vertical-align: middle;
}
.approval-wrapper .radioset > *:last-child {
  padding: 0 0 0 10px;
}

.radioset label::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 40px;
  height: 40px;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 6px;
  transition: .5s;
}

.radioset input[type="radio"] + label::before {
  border-radius: 50%;
}

.radioset label:hover::before,
.radioset input:focus + label::before {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.radioset label::after {
  position: absolute;
  display: block;
  top: 9px;
  left: 9px;
  margin: auto;
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 0;
  background-color: #1F93D0;
  opacity: 0;
  transition: .5s;
}
.radioset input[type="radio"] + label::after {
  border-radius: 50%;
}

.radioset input:checked + label::after {
  opacity: 1;
}

.radioset input:checked + label::before {
  border-color: #1F93D0;
}

/*---------------------------------------------------------*/

.radioset-hasLine {
  display: block;
}

.radioset-hasLine label {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  position: relative;
  width: 100%;
  height: 40px;
  padding: 0 15px 0 39px;
  line-height: 1.2;
  background-color: #ffffff;
  border: 1px solid #d5d5d5;
  box-shadow: 0 0 10px transparent;
  border-radius: 6px;
  transition: .5s;
  cursor: pointer;
}

.radioset-hasLine label:hover,
.radioset-hasLine input:focus + label {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.radioset-hasLine label::before {
  position: absolute;
  top: 10px;
  left: 11px;
  content: "";
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
}
.radioset-hasLine input[type="radio"] + label::before {
  border-radius: 9px;
}

.radioset-hasLine label::after {
  position: absolute;
  top: 14px;
  left: 15px;
  content: "";
  width: 10px;
  height: 10px;
  background: #29AEF4;
  border-radius: 0;
  opacity: 0;
  transition: .5s;
}
.radioset-hasLine input[type="radio"] + label::after {
  border-radius: 5px;
}

.radioset-hasLine input:checked + label{
  background-color: #EFEFEF;
}

.radioset-hasLine input:checked + label::after {
  opacity: 1;
}

/*color*/
.radioset-hasLine--blue label {
  color: #1F93D0;
  background-color: #ffffff;
  border-color: #1F93D0;
}
.radioset-hasLine--blue label::before {
  border-color: #1F93D0;
}
.radioset-hasLine--blue input:checked + label {
  color: #ffffff;
  background-color: #1F93D0;
  border-color: #1F93D0;
}
.radioset-hasLine--blue input:checked + label::before {
  border-color: #ffffff;
}

.radioset-hasLine--red label {
  color: #CC3838;
  background-color: #ffffff;
  border-color: #CC3838;
}
.radioset-hasLine--red label::before {
  border-color: #CC3838;
}
.radioset-hasLine--red label::after {
  background-color: #E86D6D;
}
.radioset-hasLine--red input:checked + label {
  color: #ffffff;
  background-color: #CC3838;
  border-color: #CC3838;
}
.radioset-hasLine--red input:checked + label::before {
  border-color: #ffffff;
}

.radioset-hasLine--orange label {
  color: #EB8F24;
  background-color: #ffffff;
  border-color: #EB8F24;
}
.radioset-hasLine--orange label::before {
  border-color: #EB8F24;
}
.radioset-hasLine--orange label::after {
  background-color: #F5AC58;
}
.radioset-hasLine--orange input:checked + label {
  color: #ffffff;
  background-color: #EB8F24;
  border-color: #EB8F24;
}
.radioset-hasLine--orange input:checked + label::before {
  border-color: #ffffff;
}

/*---------------------------------------------------------*/

.form-file {
  position: relative;
  transition: .3s;
}
.form-file span {
  display: -ms-flexbox;/*IE10*/
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;/*IE10*/
  -webkit-box-align: center;
  align-items: center;

  width: calc( 100% - 140px );
  height: 38px;
  padding: 0 170px 0 10px;
  background: #ffffff;
  border-right: none;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
}
.form-file input {
  position: absolute;
  opacity: 0;
  width: 0;
}
.form-file label {
  display: -ms-flexbox;/*IE10*/
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;/*IE10*/
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;/*IE10*/
  -webkit-box-align: center;
  align-items: center;

  position: absolute;
  top: -1px;
  right: -1px;
  min-width: 140px;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: #1F93D0;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: .3s;
}
.form-file:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.form-file:hover label {
  filter: brightness(115%);
}

/*---------------------------------------------------------*/

.label {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;

  min-height: 40px;
  padding: 9px 15px;
  border-radius: 6px;
  border: 1px solid #d5d5d5;
  transition: .5s;
  outline: none;
}
.label--center {
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.label--black {
  text-decoration: none;
  border: 1px solid #101010;
}

.label--red {
  color: #CC3838;
  text-decoration: none;
  border: 1px solid #CC3838;
}

.label--orange {
  color: #EB8F24;
  text-decoration: none;
  border: 1px solid #EB8F24;
}

.label--green {
  color: #45A83C;
  text-decoration: none;
  border: 1px solid #45A83C;
}

.label--blue {
  color: #1F93D0;
  text-decoration: none;
  border: 1px solid #1F93D0;
}

/*---------------------------------------------------------*/

.error--activeset .error {
  display: block;
}
.error--activeset .form-focus {
  border-color: #d84b4b;
}

/*---------------------------------------------------------*/

.submitset {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;

  margin: 60px 0;
  margin-left: -5px;
}

.submitset--center {
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  margin: 60px auto;
}

.submitset--right {
  -ms-flex-pack: end;
  -webkit-box-pack: end;
  justify-content: flex-end;
  margin-right: -5px;
}

.submitset *:not(form) {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-width: 180px;
  margin: 5px;
  height: 58px;
  padding: 0 1.8em !important;
  font-size: 18px;
  text-align: center;
  border-radius: 5em;
  box-shadow: 0 0 8px transparent;
  white-space: nowrap;
  transition: .5s;
  outline: none;
  cursor: pointer;
}

.submitset a,
.submitset div:not(.formset-file) {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
}

.modal .submitset,
.modal .submitset--center {
  margin-top: 40px;
  margin-bottom: 40px;
}
.modal .submitset *:not(form) {
  height: 46px;
  padding: 0 1.2em;
  font-size: 16px;
  border-radius: 6px;
}

/*---------------------------------------------------------*/

.modal {
  position: relative;
}

.modal h2 {
  padding: 15px 20px;
  font-weight: normal;
  font-size: 1.6rem;
  color: #ffffff;
  background: #101010;
}

.modal-body {
  padding: 1px 50px;
  max-height: calc( 100vh - 100px );
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-body > * {
  margin: 40px 0;
}

.modal-text {
  line-height: 1.6;
}
.modal-text p + p {
  margin-top: 1.5em;
}

.modal table {
  width: 100%;
  line-height: 1.2;
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
}

.modal th {
  width: 1%;
  padding: 10px;
  font-size: 12px;
  font-weight: normal;
  color: #aaaaaa;
  text-align: left;
  border-top: 1px dotted #d5d5d5;
  white-space: nowrap;
}

.modal td {
  padding: 10px;
  border-top: 1px dotted #d5d5d5;
  border-left: 1px dotted #d5d5d5;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/*---------------------------------------------------------*/

@media screen and (max-width: 1280px) {
  .fin-image {
    width: 160px;
    height: 160px;
    margin: 40px auto;
  }
  .form-wrapper th {
    width: 200px;
  }
  .form-block--3 > div,
  .form-block--4 > div {
    width: calc( 50% - 10px );
  }
  .form-block--5 > div,
  .form-block--6 > div {
    width: calc( 25% - 10px );
  }
  .form--w25 {
    width: calc( 50% - 10px );
  }
}

@media screen and (max-width: 834px) {
  .form-block--5 > div,
  .form-block--6 > div {
    width: calc( 50% - 10px );
  }
}

@media screen and (max-width: 767px) {
  .form-wrapper h3 {
    padding: 10px;
    font-size: 16px;
    border: none;
  }
  .form-wrapper table {
    width: 100%;
  }
  .form-wrapper th,
  .form-wrapper td {
    display: block;
    width: 100%;
    min-height: auto;
  }
  .form-wrapper th,
  .form-wrapper tr.confirm th {
    padding: 5px 10px;
    font-size: 12px;
    border-top: 1px dotted #e5e5e5;
    background: #f9f9f9;
  }
  .form-wrapper td {
    padding: 0 10px 0 10px;
    border: none;
  }
  .form-wrapper tr.confirm td {
    padding: 15px 10px;
  }
  .fin-image {
    width: 100px;
    height: 100px;
    margin: 40px auto;
  }
  .form-fin {
    padding: 5px 20px;
  }
  .form-fin > * {
    margin: 15px 0;
  }
  .form-fin .number span {
    min-width: 100px;
  }
  .form-fin .number em {
    padding-left: 14px;
    font-size: 18px;
  }
  .form-wrapper h4.hr-title {
    margin: 20px 0;
    padding: 0;
    font-size: 10px;
  }
  .form-wrapper h4.hr-title::after {
    border-right: none;
    border-left: none;
  }
  .form-req {
    position: static;
    margin-bottom: 10px;
  }
  .approval-wrapper {
    width: 100%;
  }
  .approval-wrapper td {
    padding: 1px 20px;
  }
  .form--w75,
  .form--w50 {
    width: calc( 100% - 10px );
  }
  .radioset label,
  .radioset-hasLine label {
    font-size: 12px;
  }
  .submitset {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .submitset *:not(form) {
    height: 48px;
    font-size: 16px;
  }
  .modal-body {
    padding: 1px 20px;
  }
  .modal-body > * {
    margin: 20px 0;
  }
}

/*---------------------------------------------------------*/

.select2 {
  width: 100% !important;
}

/*---------------------------------------------------------*/

.terms-wrapper {
  margin: 20px 0;
  padding: 40px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(175, 175, 175, 0.2);
}

.terms-wrapper h3 {
  position: relative;
  margin-bottom: 70px;
  padding: 1em 0 2.5em 0;
  text-align: center;
  font-size: 24px;
}
.terms-wrapper h3::after {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  content: "";
  width: 200px;
  height: 1px;
  background: #101010;
}

.terms-wrapper > *:not(h3) {
  margin: 40px 0;
  line-height: 1.8;
}
.terms-wrapper > h3 + * {
  margin-bottom: 60px;
}
.terms-wrapper h4 {
  position: relative;
  font-size: 18px;
}
.terms-wrapper h4::before {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #d5d5d5;
}
.terms-wrapper h4 span {
  position: relative;
  display: inline-block;
  padding-right: 1em;
  background: #ffffff;
  z-index: 10;
}

.terms-wrapper ul.indent {
  margin-left: 1.4em;
}
.terms-wrapper ul {
  counter-reset: number 0;
}
.terms-wrapper ul ul {
  margin: 20px 0;
}
.terms-wrapper li {
  position: relative;
  padding-left: 1.5em;
}
.terms-wrapper ul.brackets > li,
.terms-wrapper .block-indent {
  padding-left: 3em;
}
.terms-wrapper > ul.brackets > li + li {
  margin-top: 40px;
}
.terms-wrapper li::before {
  position: absolute;
  left: 0;
  counter-increment: number 1; 
  content: counter(number) ". ";
}
.terms-wrapper ul.brackets li::before {
  content: "（" counter(number) "）";
}
.terms-wrapper ul.lower-roman li::before {
  content: counter(number, lower-roman) ". ";
}
.terms-wrapper li + li {
  margin-top: 10px;
}

.terms-wrapper .date-set {
  display: table;
  margin: 20px 0 20px auto;
  padding: 20px 40px;
  background: #f5f5f5;
}

@media screen and (max-width: 768px) {
  .terms-wrapper {
    padding: 20px;
    margin-bottom: 40px;
  }
  .terms-wrapper h3 {
    font-size: 18px;
  }
  .terms-wrapper h4 {
    font-size: 16px;
  }
}

/*---------------------------------------------------------*/

/*---------------------------------------------------------*/
