/*******************************************************
ヘッダー
*******************************************************/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  /* border-bottom: 1px solid #eee; */
  z-index: 999999;
  width: 100%;
}

.site-header .information {
  padding: 5px 0;
  background: #f1ebd2;
  color: #555555;
  font-size: 12px;
}

.site-header .information {
  max-height: 60px;
  /* 1行想定の上限（必要なら調整） */
  transition: max-height .25s ease, opacity .25s ease, padding .25s ease;
  overflow: hidden;
}

.site-header.is-locked-info .information {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
}

.site-header.is-hidden-info .information {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
}

.site-header .information a {
  color: #555555;
}

.site-header .information a:hover {
  color: #787878;
}

.site-header .information p {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.site-header .header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-header .header-nav .item {
  flex: 1;
  /* ← これで均等に分割 */
}

.site-header .header-logo {
  text-align: center;
}

.site-header .header-nav .right-align {
  text-align: right;
}

.site-header .nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding-left: 0;
  font-weight: 500;
}

.site-header .nav-links a {
  font-size: 14px;
  color: #555555;
  text-decoration: none;
  transition: 0.5s;
  word-break: keep-all;
}

.site-header .nav-links a:hover {
  color: #000000;
}

.site-header .header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 150px;
  margin-left: auto;
}

.site-header .header-icons a.icon.cart-icon{
  position: relative;
}
.site-header .header-icons a.icon.cart-icon span.icn_cart_in {
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #555555;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
}

.site-header .menu-button {
  background: none;
  border: none;
  cursor: pointer;
}

.site-header .menu-label {
  font-size: 12px;
}

.site-header .menu-wrapper {
  width: 60px;
  cursor: pointer;
  text-align: center;
  margin: 0 auto;
}

.site-header .menu-bar {
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background-color: #aaa;
  transition: all 0.3s ease;
}

.site-header .menu-bar:first-child {
  margin-top: 0;
}

.site-header .menu-bar.bottom {
  margin: 6px auto 0;
}

.site-header .menu-label {
  font-weight: bold;
  color: #555;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

.site-header .menu-wrapper.active .top {
  transform: translateY(10px) rotate(45deg);
}

.site-header .menu-wrapper.active .middle {
  opacity: 0;
}

.site-header .menu-wrapper.active .bottom {
  transform: translateY(-10px) rotate(-45deg);
}

body.is-fixed .site-header {
  transform: none !important;
}



/* モバイル最適化（ヘッダー関連のみ） */
@media (max-width: 768px) {
  .site-header .header-inner {
    padding: 8px 5px;
  }

  .site-header .information {
    position: relative;
    padding: 2% 5%;
  }

  .site-header .information:after {
    content: '...';
    padding: 0 5%;
    position: absolute;
    right: 0;
    background: #f1ebd2;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    content: none;
  }

  body.is-fixed .site-header .information:after {
    display: none;
  }

  .site-header .information p {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    word-break: keep-all;
  }

  .site-header .header-logo.item {
    display: flex;
    justify-content: left;
  }

  .site-header .header-logo.item svg {
    height: auto;
    width: 80%;
  }

  .site-header .header-icons {
    gap: 15px;
    justify-content: flex-end;
  }

  .site-header .header-icons a {
    font-size: 0;
  }

  .site-header .header-icons svg {
    height: 100%;
    width: 100%;
    vertical-align: middle;
  }

  .site-header .menu-wrapper {
    margin: 0;
    width: auto;
  }

  .site-header .menu-bar {
    margin: 7px 0 7px;
  }

  .site-header .menu-bar:first-child {
    margin: 0 0 7px;
  }

  .site-header .menu-bar.bottom {
    margin: 7px 0 0;
  }

  .site-header .menu-label {
    width: fit-content;
  }

  /* nav-links を非表示に */
  .header-nav .item-left {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .site-header .information p {
    letter-spacing: 0;
  }
}

/*******************************************************
スライドメニュー（.site-header の外に配置）
*******************************************************/
.slide-menu {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: min(360px, 100%);
  height: calc(100dvh - var(--header-h));
  padding: 0 25px;
  background: #fff;
  transition: right 0.3s ease-in-out;
  z-index: 100000;
  /* ヘッダーより上にしたい場合は site-header より大きく */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .08);
}

.slide-menu.open {
  right: 0;
}

/* -20px はやめて横スクロール要因を排除 */

.slide-menu .slide-menu-inner {
  padding: 20px;
}

/* リンク群 */
.slide-menu .slide-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-menu .slide-links li {
  margin-bottom: 12px;
  line-height: 1.4;
}

.slide-menu .slide-links li strong {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.slide-menu .slide-links a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  color: #111;
  padding: 10px 8px;
  background: #f9f9f9;
  border-radius: 6px;
  transition: background-color .2s ease;
}

.slide-menu .slide-links a:hover {
  background: #efefef;
}

/* アイコン行 */
.slide-menu .slide-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.slide-menu .slide-icons a {
  font-size: 20px;
  padding: 8px;
  border-radius: 8px;
  background: #f0f0f0;
  text-align: center;
  transition: background .3s;
}

.slide-menu .slide-icons a:hover {
  background: #e0e0e0;
}

/* メニュー内セクション（高さは可変。固定100vhはやめる） */
.slide-menu .menu-section {
  padding: 16px 0;
}

.slide-menu .menu-section a {
  text-decoration: none;
  color: #555555;
  opacity: 1;
  transition: .5s;
}

.slide-menu .menu-section a:hover {
  opacity: .5;
}

.slide-menu .menu-section .menu-title {
  padding: 15px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #999;
  color: #555;
}

.slide-menu .menu-section .menu-title:first-child,
.slide-menu .menu-section .menu-title.support {
  padding: 15px 0 0;
  border-bottom: none;
}

/* .slide-menu .menu-title:after {
  content: '＞';
  position: absolute;
  right: 0;
  color: #555555;
} */

.slide-menu .menu-title:first-child:after,
.slide-menu .menu-section .menu-title.support:after {
  content: '';
}

.slide-menu .menu-section .menu-title span {
  display: block;
  font-weight: 400;
  font-size: 12px;
}

.slide-menu .menu-section .menu-item {
  align-items: center;
  padding: 15px 0 0 20px;
}

.slide-menu .menu-section .menu-item .item {
  padding: 0 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #999;
}

.slide-menu .menu-section .menu-item .item:before {
  content: '';
  position: absolute;
  background-position: center;
  background-size: cover;
  width: 30px;
  height: 30px;
}

/* .slide-menu .menu-section .menu-item .item:after {
  content: '＞';
  position: absolute;
  right: 0;
} */

.slide-menu .menu-section .menu-item .item.kurokami:before {
  background-image: url(https://d2w53g1q050m78.cloudfront.net/wwwharushopjp/uploads/assets/images/header/menu_item_kurokami.jpg);
}

.slide-menu .menu-section .menu-item .item.hair:before {
  background-image: url(https://d2w53g1q050m78.cloudfront.net/wwwharushopjp/uploads/assets/images/header/menu_item_hair.jpg);
}

.slide-menu .menu-section .menu-item .item.skin:before {
  background-image: url(https://d2w53g1q050m78.cloudfront.net/wwwharushopjp/uploads/assets/images/header/menu_item_skin.jpg);
}

.slide-menu .menu-section .menu-item .item.special:before {
  background-image: url(https://d2w53g1q050m78.cloudfront.net/wwwharushopjp/uploads/assets/images/header/menu_item_special.jpg);
}

.slide-menu .menu-section .item-labels-en {
  padding-left: 35px;
}

.slide-menu .menu-section .item-labels-jp {
  display: block;
  font-weight: 400;
  font-size: 12px;
}

.slide-menu .menu-section .menu-item.support .item-labels-en {
  padding-left: 0;
}

/* ハンバーガーメニュー内 snsアイコン */
.slide-menu .menu-section .sns_wrapper {
  margin: 30px auto;
  max-width: 600px;
}

.slide-menu .menu-section .sns_wrapper .title {
  margin: 0 auto 50px;
  display: block;
  padding: 10px 10%;
  width: fit-content;
  background: #aaaaaa;
  color: #FFF;
  text-align: center;
  line-height: 1rem;
}

.slide-menu .menu-section .sns_wrapper .icons {
  display: flex;
  justify-content: center;
  gap: 5%;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(100%);
  overflow: visible;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon svg {
  display: block;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon .cls-1 {
  fill: #aaa;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon .cls-2 {
  fill: #fff;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon.line .cls-1 {
  fill: #fff;
}

.slide-menu .menu-section .sns_wrapper .icons .sns_icon.line .cls-2 {
  fill: #aaa;
}

/* モバイル */
@media (max-width: 768px) {
  .slide-menu {
    padding: 16px 12px;
    width: 100%;
  }

  .slide-menu .slide-links a {
    font-size: 14px;
    padding: 10px 6px;
  }

  .slide-menu.open {
    padding: 5%;
  }

  .slide-menu .menu-section {
    padding: 0 5%;
  }
}


/*******************************************************
FOOTER
*******************************************************/
.site-footer {
  margin: 50px 0 20px;
}

.site-footer h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: left;
}

.site-footer .container {
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
  max-width: 800px;
  margin: 40px auto 0;
  gap: 3%;
}

.site-footer .container .box_l,
.site-footer .container .box_r {
  width: 50%;
}

.site-footer .container ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .container li {
  position: relative;
  vertical-align: middle;
  text-decoration: none;
  border-bottom: 1px solid #999;
}

.site-footer .container li:last-child {
  border-bottom: none;
}

/* .site-footer .container li::after {
  content: '＞';
  display: block;
  width: 10px;
  height: 10px;
  border: 0px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
} */

.site-footer a {
  display: block;
  text-decoration: none;
  color: #555;
  position: relative;
  padding: 5% 2%;
  text-align: left;
}

.site-footer a::before {
  content: "";
  position: absolute;
  left: 0;
  color: #555;
}

.site-footer .copy {
  width: fit-content;
  margin: 3% auto 0;
  font-size: 12px;
}


@media (max-width: 768px) {
  .site-footer {
    padding: 0 5%;
  }

  .site-footer .container {
    flex-direction: column;
  }

  .site-footer .container .box_l,
  .site-footer .container .box_r {
    width: 100%;
  }

  .site-footer .container .box_r {
    margin-top: 50px;
  }

  .site-footer .container li:last-child {
    border-bottom: 1px solid #999;
  }
}