* {
  box-sizing: border-box;
}

a {
  color: unset;
  text-decoration: none;
  cursor: pointer;
}
/*
h2, h3, h4, p {
  margin: 0;
  color: #162866;
}
*/
img {
  display: block;
}
p {
  font-size: 18px;
  line-height: 2.0;
}
h2 {
  line-height: 1.5;
}
h3 {
  line-height: 1.7;
}

.view_pc {
  display: block!important;
}
.view_sp {
  display: none!important;
}
.view_pc_header {
  display: block!important;
}
.view_sp_header {
  display: none!important;
}
.br_pc {
  display: inline!important;
}
.br_sp {
  display: none!important;
}

/* reChapture非表示 */
.grecaptcha-badge {
  display: none;
}



/*====================================================================
header
====================================================================*/
header {
  padding: 20px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  z-index: 100;
}
.header_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  position: relative;
}
.header_right {

}
.header_right img {
  height: 60px;
}
.header_left {

}
.header_left a {
  color: #162866;
  font-size: 16px;
  font-weight: bold;
  margin: 0 7px;
}
.header_left .btn_white {
  border: #162866 solid 2px;
  padding: 10px 15px;
  background: #162866;
  color: #fff;
}
.header_left .btn_red {
  border: solid 2px #E11C1E;
  padding: 10px 15px;
  background: #E11C1E;
  color: #fff;
}



/*====================================================================
footer
====================================================================*/
footer {
  background: #162866;
  color: #fff;
  padding: 50px 0 30px;
  position: relative;
}
.footer_flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
  align-items: center;
}
.footer_left {
  width: 450px;
  font-size: 12px;
  font-weight: bold;
}
.footer_left img {
  width: 250px;
}
.footer_left_flex {
  display: flex;
  justify-content: space-between;
}
.footer_left_flex a {

}
.footer_right {
  width: 400px;
}
.footer_right_flex {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.footer_right_flex a {
  width: 50%;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.copyright {
  font-size: 11px;
  color: #fff;
  font-weight: bold;
}
.footer_space {
  display: block;
  height: 80px;
}

.footer_info {
  position: absolute;
  right: 20px;
  bottom: 20px;
  border: solid #fff 1px;
  padding: 5px;
}


/*====================================================================
ハンバーガーメニュー
====================================================================*/
.g_menu_btn {
  width: 40px;
  height: 20px;
  position: relative;
}
.g_menu_btn span {
  width: 100%;
  height: 2px;
  position: absolute;
  left: 50%;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.g_menu_btn span:nth-of-type(1) {
  top: 0;
  background: #162866;
}
.g_menu_btn span:nth-of-type(2) {
  top: 50%;
  background: linear-gradient(270deg, rgba(225, 28, 30, 0) 20%, #E11C1E 20.1%);
}

.g_menu_btn.active span:nth-of-type(1) {
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  background: #fff;
}
.g_menu_btn.active span:nth-of-type(2) {
  width: 100%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
  /*background: linear-gradient(90deg, #162866 40%, #162866 40.1%);*/
  background: #fff;
}

.g_nav {
  display: flex;
  width: 100%;
  height: 115vh;
  background: #162866;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 8000;
  padding-top: 66px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}
.g_nav.active {
  left: 0;
  z-index: 8000;
}
.g_nav nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px;
}
.g_nav nav a {
  /*color: #162866;*/
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-top: solid 1px #fff;
  padding: 8px 0;
  position: relative;
}
.g_nav nav a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}
.g_nav nav .a_last {
  border-bottom: solid 1px #fff;
}
.g_nav nav .btn_white {
  border: none;
  margin-top: 30px;
  background: #fff;
  color: #162866;
  text-align: center;
  padding: 10px 0;
}
.g_nav nav .btn_white::after {
  display: none;
}
.g_nav nav .btn_red {
  border: none;
  margin-top: 20px;
  background: #E11C1E;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}
.g_nav nav .btn_red::after {
  display: none;
}

.color {
  opacity: 1;
  display: block;
}
.white {
  opacity: 0;
  display: none;
}
.color.unactive {
  opacity: 0;
  display: none;
}
.white.active {
  opacity: 1;
  display: block;
}



/* 画像の無限ループ */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: 200vw;
}
.scroll-infinity__item>img {
  width: 100%;
}



/* /////////////////////// */
/* サイズの小さいPC */
/* /////////////////////// */
@media screen and (max-width:1300px){
  header {
    padding: 20px 15px;
  }
  .header_right img {
    height: 50px;
  }
  .header_left a {
    font-size: 16px;
    margin: 0 5px;
  }
  .header_left .btn_white,
  .header_left .btn_red {
    padding: 10px 7px;
  }
}
@media screen and (max-width:1200px){
  .header_right img {
    height: 45px;
  }
  .header_left a {
    font-size: 15px;
  }
  .header_left .btn_white,
  .header_left .btn_red {
    padding: 10px 5px;
  }
}
@media screen and (max-width:1150px){
  header {
    padding: 20px 10px;
  }
  .header_right img {
    height: 45px;
  }
}
@media screen and (max-width:1100px){
  .header_left a {
    margin: 0 4px;
  }
  .header_right img {
    height: 40px;
  }
}
@media screen and (max-width:1050px){
  .footer_flex {
    max-width: 770px;
  }
  .footer_left {
    width: 350px;
    font-size: 10px;
  }
  .header_left a {
    font-size: 14px;
  }
  .header_right img {
    height: 35px;
  }
  .header_left a {
    font-size: 14px;
  }
  .footer_left img {
    width: 200px;
  }
  .footer_right {
    width: 350px;
  }
  .footer_right_flex a {
    font-size: 14px;
  }
  .copyright {
    font-size: 10px;
  }
}
@media screen and (max-width:1000px){
  header {
    height: 90px;
  }
  .header_left a {
    font-size: 13px;
    margin: 0 3px;
  }
  .header_left .btn_white {
    padding: 8px 5px;
  }
  .header_left .btn_red {
    padding: 8px 5px;
  }
}
@media screen and (max-width:950px){
  .view_pc_header {
    display: none!important;
  }
  .view_sp_header {
    display: block!important;
  }
  header {
    padding: 20px 20px;
  }
  .header_right img {
    height: 50px;
  }
  .footer_info {
    right: 10px;
    bottom: 10px;
    font-size: 12px;
  }
}
@media screen and (max-width:900px){
  header {
    padding: 20px 5px;
  }
  .footer_info {
    font-size: 10px;
  }
}
@media screen and (max-width:850px){
  .header_left a {
    margin: 0 3px;
  }
  .header_left .btn_white {
    padding: 6px 3px;
  }
  .header_left .btn_red {
    padding: 6px 3px;
  }
}

/* /////////////////////// */
/* レスポンシブ対応 */
/* /////////////////////// */
@media screen and (max-width:768px){
  .view_pc {
    display: none!important;
  }
  .view_sp {
    display: block!important;
  }
  .br_pc {
    display: none!important;
  }
  .br_sp {
    display: inline!important;
  }

  /* ヘッダー */
  header {
    padding: 10px;
    height: 70px;
  }
  .header_right img {
    height: 50px;
  }

  /* フッター */
  footer {
    padding-bottom: 80px;
  }
  .footer_flex {
    display: block;
    width: calc(100% - 40px);
  }
  .footer_left img {
    width: 200px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .footer_left,
  .footer_right {
    width: 100%;
  }
  .footer_right_flex a {
    font-size: 14px;
  }
  .footer_space {
    height: 30px;
  }
  .footer_left_flex {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .footer_left_flex a {
    width: 100%;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .copyright {
    margin-bottom: 50px;
  }
  .footer_info {
    bottom: 90px;
  }


  /* SPのみのフッターボタン */
  .bottom_btn {
    width: 100%;
    height: 80px;
    position: fixed;
    bottom: -2px;
    left: 0;
    z-index: 100;
  }
  .bottom_btn_flex {
    display: flex;
    justify-content: space-between;
  }
  .bottom_btn_block {
    width: calc(100% / 3);
    padding: 7px 0;
    text-align: center;
  }
  .bottom_btn_block1 {
    background: #E11C1E;
  }
  .bottom_btn_block2 {
    background: #162866;
  }
  .bottom_btn_block3 {
    background: #BFA02D;
  }
  .bottom_btn_block img {
    margin: 0 auto 8px;
    height: 20px;
  }
  .bottom_btn_block p {
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
  }
}

@media screen and (max-height:600px){
  .g_nav nav a {
    padding: 10px 0;
  }
}