/* ============================================================
   header.css  ─  ヘッダー共通スタイル（インクルード用）
   既存の pc_index.css / sp_index.css から
   ヘッダー関連スタイルをここに集約し、
   全ページで <link href="css/header.css"> を読み込む
   ============================================================ */

/* ─── PC（769px以上） ─────────────────── */
@media screen and (min-width: 769px) {

  /* ヘッダー全体ブロック */
  #sectionblk_b {
    display: block;
    margin: auto;
    width: 1200px;
  }

  /* ロゴ＋ナビの横並びコンテナ */
  .boxA::after {
    content: "";
    display: block;
    clear: both;
  }

  /* 左：ロゴエリア */
  .box1 {
    float: left;
    width: auto;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* h1（SEO用テキスト） */
  .spNone h1 {
    font-size: 0.6rem;
    color: #988480;
    padding-bottom: 5px;
  }
  .pcNone {
    display: none;
  }

  /* ─── ロゴ画像サイズ（お客様の声ナビ追加に伴い縮小） ─── */
  .img2 {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 0;
  font-size: 0;
}
.img2 a {
  display: block;
  line-height: 0;
  font-size: 0;
}
  .img2 a:first-child img {
    width: 280px !important;   /* ← !important 追加 */
    height: auto !important;
    vertical-align: top !important;
  }
  .img2 a:last-child img {
    width: 180px !important;   /* ← !important 追加 */
    height: auto !important;
    vertical-align: top;
  }

  /* box2（SPハンバーガー）はPCで非表示 */
  .box2 {
    display: none;
  }

  /* 右：電話／SNS ＋ ナビエリア */
  .box3 {
    float: right;
    width: auto;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* 電話・SNSアイコン行 */
  .menu_1 {
    text-align: right;
  }
  .menu_1 ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .menu_1 li {
    float: left;
    width: auto;
  }
  .menu_1 li a {
    display: block;
    margin-right: 7px;
  }
  .menu_1 li a:hover {
    opacity: 0.7;
  }

  /* ─── PCナビゲーション ─── */
  .menu ul {
    margin: 0;
    float: right;
    padding: 0;
    list-style: none;
  }
  .menu li {
    float: left;
    width: auto;
    position: relative;
  }
  .menu li a {
    display: block;
    color: #320A00;
    font-size: 0.9rem;
    text-decoration: none;
    padding-top: 20px;
    padding-left: 13px;  /* 旧：17px → 少し詰めてナビ幅を節約 */
  }
  .menu li a:hover {
    color: #320A00;
    opacity: 0.7;
  }
  /* 現在ページのハイライト */
  .menu li a.current {
    color: #b94a2c;
    font-weight: bold;
    border-bottom: 2px solid #b94a2c;
  }

  /* ドロップダウン（子メニュー） */
  .menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .menu li:hover ul {
    display: block;
  }
  .menu li ul li {
    display: block;
    width: 100%;
    float: none;
  }
  .menu li ul li a {
    padding: 10px 12px;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #320A00;
    border-bottom: 1px solid #f0ece6;
  }
  .menu li ul li a:hover {
    background: #f5f0e8;
    color: #b94a2c;
  }
}


/* ─── SP（768px以下） ─────────────────── */
@media screen and (max-width: 768px) {

  #sectionblk_b {
    display: block;
    width: 100%;
    margin: auto;
    text-align: center;
  }

  .boxA::before,
  .boxA::after {
    content: "";
    display: table;
  }
  .boxA::after {
    clear: both;
  }

  /* 左：ロゴエリア */
  .box1 {
    float: left;
    width: auto;
    text-align: left;
    padding-top: 5px;
    height: auto;
  }

  .img2 {
    margin-left: 0.7rem;
    margin-top: 0.7rem;
  }
  /* SPではロゴ画像は JS の switch クラスで sp 用に切り替わるため
     サイズ指定は不要（既存の switch JS に任せる） */

  .spNone {
    display: none;
  }

  /* 右：SPハンバーガーボタン */
  .box2 {
    float: right;
    width: auto;
    text-align: right;
    padding-top: 5px;
  }

  /* PCナビ・SNS行はSPで非表示 */
  .box3 {
    display: none;
  }
}
