@charset "utf-8";

/* Header
------------------------------------------ */

/* Word Press style delete */
.site-header .title-area {
  display: none;
}

.site-header .widget-area {
  float: none;
  padding: 0;
  width: 100%;
}

.site-header .widget-area .widget:last-child {
  float: none;
  margin: 0;
  padding: 0;
  text-align: left;
  overflow: visible;
}

.site-header .widget-area .widget:first-child {
}

/* style */
@media screen and (max-width: 979px) and (min-width: 760px) {
  .header_wrap {
    position: relative;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 759px), print {
  .header_wrap {
    position: relative;
    padding-bottom: 71px;
  }
}

.header {
  border-bottom: 1px solid #e5e5e5; 
  background-color: #fff;
}

@media screen and (max-width: 979px), print {
  .header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
  }
  .header.js-active {
    background-color: #bf0000;
  }
  .header_wrap.js-inner-fixed .header {
    position: fixed;
  }
}

.header_inner {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}

@media screen and (min-width: 760px), print {
  .header_inner {
    padding: 0 40px;
    margin: 0 auto;
    max-width: 1200px;
  }
}

@media screen and (max-width: 979px) and (min-width: 760px) {
    .header_inner {
      padding-top: 24px;
      padding-bottom: 23px;
    }
}

@media screen and (max-width: 759px), print {
  .header_inner {
    padding: 15px 23px 14px 16px
  }
}


.header_logo {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.header_logo:before {
  content: '';
  display: block;
}

.header_logo a {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 760px), print {
  .header_logo {
    background-image: url('/wp-content/uploads/sites/3/2019/05/header_logo.png');
    margin-top: 2px;
    width: 211px;
  }
  .header_logo:before {
    padding-bottom: calc((32/211)*100%);
  }
}

@media screen and (max-width: 979px) and (min-width: 760px) {
    .header.js-active .header_logo {
      background-image: url('/wp-content/uploads/sites/3/2019/05/header_logo_white.png');
    }
}


@media screen and (max-width: 759px), print {
  .header_logo {
    background-image: url('/wp-content/uploads/sites/3/2019/05/header_logo_sp.png');
    width: 75px;
  }
  .header_logo:before {
    padding-bottom: calc((82/150)*100%);
  }
  .header.js-active .header_logo {
    background-image: url('/wp-content/uploads/sites/3/2019/05/header_logo_sp_white.png');
  }
}




.header_nav__area {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

@media screen and (min-width: 980px), print {
  .header_nav {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    padding: 33px 40px 32px 0;
  }

  .header_nav a {
    display: block;
    line-height: 1;
    font-size: 14px;
    font-weight: bold;
    -webkit-transition: color .15s;
    transition: color .15s;
  }
  .header_nav a:not(:last-child) {
    margin-right: 40px;
  }
  .header_nav a:hover {
    color: #bf0000;
  }
}

@media screen and (max-width: 979px), print {
    .header_nav.nav--pc {
      display: none;
    }
}



.header_contact {
  height: 32px;
}

@media screen and (max-width: 979px), print {
  .header_contact.contact--pc {
    display: none;
  }
}


.header_contact a {
  display: block;
  border: 1px solid #bf0000;
  background-color: #bf0000;
  background-image: url('/wp-content/uploads/sites/3/2019/05/arrow_white.png');
  background-size: 5px 10px;
  background-position: 16px center;
  background-repeat: no-repeat;
  padding: 0 15px 0 27px;
  line-height: 30px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  -webkit-transition: background-color .25s;
  transition: background-color .25s;
}

.header_contact a:hover {
  background-color: #ffffff;
  background-image: url('/wp-content/uploads/sites/3/2019/05/arrow_red.png');
  color: #bf0000;
}

@media screen and (min-width: 980px), print {
  .header_language.language--sp {
    display: none;
  }
}

@media screen and (max-width: 979px), print {
    .header_language {
      height: 12px;
    }
    .header_language span {
      display: inline-block;
      vertical-align: top;
      line-height: 12px;
      font-size: 10px;
    }
    .header_language a {
      display: inline-block;
      vertical-align: top;
      line-height: 1;
      font-size: 12px;
    }
    .header.js-active .header_language a,
    .header.js-active .header_language span {
      color: #fff;
    }
    .header_language a.is-current {
      color: #c8c8c8!important;
      pointer-events: none;
    }

}

@media screen and (min-width: 980px), print {
  .header_btn.btn--sp {
    display: none;
  }
}

@media screen and (max-width: 979px), print {
  .header_btn {
    background-image: -webkit-linear-gradient(top, #c8c8c8, #c8c8c8 1px, transparent 1px, transparent 2px);
    background-image: linear-gradient(to bottom, #c8c8c8, #c8c8c8 1px, transparent 1px, transparent 2px);
    background-repeat: repeat-y;
    background-position: left top;
    background-size: 1px 3px;
    margin-left: 20px;
    padding-left: 21px;
  }
  .header_btn a {
    display: block;
    background-image: url('/wp-content/uploads/sites/3/2019/05/header_btn_menu.png');
    background-position: center bottom;
    background-size: 24px auto;
    background-repeat: no-repeat;
    width: 28px;
  }
  .header_btn a:before {
    content: '';
    display: block;
    padding-bottom: -webkit-calc((66/56)*100%);
    padding-bottom: calc((66/56)*100%);
  }

  .header.js-active .header_btn {
    background-image: -webkit-linear-gradient(top, #ffffff, #ffffff 1px, transparent 1px, transparent 2px);
    background-image: linear-gradient(to bottom, #ffffff, #ffffff 1px, transparent 1px, transparent 2px);
  }
  .header.js-active .header_btn a {
    background-image: url('/wp-content/uploads/sites/3/2019/05/header_btn_menu_close.png');
    background-size: 28px auto;
  }
}

.header_drop__outer {
  position: absolute;
  width: 100%;
}

.header_drop {
  height: 0;
  width: 100%;
  overflow: hidden;
}


@media screen and (min-width: 980px), print {
  .header_drop.drop--sp {
    display: none;
  }
}

@media screen and (max-width: 979px), print {
  .header_drop__inner {
    position: relative;
    background-color: #bf0000;
    height: 100%;
    padding-bottom: 140px;
  }
  .header_drop__main {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 140px;
  }
  .header_drop__links {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
  }

  .header_drop__links li:not(:first-child) {
    padding-top: 40px;
  }
  .header_drop__links li a {
    display: block;
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
  }
  .header_drop__bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .header_drop__bottom:before {
    content: '';
    display: block;
    position: absolute;
    background-image: -webkit-linear-gradient(left, #ffffff, #ffffff 1px, transparent 1px, transparent 2px);
    background-image: linear-gradient(to right, #ffffff, #ffffff 1px, transparent 1px, transparent 2px);
    background-repeat: repeat-x;
    background-position: left top;
    background-size: 3px 1px;
    top: 0;
    height: 1px;
    width: 32px;
  }

  .header_drop__bottom a {
    display: block;
    background-color: #fff;
    padding: 14px 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #bf0000;
  }
  .header_drop__bottom a:before {
    content: '';
    display: inline-block;
    vertical-align: top;
    background-image: url('/wp-content/uploads/sites/3/2019/05/arrow_red.png');
    background-size: 5px auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 14px;
  }


}

.header_drop__outer {
  pointer-events: none;
}

.header.js-active .header_drop__outer {
  pointer-events: auto;
}

@media screen and (max-width: 979px) and (min-width: 760px) {
    .header_drop__outer {
      height: -webkit-calc(100vh - 80px);
      height: calc(100vh - 80px);
    }
    .header_drop__inner {
      height: -webkit-calc(100vh - 80px);
      height: calc(100vh - 80px);
    }
  .header_drop__links {
    padding-left: 40px;
    padding-right: 40px;
  }
  .header_drop__bottom {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 759px), print {
    .header_drop__outer {
      height: -webkit-calc(100vh - 71px);
      height: calc(100vh - 71px);
    }
    .header_drop__inner {
      height: -webkit-calc(100vh - 71px);
      height: calc(100vh - 71px);
      /* height: -webkit-calc((var(--vh, 1vh) * 100) - 71px);
      height: calc((var(--vh, 1vh) * 100) - 71px); */
    }
  .header_drop__links {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header_drop__bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

