/* ======================================================
   デザイントークン（フォント・カラー）
====================================================== */
/*サイト*/ :root {
  /*----- フォントサイズ -----*/
  --font-xs: clamp(0.875rem, 0.859rem + 0.07vw, 0.938rem); /* 15px */
  --font-s: clamp(1rem, 0.967rem + 0.13vw, 1.125rem); /* 16-18px */
  --font-m: clamp(1.25rem, 1.217rem + 0.13vw, 1.375rem); /* 20-22px */
  --font-l: clamp(1.5rem, 1.434rem + 0.26vw, 1.75rem); /* 24-28px */
  --font-xl: clamp(2rem, 1.868rem + 0.53vw, 2.5rem); /* 32-40px */
  --font-xxl: clamp(2.5rem, 2.237rem + 1.05vw, 3.5rem); /* 40-56px */
  /*----- ベースカラー（元色）-----*/
  --main-color: #0e468a; /* ブランドのメインカラー */
  --base-color: #ffffff; /* ベース（白） */
  --accent-color: #F1B975; /* アクセントカラー */
  --white: #ffffff;
  --black: #000000;
  /*----- Main（メインカラー）-----*/
  /* 1〜4：白を混ぜた淡いトーン */
  --main-1: color-mix(in srgb, var(--main-color) 15%, white); /*  10〜19% */
  --main-2: color-mix(in srgb, var(--main-color) 25%, white); /*  20〜29% */
  --main-3: color-mix(in srgb, var(--main-color) 35%, white); /*  30〜39% */
  --main-4: color-mix(in srgb, var(--main-color) 45%, white); /*  40〜49% */
  /* 5：基準色 */
  --main-5: var(--main-color); /* zone 5: base */
  /* 6〜9：黒を混ぜた濃いトーン */
  --main-6: color-mix(in srgb, var(--main-color) 65%, black); /*  60〜69% */
  --main-7: color-mix(in srgb, var(--main-color) 75%, black); /*  70〜79% */
  --main-8: color-mix(in srgb, var(--main-color) 85%, black); /*  80〜89% */
  --main-9: color-mix(in srgb, var(--main-color) 92%, black); /*  90%〜深 */
  /*----- Base（白ベースのグレースケール）-----*/
  /* base は「白←→黒」のグレー。数字が大きいほど暗い。 */
  --base-1: color-mix(in srgb, var(--base-color) 90%, black 10%); /* 10%  */
  --base-2: color-mix(in srgb, var(--base-color) 80%, black 20%); /* 20%  */
  --base-3: color-mix(in srgb, var(--base-color) 70%, black 30%); /* 30%  */
  --base-4: color-mix(in srgb, var(--base-color) 60%, black 40%); /* 40%  */
  --base-5: color-mix(in srgb, var(--base-color) 50%, black 50%); /* 50%  */
  --base-6: color-mix(in srgb, var(--base-color) 40%, black 60%); /* 60%  */
  --base-7: color-mix(in srgb, var(--base-color) 30%, black 70%); /* 70%  */
  --base-8: color-mix(in srgb, var(--base-color) 20%, black 80%); /* 80%  */
  --base-9: color-mix(in srgb, var(--base-color) 10%, black 90%); /* 90%  */
  /*-----Accent（アクセントカラー）-----*/
  /* 1〜4：白を混ぜた淡いトーン */
  --accent-1: color-mix(in srgb, var(--accent-color) 15%, white);
  --accent-2: color-mix(in srgb, var(--accent-color) 25%, white);
  --accent-3: color-mix(in srgb, var(--accent-color) 35%, white);
  --accent-4: color-mix(in srgb, var(--accent-color) 45%, white);
  /* 5：基準色 */
  --accent-5: var(--accent-color);
  /* 6〜9：黒を混ぜた濃いトーン */
  --accent-6: color-mix(in srgb, var(--accent-color) 65%, black);
  --accent-7: color-mix(in srgb, var(--accent-color) 75%, black);
  --accent-8: color-mix(in srgb, var(--accent-color) 85%, black);
  --accent-9: color-mix(in srgb, var(--accent-color) 92%, black);
  /* Neutral gray scale */
  --gray-0: color-mix(in srgb, white, black 2%); /* 白98% + 黒2% */
  --gray-1: color-mix(in srgb, white, black 10%); /* 白90% + 黒10% */
  --gray-2: color-mix(in srgb, white, black 20%); /* 白80% + 黒20% */
  --gray-3: color-mix(in srgb, white, black 30%); /* 白70% + 黒30% */
  --gray-4: color-mix(in srgb, white, black 40%); /* 白60% + 黒40% */
  --gray-5: color-mix(in srgb, white, black 50%); /* 白50% + 黒50% */
  --gray-6: color-mix(in srgb, white, black 60%); /* 白40% + 黒60% */
  --gray-7: color-mix(in srgb, white, black 70%); /* 白30% + 黒70% */
  --gray-8: color-mix(in srgb, white, black 80%); /* 白20% + 黒80% */
  --gray-9: color-mix(in srgb, white, black 90%); /* 白10% + 黒90% */
  --gray-10: color-mix(in srgb, white, black 98%); /* 白2% + 黒98% */
  /*----- テキスト -----*/
  --text-main: #444444; /* 通常の本文--gray-7 */
  --text-soft: #666666; /* 脚注・注釈・補足テキスト--gray-6 */
  --text-dark: #333333; /* 見出しや強調したいテキスト--gray-8 */
  --text-strong: #b00000; /* 大切・目立たせたい 暗めの赤色*/
  /* ----- Text-Shadow（1〜10：薄い → 濃い） ----- */
  --text-shadow-1: 1px 1px 2px rgba(0, 0, 0, 0.1);
  --text-shadow-2: 1px 1px 2px rgba(0, 0, 0, 0.2);
  --text-shadow-3: 1px 1px 2px rgba(0, 0, 0, 0.3);
  --text-shadow-4: 1px 1px 2px rgba(0, 0, 0, 0.4);
  --text-shadow-5: 1px 1px 2px rgba(0, 0, 0, 0.5);
  --text-shadow-6: 1px 1px 2px rgba(0, 0, 0, 0.6);
  --text-shadow-7: 1px 1px 2px rgba(0, 0, 0, 0.7);
  --text-shadow-8: 1px 1px 2px rgba(0, 0, 0, 0.8);
  --text-shadow-9: 1px 1px 2px rgba(0, 0, 0, 0.9);
  --text-shadow-10: 1px 1px 2px rgba(0, 0, 0, 1.0);
  /* Box shadow scale（1 → 10：弱い → 強い） */
  --box-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.05); /* ごく控えめ */
  --box-shadow-2: 0 1px 3px rgba(0, 0, 0, 0.08); /* ほんのり浮かせたい時 */
  --box-shadow-3: 0 2px 4px rgba(0, 0, 0, 0.10); /* 小さめのカード・パネル */
  --box-shadow-4: 0 2px 6px rgba(0, 0, 0, 0.12); /* よく使う標準カード用 */
  --box-shadow-5: 0 4px 8px rgba(0, 0, 0, 0.14); /* 少し強めのカード */
  --box-shadow-6: 0 6px 12px rgba(0, 0, 0, 0.16); /* モーダル手前感 */
  --box-shadow-7: 0 8px 16px rgba(0, 0, 0, 0.18); /* かなり手前に出る要素 */
  --box-shadow-8: 0 12px 24px rgba(0, 0, 0, 0.20); /* メインモーダル */
  --box-shadow-9: 0 16px 32px rgba(0, 0, 0, 0.24); /* 画面をある程度覆うもの*/
  --box-shadow-10: 0 20px 40px rgba(0, 0, 0, 0.28); /* ほぼ最前面*/
}
/* ======================================================
   ベース
====================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: var(--font-s);
  color: var(--text-main);
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--main-5);
  text-decoration: none;
}
.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
/* PCでは tel クリック無効にする（見た目はボタンのまま） */
@media (min-width: 801px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
/* ======================================================
   パーツ共通
====================================================== */
/* -----------------------------------------------------
   title
----------------------------------------------------- */
/*---セクションタイトル---*/
#page-title {
  height: 200px;
  width: 100%;
  position: relative;
  background-image: url("../image/common/page-title.jpg");
  background-size: cover;
  background-position: center;
}
#page-title h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--text-dark);
  font-size: 35px;
  font-weight: bold;
}
/* -------------------------
   レスポンシブ
   ------------------------- */
/* パソコン */
@media (min-width: 1280px) { /* PC ＋ iPad Pro 横（1280px〜） */
}
@media (min-width: 1280px) and (max-height: 800px) { /* ノートPC（1366×768 など高さが低いPC） */
}
/* タブレット */
@media (max-width: 1024px) { /* タブレット以下のサイズ */
}
@media (min-width: 768px) and (max-width: 1279px) { /* タブレット（768〜1279px） */
}
/* スマホ  */
@media (max-width: 767px) { /* スマホ以下のサイズ */
}
@media (min-width: 401px) and (max-width: 767px) { /* スマホ Ｌ（401〜767px） */
}
@media (max-width: 400px) { /* スマホ S（〜400px） */
}
/*---セクションタイトル---*/
.section-title {
  color: var(--accent-9);
  margin-bottom: 30px;
}
.section-title p {
  text-align: center;
  font-size: var(--font-xl);
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: var(--text-shadow-4);
  text-transform: uppercase; /*大文字変換*/
  letter-spacing: 0.12em;
}
.section-title span {
  display: block;
  margin-top: 0.25em;
  letter-spacing: 0.1em;
  font-size: var(--font-m);
  color: var(--accent-8);
  text-shadow: none;
}
@media (max-width: 767px) { /* スマホ以下のサイズ */
  .section-title p {
    font-size: var(--font-xl);
    line-height: 1.2;
  }
  .section-title span {
    margin-top: 0.5em;
  }
}
/* -----------------------------------------------------
   section
----------------------------------------------------- */
.section {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid var(--gray-3);
}
@media (max-width: 1024px) { /* タブレット以下のサイズ */
  .section {
    scroll-margin-top: 70px; /* アンカーリンクTOP */
  }
}
@media (max-width: 767px) { /* スマホ以下のサイズ */
  .section {
    padding: 50px 0;
  }
}
/* -----------------------------------------------------
   inner
----------------------------------------------------- */
/* 基本はPC基準（1280px〜想定） */
.inner {
  width: 100%;
  max-width: 1040px; /* PC の基本幅 */
  margin-inline: auto; /* 中央寄せ */
  padding-inline: 16px; /* 画面端との余白（共通） */
  box-sizing: border-box;
}
/* PC ＋ iPad Pro 横（1280px〜）
   ※ 今回はベースがすでにPC用なので、ここでの指定は必須ではありません */
@media (min-width: 1280px) {
  /* .inner { max-width: 1040px; } ← ベースと同じなら書かなくてOK */
}
/* ノートPC（1366×768 など高さが低いPC） */
@media (min-width: 1280px) and (max-height: 800px) {
  .inner {
    max-width: 960px;
  }
}
/* タブレット（768〜1279px）
   ※ サイドバーなし（main は画面いっぱい） */
@media (min-width: 768px) and (max-width: 1279px) {
  .inner {
    max-width: 960px;
  }
}
/* 大きめスマホ（401〜767px） */
@media (min-width: 401px) and (max-width: 767px) {
  .inner {
    max-width: 640px;
  }
}
/* 小さいスマホ（〜400px） */
@media (max-width: 400px) {
  .inner {
    max-width: 360px;
  }
}
/* -----------------------------------------------------
   content
----------------------------------------------------- */
.content {}
/* -----------------------------------------------------
   オーバーレイ　※上にrelativeをつけること
----------------------------------------------------- */
.overlay {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; を省略 */
}
/*↑＋↓*/
/* ===========================
   White Overlay（白系）
=========================== */
.overlay-white-10 {
  background-color: rgba(255, 255, 255, 0.1);
}
.overlay-white-20 {
  background-color: rgba(255, 255, 255, 0.2);
}
.overlay-white-30 {
  background-color: rgba(255, 255, 255, 0.3);
}
.overlay-white-40 {
  background-color: rgba(255, 255, 255, 0.4);
}
.overlay-white-50 {
  background-color: rgba(255, 255, 255, 0.5);
}
.overlay-white-60 {
  background-color: rgba(255, 255, 255, 0.6);
}
.overlay-white-70 {
  background-color: rgba(255, 255, 255, 0.7);
}
.overlay-white-80 {
  background-color: rgba(255, 255, 255, 0.8);
}
.overlay-white-90 {
  background-color: rgba(255, 255, 255, 0.9);
}
/* ===========================
   Black Overlay（黒系）
=========================== */
.overlay-black-10 {
  background-color: rgba(0, 0, 0, 0.01);
}
.overlay-black-20 {
  background-color: rgba(0, 0, 0, 0.02);
}
.overlay-black-30 {
  background-color: rgba(0, 0, 0, 0.03);
}
.overlay-black-40 {
  background-color: rgba(0, 0, 0, 0.04);
}
.overlay-black-50 {
  background-color: rgba(0, 0, 0, 0.05);
}
.overlay-black-60 {
  background-color: rgba(0, 0, 0, 0.06);
}
.overlay-black-70 {
  background-color: rgba(0, 0, 0, 0.07);
}
.overlay-black-80 {
  background-color: rgba(0, 0, 0, 0.08);
}
.overlay-black-90 {
  background-color: rgba(0, 0, 0, 0.09);
}
/*上*/
.overlay-front {
  position: relative;
  z-index: 2;
}
/* -----------------------------------------------------
   ボタン
----------------------------------------------------- */
.btn-area {
  text-align: center;
  margin: 20px auto;
}
.btn {
  width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--main-5);
  font-weight: 600;
  font-size: var(--font-xs);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  background-color: var(--base-1);
  color: var(--main-5);
}
.btn.primary {
  background-color: var(--main-5);
  color: var(--white);
}
.btn.outline {
  background-color: var(--white);
  color: var(--main-5);
}
.btn.small {
  padding: 8px 16px;
  font-size: var(--font-xs);
}
.btn.outline:hover {
  transform: translateY(-1px);
  background-color: var(--main-5);
  color: var(--white);
  box-shadow: var(--shadow-5);
}
.btn.primary:hover {
  transform: translateY(-1px);
  background-color: var(--white);
  color: var(--main-5);
  box-shadow: var(--shadow-5);
}
/* -----------------------------------------------------
   改行
   使用例：テキスト中に <br class="br-pc"> などを入れる
----------------------------------------------------- */
/* まず全て非表示にしておく */
.br-pc, /* PC 共通（大きいPC＋ノートPC） */ .br-pc-s, /* ノートPC用 (small PC) */ .br-pc-l, /* 大きいPC用 (large PC) */ .br-tb, /* タブレット */ .br-sp, /* スマホ共通（小さい＋大きい） */ .br-sp-s, /* 小さいスマホ用 (small SP) */ .br-sp-l { /* 大きめスマホ用 (large SP) */
  display: none;
}
/* -------------------------
   PC（1280px〜）
   ------------------------- */
/* PC 共通 */
@media (min-width: 1280px) {
  .br-pc {
    display: inline;
  }
}
/* ノートPC用（1366×768など高さが低いPC） => small */
@media (min-width: 1280px) and (max-height: 800px) {
  .br-pc-s {
    display: inline;
  }
}
/* 大きいPC用（高さが十分あるPC） => large */
@media (min-width: 1280px) and (min-height: 801px) {
  .br-pc-l {
    display: inline;
  }
}
/* -------------------------
   
   タブレット（768〜1279px）
   ------------------------- */
@media (min-width: 768px) and (max-width: 1279px) {
  .br-tb {
    display: inline;
  }
}
/* -------------------------
   スマホ（〜767px）
   ------------------------- */
/* スマホ共通 */
@media (max-width: 767px) {
  .br-sp {
    display: inline;
  }
}
/* 大きめスマホ（451〜767px） => large */
@media (min-width: 451px) and (max-width: 767px) {
  .br-sp-l {
    display: inline;
  }
}
/* 小さいスマホ（〜450px） => small */
@media (max-width: 450px) {
  .br-sp-s {
    display: inline;
  }
}
/* ======================================================
   MAIN レイアウト（レイアウトコンポーネント）
====================================================== */
/* モバイル基準：ヘッダー分だけ上に余白をあける */
main {
  margin-left: 0;
  margin-left: 260px; /* ← サイドヘッダーの幅 */
}
footer {
  margin-left: 0;
  margin-left: 260px; /* フッターも同じだけ右にずらす */
}
@media (max-width: 1024px) { /* タブレット以下のサイズ */
  main {
    padding-top: 70px; /*ヘッダーの高さ分*/
    margin-left: 0; /* ← サイドヘッダーの幅 */
  }
  footer {
    margin-left: 0; /* フッターも同じだけ右にずらす */
  }
}
/* ======================================================
   HEADER コンポーネント
====================================================== */
/* --- 共通スタイル（モバイル基準） --- */
/* ヘッダー全体（モバイルでは上部に表示） */
.site-header.side-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px; /* モバイルヘッダーの高さ */
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gray-6);
}
/* モバイルの上部バー */
.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
}
/* サイドバー中身（モバイルではドロワー） */
.side-header-inner {
  position: fixed;
  top: 70px; /* モバイルヘッダーの高さと同じにする */
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background-color: var(--base-color);
  border-bottom: 1px solid var(--gray-6);
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}
/* nav-open 時にドロワー展開 */
body.nav-open .side-header-inner {
  /*  
	max-height: 100%;
  padding-top: 24px;
  padding-bottom: 24px;*/
  max-height: 100vh; /* いちおう全画面ぶん */
  height: calc(100vh - 70px); /* 上のヘッダー(70px)を引いた高さ */
  padding-top: 24px;
  padding-bottom: 24px;
  overflow-y: auto; /* ここ大事！ */
  -webkit-overflow-scrolling: touch; /* iOSでの慣性スクロール */
}
/* ロゴボックス */
.side-logo-box {
  border: 1px solid var(--main-2);
  padding: 20px 12px;
  text-align: center;
  letter-spacing: 0.12em;
  background-color: var(--white);
}
.side-logo-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
.side-logo-text {
  font-size: var(--font-m);
  line-height: 1.6;
}
.logo-small {
  font-size: var(--font-s);
}
/* モバイルヘッダーロゴ */
.mobile-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.mobile-logo-img img {
  display: block;
  height: 60px; /* モバイル用のロゴ高さ（お好みで調整可） */
  width: auto;
}
.mobile-logo-text {
  font-size: var(--font-s);
  font-weight: 700;
  letter-spacing: 0.06em;
}
/* サイドロゴ（PC/ドロワー共通） */
.side-logo-box {
  border: 1px solid var(--main-2);
  padding: 20px 12px;
  text-align: center;
  letter-spacing: 0.12em;
  background-color: var(--white);
}
.side-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.side-logo-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
/* ロゴ文字サイズは既存のままでOK */
.side-logo-text {
  font-size: var(--font-m);
  line-height: 1.6;
}
/* ナビ */
.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-nav li + li {
  margin-top: 10px;
}
.side-nav a {
  display: block; /* クリック・タップ範囲を li 全体に */
  font-size: var(--font-s);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  text-decoration: none;
}
.side-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: var(--white);
  transition: width 0.2s ease;
}
.side-nav a:hover::before {
  width: 40%;
}
/* 下部 NEWS + BANNER */
.side-bottom {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-news-box {
  background-color: #ffffff;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s ease;
}
/* NEWSホバー時の演出 */
.side-news-box:hover {
  cursor: pointer;
  background-color: var(--main-5);
  transform: translateY(-2px);
  box-shadow: var(--box-ahadow-5);
}
/* NEWSテキストのリンクをボックスいっぱいに広げる */
.side-news-box a {
  display: block;
  text-decoration: none;
  color: var(--main-5);
  padding: 14px;
}
/* 文字だけ軽く変化させたい場合 */
.side-news-box a:hover .side-news-title {
  color: var(--white);
}
.side-news-title {
  color: var(--main-5);
  font-size: var(--font-xs);
  letter-spacing: 0.2em;
}
/* ご相談やお見積りはこちら！ */
.side-contact-lead {
  display: none; /* SPで表示、PCでは基本非表示 */
  font-size: var(--font-xs);
  font-weight: 700;
  text-align: center;
  margin: 0;
}
/* TEL / MAIL ボタン */
.side-banner {
  display: block;
  padding: 18px 12px;
  text-align: center;
  border: 1px solid var(--gray-2);
  background-color: var(--main-5);
  color: var(--white);
  text-decoration: none;
  font-size: var(--font-xs);
  letter-spacing: 0.2em;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.side-banner:hover {
  background-color: var(--white);
  color: var(--main-5);
  transform: translateY(-1px);
  box-shadow: var(--shadow-5);
}
/* ハンバーガーボタン */
.menu-toggle {
  width: 36px;
  height: 30px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background-color: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* nav-open 時のアイコン変化 */
body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* 点滅アニメーション（.blinking共通） */
.blinking {
  animation: blink 0.8s ease-in-out infinite alternate;
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* -----------------------------------------------------
   HEADER：レスポンシブ（PC / TB / SP）※ PC FIRST 並び
----------------------------------------------------- */
/* PC & iPad Pro 横（1280px〜）
   → サイドヘッダーに切り替え
*/
@media (min-width: 1280px) {
  .site-header.side-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 260px;
    height: auto;
    border-bottom: none;
    border-right: 1px solid var(--gray-2);
    background-color: var(--gray-0);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-header-bar {
    display: none;
  }
  .side-header-inner {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    max-height: none;
    overflow: visible;
    height: 100%;
    padding: 32px 24px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  body.nav-open .side-header-inner {
    max-height: none;
    height: 100%;
    overflow: visible;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .side-bottom {
    margin-top: auto;
  }
  .menu-toggle {
    display: none;
  }
  /* PCでは「ご相談〜」は非表示のまま */
}
/* ノートPC（1366×768など高さが低いPC） */
@media (min-width: 1280px) and (max-height: 800px) {
  .side-header-inner {
    height: auto; /*画面の高さピッタリまでしか伸びないのを解除*/
    min-height: 100%;
    padding: 20px 18px;
    gap: 20px;
  }
  .side-logo-box {
    padding: 12px 8px;
  }
  .side-logo-img img {
    max-width: 93%;
  }
  .side-banner {
    padding: 12px 8px;
    font-size: var(--font-xs);
  }
}
@media (max-width: 1025px) { /* タブレット以下のサイズ */
  body.nav-open {
    overflow: hidden;
    height: 100vh;
  }
  body.nav-open .side-header-inner {
    position: fixed;
    top: 70px; /* モバイルヘッダーの高さ */
    left: 0;
    right: 0;
    bottom: 0; /* ← ここがポイント！ */
    grid-gap: 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
    /* 必要なら padding や背景色など */
  }
  .side-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .side-nav ul {
    display: flex;
    flex-direction: column;
    grid-gap: 50px;
  }
}
/* タブレット（768〜1279px） */
/* iPad mini / Air / Pro 縦 など */
@media (min-width: 768px) and (max-width: 1279px) {
  .side-header-inner {
    padding-inline: 24px;
    gap: 28px;
  }
  .side-logo-text {
    font-size: var(--font-m);
  }
  .side-logo-img img {
    max-width: 180px; /* PCより少し小さめ */
  }
}
/*スマホ*/
@media (max-width: 767px) { /* スマホ以下のサイズ */
  .side-nav ul {
    grid-gap: 22px;
  }
  .side-logo-img img {
    max-width: 160px; /* さらに小さめに */
  }
}
/* 大きめスマホ（401〜767px） */
@media (min-width: 401px) and (max-width: 767px) {
  .side-contact-lead {
    display: block;
    margin-top: 4px;
  }
  .side-banner {
    padding: 14px 10px;
  }
}
/* 小さいスマホ（〜400px） */
@media (max-width: 400px) {
  .mobile-header-bar {
    padding-inline: 10px;
  }
  .logo-small {
    font-size: var(--font-xs);
  }
  .side-nav a {
    font-size: var(--font-s);
  }
  .side-contact-lead {
    display: block;
    margin-top: 4px;
  }
  .mobile-header-bar {
    padding-inline: 10px;
  }
}
/* ======================================================
   FOOTER コンポーネント（PCファースト）
====================================================== */
#footer {
  border-top: 1px solid var(--gray-3);
}
/* 上段：ロゴ＋会社情報エリア */
.footer-background {
  color: var(--text-main);
  padding: 48px 0 32px;
}
.footer-contact {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center; /* 中央に寄せる */
  align-items: center; /* ロゴとテキストの縦位置をそろえる */
  gap: 96px; /* 左右の間隔をしっかりとる */
}
/* 左側ロゴブロック */
.footer-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--main-5);
}
.footer-logo-container img {
  display: block;
  width: 160px; /* 必要に応じて調整 */
  height: auto;
}
.footer-logo-container p {
  margin: 0;
  font-size: var(--font-s);
  letter-spacing: 0.08em;
}
.footer-logo-container p span {
  font-size: 90%;
}
/* 右側：住所・連絡先ブロック */
.footer-address-container {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.footer-address-container li p {
  margin: 0;
  line-height: 1.8;
}
/* 電話・メール行（アイコン＋テキスト横並び） */
.footer-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-flex img {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}
.footer-address-container a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}
.footer-address-container a:hover {
  text-decoration: underline;
}
/* コピーライト */
.copyright {
  margin: 0;
  padding: 12px 16px 20px;
  text-align: center;
  font-size: var(--font-xs);
  color: var(--text-main);
}
/* ==========================
   レスポンシブ
========================== */
/* タブレット以下：縦並びにして中央寄せ */
@media (max-width: 1023px) {
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .footer-address-container {
    text-align: center;
    align-items: center;
  }
  .footer-flex {
    justify-content: center;
  }
}
/* スマホ：余白＆文字サイズ調整 */
@media (max-width: 599px) {
  .footer-background {
    padding: 32px 0 20px;
  }
  .footer-logo-container img {
    width: 140px;
  }
  .footer-address-container {
    font-size: var(--font-xs);
  }
}
/* ===========================
   PAGE TOP ボタン（PCファースト）
=========================== */
#page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#page-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 62px;
  height: 62px;
  background-color: var(--main-5);
  color: var(--white);
  font-size: var(--font-xs);
  font-weight: 600;
  border-radius: 50%;
  text-decoration: none;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}
#page-top a:hover {
  background-color: var(--white);
  color: var(--main-5);
  transform: translateY(-3px);
  border: 1px solid var(--main-5);
}
/* シンプルな上矢印（CSSだけで作成） */
.arrow-up {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid currentColor;
}
/* 出現アニメーション用クラス */
#page-top.UpMove {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#page-top.DownMove {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
/* スマホ調整 */
@media (max-width: 600px) {
  #page-top {
    right: 16px !important;
    bottom: 16px !important;
  }
  #page-top a {
    width: 54px;
    height: 54px;
    font-size: var(--font-xs);
  }
  .arrow-up {
    border-left-width: 5px;
    border-right-width: 5px;
    border-bottom-width: 8px;
  }
}