:root {
  --module-color-black: #000000;
  --module-color-white: #ffffff;
  --module-color-primary: #b81620;
  --module-color-brown: #7a5831;
  --module-color-sand: #f4ecda;
  --module-color-light: #f5f5f5;
  --module-color-gray: #606060;
  --module-color-lightgray: #a8a8a8;
  --module-color-darkgray: #3e3e3e;
  --module-color-borer: #d9d9d9;
  --module-color-orange: #f15a24;
  --module-color-yellow: #a47717;
  --module-color-title-yellow: #bc9d5a;
  --module-color-text-brown: #684926;
  --module-font-sans: "Noto Sans JP", sans-serif;
  --module-font-inter: "Inter", sans-serif;
  --module-font-serif: "Noto Serif JP", serif;
  --module-inner-width: min(960px, calc(100% - 45px));
  --module-inner-large-width: min(1100px, calc(100% - 45px));
  --module-header-height: 70px;
}

.inner {
  width: var(--module-inner-width);
  margin-inline: auto;
}

.innerLarge {
  width: var(--module-inner-large-width);
  margin-inline: auto;
}

.sp_only {
  @media (min-width: 769px) {
    display: none;
  }
}

.pc_only {
  @media (max-width: 768px) {
    display: none;
  }
}

/* パンくずリスト */
.productsBreadcrumb {
  padding-block: 36px 43px;
  font-size: 14px;

  a {
    text-decoration: underline;
  }

  > span {
    display: inline-block;
  }

  @media (max-width: 768px) {
    padding-block: 36px 23px;
  }
}

.productsBreadcrumb__text {
  margin: 0;
}

html:has(.globalMenu.on) {
  @media (max-width: 768px) {
    overflow: hidden;
  }
}

/* ヘッダー */
#header.productsHeader {
  padding: 0;
  height: var(--module-header-height);
  transition: height 0.3s ease;
}

@media screen and (max-width: 991px) {
  #header.productsHeader {
    padding: 0;
    height: var(--module-header-height);
  }
}

#header #headerInner.productsHeader__inner {
  background-color: var(--module-color-primary);
  height: inherit;
}

#menu.productsMenu {
  transition: height 0.3s ease, top 0.3s ease;
}

#menu.productsMenu:not(.active) .btn {
  background: initial;
  border: none;
  padding: 5px;
}
#menu.productsMenu:not(.active) .btn span {
  background: var(--module-color-white);
  width: 100%;
  height: 3px;
}

#header.productsHeader #logo img {
  width: 168px;
  display: block;
  height: auto;
  @media (max-width: 768px) {
    width: 168px;
  }
}

#login {
  background: initial !important;
  border: none !important;
  width: 63px !important;
  transition: height 0.3s ease;

  img,
  a {
    height: inherit !important;
  }
}

#menu.productsMenu:not(.active) .btn span:nth-child(1) {
  top: -10px;
}
#menu.productsMenu:not(.active) .btn span:nth-child(3) {
  top: 10px;
}
/* #menu.productsMenu.active .btn span:nth-child(1) {
  top: 2.5px;
}
#menu.productsMenu.active .btn span:nth-child(3) {
  top: -2.5px;
}  */

@media screen and (max-width: 991px) {
  #header.productsHeader.is_scroll {
    --module-header-height: 50px;

    #login {
      top: 5px;
      height: 40px;
    }
  }

  #menu.productsMenu.is_scroll {
    top: 0;
  }
}

/* グローバルメニュー */
#gnav.globalMenu {
  width: min(400px, 100%);
  min-height: 100svh;

  @media screen and (max-width: 767px) {
    width: min(430px, 100%);
  }
}
/* トップヘッダー用 */
#menu-cnt.globalMenu {
  width: min(400px, 100%);
  min-height: 100svh;
  inset: 0 0 auto auto;

  @media screen and (max-width: 767px) {
    width: min(430px, 100%);
  }
}

#menu-cnt .globalMenu__container,
#gnav .globalMenu__container {
  height: 100%;
  overflow: auto;
  padding-block: 98px 200px;
  padding-inline: 70px;

  @media screen and (max-width: 767px) {
    padding-inline: 45px;
  }
}

#gnav .globalMenu__container {
  -webkit-transform: translate(0, -100%);
  -ms-transform: translate(0, -100%);
  transform: translate(0, -100%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}
#gnav.on .globalMenu__container {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
#gnav.off .globalMenu__container {
  -webkit-transform: translate(0, 100%);
  -ms-transform: translate(0, 100%);
  transform: translate(0, 100%);
}

.globalMenu__header {
}

#menu-cnt .globalMenu__login,
#gnav .globalMenu__login {
  display: grid;
  grid-template-columns: 21px max-content;
  justify-content: center;
  gap: 12.5px;
  width: 100%;
  min-height: 56px;
  place-items: center;
  color: var(--module-color-white);
  border: 1px solid var(--module-color-white);
  border-radius: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: calc(35 / 18);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--module-font-inter);

  @media screen and (max-width: 767px) {
    grid-template-columns: 28px max-content;
    min-height: 63px;
    border-radius: 31.5px;
    font-size: 22px;
    gap: 16px;
  }

  img {
    width: 100%;
    height: auto;
  }
}

#menu-cnt .globalMenu__contents,
#gnav .globalMenu__contents {
  margin-block-start: 40px;
  display: grid;
  gap: 35px;

  @media screen and (max-width: 767px) {
    margin-block-start: 60px;
    gap: 60px;
  }
}

#gnav .globalMenu__listBlock {
}

#menu-cnt .globalMenu__listTitle,
#gnav .globalMenu__listTitle {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: initial;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--module-color-white);
  padding-block: 10px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--module-color-white) 25%, transparent);
  width: 100%;
  text-align: left;

  @media screen and (max-width: 767px) {
    font-size: 20px;
    padding-block: 12px;
  }
}

#menu-cnt .globalMenu__listTitle.accordionBtn,
#gnav .globalMenu__listTitle.accordionBtn {
  @media screen and (max-width: 767px) {
    position: relative;
    cursor: pointer;

    &::before,
    &::after {
      content: "";
      display: block;
      width: 18px;
      height: 2px;
      background: currentColor;
      border-radius: 5px;
      position: absolute;
      top: 50%;
      right: 9px;
      transform-origin: center center;
      transition: transform 0.3s ease;
    }
    &::before {
      transform: translate(0%, -50%) rotate(90deg);
    }
    &::after {
      transform: translate(0%, -50%) rotate(0deg);
    }

    &.is_active {
      &::before {
        transform: translate(0%, -50%) rotate(0deg);
      }
    }
  }
}

#menu-cnt .globalMenu__listsWrap.accordionTarget,
#gnav .globalMenu__listsWrap.accordionTarget {
  @media screen and (max-width: 767px) {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;

    > ul {
      overflow: hidden;
    }

    &.is_active {
      grid-template-rows: 1fr;
    }
  }
}

#gnav .globalMenu__lists {
  margin: 0;
  padding: 0;
}

#menu-cnt .globalMenu__list,
#gnav .globalMenu__list {
  list-style: none;
}

#menu-cnt .globalMenu__list a,
#gnav .globalMenu__list a {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--module-color-white);
  font-family: var(--module-font-inter);
  padding-block: 12px;
  padding-inline: 13px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--module-color-white) 25%, transparent);
  width: 100%;
  text-align: left;
  text-decoration: none;

  @media screen and (max-width: 767px) {
    font-size: 18px;
    padding-block: 12px;
  }
}

#menu-cnt .globalMenu__sub,
#gnav .globalMenu__sub {
  margin-block-start: 18px;
}

#menu-cnt .globalMenu__subLists,
#gnav .globalMenu__subLists {
  display: grid;
  gap: 10px;
  padding-inline: 13px;

  @media screen and (max-width: 767px) {
    gap: 15px;
  }
}

#menu-cnt .globalMenu__subList,
#gnav .globalMenu__subList {
  list-style: none;
}

#menu-cnt .globalMenu__subList a,
#gnav .globalMenu__subList a {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--module-color-white);
  width: fit-content;
  text-decoration: underline;

  @media screen and (max-width: 767px) {
    font-size: 14px;
  }
}

#menu-cnt .globalMenu__footer,
#gnav .globalMenu__footer {
  margin-block-start: 54px;

  @media screen and (max-width: 767px) {
    margin-block-start: 80px;
  }
}

#menu-cnt .globalMenu__link,
#gnav .globalMenu__link {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 56px;
  color: var(--module-color-white);
  border: 1px solid var(--module-color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: calc(35 / 18);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--module-font-inter);

  @media screen and (max-width: 767px) {
    min-height: 65px;
    font-size: 18px;
  }
}

#menu-cnt .globalMenu__sns,
#gnav .globalMenu__sns {
  margin-block-start: 35px;

  @media screen and (max-width: 767px) {
    margin-block-start: 50px;
  }
}

#menu-cnt .globalMenu__snsLists,
#gnav .globalMenu__snsLists {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0;
}

#menu-cnt .globalMenu__snsList,
#gnav .globalMenu__snsList {
  transition: opacity 0.3s ease;
  width: 25px;
  list-style: none;

  @media (any-hover: hover) {
    &:hover {
      opacity: 0.7;
    }
  }
}

#menu-cnt .globalMenu__snsList img,
#gnav .globalMenu__snsList img {
  display: block;
  width: 100%;
  height: auto;
}


.globalMenuOverlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;

  body:has(.globalMenu.on) & {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 90;
  }

  body:has(.globalMenu.isOpen) & {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 30;
  }
}


/* フッター */
#footer.footer {
  width: 100%;
  background-color: var(--module-color-primary);
  padding: 0;
  padding-block: 68px 180px;
  height: initial;

  @media screen and (max-width: 767px) {
    padding-block: 90px 140px;
  }
}

.footer__inner {
  max-width: var(--module-inner-width);
  margin-inline: auto;

  @media screen and (max-width: 767px) {
    max-width: 500px;
  }
}

#footer .footer__container {
  height: 100%;
  overflow: auto;
  display: grid;

  @media screen and (max-width: 767px) {
    padding-inline: 45px;
  }
}

.footer__header {
  display: none;

  @media screen and (max-width: 767px) {
    display: block;
  }
}

#footer .footer__login {
  display: grid;
  grid-template-columns: 21px max-content;
  justify-content: center;
  gap: 12.5px;
  width: 100%;
  min-height: 56px;
  place-items: center;
  color: var(--module-color-white);
  border: 1px solid var(--module-color-white);
  border-radius: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: calc(35 / 18);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--module-font-inter);

  @media screen and (max-width: 767px) {
    grid-template-columns: 28px max-content;
    min-height: 63px;
    border-radius: 31.5px;
    font-size: 22px;
    gap: 16px;
  }

  img {
    width: 100%;
    height: auto;
  }
}

#footer .footer__contents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 70px;

  @media screen and (max-width: 767px) {
    gap: 60px;
  }
}

#footer .footer__listBlock {
}

#footer .footer__listTitle {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: initial;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--module-color-white);
  padding-block: 12px;
  padding-inline: 8px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--module-color-white) 25%, transparent);
  width: 100%;
  text-align: left;

  @media screen and (max-width: 767px) {
    font-size: 20px;
    padding-block: 8px;
    padding-inline: initial;
  }
}

#footer .footer__lists {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer__list a {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--module-color-white);
  font-family: var(--module-font-inter);
  padding-block: 12px;
  padding-inline: 12px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--module-color-white) 25%, transparent);
  width: 100%;
  text-align: left;
  text-decoration: none;

  @media screen and (max-width: 767px) {
    font-size: 18px;
    padding-inline: 15px;
  }
}

#footer .footer__sub {
  margin-block-start: 22px;
}

#footer .footer__subLists {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
  padding-inline: 12px;

  @media screen and (max-width: 767px) {
    gap: 15px;
    padding-inline: 15px;
  }
}

#footer .footer__subList a {
  display: block;
  font-family: var(--module-font-inter);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--module-color-white);
  width: fit-content;
  text-decoration: underline;

  @media screen and (max-width: 767px) {
    font-size: 14px;
  }
}

#footer .footer__footer {
  margin-block-start: 80px;

  @media screen and (max-width: 767px) {
    margin-block-start: 80px;
  }
}

#footer .footer__link {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 56px;
  color: var(--module-color-white);
  border: 1px solid var(--module-color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: calc(35 / 18);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--module-font-inter);

  @media screen and (max-width: 767px) {
    min-height: 65px;
    font-size: 18px;
  }
}

#footer .footer__sns {
  margin-block-start: 35px;

  @media screen and (max-width: 767px) {
    margin-block-start: 30px;
  }
}

#footer .footer__snsLists {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;

  @media screen and (max-width: 767px) {
    gap: 30px;
    max-width: 100%;
  }
}

#footer .footer__snsList {
  transition: opacity 0.3s ease;
  width: 30px;
  @media (any-hover: hover) {
    &:hover {
      opacity: 0.7;
    }
  }
}

#footer .footer__snsList img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__copyright {
  display: block;
  color: var(--module-color-white);
  margin-block-start: 10px;
  font-size: 11px;
  font-family: var(--module-font-inter);
  padding-block: 8px;

  @media screen and (max-width: 767px) {
    margin-block-start: 65px;
    font-size: 10px;
    padding-block: 4px;
    text-align: center;
  }
}
