/* ============================================
   SPヘッダー
============================================ */
.site-header {
  padding: 4px 10px;
  background: #e60712;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: hidden;
  width: 100%;
}
.site-header__logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1000;
}
.site-header__logo img {
  height: auto;
  width: 210px;
  display: block;
  object-fit: contain;
}

/* ハンバーガーボタン */
.menu-trigger {
  width: 50px;
  text-align: center;
  cursor: pointer;
}
.menu-trigger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 5px auto;
}
.menu-trigger p {
  font-size: 10px;
  margin: 0;
  font-weight: bold;
  color: #fff;
}

/* ============================================
   モバイルナビ
============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.4s ease;
}
.mobile-nav.is-active {
  right: 0;
}
.nav-inner {
  padding: 20px 16px 32px;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}
.nav-close {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 28px;
  font-weight: bold;
  color: #8b0000;
  cursor: pointer;
  line-height: 1;
}
.nav-header {
  text-align: center;
  margin-top: 44px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e0e0;
  margin-bottom: 16px;
}
.logo-placeholder {
  width: 90%;
  max-width: 280px;
  margin: 0 auto 10px;
  overflow: hidden;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}
.main-title {
  font-size: 16px;
  font-weight: bold;
  color: #8b0000;
  margin: 0 0 4px;
}
.description {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
}
.hours {
  font-size: 12px;
  color: #555;
  margin: 2px 0;
}
.hours span {
  font-weight: bold;
  color: #333;
}
.tel-number {
  font-size: 18px;
  font-weight: bold;
  color: #8b0000;
  margin-top: 6px;
}
.tel-number span {
  font-size: 22px;
}

/* ナビボタン */
.btn-pink,
.btn-cyan {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-sizing: border-box;
  cursor: pointer;
}
.btn-pink {
  background: linear-gradient(to bottom, #e03050, #c0002a);
  color: #fff;
  margin-bottom: 12px;
}
.btn-cyan {
  background: linear-gradient(to bottom, #e03050, #c0002a);
  color: #fff;
}
.grid-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* サブメニュー */
.submenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8px;
}
.submenu-grid a {
  text-decoration: none;
  color: #00796b;
  font-size: 13px;
  font-weight: bold;
}

/* SNS */
.sns-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}
.sns-item {
  text-align: center;
  font-size: 10px;
  font-weight: bold;
}
.icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 5px;
}
.icon.black {
  background: #000;
}
.icon.pink {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.icon.green {
  background: #72c145;
}
.icon.blue {
  background: #81d4fa;
}

/* ============================================
   PCグローバルヘッダー (960px以上)
============================================ */
#pc-global-header.pc-only {
  display: none;
  background-color: #8b0000;
}

@media screen and (min-width: 960px) {
  /* ヘッダー全体：背景は100%幅 */
  #pc-global-header.pc-only {
    display: block !important;
    width: 100%;
    background-color: #8b0000 !important;
    padding: 10px 0 0;
    box-sizing: border-box;
  }

  .header-upper,
  .pc-sticky-nav {
    width: 100%;
  }

  /* 上部ロゴ・連絡先エリア：最大1030px中央揃え */
  .header-container {
    max-width: 1030px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .header-upper {
    padding: 0;
    background-color: #8b0000;
  }

  .logo-area {
    flex-shrink: 0;
  }
  .logo-area img {
    height: 90px;
    width: auto;
    max-width: 360px;
    display: block;
    object-fit: contain;
  }
  .contact-info {
    text-align: right;
    color: #fff;
    line-height: 1.5;
  }
  .contact-info p {
    margin: 0;
    font-size: 13px;
    color: #ffcccc;
  }
  .contact-info p:nth-child(2) {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
  }
  .contact-info p:nth-child(3) {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }

  /* ナビバー：背景100%幅・スクロール追従 */
  .pc-sticky-nav {
    background-color: #8b0000;
    border-top: 1px solid #a00000;
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  /* ナビリスト：最大1030px・均等幅いっぱい */
  .nav-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    max-width: 1030px;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 8px;
    gap: 6px;
    box-sizing: border-box;
  }
  .nav-list li {
    flex: 1;
    min-width: 0;
  }
  .nav-btn.btn-red {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    text-decoration: none !important;
    color: #333 !important;
    border-radius: 6px;
    font-weight: bold;
    border: 1px solid #999;
    background: linear-gradient(
      to bottom,
      #ffffff 0%,
      #d0d0d0 50%,
      #a8a8a8 100%
    );
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.8),
      0 1px 3px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
  }
  .nav-btn.btn-red span.jp {
    font-size: 16px;
    line-height: 1.2;
    font-weight: bolder;
  }
  .nav-btn.btn-red span.en {
    font-size: 8px;
    font-weight: normal;
    margin-top: 2px;
  }

  /* SPヘッダーを隠す */
  .site-header,
  #mobileNav {
    display: none !important;
  }
}
