:root {
  --header-h: 88px;
  --border: rgba(0, 0, 0, 0.12);
  --brand: #7d1b1b;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 100px;
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
}

.gnav__link {
  font-size: 20px;
  color: #333;
  letter-spacing: 0.04em;
  position: relative;
  padding: 8px 2px;
}

.gnav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.2s ease;
}

.gnav__link:hover {
  color: var(--brand);
}

.gnav__link:hover::after {
  width: 100%;
}

.gnav__link {
  text-decoration: none;
}

.header-cta {
  display: flex;
  gap: 12px;
  margin-left: 32px;
  align-items: center;
}

.icon-btn {
  width: 85px;
  height: 85px;
  border: 1px solid #8b1e1e;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px;
  color: #8b1e1e;
  text-decoration: none;
}

.icon-btn__icon {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn__icon1 img {
  width: 65px;
  height: 46px;
  display: block;
}

.icon-btn__icon2 img {
  max-width: 52px;
  max-height: 52px;
  width: auto;
  height: auto;
  display: block;
}

.icon-btn__label {
  margin-top: auto;
  padding-bottom: 8px;
  font-size: 12px;
  line-height: 1;
}

.gnav {
  gap: 32px;
}

.icon-btn {
  border: 1px solid #8b1e1e;
  color: #8b1e1e;
  background: #fff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.icon-btn:hover {
  background: #8b1e1e;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;
  margin: 7px 0;
  background: #8b1e1e;
  border-radius: 0;
}

.header-tel {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 240px;
  height: 82px;
  padding: 8px 10px 5px;
  text-decoration: none;
  color: #7d1b1b;
  box-sizing: border-box;
}

.header-tel__meta {
  font-size: 11px;
  line-height: 1.2;
  color: #6a6a6a;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  margin-left: 48px;
}

.header-tel__main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #7d1b1b;
}

.header-tel__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.header-tel__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-tel__number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.header-tel:hover {
  opacity: 0.85;
}

.header-tel--pc {
  display: inline-flex;
}

.header-tel-sp {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 88px;
    overflow-x: hidden;
  }

  body {
    padding-top: 88px;
  }

  .gnav {
    display: none;
  }

  .icon-btn__label {
    display: none;
  }

  .site-header__inner {
    height: 88px;
    padding: 0 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 56% !important;
    line-height: 1;
  }

  .brand__logo {
    height: 40px !important;
    max-width: 100% !important;
    display: block;
  }

  .header-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 100% !important;
  }

  .header-cta {
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    gap: 10px !important;
    margin: 0 !important;
    line-height: 0 !important;
    margin-left: 0 !important;
  }

  .icon-btn {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    line-height: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
  }

  .icon-btn__icon1,
  .icon-btn__icon2 {
    display: grid !important;
    width: 100% !important;
    height: 100% !important;
    place-items: center !important;
    line-height: 1 !important;
  }

  .icon-btn__icon1 img,
  .icon-btn__icon2 img {
    max-width: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  .burger {
    display: block;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    align-self: center !important;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .drawer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
  }

  .drawer.is-open {
    display: block;
  }

  .drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }

  .drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(92vw, 420px);
    height: 100%;
    background: #7d1b1b;
    color: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 22px;
    box-sizing: border-box;
  }

  .drawer__head {
    position: sticky;
    top: 0;
    background: #7d1b1b;
    padding: 6px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
  }

  .drawer__title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.1em;
    opacity: 0.95;
  }

  .drawer__close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .drawer__nav {
    margin-top: 10px;
    display: grid;
    gap: 8px;
  }

  .drawer__link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .drawer__link:visited,
  .drawer__link:hover,
  .drawer__link:active {
    color: #fff;
    text-decoration: none;
  }

  .drawer__group {
    padding: 0;
    border-bottom: 0;
  }

  .drawer__acc {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 12px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .drawer__acc-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .drawer__acc-icon {
    width: 22px;
    height: 22px;
    position: relative;
    flex: 0 0 22px;
    opacity: 0.9;
  }

  .drawer__acc-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    border-radius: 2px;
  }

  .drawer__acc-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    border-radius: 2px;
  }

  .drawer__acc[aria-expanded="true"] .drawer__acc-icon::after {
    opacity: 0;
  }

  .drawer__acc-panel {
    padding: 6px 0 10px;
  }

  .drawer__sublink {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
  }

  .drawer__sublink + .drawer__sublink {
    margin-top: 12px;
  }

  .drawer__sublink:visited,
  .drawer__sublink:hover,
  .drawer__sublink:active {
    color: #fff;
    text-decoration: none;
  }

  .drawer__contact {
    margin: 16px 0 10px;
    display: grid;
    gap: 10px;
  }

  .drawer-pill {
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    box-sizing: border-box;
    font-weight: 700;
  }

  .drawer-pill:visited,
  .drawer-pill:hover,
  .drawer-pill:active {
    color: #fff;
    text-decoration: none;
  }

  .drawer-pill__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
  }

  .drawer-pill__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
  }

  .drawer-pill.is-line {
    background: rgba(255, 255, 255, 0.16);
  }

  .drawer-cta {
    margin-top: 14px;
    display: grid;
    gap: 10px;
  }

  .drawer-cta__btnonly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .drawer-cta__btnonly:visited,
  .drawer-cta__btnonly:hover,
  .drawer-cta__btnonly:active {
    color: #fff;
    text-decoration: none;
  }

  .drawer-cta__btnonly::after {
    content: "→";
    opacity: 0.9;
    flex: 0 0 auto;
  }

  .drawer__foot {
    margin: 18px 0 0;
    font-size: 12px;
    opacity: 0.85;
  }

  .header-tel--pc {
    display: none;
  }

  .header-cta > .icon-btn:not(.icon-btn--line) {
    display: none !important;
  }

  .header-tel-sp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #8b1e1e;
    background: #fff;
    text-decoration: none;
    box-sizing: border-box;
    flex: 0 0 44px;
  }

  .header-tel-sp__icon {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }

  .header-tel-sp__icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
}

@media (min-width: 768px) {
  .drawer {
    display: none !important;
  }
}
