/* ----------------------- */
/* base
/* ----------------------- */
html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: .03em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  color: #333333;
  text-align: justify;
  background-color: #fff;
}

img {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  list-style: none;
  color: #333333;
  cursor: pointer;
}

/* ----------------------- */
/* btn
/* ----------------------- */
.btn {
  position: relative;
  width: 250px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.btn a {
  display: block;
  height: 60px;
  line-height: 58px;
  font-weight: bold;
  color: #080F73;
  transition: all .4s ease;
  position: relative;
  z-index: 2;
}

.btn.white a::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background-image: linear-gradient(90deg, #4F59E2, #080F73);
  transition: all .4s ease;
  z-index: -1;
}

.btn.white a:hover {
  color: #fff;
  transition: all .4s ease;
}

.btn.white a:hover::before {
  left: 0;
  transition: all .4s ease;
}

.btn.white a:hover::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(45deg);
}

.btn::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #080F73;
  border-right: 2px solid #080F73;
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(45deg);
}

.white {
  width: 250px;
  background-color: #fff;
  border: 1px solid #080F73;
  text-align: center;
}

.yellow {
  background-color: #ffea00;
  text-align: center;
  transition: all .4s ease;
}

.btn.yellow a {
  position: relative;
  z-index: 2;
}

.btn.yellow a::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #fff;
  border: 5px solid #ffea00;
  transition: all .4s ease;
  z-index: -1;
}

.btn.yellow a:hover::before {
  left: 0;
  transition: all .4s ease;
}

.btn.yellow a:hover::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #080F73;
  border-right: 2px solid #080F73;
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(45deg);
}

.y-white {
  background-color: #ffffff;
  text-align: center;
  transition: all .4s ease;
}

.btn.y-white a::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #ffea00;
  transition: all .4s ease;
  z-index: -1;
}

.btn.y-white a:hover::before {
  left: 0;
  transition: all .4s ease;
}

.btn.y-white a:hover::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #080F73;
  border-right: 2px solid #080F73;
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(45deg);
}

.blue {
  background-image: linear-gradient(-90deg, #080F73, #424DDE);
}

.btn.blue a::before {
  content: '';
  display: block;
  width: calc(100% - 2px);
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #fff;
  border: 1px solid #080F73;
  transition: all .4s ease;
  z-index: -1;
}

.btn.blue a:hover {
  color: #080F73;
  transition: all .4s ease;
}

.btn.blue a:hover::before {
  left: 0;
  transition: all .4s ease;
}

.btn.blue a:hover::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #080F73;
  border-right: 2px solid #080F73;
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(45deg);
}


/* ----------------------- */
/* common
/* ----------------------- */
.section_wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 90px;
}

.section_inner {
  max-width: 1040px;
  padding: 0 70px;
  margin: 0 auto;
}

.section_title {
  font-family: 'Open Sans Condensed',sans-serif;
  font-weight: bold;
  font-size: 4.8rem;
  letter-spacing: .1em;
  margin-bottom: 45px;
  text-align: center;
  color: #080F73;
}

.section_title small {
  display: block;
  font-size: 1.6rem;
  letter-spacing: .05em;
  color: #333333;
}

.text-block_border {
  border: 1px solid #080F73;
  text-align: center;
}

.message {
  margin: 23px 20px;
  text-align: center;
}

.bg_blue {
  background-color: rgba(8, 15, 115, 5%);
}
/* ----------------------- */
/* header
/* ----------------------- */
header {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 90px;
  align-items: center;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 100;
  border-bottom: 1px solid #e9e9e9;
}

header h1 {
  width: 215px;
  margin-left: 40px;
}

.nav_wrapper {
  display: flex;
  justify-content: space-between;
}

.nav_list {
  display: flex;
  justify-content: space-between;
  height: 90px;
  align-items: center;
}

.nav_item {
  height: 90px;
  margin-right: 48px;
}

.nav_item a {
  line-height: 90px;
  position: relative;
}

.nav_item a::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  display: block;
  width: 0;
  margin: 0 auto;
  border-bottom: 2px solid #080F73;
  transition: all .4s;
}

.nav_item a:hover::after {
  width: 100%;
}

.btn_contact {
  top: 0;
  right: 0;
  height: 90px;
  padding-right: 20px;
  padding-left: 20px; 
  margin-right: 0;
  background-color: #ffea00;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.btn_contact::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #fff;
  border: 5px solid #ffea00;
  transition: all .4s ease;
  z-index: -1;
}

.btn_contact:hover::before {
  left: 0;
  transition: all .4s ease;
}

.btn_contact a {
  line-height: 90px;
}

/* ----------------------- */
/* fv_lower-page
/* ----------------------- */
.fv_lower-page {
  width: 100vw;
  max-width: 1440px;
  margin: 0 auto;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 90px;
  box-sizing: border-box;
}

.page_title {
  text-align: center;
  font-family: 'Open Sans Condensed',sans-serif;
  font-size: 4.8rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: .1em;
  color: #fff;
}

.page_title small {
  display: block;
  font-size: 2.4rem;
  letter-spacing: .05em;
}

/* ----------------------- */
/* footer
/* ----------------------- */
footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-image: linear-gradient(#4F59E2, #080F73);
  margin-top: 90px;
}

.footer {
  display: flex;
  justify-content: space-between;
}

.footer_left, .footer_right{
  margin: 40px 0 30px;
  color: #fff;
  font-family: 'Noto sans JP', sans-serif;
}

.footer_left h1 {
  width: 285px;
  margin-bottom: 12px;
}

.footer_left p {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.footer_btn {
  width: 100%;
  max-width: 380px;
}

.footer_btn img {
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

.footer_btn::after {
  display: none;
}

.footer_right {
  display: flex;
  justify-content: space-between;
  margin-left: 20px;
}

.footer_right a {
  color: #fff;
}

.f_nav_item, .sns_item {
  margin-bottom: 22px;
}

.f_nav_item {
  position: relative;
  padding-left: 20px;
}

.f_nav_item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  position: absolute;
  top: 30%;
  left: 0;
  transform: rotate(45deg);
}

.footer_nav_left {
  display: flex;
  flex-direction: column;
  margin-right: 150px;
}

.sns_item i{
  font-size: 30px;
  margin-right: 8px;
  vertical-align: middle;
}

.footer_bottom {
  margin: 0 20px;
  border-top: 1px solid #fff;
  line-height: 90px;
  letter-spacing: .1em;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-family: 'Open Sans Condensed',sans-serif;
  font-weight: bold;
}

/* ----------------------- */
/* RWD
/* ----------------------- */

@media screen and (max-width: 768px) {
  /* ----------------------- */
  /* BASE
  /* ----------------------- */
  body {
    font-size: 1.4rem;
  }

  /* ----------------------- */
  /* common
  /* ----------------------- */
  .section_wrapper {
    padding-top: 60px;
  }
  .section_title {
    font-size: 3.6rem;
    margin-bottom: 30px;
    line-height: 1.2;
  }

  .btn {
    font-size: 1.6rem;
  }

  /* ----------------------- */
  /* header_tab
  /* ----------------------- */
  header {
    height: 55px;
  }

  header h1 {
    width: 147px;
    margin: 0 auto;
    order: 2;
  }

  .nav_wrapper {
    order: 3;
  }

  .nav_list {
    display: none;
    width: 100vw;
    height: 280px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    margin-top: 55px;
    padding-right: 70px;
    padding-left: 70px;
    background-color: #fff;
    box-sizing: border-box;
  }

  .nav_item {
    width: 100%;
    height: 70px;
    position: relative;
    border-bottom: 1px solid #E9E9E9;
    box-sizing: border-box;
  }

  .nav_item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 70px;
  }

  .nav_item::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #080F73;
    border-right: 2px solid #080F73;
    position: absolute;
    top: 30px;
    right: 5px;
    transform: rotate(45deg);
  }

  .btn_contact {
    height: 55px;
  }

  .btn_contact a {
    height: 55px;
  }

  .btn_contact span {
    display: none;
  }

  .btn_contact a::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 16px;
    background: url(../images/icon_contact.svg);
    margin-bottom: 15px;
  }

  .btn_trigger {
    position: relative;
    display: block;
    width: 64px;
    height: 39px;
    z-index: 3;
    order: 1;
  }

  .btn_trigger::after {
    content: 'MENU';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
  }
  
  .bar {
    width: 35px;
    height: 2px;
    background-color: #333333;
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
  }


  .bar_top {
    top: 9px;
  }

  .bar_mid {
    top: 50%;
    transform: translateY(-50%);
  }

  .bar_bottom {
    bottom: 10px;
  }

  .btn_trigger.close .bar_top {
    transform: translateY(0px) rotate(45deg);
    transition: transform .3s;
  }

  .btn_trigger.close .bar_mid {
    opacity: 0;
    transition: opacity .3s;
  }

  .btn_trigger.close .bar_bottom {
    transform: translateY(10px) rotate(-45deg);
    transition: transform .3s;
  }

  .btn_trigger.close::after {
    content: 'CLOSE';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
  }

  /* ----------------------- */
  /* fv_lower-page_tab
  /* ----------------------- */
  .fv_lower-page {
    height: 355px;
    padding-top: 55px;
    background-position-x: 50%;
  }

  .page_title {
    font-size: 3.6rem;
  }

  .page_title small {
    font-size: 1.8rem;
  }

  /* ----------------------- */
  /* footer_tab
  /* ----------------------- */
  footer {
    margin-top: 60px;
  }

  .footer {
    flex-direction: column;
  }

  .footer_left, .footer_right{
    margin: 20px 0;
  }

  .footer_left h1 {
    display: none;
  }

  .footer_left p {
    font-size: 1.8rem;
  }

  .footer_right {
    justify-content: space-between;
    font-weight: normal;
  }

  .footer_nav_left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 20px;
    max-width: 300px;
  }

  .footer_nav_right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 280px;
  }

  .f_nav_item {
    margin-right: 50px;
  }

  .sns_item {
    order: 1;
  }

  .footer_nav_right .f_nav_item {
    order: 2;
  }

  .footer_btn a:hover::after {
    display: none;
  }

  .footer_bottom {
    line-height: 56px;
  }

  .footer_bottom::before {
    content: '';
    display: block;
    width: 177px;
    height: 34px;
    background-image: url(../images/logo_white.png);
    background-size: cover;
    margin: 18px auto 0;
  }
  
}

@media screen and (max-width: 411px) {
  /* ----------------------- */
  /* common
  /* ----------------------- */
  .section_inner {
    padding: 0 20px;
  }

  .message {
    margin: 23px 10px;
    text-align: initial;
  }

  /* ----------------------- */
  /* header_sp
  /* ----------------------- */
  .nav_list {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* ----------------------- */
  /* footer_sp
  /* ----------------------- */
  .footer_nav_left {
    max-width: 130px;
  }

  .footer_nav_left, .footer_nav_right {
    flex-direction: column;
    margin-right: 0;
  }

  .f_nav_item {
    margin-right: 0;
  }

}