@charset "UTF-8";
/* ============================================================
   custom.css  ―― 日本料理 虎司（Iima00140 / template111）
   テンプレ既定の未定義変数・白ロゴの明度衝突・追従予約ボタン等を補正
   ============================================================ */

/* --- body背景（テンプレ既定 --bg-1 未定義の補完）。色指定なし＝白ベース --- */
:root {
  --bg-1: #ffffff;
  --sumi: #241f1c;
}
body {
  background: var(--bg-1);
}

/* ============================================================
   ヘッダー：支給ロゴが白文字のため、黒の外側光彩で可読性を確保
   （白背景でも写真の上でも読めるようにする。背景色・プレートは使わない）
   ============================================================ */

/* TOP（左サイド縦ヘッダー）：ロゴの上に余白を足して上端から離す */
@media (min-width: 768px) {
  body:not(.underlayer) .header {
    padding-top: 4rem;
  }
}

/* ロゴ本体に黒い外側光彩（ドロップシャドウを重ねて縁取り）
   → ページ背景は白のまま、ナビ文字もテンプレ既定の黒を維持 */
.header__logo img {
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 4px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.45));
}

/* グロナビ内アイコン（Instagram）のベースラインずれ対策 */
.header__nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__nav-item a {
  display: inline-flex;
  align-items: center;
}
.header__nav-item .fab {
  font-size: max(18px, 2.2rem);
  line-height: 1;
}

/* ============================================================
   画面追従 予約ボタン（2本とも予約導線に変更）
   PC＝縦書きテキストボタン / SP＝下部2分割バー
   ============================================================ */
.fixed-btn a.res-btn {
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  max-width: 80px;
  min-height: 24rem;
  padding: 2.6rem 0.4rem;
  color: #fff !important;
  font-weight: 700;
  font-size: max(13px, 1.7rem);
  letter-spacing: 0.16em;
  text-decoration: none !important;
}
.fixed-btn a.res-btn.tabelog { background: #df2828; }
.fixed-btn a.res-btn.hotpepper { background: #4c2500; }
.fixed-btn a.res-btn:hover { opacity: 0.85; }

@media (min-width: 768px) {
  .fixed-btn a.res-btn-sp { display: none !important; }
}
@media (max-width: 767px) {
  .fixed-btn a.res-btn { display: none !important; }
  .fixed-btn a.res-btn-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    height: max(50px, 6.4rem);
    color: #fff !important;
    font-weight: bold;
    font-size: max(13px, 1.9rem);
    text-decoration: none !important;
    width: 50%;
  }
  .fixed-btn a.res-btn-sp.tabelog {
    background: #df2828;
    border-top: 1px solid #fff;
    border-right: 0.5px solid #fff;
  }
  .fixed-btn a.res-btn-sp.hotpepper {
    background: #4c2500;
    border-top: 1px solid #fff;
    border-left: 0.5px solid #fff;
  }
}

/* ============================================================
   ギャラリー：画像の縦横比がバラバラ→形を統一（比率は歪めずcover）
   ============================================================ */
/* 下層ギャラリーページ（丸トリミング）: 正円に統一 */
.gallery__list a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* TOPギャラリースライダー: 全スライドを同じ3:2の長方形に統一 */
.gallery__slider .swiper-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero__slider img {
  object-fit: cover;
}

/* ============================================================
   こだわり4つ目（テンプレは3枠）の追加分も既存枠と揃える
   ============================================================ */
.policy__contents:last-of-type { margin-bottom: 0; }
