.header-pc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
  padding: 15px 40px;
  background: rgba(255, 255, 255, .95);
}

.header-sp {
  display: none;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--color-brown);
  transition: opacity .2s ease;
}

.brand:hover {
  opacity: .72;
}

.brand--pc {
  width: 349px;
}

.brand__lead {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: .05em;
}

.brand__name {
  font-family: var(--font-logo);
  font-size: 30px;
  line-height: 43px;
  letter-spacing: .1em;
}

.header-consult {
  display: grid;
  gap: 12px;
  width: 607px;
}

.header-consult__text {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .005em;
  text-align: center;
}

.header-consult__actions {
  display: flex;
  gap: 15px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 20px;
  border-radius: 10px;
  color: var(--color-white);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  transition: background .2s ease, transform .2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
}

.header-cta:active {
  transform: translateY(0);
}

.tel-link--sp {
  display: none !important;
}
.header-cta--tel {
  width: 183px;
  background: var(--color-tel);
}

.header-cta--tel:hover {
  background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), var(--color-tel);
}

.header-cta--line {
  width: 194px;
  background: var(--color-line);
}

.header-cta--line:hover {
  background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), var(--color-line);
}

.header-cta--mail {
  width: 200px;
  background: var(--color-gold);
}

.header-cta--mail:hover {
  background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), var(--color-gold);
}

.header-cta__icon {
  flex: 0 0 auto;
  max-width: none;
}

.header-cta__icon--tel {
  width: 28px;
  height: 28px;
}

.header-cta__icon--line {
  width: 33px;
  height: 32px;
}

.header-cta__icon--mail {
  width: 30px;
  height: 22px;
}

.header-cta__label,
.header-cta__value {
  display: block;
  text-align: center;
}

.header-cta__label {
  font-size: 15px;
  font-weight: 900;
}

.header-cta__value {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.menu-backdrop {
  position: fixed;
  inset: 58px 0 0;
  z-index: 1001;
  background: rgba(10, 33, 84, .28);
}

.sp-menu {
  position: fixed;
  top: 58px;
  right: 0;
  z-index: 1002;
  width: 330px;
  padding: 20px 10px;
  border-bottom-left-radius: 10px;
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateX(105%);
  transition: transform .25s ease;
  pointer-events: none;
}

.sp-menu.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.sp-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-menu__list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 17px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.4px;
  transition: opacity .2s ease, transform .2s ease;
}

.sp-menu__list a:hover {
  opacity: .78;
  transform: translateX(2px);
}

.sp-menu__list a::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 5px;
  margin-left: 12px;
  background: url("../images/icon-menu-arrow.svg") center / contain no-repeat;
}

.sp-menu__divider {
  height: 1px;
  margin: 20px 0 15px;
  border-top: 2px dotted rgba(255, 255, 255, .9);
}

.sp-menu__contact {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.sp-menu__contact a {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 51px;
  padding: 6px 0;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .2s ease, opacity .2s ease;
}

.sp-menu__contact a + a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 2px dotted rgba(255, 255, 255, .9);
}

.sp-menu__contact a:hover {
  background-color: rgba(255, 255, 255, .14);
}

.sp-menu__contact img {
  width: auto;
  max-width: none;
}

.sp-menu__contact a:nth-child(1) img {
  width: 16px;
  height: 16px;
}

.sp-menu__contact a:nth-child(2) img {
  width: 20px;
  height: 20px;
}

.sp-menu__contact a:nth-child(3) img {
  width: 20px;
  height: 15px;
}

.sp-menu__contact b {
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 1500px) and (min-width: 1001px) {
  .header-pc {
    padding-inline: 24px;
  }

  .brand--pc {
    width: 320px;
  }

  .header-consult {
    width: min(607px, 55vw);
  }

  .header-consult__actions {
    gap: 10px;
  }

  .header-cta {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
  }

  .header-cta--tel,
  .header-cta--line,
  .header-cta--mail {
    width: auto;
  }
}

@media (max-width: 1000px) {
  .tel-link--pc {
    display: none !important;
  }

  .tel-link--sp {
    display: flex !important;
  }

  .header-pc {
    display: none;
  }

  .header-sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    background: rgba(255, 255, 255, .95);
  }

  .brand--sp {
    justify-content: center;
    width: calc(100% - 54px);
    height: 58px;
    padding-left: 20px;
  }

  .brand--sp .brand__lead {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .05em;
  }

  .brand--sp .brand__name {
    font-size: 20px;
    line-height: 27px;
    letter-spacing: .1em;
  }

  .menu-button {
    position: relative;
    display: block;
    flex: 0 0 54px;
    width: 54px;
    height: 58px;
    padding: 0;
    background: var(--color-gold);
    color: var(--color-white);
    transition: filter .2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-button:hover {
    filter: brightness(1.08);
  }

  .menu-button:focus,
  .menu-button:focus-visible,
  .menu-button:active {
    outline: none;
    box-shadow: none;
  }

  .menu-button__icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 22px;
    height: 14px;
    max-width: none;
  }

  .menu-button__text {
    position: absolute;
    top: 30px;
    left: 0;
    width: 54px;
    height: 30px;
    font-size: 8px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
  }
}

@media (max-width: 374px) {
  .brand--sp {
    padding-left: 14px;
  }

  .brand--sp .brand__name {
    font-size: 18px;
  }

  .sp-menu {
    width: min(330px, calc(100vw - 45px));
  }
}
