@charset "utf-8";

/* ==================================================
  RISTORANTE DEA / config.css
  グローバルリセット + 共通ユーティリティ
  （フォント・カラー・ブレークポイント別スタイルは pc.css / sp.css）
================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  position: relative;
}

img {
  border-style: none;
  height: auto;
  vertical-align: bottom;
  width: 100%;
}

a { text-decoration: none; }
li { list-style: none; }

/* =====================================
  Skip to content（キーボード/スクリーンリーダー向け）
  フォーカス時のみ画面に表示
===================================== */
.skip-link {
  background: #0d1e3d;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  left: 0;
  padding: 12px 20px;
  position: absolute;
  top: -100px;               /* 通常は画面外 */
  transition: top 0.2s ease;
  z-index: 10000;
}
.skip-link:focus {
  top: 0;                    /* フォーカスで画面上端に表示 */
  outline: 2px solid #d2b56c;
  outline-offset: 2px;
}

/* =====================================
  FOOTER 電話リンク（PC/SP 共通）
  tel: リンクのデフォルト青色/下線を無効化
===================================== */
.foot-tel a {
  color: inherit;
  text-decoration: none;
}

/* =====================================
  FOOTER ロゴリンク（PC/SP 共通）
  <a> でラップしたときにレイアウトが崩れないよう
  block 化し、親の width を継承させる
===================================== */
.foot-logo a {
  display: block;
  width: 100%;
}
.foot-logo a:hover img { opacity: 0.8; transition: opacity 0.2s; }

/* =====================================
  アクセシビリティ：モーション低減設定
  OSで「視差効果を減らす」が有効なユーザ向けに
  全アニメーション/トランジションを実質無効化
===================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
