/* ============================================
   海鮮居酒屋 むらた — スタイルシート
   カラー: 藍 #16324F / 山吹金 #C9A05A / 生成り #FAF6EC / 墨 #241D14
   モバイルファースト → 700pxでPCレイアウト
   ============================================ */

:root {
  --ai: #16324F;
  --ai-deep: #0E2135;
  --gold: #C9A05A;
  --cream: #FAF6EC;
  --ink: #241D14;
  --sub: #6b6152;
  --line: #E6DDC7;
  --green: #4E7A3C;
  --mincho: "Shippori Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: min(92%, 1080px); margin-inline: auto; }

/* 画像が未設置（onerrorで非表示）でも様になる、藍×金のグラデーション下地 */
.hero__media,
.band,
.owner__media,
.menu-feature__media,
.menu-item__media {
  background: linear-gradient(135deg, var(--ai) 0%, var(--ai-deep) 60%, var(--gold) 150%);
}

/* ===== ヘッダー ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ai);
  color: var(--cream);
}
.header__inner {
  width: min(92%, 1080px); margin-inline: auto;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.header__logo { display: flex; align-items: center; gap: 8px; }
.header__mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--ai-deep);
  display: grid; place-items: center;
  font-family: var(--mincho); font-weight: 700; font-size: 16px;
}
.header__name { font-family: var(--mincho); font-weight: 500; letter-spacing: 1px; font-size: 16px; }

.header__right { display: flex; align-items: center; gap: 10px; }

/* ===== 自動翻訳スイッチャー（Google Website Translator） ===== */
.lang-switch { display: flex; align-items: center; min-width: 34px; min-height: 34px; }
.lang-switch::before {
  content: "🌐"; font-size: 16px; margin-right: 4px;
}
#google_translate_element .goog-te-gadget { font-family: var(--sans) !important; font-size: 0 !important; color: transparent !important; }
#google_translate_element .goog-te-gadget-simple {
  background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 20px !important; padding: 5px 10px !important; display: inline-flex !important; align-items: center;
}
/* トリガーのテキストは無クラスのspanのため、a > span を直接指定して白文字化 */
#google_translate_element .goog-te-gadget-simple a,
#google_translate_element .goog-te-gadget-simple a span { color: #fff !important; }
/* 「言語を選択」（日本語ラベル）を非表示にし、「Language」に差し替え */
#google_translate_element .goog-te-gadget-simple a > span:first-child { font-size: 0 !important; }
#google_translate_element .goog-te-gadget-simple a > span:first-child::after {
  content: "Language"; font-size: 12px; color: #fff;
}
/* サイト全体の img{display:block;width:100%;height:auto} リセットが、Google側の
   インライン要素（極小スペーサー画像・国旗アイコン）まで引き伸ばし・改行させてしまうため、
   ウィジェット内の画像だけは元の表示に戻す（国旗アイコンの19px角サイズはGoogle側のクラスに委ねる） */
#google_translate_element img { display: inline !important; vertical-align: middle !important; }
#google_translate_element img:not(.goog-te-gadget-icon) {
  width: auto !important; height: auto !important; max-width: none !important;
}
/* Google翻訳のバナー（ページが下に押し下げられる）を非表示に */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }

.header__toggle {
  width: 34px; height: 34px; background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.header__toggle span {
  display: block; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.header__toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__toggle.is-active span:nth-child(2) { opacity: 0; }
.header__toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.gnav {
  position: absolute; top: 56px; left: 0; right: 0;
  background: var(--ai);
  display: grid; overflow: hidden;
  max-height: 0; transition: max-height .3s ease;
}
.gnav.is-open { max-height: 320px; }
.gnav a {
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 15px;
}

/* ===== ヒーロー ===== */
.hero { position: relative; }
.hero__media { position: relative; height: 62vh; min-height: 340px; max-height: 620px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,33,53,.6) 0%, rgba(14,33,53,.2) 55%, transparent 100%);
}
.hero__copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 7%; color: var(--cream);
}
.hero__lead { font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hero__title {
  font-family: var(--mincho); font-weight: 700; font-size: clamp(28px, 8vw, 52px);
  line-height: 1.45; text-shadow: 0 2px 8px rgba(0,0,0,.5); margin-bottom: 24px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== ボタン共通 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mincho); font-weight: 500; font-size: 15px;
  padding: 12px 22px; border-radius: 6px; transition: transform .1s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn .ico { font-size: 15px; }
.btn--gold { background: var(--gold); color: var(--ai-deep); }
.btn--light { background: var(--cream); color: var(--ai); }
.btn--red { background: var(--ai); color: var(--cream); }
.btn--outline { background: transparent; color: var(--ai); border: 2px solid var(--ai); }
.btn--block { width: 100%; justify-content: center; border: 0; cursor: pointer; }

/* ===== セクション共通 ===== */
.section { padding: 48px 0; }
.section--tint { background: #F1E9D6; }

.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head__ja {
  font-family: var(--mincho); font-weight: 700; font-size: 22px; color: var(--ai);
}
.sec-head__bar {
  display: block; width: 40px; height: 3px; background: var(--gold);
  border-radius: 2px; margin: 8px auto 0;
}

/* ===== こだわり ===== */
.concept-list { list-style: none; display: grid; gap: 14px; }
.concept-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.concept-card__ico {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: #F1E9D6; display: grid; place-items: center; font-size: 24px;
}
.concept-card h3 { font-family: var(--mincho); font-size: 16px; font-weight: 500; }
.concept-card p { font-size: 13px; color: var(--sub); }

.band { position: relative; margin-top: 36px; height: 300px; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(14,33,53,.75));
  color: #fff; font-family: var(--mincho); text-align: center;
  padding: 40px 16px 16px; font-size: 15px;
}

/* ===== 店主からのご挨拶 ===== */
.owner { display: grid; gap: 24px; }
.owner__media {
  width: 100%; aspect-ratio: 1/1; max-width: 280px; margin-inline: auto;
  border-radius: 50%; overflow: hidden; border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(22,50,79,.18);
}
.owner__media img { width: 100%; height: 100%; object-fit: cover; }
.owner__body { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px; }
.owner__lead { font-family: var(--mincho); font-size: 17px; font-weight: 700; color: var(--ai); margin-bottom: 14px; }
.owner__body p { font-size: 14px; color: var(--sub); margin-bottom: 14px; }
.owner__sign { text-align: right; font-family: var(--mincho); font-size: 15px; color: var(--ink) !important; }

/* ===== メニュー ===== */
.menu-feature {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin-bottom: 18px;
}
.menu-feature__media { position: relative; width: 100%; aspect-ratio: 16/10; }
.menu-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--ai-deep);
  font-family: var(--mincho); font-weight: 700; font-size: 12px;
  padding: 4px 14px; border-radius: 14px;
}
.menu-feature__body { padding: 18px 20px; }
.menu-feature__body h3 { font-family: var(--mincho); font-size: 20px; font-weight: 500; }
.menu-feature__body p { font-size: 14px; color: var(--sub); margin-top: 4px; }
.price {
  font-family: var(--mincho); font-weight: 700; font-size: 24px; color: var(--ai) !important;
  margin-top: 8px !important;
}
.price span { font-size: 13px; font-weight: 500; color: var(--sub); }

.menu-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.menu-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.menu-item__media { width: 100%; aspect-ratio: 1/1; }
.menu-item__media img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__body { padding: 12px 14px; }
.menu-item__body h3 { font-family: var(--mincho); font-size: 15px; font-weight: 500; }
.menu-item__body .price { font-size: 18px; margin-top: 4px !important; }
.menu-item__body .desc { font-size: 13px; color: var(--sub); margin-top: 6px; }
.menu-note { font-size: 12px; color: var(--sub); margin-top: 16px; text-align: center; }

.menu-more { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.menu-more__col { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.menu-more__title {
  font-family: var(--mincho); font-size: 16px; font-weight: 700; color: var(--ai);
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.menu-more__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.menu-more__col li { font-size: 14px; color: var(--ink); position: relative; padding-left: 16px; }
.menu-more__col li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.menu-more__note { font-size: 12px; color: var(--sub); margin-top: 20px; text-align: center; }

.banquet-grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 20px; }
.banquet-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.banquet-cta .btn { flex: 1 1 240px; justify-content: center; text-align: center; }

/* ===== アクセス ===== */
.access { display: grid; gap: 18px; }
.map-placeholder {
  aspect-ratio: 16/9; background: #E3E7DE; border-radius: 10px;
  display: grid; place-items: center; color: #7c8a72; font-size: 14px;
}
.access__info {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.access__info > div {
  display: flex; gap: 12px; padding: 12px 16px; font-size: 14px;
  border-top: 1px solid var(--line);
}
.access__info > div:first-child { border-top: 0; }
.access__info dt { flex: 0 0 76px; color: var(--ai); font-weight: 500; }
.access__info a { color: var(--ai); text-decoration: underline; }
.access__actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.access__actions .btn { flex: 1; justify-content: center; }

/* ===== お問い合わせ ===== */
.contact-lead { text-align: center; font-size: 14px; margin-bottom: 20px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.contact-btn {
  border-radius: 10px; padding: 16px; text-align: center;
  font-family: var(--mincho); font-weight: 500; color: #fff; font-size: 15px;
}
.contact-btn small { font-size: 12px; opacity: .85; }
.contact-btn--line { background: #06C755; }
.contact-btn--tel { background: var(--ink); }

.contact-form { display: grid; gap: 14px; max-width: 520px; margin-inline: auto; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 15px; padding: 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* ===== SNS ===== */
.sns { background: var(--cream); padding: 36px 0; text-align: center; }
.sns__lead { font-family: var(--mincho); font-weight: 500; font-size: 16px; margin-bottom: 16px; }
.sns__links { display: flex; justify-content: center; gap: 14px; }
.sns__btn {
  width: 130px; padding: 12px 0; border-radius: 8px;
  font-family: var(--mincho); font-weight: 500; font-size: 14px; color: #fff;
}
.sns__btn--ig { background: var(--ai); }
.sns__btn--x { background: var(--ink); }
.sns__btn--line { background: var(--green); }

/* ===== フッター ===== */
.footer { background: var(--ink); color: #C9BEB2; text-align: center; padding: 28px 16px; }
.footer__name { font-family: var(--mincho); font-weight: 500; font-size: 18px; color: var(--gold); }
.footer__addr { font-size: 12px; margin: 6px 0; }
.footer__copy { font-size: 11px; }

/* ============================================
   ヘッダーナビ（920px以上・言語スイッチャー分の幅を確保）
   ============================================ */
@media (min-width: 920px) {
  .header__toggle { display: none; }
  .gnav {
    position: static; max-height: none; background: none;
    display: flex; gap: 8px; overflow: visible;
  }
  .gnav a { border: 0; padding: 8px 16px; border-radius: 20px; font-weight: 500; transition: background .2s; }
  .gnav a:hover { background: rgba(255,255,255,.15); }
}

/* ============================================
   PC / タブレット（700px以上）
   ============================================ */
@media (min-width: 700px) {
  .hero__media { height: 78vh; max-height: 720px; }
  .hero__copy { padding-left: 10%; }

  .concept-list { grid-template-columns: repeat(3, 1fr); }
  .concept-card { flex-direction: column; text-align: center; align-items: center; }

  .band { height: 420px; }

  .owner { grid-template-columns: 240px 1fr; align-items: center; }
  .owner__media { margin-inline: 0; }

  .menu-feature { display: grid; grid-template-columns: 1.1fr 1fr; }
  .menu-feature__media { height: 100%; aspect-ratio: auto; }
  .menu-feature__body { display: flex; flex-direction: column; justify-content: center; }

  .menu-grid { grid-template-columns: repeat(3, 1fr); }

  .menu-more { grid-template-columns: 1fr 1fr; }

  .banquet-grid { grid-template-columns: 1fr 1fr; }
  .banquet-grid .menu-item__media { aspect-ratio: 4/3; }

  .access { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .access__actions .btn { flex: none; padding-inline: 40px; }

  .btn:hover { opacity: .9; }
}
