/* ============================================
   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: visible;
}
.site-header__logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1000;
}
.site-header__logo img {
  height: auto;
  width: 192px;
  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;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}
.nav-close {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 30px;
  font-weight: bold;
  color: #ff1493;
  cursor: pointer;
}
.lang-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ff3399;
  color: white;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 10px;
}
.nav-header {
  text-align: center;
  margin-top: 40px;
}
.logo-placeholder {
  width: 80%;
  max-width: 240px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}
.main-title {
  font-size: 18px;
  color: #8b0000;
  margin: 0 0 4px;
}
.main-title span {
  color: #f06292;
}
.tel-number {
  color: #f06292;
  font-weight: bold;
  font-size: 20px;
}

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

/* サブメニュー */
.submenu {
  border: 1px solid #4db6ac;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 20px 0;
  padding: 15px 10px;
  position: relative;
}
.submenu-title {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: #e0f2f1;
  padding: 0 5px;
  font-size: 12px;
  color: #00796b;
}
.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;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

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

  /* 上部ロゴ・連絡先エリア：最大1030px中央揃え */
  .header-container {
    max-width: 1030px;
    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;
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 1;
  }
  .header-upper.is-hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
  }

  .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;
  }
  .contact-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  /* ナビバー：背景100%幅 */
  .pc-sticky-nav {
    background-color: #8b0000;
    border-top: 1px solid #a00000;
    padding: 6px 0;
  }

  /* ナビリスト：最大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: 13px;
    line-height: 1.2;
  }
  .nav-btn.btn-red span.en {
    font-size: 8px;
    font-weight: normal;
    margin-top: 2px;
  }

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