/*
 * ショップ共通ヘッダー（肌診断ページ用・静的HTML版）
 * assets/css/common.css（BodyHeaderMain.ascx のヘッダー関連ルール）を #site-header にスコープして抽出。
 * 元CSSのカスケード順（後勝ち）を維持するため、ルールの並びは common.css に合わせている。
 */

/* ---- リセット（destyle.css / common.css のうちヘッダーで必要な分） ---- */
header#site-header {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  color: #111111;
  -webkit-text-size-adjust: 100%;
}

#site-header *,
#site-header ::before,
#site-header ::after {
  box-sizing: border-box;
}

#site-header * {
  letter-spacing: 0.05em;
}

#site-header h3 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

#site-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-header p,
#site-header li,
#site-header a {
  font-size: 12px;
  line-height: 1.5;
  text-align: inherit;
}

@media screen and (min-width: 980px) {
  #site-header p,
  #site-header li,
  #site-header a {
    font-size: 15px;
    line-height: 23px;
  }
}

#site-header a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

#site-header small {
  font-size: 80%;
}

#site-header img {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
  vertical-align: bottom;
  image-rendering: -webkit-optimize-contrast;
}

/* ---- 以下 common.css から抽出 ---- */
header#site-header .menu_list > ul > li > h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

#site-header .flex,
#site-header .flexB,
#site-header .flexBC,
#site-header .flexC {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#site-header .flexB,
#site-header .flexBC {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#site-header .flexC {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#site-header .flexBC {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#site-header .flexBC li a {
  display: block;
}

#site-header .inner {
  padding-right: 30px;
  padding-left: 30px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 980px) {
  #site-header .inner {
    padding-right: 70px;
    padding-left: 70px;
  }
}

@media screen and (min-width: 980px) {
  #site-header .hover {
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
  }

  #site-header .hover:hover {
    opacity: 0.6;
  }
}

@media screen and (min-width: 980px) {
  header#site-header {
    height: 65px;
    padding: 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999;
  }
}

header#site-header {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #f4f4f4;
}

@media screen and (min-width: 980px) {
  header#site-header::-webkit-scrollbar {
    display: none;
    width: 0 !important;
  }
}

header#site-header .header_top {
  height: 65px;
  padding: 0 20px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_top {
    padding: 0px 25px 0 0;
  }
}

header#site-header .header_logo {
  width: 73.328px;
  margin-top: -5px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_logo {
    width: 101.28px;
    margin-top: 0;
  }
}

header#site-header .header_logo a {
  display: block;
}

header#site-header .header_logo a:focus,
header#site-header .header_logo img:focus {
  outline: none;
}

header#site-header .header_links {
  width: 119px;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-top: 5px;
  z-index: 9999;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links {
    width: 125px;
    margin-top: 0;
  }
}

header#site-header .header_links li {
  width: 24px;
}

header#site-header .header_links .header_user_icon,
header#site-header .header_links [class^="header_cart_icon"] {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

header#site-header .header_links .header_user_icon a {
  display: block;
}

header#site-header .header_links [class^="header_cart_icon"] {
  position: relative;
  margin-left: 21px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links [class^="header_cart_icon"] {
    margin-left: 19px;
  }
}

header#site-header .header_links [class^="header_cart_icon"] a {
  display: block;
}

header#site-header .header_links [class^="header_cart_icon"] span {
  font-size: 10px;
  line-height: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background-color: #f34;
  color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  right: -7px;
  top: -8px;
  text-align: center;
  vertical-align: middle;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links [class^="header_cart_icon"] span {
    font-size: 9px;
    right: -6px;
    top: -9px;
  }
}

header#site-header .header_links .header_menu_icon {
  position: relative;
  width: 27.5px;
  height: 25px;
  cursor: pointer;
  z-index: 99999;
  margin-left: 22px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links .header_menu_icon {
    width: 30px;
    height: 24px;
    margin-left: 27px;
  }
}

header#site-header .header_links .header_menu_icon span.line {
  position: absolute;
  content: "";
  display: block;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #939393;
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links .header_menu_icon span.line {
    -webkit-transition: top 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
    transition: top 0.6s ease-in-out, transform 0.6s ease-in-out;
  }
}

header#site-header .header_links .header_menu_icon span.line.line1 {
  top: 4%;
}

header#site-header .header_links .header_menu_icon span.line.line2 {
  top: 36%;
}

header#site-header .header_links .header_menu_icon .line3 {
  position: absolute;
  bottom: 4px;
  left: -2px;
  font-size: 10px;
  line-height: 5px;
  letter-spacing: 0;
  width: 32px;
  text-align: center;
}

@media screen and (min-width: 980px) {
  header#site-header .header_links .header_menu_icon .line3 {
    left: -1px;
    line-height: 10px;
    bottom: 0;
  }
}

header#site-header .header_links .header_menu_icon.active span.line.line1 {
  -webkit-transform: rotate(-16deg);
  transform: rotate(-16deg);
  top: 20%;
}

header#site-header .header_links .header_menu_icon.active span.line.line2 {
  -webkit-transform: rotate(16deg);
  transform: rotate(16deg);
  top: 20%;
}

header#site-header .header_menu_content {
  margin-top: 75px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu_content {
    margin-top: 63px;
    padding: 0 69px;
  }
}

header#site-header .header_menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  background-color: #fff;
  -webkit-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
}

header#site-header .header_menu::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px !important;
}

header#site-header .header_menu::-webkit-scrollbar-thumb {
  background-color: #888888;
  border-radius: 5px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu {
    position: absolute;
    left: auto;
    right: 0;
    width: 480px;
    -webkit-box-shadow: -9px 0px 9px -2px rgba(0, 0, 0, 0.08);
    box-shadow: -9px 0px 9px -2px rgba(0, 0, 0, 0.08);
    -webkit-transform: translateX(480px);
    transform: translateX(480px);
  }
}

header#site-header .header_menu .footer_links,
header#site-header .header_menu .footer_social {
  opacity: 0;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
}

header#site-header .header_menu .footer_links {
  padding: 31.25px 0;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_links {
    padding: 32px 0;
  }
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_links ul {
    display: block;
  }
}

header#site-header .header_menu .footer_links li {
  text-align: center;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_links li {
    font-size: 10px;
    text-align: left;
    line-height: 15px;
  }
}

header#site-header .header_menu .footer_links li:not(:last-child) {
  padding-bottom: 17.5px;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_links li:not(:last-child) {
    padding-bottom: 14px;
  }
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_links li a {
    font-size: 10px;
    line-height: 15px;
  }
}

header#site-header .header_menu .footer_social {
  width: 112.5px;
  margin: 0 auto;
  pointer-events: none;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_social {
    width: 122px;
    margin: 0;
  }
}

header#site-header .header_menu .footer_social li {
  width: 23px;
  pointer-events: auto;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .footer_social li {
    width: 25px;
  }
}

header#site-header .header_menu small {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  display: block;
  padding: 31.25px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  opacity: 0;
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu small {
    font-size: 8px;
    line-height: 11px;
    text-align: left;
    padding: 32px 0;
  }
}

header#site-header .header_menu .menu_btn {
  opacity: 0;
  padding: 32px 0;
}

header#site-header .header_menu .menu_btn ul {
  margin: 0 auto;
  max-width: 315px;
}

header#site-header .sub_menu {
  opacity: 0;
}

header#site-header .menu_list > ul > li > h3 {
  overflow: hidden;
}

header#site-header .menu_list > ul > li > h3 > a {
  opacity: 0;
  -webkit-transform: translateY(30%);
  transform: translateY(30%);
}

.menu-open header#site-header .header_menu {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.menu-open #site-header .header_user_icon,
.menu-open #site-header [class^="header_cart_icon"] {
  opacity: 0;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
}

#site-header .menu_list > ul > li {
  position: relative;
}

#site-header .menu_list > ul > li.has_subMenu > h3 > a::before {
  content: "";
  position: absolute;
  background-color: rgba(17, 17, 17, 0.5);
  width: 17.5px;
  height: 1px;
  right: 3px;
  top: 50%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#site-header .menu_list > ul > li.has_subMenu.active > h3 > a::before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#site-header .menu_list > ul > li > h3 > a {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 20px;
  padding: 29px 0 25px;
  display: block;
  position: relative;
}

@media screen and (max-width: 979px) {
  #site-header .menu_list > ul > li > h3 > a {
    letter-spacing: 0.07em;
  }

  #site-header .menu_list > ul > li > h3 > a span {
    letter-spacing: 0.05em;
  }
}

#site-header .menu_list > ul > li > h3 > a::after {
  content: "";
  position: absolute;
  background-color: rgba(17, 17, 17, 0.5);
  width: 17.5px;
  height: 1px;
  right: 3px;
  top: 50%;
}

#site-header .menu_list > ul > li > h3 > a span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  display: inline-block;
  letter-spacing: 0.05em;
}

#site-header .menu_list > ul > li > .sub_menu {
  display: none;
  padding: 2.5px 0 12.5px;
}

#site-header .menu_list > ul > li > .sub_menu li {
  padding: 0 0 16px;
}

#site-header .menu_list > ul > li > .sub_menu li a {
  letter-spacing: 0.06em;
  position: relative;
  padding-left: 20px;
}

#site-header .menu_list > ul > li > .sub_menu li a::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 1px;
  left: 0;
  top: 55%;
}

#site-header .header_menu_content {
  position: relative;
  z-index: 1;
}

#site-header .header_menu .menu_list > ul > li::before,
#site-header .header_menu .menu_list > ul > li:last-child::after {
  content: "";
  width: 0%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.5);
  position: absolute;
  left: 0;
}

#site-header .header_menu .menu_list > ul > li::before {
  top: 0;
}

#site-header .header_menu .menu_list > ul > li:last-child::after {
  bottom: 0;
}

#site-header .menu_list > ul > li:last-child::after {
  top: 100%;
}

.menu-open #site-header .menu_list > ul > li > h3 > a {
  opacity: 1;
}

.menu-open #site-header .header_menu .menu_list > ul > li::before,
.menu-open #site-header .header_menu .menu_list > ul > li:last-child::after {
  width: 100%;
  -webkit-transition: all 0.5s ease-in-out 1s;
  transition: all 0.5s ease-in-out 1s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.menu-open #site-header .header_menu .menu_list > ul > li > .sub_menu {
  opacity: 1;
}

.menu-open #site-header .header_menu .footer_links {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.5s ease-in-out 3s;
  transition: all 0.5s ease-in-out 3s;
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}

.menu-open #site-header .header_menu .footer_social {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.5s ease-in-out 3.2s;
  transition: all 0.5s ease-in-out 3.2s;
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

.menu-open #site-header .header_menu .menu_btn {
  opacity: 1;
  -webkit-transition: all 0.7s ease-in-out 1.8s;
  transition: all 0.7s ease-in-out 1.8s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.menu-open #site-header .header_menu .menu_btn ul li {
  width: 146px;
}

.menu-open #site-header .header_menu .menu_btn ul li.menu_btn__login:not(._show),
.menu-open #site-header .header_menu .menu_btn ul li.menu_btn__reg:not(._show) {
  display: none;
}

.menu-open #site-header .header_menu .menu_btn ul li.menu_btn__mypage {
  width: 255px;
  margin: 0 auto;
  display: block;
}

.menu-open #site-header .header_menu .menu_btn ul li a {
  height: 25px;
  border: 1px solid rgba(17, 17, 17, 0.5);
  border-radius: 5px;
  font-size: 12px;
  line-height: 23px;
  display: block;
  text-align: center;
}

.menu-open #site-header .header_menu small {
  -webkit-transition-delay: 1.3s;
  transition-delay: 1.3s;
  letter-spacing: 0.04em;
}

.menu-open #site-header .menu_list > ul > li > h3 > a {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.menu-open header#site-header .header_menu .menu_btn,
.menu-open header#site-header .menu_list > ul > li > h3 > a,
.menu-open header#site-header .header_menu .footer_links,
.menu-open header#site-header .header_menu .footer_social {
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-timing-function: cubic-bezier(0.42, 0, 0, 0.99);
  transition-timing-function: cubic-bezier(0.42, 0, 0, 0.99);
}

.nologin.menu-open header#site-header .header_menu .menu_btn ul li.menu_btn__login,
.nologin.menu-open header#site-header .header_menu .menu_btn ul li.menu_btn__reg {
  display: block;
}

.nologin.menu-open header#site-header .header_menu .menu_btn ul li.menu_btn__mypage {
  display: none;
}

.menu-open header#site-header .header_menu small {
  opacity: 1;
  -webkit-transition: all 0.7s ease-in-out 1.4s;
  transition: all 0.7s ease-in-out 1.4s;
}

header#site-header .header_menu {
  position: fixed !important;
  right: 0;
}

#site-header .menu_list > ul > li > .sub_menu li a.hover {
  opacity: 1;
}

@-webkit-keyframes animation-line {
  0% {
    width: 10px;
  }
  3% {
    width: 0px;
  }
  100% {
    width: 10px;
  }
}

@keyframes animation-line {
  0% {
    width: 10px;
  }
  3% {
    width: 0px;
  }
  100% {
    width: 10px;
  }
}

@media screen and (max-width: 979px) {
  #site-header .sp_linebreak span {
    display: block;
  }

  header#site-header .header_menu {
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
  }

  header#site-header .header_menu_content {
    padding-bottom: 20px;
  }
}

@media screen and (min-width: 980px) {
  header#site-header .header_menu .menu_list > ul > li.has_subMenu > h3 > a::before {
    background-color: rgba(17, 17, 17, 0.5);
    width: 17.5px;
    height: 1px;
    right: 13px;
  }

  header#site-header .header_menu .menu_list > ul > li > h3 > a {
    font-size: 20px;
    line-height: 20px;
    padding: 18px 0 20px 0;
    letter-spacing: 0.07em;
  }

  header#site-header .header_menu .menu_list > ul > li > h3 > a span {
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.05em;
  }

  header#site-header .header_menu .menu_list > ul > li > h3 > a::after {
    content: "";
    position: absolute;
    background-color: rgba(17, 17, 17, 0.5);
    width: 17.5px;
    height: 1px;
    right: 13px;
  }

  header#site-header .header_menu .menu_list > ul > li > .sub_menu {
    padding: 10px 0 12px;
    display: none;
  }

  header#site-header .header_menu .menu_list > ul > li > .sub_menu li {
    font-size: 12px;
    padding: 0 0 20px;
    line-height: 16px;
  }

  header#site-header .header_menu .menu_list > ul > li > .sub_menu li a {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.06em;
    padding-left: 20px;
  }

  header#site-header .header_menu .menu_list > ul > li > .sub_menu li a::before {
    width: 10px;
    height: 1px;
    left: 0;
  }

  header#site-header .header_menu .footer_links2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 103px;
  }

  header#site-header .header_menu .footer_logo {
    width: 242px;
    margin: 0;
    padding: 0;
  }

  header#site-header .header_menu .footer_logo li {
    width: 108px;
  }

  .menu-open header#site-header .header_menu .menu_btn {
    padding: 32px 0;
  }

  .menu-open header#site-header .header_menu .menu_btn ul {
    width: 250px;
  }

  .menu-open header#site-header .header_menu .menu_btn ul li {
    width: 115px;
  }

  .menu-open header#site-header .header_menu .menu_btn ul li a {
    height: 25px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 23px;
  }

  .menu-open header#site-header .header_menu .menu_list {
    padding-top: 0;
  }

  .menu-open header#site-header .header_menu .menu_list > ul > li {
    width: 100%;
  }
}

@media screen and (min-width: 980px) and (min-width: 980px) {
  header#site-header .header_links:hover li.header_user_icon,
  header#site-header .header_links:hover li[class^="header_cart_icon"],
  header#site-header .header_links:hover li.header_menu_icon {
    opacity: 0.5;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }
}

@media screen and (min-width: 980px) {
  header#site-header .header_links:hover li.header_user_icon:hover {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  header#site-header .header_links:hover li.header_cart_icon:hover {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  header#site-header .header_links:hover li.header_menu_icon:hover {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  header#site-header .header_links li a {
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  .menu-open header#site-header .header_links:hover li.header_user_icon,
  .menu-open header#site-header .header_links:hover li[class^="header_cart_icon"] {
    opacity: 0;
  }

  .menu-open header#site-header .header_links:hover li.header_menu_icon {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  .menu-open header#site-header .header_links:hover li.header_user_icon:hover {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  .menu-open header#site-header .header_links:hover li[class^="header_cart_icon"] :hover {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  .menu-open header#site-header .header_links:hover li.header_menu_icon:hover {
    opacity: 0.6;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  #site-header .footer_social li a {
    background-repeat: no-repeat;
    background-size: 100% auto;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  #site-header .footer_social .sns-icon1 img,
  #site-header .footer_social .sns-icon2 img,
  #site-header .footer_social .sns-icon3 img,
  #site-header .footer_social .sns-icon4 img {
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  #site-header .footer_social:hover .sns-icon1 img,
  #site-header .footer_social:hover .sns-icon2 img,
  #site-header .footer_social:hover .sns-icon3 img,
  #site-header .footer_social:hover .sns-icon4 img {
    opacity: 0.2;
  }

  #site-header .footer_social:hover ul li > a img {
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  #site-header .footer_social:hover ul li:hover a.sns-icon1 img {
    opacity: 1;
  }

  #site-header .footer_social:hover ul li:hover a.sns-icon2 img {
    opacity: 1;
  }

  #site-header .footer_social:hover ul li:hover a.sns-icon3 img {
    opacity: 1;
  }

  #site-header .footer_social:hover ul li:hover a.sns-icon4 img {
    opacity: 1;
  }
}

@media screen and (min-width: 1440px) {
  header#site-header .header_menu {
    right: calc((100% - 1440px) / 2) !important;
  }

  header#site-header .menu_list > ul > li > h3 {
    overflow: visible;
  }

  header#site-header .menu_list > ul > li > h3 > a {
    opacity: 0;
    -webkit-transform: translateY(30%);
    transform: translateY(30%);
  }

  .menu-open #site-header .menu_list > ul > li > h3 > a {
    opacity: 1;
  }

  .menu-open header#site-header .header_menu .menu_btn,
  .menu-open header#site-header .menu_list > ul > li > h3 > a {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
  }

  .menu-open header#site-header .header_menu .footer_links,
  .menu-open header#site-header .header_menu .footer_social {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
  }

  .menu-open header#site-header .header_menu .menu_btn {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }

  .menu-open #site-header .header_menu .menu_list > ul > li::before,
  .menu-open #site-header .header_menu .menu_list > ul > li:last-child::after {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
  }

  .menu-open header#site-header .header_menu .footer_links {
    -webkit-transition-delay: 1.1s;
    transition-delay: 1.1s;
  }

  .menu-open header#site-header .header_menu .footer_social {
    -webkit-transition-delay: 1.2s;
    transition-delay: 1.2s;
  }

  .menu-open header#site-header .header_menu small {
    -webkit-transition-delay: 1.3s;
    transition-delay: 1.3s;
    letter-spacing: 0.04em;
  }

  .menu-open header#site-header .header_menu .menu_btn,
  .menu-open header#site-header .menu_list > ul > li > h3 > a,
  .menu-open header#site-header .header_menu .footer_links,
  .menu-open header#site-header .header_menu .footer_social {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: cubic-bezier(0.42, 0, 0, 0.99);
    transition-timing-function: cubic-bezier(0.42, 0, 0, 0.99);
  }
}

.menu-open header#site-header .header_menu .menu_list > ul > li > h3 > a {
  -webkit-transition-property: all, color !important;
  transition-property: all, color !important;
  -webkit-transition-duration: 1s, 0.4s !important;
  transition-duration: 1s, 0.4s !important;
  -webkit-transition-timing-function: ease-in-out, ease-in-out !important;
  transition-timing-function: ease-in-out, ease-in-out !important;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(1) > h3 > a {
  -webkit-transition-delay: 0.4s, 0s;
  transition-delay: 0.4s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(2) > h3 > a {
  -webkit-transition-delay: 0.5s, 0s;
  transition-delay: 0.5s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(3) > h3 > a {
  -webkit-transition-delay: 0.6s, 0s;
  transition-delay: 0.6s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(4) > h3 > a {
  -webkit-transition-delay: 0.7s, 0s;
  transition-delay: 0.7s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(5) > h3 > a {
  -webkit-transition-delay: 0.8s, 0s;
  transition-delay: 0.8s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(6) > h3 > a {
  -webkit-transition-delay: 0.9s, 0s;
  transition-delay: 0.9s, 0s;
}

.menu-open header#site-header .header_menu .menu_list > ul > li:nth-child(7) > h3 > a {
  -webkit-transition-delay: 1s, 0s;
  transition-delay: 1s, 0s;
}

@media screen and (min-width: 980px) {
  #site-header .js-hover-group.active > li {
    color: #ededed;
  }

  #site-header .js-hover-group.active > li a::before {
    background-color: #ededed;
  }

  #site-header .js-hover-group.active > li:hover {
    color: #111111;
  }

  #site-header .js-hover-group.active > li:hover.active a::before {
    background-color: #111;
  }
}

#site-header .js-hover li a,
#site-header .js-hover li a img {
  -webkit-transition: 0.3s ease-in-out 0s;
  transition: 0.3s ease-in-out 0s;
}

#site-header .js-hover li a::before {
  -webkit-transition: 0.3s ease-in-out 0s;
  transition: 0.3s ease-in-out 0s;
  background-color: #111111;
}

@media screen and (min-width: 980px) {
  #site-header .js-hover.active li a {
    color: #ededed;
  }

  #site-header .js-hover.active li a img {
    opacity: 0.1;
  }

  #site-header .js-hover.active li a::before {
    background-color: #eee !important;
  }

  #site-header .js-hover.active li a:hover {
    color: #111;
  }

  #site-header .js-hover.active li a:hover img {
    opacity: 1;
  }

  #site-header .js-hover.active li a:hover::before {
    background-color: #111111 !important;
    -webkit-transition: 0.3s ease-in-out 0s;
    transition: 0.3s ease-in-out 0s;
    -webkit-animation-name: animation-line;
    animation-name: animation-line;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-direction: nomal;
    animation-direction: nomal;
    -webkit-animation-fill-mode: none;
    animation-fill-mode: none;
  }
}

/* ---- スクロールに追従（sticky）。下部固定ナビ #fixedNav（z-index: 1000）より前面に出す ---- */
header#site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  z-index: 1100;
}

/* 1440px超では背景(白)を画面幅いっぱいに広げ、中身だけ1440px幅に収める */
@media screen and (min-width: 1440px) {
  header#site-header {
    padding-left: calc((100% - 1440px) / 2 + 20px);
    padding-right: calc((100% - 1440px) / 2 + 20px);
  }
}

/* ---- メニューを開いている間だけ MENU/CLOSE ボタンを画面に固定（common.css の menuFixed 相当） ----
   開いたままスクロールしてヘッダーが画面外へ出ても、閉じられるようにするため */
.menu-open header#site-header .header_links .header_menu_icon {
  position: fixed;
  top: 25px;
  right: 21px;
}

@media screen and (min-width: 980px) {
  .menu-open header#site-header .header_links .header_menu_icon {
    top: 20px;
    right: 49px;
  }
}

@media screen and (min-width: 1440px) {
  .menu-open header#site-header .header_links .header_menu_icon {
    right: calc((100% - 1440px) / 2 + 45px);
  }
}

/* ---- アンカー遷移（#diagnosis など）・scrollIntoView で、追従ヘッダーに見出しが隠れないようにする ---- */
html {
  scroll-padding-top: 66px;
}

@media screen and (min-width: 980px) {
  html {
    scroll-padding-top: 65px;
  }
}

/* #diagnosis へのジャンプでは、ヘッダー分の余白（scroll-padding-top）を打ち消して上の隙間を防ぐ。
   JS の読み込み前にジャンプしても効くよう CSS で指定する */
#diagnosis {
  scroll-margin-top: -66px;
}

@media screen and (min-width: 980px) {
  #diagnosis {
    scroll-margin-top: -65px;
  }
}
