@charset "UTF-8";
/*-----------------------------------------------------
 * header
 *----------------------------------------------------*/

.l-header {
  width: 100%;
  height: auto;
  background-color: #fff;
  box-shadow: 0 .2666666667vw 1.8666666667vw rgba(63, 73, 96, .1);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
}
.l-header.js-scroll-fixed .hovermenu_inner {
  top: 60px;
}
.l-header__inner {
  margin: 0 auto;
  width: 100%;
  height: 17.0666666667vw;
  position: relative;
}
.l-header__top {
  margin: 0 auto;
  height: 17.0666666667vw;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
/*----- logo -----*/
.l-header__logo {
  width: 39.4666666667vw;
  flex-shrink: 0;
}
.l-header__logo img {
  display: block;
  width: auto;
  height: 50px;
}

/* globalnavi ▼
----------------------------------------*/
.l-header-globalnavi {
  font-family: "Shippori Mincho", serif;
  border-top: .2666666667vw solid #e6e8ee;
}
.l-header-globalnavi__list {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
}
.l-header-globalnavi__list a,
.l-header-globalnavi__list__hovermenu span {
  display: block;
  height: 100%;
}
.l-header-globalnavi__list__hovermenu {
  position: relative;
}
.l-header-globalnavi__list__hovermenu:hover span {
  cursor: pointer;
  opacity: .8;
}
.l-header-globalnavi__list__hovermenu .hovermenu_inner {
  display: none;
  text-align: left;
  background: #fbfbfb;
}
.l-header-globalnavi__list__hovermenu .hovermenu_inner a {
  padding: 3vw;
  justify-content: flex-start;
  font-size: 1.3rem;
  font-weight: 400;
}
.l-header-globalnavi__list a,
.l-header-globalnavi__list a:focus,
.l-header-globalnavi__list a:hover,
.l-header-globalnavi__list a:visited {
  color: #3f4960;
  text-decoration: none;
}
.l-header-globalnavi__list li {
  margin-bottom: 7.4666666667vw;
}
.l-header-globalnavi__title {
  margin-bottom: 4.2666666667vw;
  padding: 0 0 0 2.1333333333vw;
  border-left: 1.3333333333vw solid #86bce6;
}

/* ハンバーガーメニュー ▼
----------------------------------------*/
/*----- open -----*/
.l-header-globalnavi__open_trigger {
  height: 17.0666666667vw;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 2.6666666667vw;
}
.l-header-globalnavi__open_trigger::before {
  display: block;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: url(../img/common/icon-menu.svg) center no-repeat;
  background-size: cover;
}
/*----- close -----*/
.l-header-globalnavi__close_trigger {
  padding: 0;
  margin: 0;
  width: 17.0666666667vw;
  height: 17.0666666667vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
}
.l-header-globalnavi__close_trigger::before {
  display: block;
  content: "";
  padding: 0;
  margin: 0;
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: url(../img/common/icon-menu-close.svg) center no-repeat;
  background-size: cover;
}
/*----- option -----*/
.l-header-globalnavi__option {
  padding: 0;
  margin: 0 0 3.7333333333vw;
}
.l-header-globalnavi__option_list {
  padding: 0;
  margin: 0 0 6.4vw;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}
.l-header-globalnavi__option_list li {
  padding: 0;
  margin: 0;
}
.l-header-globalnavi__option_list li:not(:last-child) {
  margin-right: 8vw;
}
.l-header-globalnavi__option_list a,
.l-header-globalnavi__option_list a:focus,
.l-header-globalnavi__option_list a:hover,
.l-header-globalnavi__option_list a:visited {
  color: #8f96aa;
  text-decoration: none;
}
.l-header-globalnavi__option_list a[target=_blank] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header-globalnavi__option_list a[target=_blank]::after {
  display: block;
  content: "";
  padding: 0;
  margin: 0;
  margin-left: 4px;
  width: 18px;
  height: 18px;
  background: url(../img/common/icon-target-blank.svg) right center no-repeat;
  background-size: 100%;
}

/* subnavi (上部のボタン群) ▼
----------------------------------------*/
.l-header-subnavi {
  display: none;
  font-family: "Shippori Mincho", serif;
}
.l-header-subnavi__list {
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.l-header-subnavi__list li {
  margin-right: 20px;
}
.l-header-subnavi__list a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header-subnavi__list a,
.l-header-subnavi__list a:focus,
.l-header-subnavi__list a:hover,
.l-header-subnavi__list a:visited {
  color: #8f96aa;
  text-decoration: none;
}
.l-header-subnavi__list a[target=_blank]::after {
  display: block;
  content: "";
  margin-left: 4px;
  width: 18px;
  height: 18px;
  background: url(../img/common/icon-target-blank.svg) right center no-repeat;
  background-size: 100%;
}
/*----- btn -----*/
.l-header__ctabtn {
  margin: 0 10.1333333333vw 0 2.6666666667vw;
  width: 42.6666666667vw;
}
.l-header__ctabtn img {
  max-width: 100%;
}
.l-header-counseling__btn,
.l-header-line__btn {
  cursor: pointer;
  width: 100%;
  height: 17.0666666667vw;
  font-family: "Shippori Mincho", serif;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 2.1333333333vw;
  box-shadow: 0 .5333333333vw 2.1333333333vw rgba(63, 73, 96, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header-counseling__btn::before,
.l-header-line__btn::before {
  display: block;
  content: "";
  width: 6.4vw;
  height: 6.4vw;
  margin-right: 2.1333333333vw;
}
/* web */
.l-header-counseling__btn {
  background: url(../img/common/bg-btn-counseling-header.svg) center no-repeat #f08282;
  background-size: cover;
}
.l-header-counseling__btn:before {
  background: url(../img/common/icon-calendar.svg) center no-repeat;
  background-size: 100%;
}
/* LINE */
.l-header-line {
  margin-right: 10px;
}
.l-header-line__btn {
  background: #65de74 url(../img/common/bg-btn-line-header.svg) center no-repeat;
  background-size: 120%;
}
.l-header-line__btn:before {
  background: url(../img/common/icon-line.svg) center no-repeat;
  background-size: 100%;
}

/* 緊急のお知らせ ▼
----------------------------------------*/
.l-header-emergency {
  display: block;
  padding: 2.1333333333vw 3.2vw;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #e55252;
  text-decoration: underline;
  background-color: #ffeef2;
}
.l-header-emergency a,
.l-header-emergency a:active,
.l-header-emergency a:focus,
.l-header-emergency a:hover,
.l-header-emergency a:visited {
  color: #e55252;
  text-decoration: underline;
}
.l-header-emergency__text {
  display: block;
  padding: 0;
  padding-left: 6.9333333333vw;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.l-header-emergency__text::before {
  display: block;
  content: "";
  padding: 0;
  margin: 0;
  width: 5.3333333333vw;
  height: 5.3333333333vw;
  background: url(../img/common/icon-alert-secondary.svg) center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-width:769px) {
  .l-header__ctabtn,
  .l-header-globalnavi__open_trigger,
  .l-header-globalnavi__close_trigger,
  .l-header-globalnavi__option {
    display: none;
  }
  
  .l-header {
    box-shadow: 0 1px 7px rgba(63, 73, 96, .1);
  }
  .l-header__inner {
    width: 1100px;
    height: 142px;
    transition: all .4s ease 0s;
  }
  .l-header__top {
    padding: 0;
    height: 73px;
    transition: all .4s ease 0s;
  }
  .l-header__logo {
    width: 176px;
    transition: all .4s ease 0s;
  }
  
  /* globalnavi ▼
  ----------------------------------------*/
  .l-header-globalnavi {
    height: 70px;
    border-top: 1px solid #e6e8ee;
    transition: all .4s ease 0s;
  }
  .l-header-globalnavi__list {
    height: 100%;
    font-size: 1.4rem;
    text-align: center;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
  }
  .l-header-globalnavi__list a,
  .l-header-globalnavi__list__hovermenu span {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .l-header-globalnavi__list__hovermenu .hovermenu_inner {
    margin-left: calc(13% - 13vw);
    position: absolute;
    top: 68px;
    right: 0;
    background: rgba(255, 255, 255, .8);
  }
  .l-header-globalnavi__list__hovermenu .hovermenu_inner a {
    padding: 12px 2.3vw;
  }
  .l-header-globalnavi__list li {
    margin: 0;
    position: relative;
  }
  .l-header-globalnavi__list li.is-current::before {
    display: block;
    content: "";
    padding: 0;
    margin: 0;
    width: 100%;
    height: 2px;
    background-color: #5697d5;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .l-header-globalnavi__list li.is-current a {
    color: #5697d5;
  }
  .l-header-globalnavi__list li.is-current a:hover {
    opacity: 1;
  }

  /*----- スクロール時の追従表示 -----*/
  .l-header.js-scroll-fixed .l-header__inner {
    height: 128px;
  }
  .l-header.js-scroll-fixed .l-header__top {
    height: 66px;
  }
  .l-header.js-scroll-fixed .l-header__logo {
    width: 128px;
  }
  .l-header.js-scroll-fixed .l-header-globalnavi {
    height: 62px;
  }
  .l-header.js-scroll-fixed .l-header-counseling__btn,
  .l-header.js-scroll-fixed .l-header-line__btn {
    height: 44px;
    transition: all .4s ease 0s;
  }
  
  /* subnavi (上部のボタン群) ▼
  ----------------------------------------*/
  .l-header-subnavi {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .l-header-counseling,
  .l-header-line {
    width: 240px;
  }
  .l-header-counseling__btn, .l-header-line__btn {
    height: 56px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(63, 73, 96, .2);
  }
  .l-header-counseling__btn:hover,
  .l-header-line__btn:hover {
    opacity: .85;
  }
  .l-header-counseling__btn:active,
  .l-header-counseling__btn:focus,
  .l-header-counseling__btn:hover,
  .l-header-counseling__btn:visited,
  .l-header-line__btn:active,
  .l-header-line__btn:focus,
  .l-header-line__btn:hover,
  .l-header-line__btn:visited {
    color: #fff;
    text-decoration: none;
  }
  .l-header-counseling__btn::before,
  .l-header-line__btn::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  
  /* 緊急のお知らせ ▼
  ----------------------------------------*/
  .l-header-emergency {
    padding: 10px 0;
    font-size: 1.4rem;
    line-height: 1.8;
  }
  .l-header-emergency__text {
    padding-left: 30px;
    width: 1100px;
  }
  .l-header-emergency__text::before {
    width: 24px;
    height: 24px;
  }
}

@media screen and (max-width:1200px) {
  .l-header__inner {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (max-width:992px) {
  .l-header-globalnavi__list a,
  .l-header-globalnavi__list__hovermenu span {
    font-size: 1.35vw;
  }
  .l-header-subnavi__list a {
    font-size: 1.5vw;
  }
}

@media screen and (max-width:768px) {
  .l-header-globalnavi {
    padding: 17.0666666667vw 5.3333333333vw 25.6vw;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    opacity: 0;
    overflow-y: scroll;
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 99;
  }
  .l-header-globalnavi.js-open {
    opacity: 1;
    top: 0;
  }
  .l-header-globalnavi__list {
    margin-bottom: 7.4666666667vw;
    border-bottom: 1px solid #dadce5;
  }
  .l-header-globalnavi__list a,
  .l-header-globalnavi__list__hovermenu span {
    font-size: 4.3vw;
  }
  .l-header-globalnavi__list__hovermenu {
    display: block !important;
    padding: 0 0 0 8vw !important;
  }
  .l-header-globalnavi__list__hovermenu img {
    position: absolute;
    left: 0;
  }
  .l-header-globalnavi__list__hovermenu .hovermenu_inner {
    margin: 2vw 0 0;
  }
  .l-header-globalnavi__list__hovermenu .hovermenu_inner li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
  }
  .l-header-globalnavi__list li {
    display: flex;
    justify-content: flex-start;
    gap: 2vw;
  }
  .l-header-globalnavi__list li img {
    width: 6vw;
    height: auto;
  }
  .l-header-subnavi__list a {
    font-size: 4.3vw;
  }
}

@media screen and (max-width:1040px) and (min-width:769px) {
  .l-header__logo {
    width: 16.923vw;
  }
  .l-header-counseling,
  .l-header-line {
    width: 23.077vw;
  }
  .l-header-counseling__btn,
  .l-header-line__btn {
    height: 5.385vw;
    font-size: 1.538vw;
  }
}
