/* 2026.10 リニューアル ヘッダー（https://co-de.work/yakuzen/colorme/css/202610.css より抜粋） */
:root {
  --c26-text: #4A4640;
  --c26-header: #FBFAF8;
  --c26-beige: #FBF6EF;
  --c26-gray: #F9F9F5;
  --c26-accent: #BFAD99;
  --c26-border: #C9C4BD;
  --c26-header-h: 100px;
}
@media screen and (max-width: 1024px) {
  :root {
    --c26-header-h: 60px;
  }
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.h26-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 100%;
  height: var(--c26-header-h);
  background-color: var(--c26-header);
  border-bottom: 1px solid rgba(74, 70, 64, 0.15);
  color: var(--c26-text);
}
.h26-header a {
  color: var(--c26-text);
}
:where(.h26-header) button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
.h26-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 35px 0 52px;
}
.h26-logo {
  flex-shrink: 0;
  margin-right: auto;
}
.h26-logo img {
  display: block;
  width: 126px;
  height: auto;
}

/* グローバルナビ（PC） */
.h26-gnav__list {
  display: flex;
  align-items: center;
}
.h26-gnav__item {
  height: var(--c26-header-h);
}
.h26-gnav__btn {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-size: 15px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.h26-gnav__item.has-sub > .h26-gnav__btn::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 4px;
  background: url("https://co-de.work/yakuzen/colorme/img/202610/icon-chevron.svg") no-repeat center / contain;
  transition: transform 0.3s;
}
.h26-gnav__foot {
  display: none;
}

/* サブメニュー（PC） */
.h26-sub {
  position: absolute;
  left: 0;
  top: var(--c26-header-h);
  width: 100%;
  background-color: var(--c26-header);
  border-top: 1px solid rgba(74, 70, 64, 0.5);
  border-bottom: 1px solid rgba(74, 70, 64, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
@media screen and (min-width: 1025px) {
  .h26-gnav__item.has-sub:hover > .h26-sub,
  .h26-gnav__item.has-sub:focus-within > .h26-sub,
  .h26-gnav__item.has-sub.is-open > .h26-sub {
    opacity: 1;
    visibility: visible;
  }
  .h26-gnav__item.has-sub:hover > .h26-gnav__btn::after,
  .h26-gnav__item.has-sub.is-open > .h26-gnav__btn::after {
    transform: rotate(180deg);
  }
}
.h26-sub__links {
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 26px 0 24px;
}
.h26-sub__links a,
.h26-mega__ttl {
  display: inline-block;
  padding: 0 4px 6px;
  border-bottom: 1px solid var(--c26-text);
  font-size: 14px;
  letter-spacing: 0.15em;
}

/* メガメニュー（商品を見る） */
.h26-mega {
  display: flex;
  justify-content: center;
  gap: 55px;
  padding: 45px 30px 60px;
}
.h26-mega__col {
  min-width: 130px;
}
.h26-mega__ttl {
  margin-bottom: 18px;
  padding-right: 20px;
}
.h26-mega__links li {
  margin-bottom: 10px;
}
.h26-mega__links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #8A847C;
  transition: color 0.2s;
}
.h26-mega__links a:hover {
  color: var(--c26-text);
}
.h26-mega__links--2col {
  display: grid;
  grid-template-columns: repeat(2, 7em);
  column-gap: 2em;
}
.h26-mega__bnr {
  margin-left: 45px;
}
.h26-mega__bnr a {
  position: relative;
  display: flex;
  align-items: center;
  width: 230px;
  height: 66px;
  margin-bottom: 22px;
  overflow: hidden;
  transition: opacity 0.3s;
}
.h26-mega__bnr a:hover {
  opacity: 0.8;
}
.h26-mega__bnr span {
  position: relative;
  z-index: 1;
  padding-left: 22px;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.h26-mega__bnr-all {
  background-color: #EDECE8;
}
.h26-mega__bnr-all span {
  color: #8A847C;
}
.h26-mega__bnr-all img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
}
.h26-mega__bnr-gift {
  background-color: var(--c26-accent);
}
.h26-mega__bnr-gift span {
  color: #fff;
}
.h26-mega__bnr-gift img {
  position: absolute;
  right: 0;
  top: 0;
  width: 43%;
  height: 100%;
  object-fit: cover;
}

/* アイコン */
.h26-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 28px;
}
.h26-icon img {
  display: block;
  width: 22px;
  height: 22px;
}
.h26-menubtn {
  display: none;
}

/* ヘッダー（SP・タブレット） */
@media screen and (max-width: 1024px) {
  .h26-header__inner {
    padding: 0 16px 0 18px;
  }
  .h26-logo img {
    width: 86px;
  }
  .h26-icons {
    gap: 16px;
  }
  .h26-menubtn {
    display: block;
    position: relative;
    width: 28px;
    height: 22px;
    margin-left: 6px;
  }
  .h26-menubtn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--c26-text);
    transition: transform 0.3s, opacity 0.3s, top 0.3s;
  }
  .h26-menubtn span:nth-child(1) { top: 3px; }
  .h26-menubtn span:nth-child(2) { top: 11px; }
  .h26-menubtn span:nth-child(3) { top: 19px; }
  .is-menu-open .h26-menubtn span:nth-child(1) { top: 11px; transform: rotate(45deg); }
  .is-menu-open .h26-menubtn span:nth-child(2) { opacity: 0; }
  .is-menu-open .h26-menubtn span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

  .h26-gnav {
    position: fixed;
    left: 0;
    top: var(--c26-header-h);
    width: 100%;
    height: calc(100% - var(--c26-header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--c26-header);
    border-top: 1px solid rgba(74, 70, 64, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .is-menu-open .h26-gnav {
    opacity: 1;
    visibility: visible;
  }
  .h26-gnav__list {
    display: block;
  }
  .h26-gnav__item {
    height: auto;
    border-bottom: 1px solid rgba(74, 70, 64, 0.4);
  }
  .h26-gnav__btn {
    position: relative;
    width: 100%;
    height: 55px;
    padding: 0 50px 0 18px;
    font-size: 15px;
    text-align: left;
    box-sizing: border-box;
  }
  .h26-gnav__btn::after,
  .h26-gnav__item.has-sub > .h26-gnav__btn::after,
  .h26-mega__ttl::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 13px;
    height: 13px;
    margin: -6px 0 0;
    background: url("https://co-de.work/yakuzen/colorme/img/202610/icon-chevron.svg") no-repeat center / contain;
    transform: rotate(-90deg);
    transition: transform 0.3s;
  }
  .h26-gnav__item.has-sub > .h26-gnav__btn::after,
  .h26-mega__ttl::after {
    transform: rotate(0);
  }
  .h26-gnav__item.is-open > .h26-gnav__btn::after,
  .h26-mega__ttl.is-open::after {
    transform: rotate(180deg);
  }

  .h26-sub {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    border-bottom: none;
    border-top: 1px solid rgba(74, 70, 64, 0.4);
    transition: none;
  }
  .h26-sub__links {
    display: block;
    padding: 0;
  }
  .h26-sub__links li + li {
    border-top: 1px solid rgba(74, 70, 64, 0.4);
  }
  .h26-sub__links a {
    display: block;
    padding: 18px 18px 18px 30px;
    border-bottom: none;
    background-color: #F2EFE9;
    color: #8A847C;
  }

  .h26-mega {
    display: block;
    padding: 0;
  }
  .h26-mega__col {
    border-bottom: 1px solid rgba(74, 70, 64, 0.4);
  }
  .h26-mega__ttl {
    position: relative;
    display: block;
    margin: 0;
    padding: 18px 50px 18px 18px;
    border-bottom: none;
    font-size: 15px;
    cursor: pointer;
  }
  .h26-mega__links,
  .h26-mega__links--2col {
    display: none;
    border-top: 1px solid rgba(74, 70, 64, 0.4);
  }
  .h26-mega__links li {
    margin: 0;
  }
  .h26-mega__links li + li {
    border-top: 1px solid rgba(74, 70, 64, 0.4);
  }
  .h26-mega__links a {
    display: block;
    padding: 18px 18px 18px 30px;
    background-color: #F2EFE9;
    font-size: 14px;
  }
  .h26-mega__bnr {
    margin: 0;
    padding: 20px 0 0;
  }
  .h26-mega__bnr a {
    margin: 0 auto 20px;
    width: 200px;
    height: 58px;
  }

  .h26-gnav__foot {
    display: block;
    padding: 25px 45px 60px;
  }
  .h26-gnav__foot ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 10px;
  }
  .h26-gnav__foot a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .h26-gnav__insta {
    display: inline-block;
    margin-top: 22px;
  }
  .h26-gnav__insta img {
    width: 20px;
  }
  body.h26-noscroll {
    overflow: hidden;
  }
}
@media screen and (max-width: 374px) {
  .h26-icons {
    gap: 12px;
  }
}
