.p-site-header {
  position: relative;
  z-index: 9999;
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #e64336;
}

.p-site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
}

body.has-fixed-header {
  padding-top: var(--site-header-height, 140px);
}

body.is-menu-open {
  overflow: hidden;
}

.p-site-header__top {
  background: #fff;
}

.p-site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  max-width: 1080px;
  min-height: 100px;
  margin: 20px auto 0 auto;
}

.p-site-header__logo {
  margin: 0;
  align-self: center;
}

.p-site-header__logo a,
.p-site-header__logo picture {
  display: block;
  width: fit-content;
}

.p-site-header__logo img {
  width: 100%;
  height: auto;
}

.p-site-header__right {
  display: grid;
  grid-template-columns: minmax(0, auto) 120px;
  align-items: start;
  gap: 16px;
}

.p-site-header__tel {
  margin: 0;
  color: #CDA55A;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  margin-top: 1rem;
}

.p-site-header__tel-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-top: -5px;
}

.p-site-header__tel-free {
  display: block;
  color: #CDA55A;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.p-site-header__tel img {
  display: block;
  width: 32px;
  height: auto;
  margin-top: 2px;
}

.p-site-header__tel-number {
  display: inline-block;
  font-family: var(--font-base);
  vertical-align: middle;
}

.p-site-header__tel-note {
  display: block;
  color: #000;
  font-size: 13px;
  line-height: 1.5;
}

.p-site-header__cart {
  width: 110px;
  margin-top: 10px;
  padding: 5px 0;
  border-radius: 6px;
  background: #e65050;
  align-self: start;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

.p-site-header__cart a {
  display: block;
  color: #fff;
}

.p-site-header__cart img {
  width: 42px;
  height: auto;
}

.p-site-header__cart:hover {
  background: #e65050;
}

.p-site-header__cart--sp,
.p-site-header__tel-button,
.p-site-header__menu-trigger,
.p-mobile-nav {
  display: none;
}

.p-global-nav {
  width: 100%;
  background: #F2F2F2;
  font-family: var(--font-base);
  padding-bottom: 5px;
  padding-top: 5px;
}

.p-global-nav__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.p-global-nav__item {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.p-global-nav__item:hover {
  background: #dfdfdf;
}

.p-global-nav__item>a {
  display: block;
}

.p-global-nav__sub-list {
  position: absolute;
  top: 38px;
  left: 0;
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #444;
}

.p-global-nav__item:hover .p-global-nav__sub-list,
.p-global-nav__item:focus-within .p-global-nav__sub-list {
  display: block;
}

.p-global-nav__sub-list li {
  border-bottom: 1px solid #fff;
}

.p-global-nav__sub-list li:last-child {
  border-bottom: none;
}

.p-global-nav__sub-list a {
  display: block;
  font-size: 0.8rem;
  padding: 8px 5px;
  color: #fff;
}

@media screen and (max-width: 640px) {

  .p-site-header__right,
  .p-global-nav {
    display: none;
  }

  .p-site-header {
    height: 82px;
    border-bottom: 2px solid #ee5b57;
  }

  .p-site-header__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 82px;
    padding: 10px 12px 8px;
    box-shadow: none;
    margin-top: 0;
  }

  .p-site-header__logo {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    margin: 0;
  }

  .p-site-header__logo a,
  .p-site-header__logo picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .p-site-header__logo img {
    width: auto;
    max-height: 50px;
  }

  .p-site-header__cart--sp {
    display: block;
    order: 4;
    flex: 0 0 92px;
    width: 92px;
    min-height: 60px;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    background: #ee5b57;
    font-size: 11px;
    line-height: 1.2;
  }

  .p-site-header__cart--sp a,
  .p-site-header__tel-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    min-height: 60px;
    padding: 6px 4px 4px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .p-site-header__cart--sp a {
    color: #fff;
  }

  .p-site-header__tel-button img,
  .p-site-header__cart--sp img {
    width: 32px;
    height: 32px;
  }

  .p-site-header__tel-button {
    order: 3;
    flex: 0 0 78px;
    width: 78px;
    min-height: 60px;
    padding: 0;
    border: 2px solid #e64336;
    border-radius: 12px;
    background: #fff;
    color: #e64336;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
  }

  .p-site-header__menu-trigger {
    order: 1;
    z-index: 1;
    display: flex;
    flex: 0 0 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 64px;
    min-height: 60px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #80756f;
  }

  .p-site-header__menu-trigger span {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: #8e857f;
    transition: transform .4s ease, opacity .4s ease;
  }

  .p-site-header__menu-trigger strong {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
  }

  .p-site-header__menu-trigger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(-315deg);
  }

  .p-site-header__menu-trigger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .p-site-header__menu-trigger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(315deg);
  }

  .p-mobile-nav {
    position: fixed;
    top: 82px;
    left: 0;
    z-index: 6000;
    display: none;
    width: 100%;
    height: calc(100dvh - 82px);
    overflow: auto;
    background: rgba(50, 50, 45, 0.9);
    color: #fff;
    font-family: var(--font-base);
  }

  .p-mobile-nav.is-open {
    display: block;
  }

  .p-mobile-nav__list,
  .p-mobile-nav__sub-list {
    margin: 0;
    padding: 20px;
    list-style: none;
  }

  .p-mobile-nav__list>li {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px dotted #fff;
  }

  .p-mobile-nav__sub-list {
    padding: 10px 0 0 20px;
    display: grid;
    gap: 8px;
  }

  .p-mobile-nav__parent {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 30px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    list-style: none;
    cursor: pointer;
  }

  .p-mobile-nav__parent::-webkit-details-marker {
    display: none;
  }

  .p-mobile-nav__parent::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cline x1='11' y1='4' x2='11' y2='18' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='4' y1='11' x2='18' y2='11' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
  }

  .p-mobile-nav__details[open] .p-mobile-nav__parent::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cline x1='4' y1='11' x2='18' y2='11' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .p-mobile-nav a,
  .p-mobile-nav__close button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
  }

  .p-mobile-nav__close {
    border-bottom: none;
    text-align: center;
  }

  .p-mobile-nav__close button {
    width: 200px;
    margin: 20px auto 0;
    padding: 8px 0;
    border: 1px solid #fff;
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  .p-site-header__inner {
    gap: 4px;
    padding: 8px 6px 6px;
  }

  .p-site-header__tel-button {
    width: 68px;
  }

  .p-site-header__cart--sp {
    width: 82px;
  }

  .p-site-header__cart--sp a,
  .p-site-header__tel-button {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-site-header__menu-trigger span {
    transition: none;
  }
}
