@charset "UTF-8";
/* -------------------------------------------------- */
/* 共通ヘッダー */
/*-------------------------------------------------- */
header {
  position: absolute;
  margin: 21px auto 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  max-width: 1060px;
  width: 100%;
  color: #fff;
}
@media (max-width: 768px) {
  header {
    margin: 16px auto 16px;
  }
}
header div.flex {
  justify-content: space-between;
  display: flex;
  align-items: center;
  align-content: space-between;
}
@media (max-width: 480px) {
  header div.flex {
    padding-left: 10px;
    padding-right: 10px;
  }
}
header .flex2:first-child {
  margin-right: 20px;
}
@media (max-width: 768px) {
  header .flex2:first-child {
    margin-right: 20px;
  }
}
@media (min-width: 769px) {
  header .flex2:last-child {
    position: relative;
    top: -4px;
  }
}
header a {
  color: #333333;
}
header a:visited {
  color: #333333;
}
header a:hover {
  color: #FF8000;
}
header img {
  display: block;
  max-width: 414px;
}
@media (max-width: 768px) {
  header img {
    max-width: 300px;
  }
}
header li {
  margin-right: 4em;
  white-space: nowrap;
}
header li:last-child {
  margin-right: 0;
}
@media (min-width: 769px) {
  header .btn {
    width: 160px;
    height: 34px;
    position: relative;
  }
  header .btn a {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
    padding: 6px 6px 5px;
  }
  header .btn a:visited {
    color: #fff;
  }
  header .btn a:before {
    content: "";
    top: -0.6px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    transition: 0.5s;
    background: #FDAB62;
    background: -moz-linear-gradient(-45deg, #FFC926 1%, #FDAB62 70%);
    background: -webkit-linear-gradient(-45deg, #FFC926 1%, #FDAB62 70%);
    background: linear-gradient(135deg, #FFC926 10%, #FDAB62 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$grd-color1', endColorstr='$grd-color2',GradientType=1 );
  }
  header .btn a:after {
    content: "";
    top: -0.6px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    left: 0;
    background: -moz-linear-gradient(-45deg, #FC7A05 1%, #FFC926 70%);
    background: -webkit-linear-gradient(-45deg, #FC7A05 1%, #FFC926 70%);
    background: linear-gradient(135deg, #FC7A05 10%, #FFC926 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$grd-color3', endColorstr='$grd-color4',GradientType=1 );
  }
  header .btn a:hover:before {
    opacity: 0;
  }
}

header.white {
  display: block;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 10px 0;
  width: 100%;
  max-width: initial;
  z-index: 100;
}
@media (max-width: 768px) {
  header.white {
    padding: 16px 0;
  }
}

/* -------------------------------------------------- */
/* ナビゲーション */
/*-------------------------------------------------- */
.navFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navFlex a {
  font-size: 16px;
  font-size: 1.6rem;
  color: #333333;
}
.navFlex a:visited {
  color: #333333;
}
.navFlex a:hover {
  color: #FF8000;
}
@media all and (-ms-high-contrast: none) {
  .navFlex a:hover {
    color: #fff;
  }
}
@supports (-ms-ime-align: auto) {
  .navFlex a:hover {
    color: #fff;
  }
}

#nav_toggle {
  display: none;
}

/* -------------------------------------------------- */
/* ハンバーガーメニュー */
/*-------------------------------------------------- */
@media (max-width: 768px) {
  .white nav {
    top: 78px;
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  .white nav {
    top: 72px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
    position: absolute;
    top: 60px;
    width: 100%;
    left: 0;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #eee;
  }
  header nav ul {
    margin: 0 auto;
    display: block;
    width: 100%;
    flex-direction: column;
  }
  header nav ul li {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: 6px 0 6px 0;
    width: 100%;
    margin: 0 auto;
  }
  header nav ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
  }
  header nav ul li:last-child {
    position: relative;
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: all 0.5s ease;
    border: none;
  }
  header nav ul li:last-child:visited {
    color: #fff;
  }
  header nav ul li:last-child .btn {
    width: 100%;
  }
  header nav ul li:last-child a {
    color: #fff;
    width: 100%;
  }
  header nav ul li:last-child a:visited {
    color: #fff;
  }
  header nav ul li:last-child .light:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    transition: 0.8s;
    background: #FDAB62;
    background: -moz-linear-gradient(-45deg, #FFC926 1%, #FDAB62 70%);
    background: -webkit-linear-gradient(-45deg, #FFC926 1%, #FDAB62 70%);
    background: linear-gradient(135deg, #FFC926 10%, #FDAB62 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$grd-color1', endColorstr='$grd-color2',GradientType=1 );
  }
  header nav ul li:last-child .light:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    left: 0;
    background: -moz-linear-gradient(-45deg, #FC7A05 1%, #FFC926 70%);
    background: -webkit-linear-gradient(-45deg, #FC7A05 1%, #FFC926 70%);
    background: linear-gradient(135deg, #FC7A05 10%, #FFC926 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$grd-color3', endColorstr='$grd-color4',GradientType=1 );
  }
  header nav ul li:last-child .light:hover:before {
    opacity: 0;
  }

  /*開閉ボタン */
}
@media (max-width: 768px) {
  #nav_toggle {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
    color: black;
  }
  #nav_toggle div {
    position: relative;
    top: 8px;
  }
  #nav_toggle span {
    display: block;
    height: 3px;
    background: #000;
    position: absolute;
    width: 100%;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  #nav_toggle span:nth-child(1) {
    top: 0px;
  }
  #nav_toggle span:nth-child(2) {
    top: 12px;
  }
  #nav_toggle span:nth-child(3) {
    top: 24px;
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  #nav_toggle {
    width: 26px;
    height: 26px;
  }
  #nav_toggle div {
    top: 1px;
  }
  #nav_toggle span {
    height: 3px;
  }
  #nav_toggle span:nth-child(1) {
    top: 0px;
  }
  #nav_toggle span:nth-child(2) {
    top: 8px;
  }
  #nav_toggle span:nth-child(3) {
    top: 16px;
  }
}

/*開閉ボタンopen時 */
.open #nav_toggle span:nth-child(1) {
  top: 12px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  transform: rotate(135deg);
}
.open #nav_toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.open #nav_toggle span:nth-child(3) {
  top: 12px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/*メニューを開閉した後にナビメニューが消えない対処法 */
@media (min-width: 769px) {
  header nav {
    display: block !important;
  }
}
/* -------------------------------------------------- */
/* レスポンシブ */
/*-------------------------------------------------- */
