/* ヘッダー共通スタイル */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

.site-header__inner {
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-navigation ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navigation ul li a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 6px 0;
  position: relative;
}

.site-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D58822;
  transition: width 0.3s ease;
}

.site-navigation ul li a:hover::after {
  width: 100%;
}

.site-navigation {
  background: #fff;
  height: 80px;
  padding: 0 0 0 35px;
  border-radius: 0 0 0 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  margin-top: 0;
  font-size: 14px;
  font-weight: 500;
}

.contact-button {
  background: #D58822;
  color: #fff; /* 追加 */
  display: inline-flex; /* 追加: フレックス中央寄せ */
  align-items: center; /* 追加 */
  align-self: stretch; /* 追加: ナビの高さにフィット */
  padding: 0 16px; /* 変更: 上下は0にして高さをnavに揃える */
  text-decoration: none;
}

/* ヘッダーの問い合わせボタンだけに適用される色変更（動きなし） */
.site-header .site-navigation > .contact-button {
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.site-header .site-navigation > .contact-button:hover,
.site-header .site-navigation > .contact-button:focus-visible {
  background-color: #c97919;
  color: #fff;
}

.site-branding__link {
  display: inline-flex;
  align-items: center;
}

.site-branding__logo {
  display: block;
  width: 160px;
  height: auto;
}

.site-branding a {
  text-decoration: none;
  color: inherit;
}

/* 追加: ロゴブロックの位置調整（上10px、左25px） */
.site-branding {
  margin-top: 10px; /* 追加: ロゴ上に10pxの余白 */
  margin-left: 25px; /* 追加: 左に25pxの余白 */
}

/* ナビの表示切替（デフォルト: PC用のみ表示） */
.site-navigation--mobile {
  display: none;
}
.site-navigation--desktop {
  display: flex;
}

/* ハンバーガー */
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: #D58822;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
/* ホバー時の色変更は行わない（背景は固定） */
.hamburger:hover,
.hamburger:focus-visible {
  background: inherit;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 980px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-branding__logo {
    width: 140px;
  }
  .site-navigation--desktop { display: none; }
  .site-navigation--mobile { display: flex; }
  .hamburger {
    display: inline-block;
    margin: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    /* デザイン指定: 白背景 + 左下のみ角丸 */
    background: #fff;
    border: none;
    border-radius: 0 0 0 24px;
    width: 56px;
    height: 56px;
    padding: 16px;
  }
  /* ハンバーガーのラインをオレンジに */
  .hamburger span { background: #D58822; }
  .site-navigation--mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 80vw;
    max-width: 360px;
    height: 100vh;
    padding: 80px 20px 20px;
    border-radius: 0;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }
  .site-navigation--mobile ul {
    flex-direction: column;
    gap: 16px;
  }
  .site-navigation--mobile ul li a {
    font-size: 16px;
  }
  .site-header .contact-button {
    align-self: auto;
    height: 44px;
    padding: 0 16px;
  }
  html.nav-open .site-navigation--mobile { transform: translateX(0); }
  /* ハンバーガー → クローズアイコン変形 */
  html.nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  html.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  html.nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
html.nav-open .nav-overlay {
  display: block;
}

@media (max-width: 600px) {
  .site-navigation--mobile {
    width: 100vw;
    max-width: none;
    padding: 80px 24px 24px;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
  }
  .site-navigation--mobile ul {
    align-items: center;
  }
  .site-navigation--mobile ul li a {
    text-align: center;
  }
  .site-header .site-navigation--mobile .contact-button {
    align-self: center;
    margin: 0 auto;
  }
}

.site-main {
  /* 修正: ヘッダー下にコンテンツが割り込むように余白をゼロに */
  margin-top: 0;
  padding-top: 0;
}


