p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .reg {
    font-size: 10px;
    top: -1em;
  }
}
@supports (-ms-ime-align: auto) {
  .reg {
    font-size: 10px;
    top: -1em;
  }
}

.ref {
  font-size: 12px;
  line-height: 26px;
  margin-top: 20px;
}

.inner {
  width: 1020px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 768px) {
  .inner {
    width: 100%;
    padding: 0 20px;
  }
}

.key {
  width: 100%;
  height: 400px;
  background: url(../img/key_bg.jpg) top 9px center/auto 391px no-repeat;
  position: relative;
  background-attachment: fixed;
}
@media screen and (max-width: 768px) {
  .key {
    height: 300px;
    background: url(../img/key_bg-sp.jpg) bottom center/100% auto no-repeat;
    background-attachment: scroll;
  }
}
.key .logo_header {
  position: absolute;
  top: 0;
  left: 20px;
  padding: 10px 30px 15px;
  background: #2a5dab;
  border-radius: 0 0 5px 5px;
  -webkit-box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.2);
          box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .key .logo_header {
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 20px 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 100%;
    border-radius: 0;
    left: 0;
    z-index: 100;
  }
}
.key .logo_header img {
  height: 40px;
}
.key .logo_header .btn-drawer {
  display: none;
}
@media screen and (max-width: 768px) {
  .key .logo_header .btn-drawer {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../img/btn_drawer.png) center center/contain no-repeat;
  }
  .key .logo_header .btn-drawer.open {
    background: url(../img/btn_close.png) center center/contain no-repeat;
  }
}

.nav_wrap {
  height: 70px;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .nav_wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 70px;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    background: #2a5dab;
    z-index: 99;
  }
}

.nav {
  -webkit-box-shadow: 0 5px 6px -4px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 6px -4px rgba(0, 0, 0, 0.3);
  height: 70px;
  width: 100%;
  background: white;
}
@media screen and (max-width: 768px) {
  .nav {
    height: 100%;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: none;
  }
}
.nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.nav .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .nav .inner {
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.nav a {
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 14px;
  font-weight: 600;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}
@media screen and (max-width: 768px) {
  .nav a {
    width: 100%;
    padding: 20px 0;
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    color: white;
    font-size: 16px;
    border-bottom: solid 1px white;
  }
}
.nav a.hover:hover, .nav a.active {
  background: #b71e2c;
  color: white;
}

.section .inner {
  padding: 40px 0 160px;
}
@media screen and (max-width: 768px) {
  .section .inner {
    padding: 40px 20px 100px;
  }
}
.section .text {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .section .text {
    text-align: left;
  }
}
.section .text-medium {
  font-size: 14px;
}
.section a {
  color: #1e1ea0;
}

.heading {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .heading {
    font-size: 24px;
  }
}
.heading:after {
  content: "";
  display: block;
  width: 100px;
  background: #b71e2c;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 50px);
}

.heading-sub {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #b71e2c;
}

.box-border {
  border: solid 1px #333;
  padding: 40px;
  width: 800px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .box-border {
    padding: 40px 20px;
    width: 100%;
  }
}

.layout-table {
  margin-right: auto;
  margin-left: auto;
  width: 700px;
}
@media screen and (max-width: 768px) {
  .layout-table {
    width: 100%;
  }
}
.layout-table .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  border: solid 1px #ccc;
  border-bottom: none;
}
@media screen and (max-width: 768px) {
  .layout-table .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.layout-table .row:last-of-type {
  border-bottom: solid 1px #ccc;
}
.layout-table .head {
  width: 200px;
  min-width: 200px;
  border-right: solid 1px #ccc;
  padding: 10px 20px;
  background: #f9f9f9;
}
@media screen and (max-width: 768px) {
  .layout-table .head {
    width: auto;
    min-width: 0;
    border-right: none;
    border-bottom: solid 1px #ccc;
  }
}
.layout-table .body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px 20px;
}

.layout-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .layout-card {
    width: 100%;
  }
}
.layout-card li {
  width: calc(100%/3);
}
@media screen and (max-width: 768px) {
  .layout-card li {
    width: 50%;
    padding: 0 20px;
  }
}
.layout-card li .img {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 178px;
}
@media screen and (max-width: 768px) {
  .layout-card li .img {
    width: 100%;
  }
}
.layout-card li .card_name {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
}

.layout-form {
  width: 700px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .layout-form {
    width: 100%;
  }
}
.layout-form .row {
  padding: 10px 0;
}
.layout-form .head {
  margin-bottom: 5px;
}
.layout-form input {
  height: 38px;
}
.layout-form input,
.layout-form textarea {
  border: solid 1px #ccc;
  border-radius: 5px;
  width: 100%;
  padding: 6px 10px;
  line-height: 1;
}
.layout-form input:focus,
.layout-form textarea:focus {
  border: solid 1px #608ef5;
  -webkit-box-shadow: 0 0 4px 2px rgba(96, 142, 245, 0.3);
          box-shadow: 0 0 4px 2px rgba(96, 142, 245, 0.3);
}
.layout-form textarea {
  resize: none;
  line-height: 1.5;
}
.layout-form select {
  font-size: 14px;
  width: 100%;
  line-height: 1;
  font-weight: 300;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 6px 10px;
  height: 38px;
  border: solid 1px #ccc;
  border-radius: 5px;
}
.layout-form select:focus {
  border: solid 1px #608ef5;
  -webkit-box-shadow: 0 0 4px 2px rgba(96, 142, 245, 0.3);
          box-shadow: 0 0 4px 2px rgba(96, 142, 245, 0.3);
}
.layout-form select::-ms-expand {
  display: none;
}
.layout-form .label_select {
  position: relative;
  display: inline-block;
  width: 100%;
}
.layout-form .label_select:before {
  content: "";
  position: absolute;
  top: 10px;
  right: 7px;
  border-bottom: 6px solid #333;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}
.layout-form .label_select:after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 7px;
  border-top: 6px solid #333;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}
.layout-form .require {
  background: #b71e2c;
  border-radius: 3px;
  color: white;
  display: inline-block;
  font-size: 13px;
  text-align: center;
  line-height: 1;
  padding: 3px 7px 4px;
  margin-left: 5px;
}

.footer {
  background: white;
  border-top: solid 1px #cbcbcb;
  display: none;
}
@media screen and (max-width: 768px) {
  .footer {
    display: none;
  }
}
.footer .inner {
  padding: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.footer .copy {
  margin-top: 20px;
  font-size: 11px;
  line-height: 21px;
  font-weight: 400;
}
.footer .logo_footer {
  margin-right: 20px;
  height: 45px;
}

.pageTop {
  width: 60px;
  height: 60px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #b71e2c url(../img/toTop.png) center center/37px auto no-repeat;
  z-index: 999;
}
.pageTop.hover:hover {
  opacity: 0.7;
}

.popup_link {
  color: #5cb531;
  font-weight: 700;
  cursor: pointer;
}

.td-u:hover {
  text-decoration: none;
}

.btn_submit {
  width: 200px;
  height: 40px;
  border-radius: 5px;
  border: solid 1px #1b3b6c;
  background: #2a5dab;
  color: white;
  margin-top: 40px;
  display: block;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .btn_submit {
    height: 50px;
    margin-top: 20px;
    width: 100%;
  }
}
.btn_submit:hover {
  opacity: 0.7;
}

.alert {
  display: none;
  color: #b71e2c;
}

.anime_wrap {
  overflow: hidden;
}

.slideup,
.fadein {
  opacity: 0;
}
