@charset "utf-8";
.page_title {
  &::before {
    background: url(../img/page_title.png) no-repeat left bottom;
    background-size: cover;
  }
}

.cont_sec input[type="text"],
.cont_sec input[type="email"],
.cont_sec input[type="password"],
.cont_sec textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* for focus animation */
  -webkit-transition: all .3s;
  transition: all .3s;
  border-radius: 2px;
  border: 1px solid #aaa;
  padding: 5px;
}
.cont_sec input[type="text"]:focus,
.cont_sec input[type="email"]:focus,
.cont_sec input[type="password"]:focus,
.cont_sec textarea:focus {
  box-shadow: 0 0 7px #aaaaff;
}
.cont_sec select {
  padding: 5px;
}
.cont_sec input[type="submit"],
.cont_sec input[type="reset"],
.cont_sec button {
  border-radius: 2px;
  border: 1px solid gray;
  background: linear-gradient(to bottom, #fcfcfc, #ddd);
  padding: 5px 10px;
}
.cont_sec input[type="submit"]:hover,
.cont_sec input[type="reset"]:hover,
.cont_sec button:hover {
  background: linear-gradient(to bottom, #fcfcfc, #fcfcfc);
}
.cont_sec input[type="submit"]:active,
.cont_sec input[type="reset"]:active,
.cont_sec button:active {
  background: linear-gradient(to bottom, #eee, #ccc);
}

.w_full {width: 100%;}
.w_half {width: 50%;}
.w_25pc {width: 25%;}

.required {color: red;}

.msgarea {
  color:#ff0000;
  margin: 20px 0px;
  padding: 10px 20px 10px 20px;
  background-color: #eeeeee;
  border: 1px solid #000088;
}
p.errmsg {
  color:#ff0000;
  margin:0px;
}



.cont_sec {
  max-width: 1024px;
  width: 90%;
  padding: 0 0 96px;
  margin: 0 auto;
  font-size: var(--base-txt);
}
.top_text {
  margin-top: 40px;
}
.top_caution {
  margin: 1em 0 0;
}

/* 三角フロー図
============================================== */
.flow-triangle{
  list-style-type: none;
  display: table;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-bottom: 48px;
  overflow: hidden;
}
.flow-triangle li {
  display: table-cell;
  position: relative;
  background: #DEDEDE;
  padding: 0.7em 0.5em 0.6em 2em;
  color: #000;
  font-weight: bold;
  text-align: center;
  width: 33%;
  font-size: 1.6rem;
}
.flow-triangle li:last-child{
  padding-right: 1em;
}
.flow-triangle li:last-child:before,
.flow-triangle li:last-child:after{
  display:none;
}
.flow-triangle li:before,
.flow-triangle li:after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}
.flow-triangle li:before{
  top:-15px;
  right:-1em;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 40px 0 40px 1em;
  z-index: 1;
}
.flow-triangle li:after{
  top:-15px;
  right:-.8em;
  border-style: solid;
  border-color: transparent transparent transparent #DCDCDC;
  border-width: 40px 0 40px 1em;
  z-index: 1;
}
.flow-triangle li.is-current {
  background: var(--dark-blue);
  color: #fff;
}
.flow-triangle li.is-current:after{
  border-color: transparent transparent transparent var(--dark-blue);
}
.flow-triangle span {
  display: inline-flex;
  justify-content: center;
  margin-right: 10px;
  width: 23px;
  height: 23px;
  background: #fff;
  color: #000;
  line-height: 1.5;
}
.flow-triangle .is-current span {
  background: #fff;
  color: var(--dark-blue);
}
/* ============================================== */

.form-element-container {
  display: table;
  width: 100%;
  margin: 30px auto 0;
  border-top: 1px solid var(--dark-blue);
}
.form-field-input-pair {
  display: table-row;
}
.form-field {
  display: table-cell;
  width: 260px;
  padding: 20px 10px;
  vertical-align: middle;
  text-align: center;
  color: #000;
  border-bottom: 1px solid var(--dark-blue);
  background: #EFF8FF;
}
.form-input {
  display: table-cell;
  vertical-align: middle;
  padding: 20px;
  border-bottom: 1px solid var(--dark-blue);
  background: #fff;
  span.ml10 {display: inline-block;margin-left: 10px;}
}

.btn_box {
  width: 100%;
  max-width: 571px;
  margin: 56px auto 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.btn_box--block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px 72px;
  width: 100%;
}

.main input[type="submit"],
.main input[type="reset"],
.main button {
  background: var(--dark-blue);
  padding: 5px 10px;
  color: #fff;
  font-size: 1.6rem;
  width: 100%;
  max-width: 160px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}
.main input[type="reset"],
.main input[type="submit"].back {
  background: #CBCBCB;
  color: #fff;
}
.main input[type="submit"]:hover,
.main input[type="reset"]:hover,
.main button:hover {
  cursor: pointer;
  opacity: 0.8;
}

.back_home {
  text-align: center;
  margin: 60px 0 0;
  a {
    color: #fff;
    padding: 15px 35px;
    background: var(--dark-blue);
  }
}

@media screen and (max-width: 767px) {
  .form-field-input-pair {
    display: block;
  }
  .form-field {
    display: block;
    box-sizing: border-box;
    vertical-align: middle;
    width: 100%;
    padding: 15px 8px;
    text-align: left;
  }
  .form-input {
    width: 100%;
    padding: 15px 8px;
    box-sizing: border-box;
    display: block;
  }
  .form-input.flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 20px;
  }

  /* 三角フロー図 ----------------------------*/
  .flow-triangle {
    display: flex;
  }
  .flow-triangle span {
    display: block;
    margin: 0 auto 2px;
    width: 20px;
    height: 20px;
    font-size: 1.4rem;
  }
  .flow-triangle li {
    padding: 8px 1% 5px 3%;
    font-size: 1.2rem;
    width: 33%;
  }
  .flow-triangle li:nth-child(2) {
    font-size: 1.05rem;
    span {margin-bottom: 5px;}
  }
  /* ============================================== */

  .btn_box {
    padding: 0;
    gap: 28px;
  }
  .btn_box--block {
    gap: 20px;
  }
}