
/* ======================
   共通 Header（PCベース）
====================== */
.site-header {
  width: 100%;
  height: 50px;
  background: #fff !important;

  position: fixed !important;
  top: 0 !important;
  left: 0 !important;

  z-index: 999999 !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  border-bottom: 1px solid #eee;
}

/* 中央コンテナ */
.header-inner {
  max-width: 90%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ===== ロゴ ===== */
.header-logo {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.5rem;
}

.header-logo img {
  width: 44px;
  height: auto;
  object-fit: contain;
}

/* ===== 中央エリア（タイトル＋PCナビ） ===== */

.header-center {
  display: flex;
  align-items: center;

  flex: 1;
  width: auto;
  min-width: 0;

  height: 100%;
}

/* ------------------------------
   h1（所在地＋屋号）
------------------------------ */
.site-title {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-left: 1rem;
  white-space: nowrap;
  font-family:
    "Yu Mincho",
    "游明朝",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
}

.site-location {
  font-size: 1rem;
  color: #6f7f76;
  letter-spacing: 0.2em;
  margin-left: 2rem;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #028760;
  letter-spacing: 0.3rem;
}

/* ===== PCナビ ===== */
.pc-nav {
  display: flex;
  flex: 1;

  justify-content: center;
  align-items: center;

  gap: 1rem;
  margin-left: 1.2rem;

  width: auto;
}

.pc-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 0 0.2em;
  letter-spacing: 0.1rem;
}

/* 区切り線（2番目以降の前に縦線） */
.pc-nav a + a::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #999;
  transform: translateY(-50%);
}

/* ===== LINE ボタン（右端） ===== */
.header-line {
  width: 120px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line-btn {
  width: 100px;
  height: 40px;
  background-color: #06C755;
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* PCではハンバーガー非表示 */
.hamburger {
  display: none !important;
}

/* SPナビはPCで非表示 */
.sp-nav {
  display: none !important;
}

/* Arkheデフォのトグル類を消す */
.header-menu-toggle,
.menu-toggle,
.mobile-menu-toggle {
  display: none !important;
}

/* ======================
   モバイル（スマホ向け）
====================== */
@media screen and (max-width: 768px) {

  /* PC用要素を消す */
  .header-line {
    display: none !important;
  }

  .pc-nav {
    display: none !important;
  }

  /* =====================
     Header Layout
  ===================== */

  .header-inner {
    width: 100%;
    max-width: 100%;

    display: grid;
    grid-template-columns: 10% 80% 10%;

    align-items: center;

    margin: 0;
    padding: 0;
  }

  /* =====================
     Logo
  ===================== */

.header-logo {
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: flex-end;  /* ← ここ */
    align-items: center;

    padding-left: 10px;         /* 微調整 */
    padding-top: 5px;
}

.header-logo img {
    width: 44px;
    height: auto;
}

  /* =====================
     Center
  ===================== */

  .header-center {
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: -15px;
    padding: 0;

    text-align: center;
  }

  .site-title {
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  .site-location {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  .site-name {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    white-space: nowrap;
  }

  /* =====================
     Hamburger
  ===================== */

  .hamburger {
    width: 100%;
    height: 50px;

    position: static;

    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    gap: 4px;

    background: none;
    border: none;
    padding: 0;

    cursor: pointer;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    background: #1E2B2A;
    display: block;
    transition: all .3s ease;
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* =====================
     SP Navigation
  ===================== */

  .sp-nav {
    display: none !important;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999998;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
  }

  .sp-nav.is-open {
    display: flex !important;
  }

  .sp-nav a {
    display: block;
    padding: .9em 0;
    text-align: center;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id] {
  scroll-margin-top: 70px;
}