/* ==========================================================
   麺処 ぬくもり庵 サンプルサイト
   スマホ優先のレスポンシブ・ワンページ構成
   ========================================================== */

:root {
  --bg: #faf6ef;
  --bg-alt: #f4e9d8;
  --card: #ffffff;
  --text: #3a2e26;
  --text-sub: #746357;
  --accent: #c97a3d;
  --accent-dark: #a85f2a;
  --accent-soft: #f1d9a8;
  --line: #e7dcc8;
  --header-h: 72px;
  --top-offset: calc(var(--samples-bar-h) + var(--header-h));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  scroll-margin-top: var(--top-offset);
}

/* ---------- ヘッダー ---------- */
/* 「メニュー」「アクセス」等はピルの帯にせず、ロゴと同じ行に収まる文字リンクにして
   ファーストビューの高さを圧迫しないようにする */
.site-header {
  position: fixed;
  top: var(--samples-bar-h);
  left: 0;
  right: 0;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 150;
}

.site-header .container {
  min-height: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent-dark);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (min-width: 800px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-nav {
    gap: 24px;
  }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding-top: var(--top-offset);
  min-height: clamp(480px, 76vh, 640px);
  display: flex;
  align-items: center;
  background-image: url("../images/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 46, 38, 0.15) 0%, rgba(58, 46, 38, 0.65) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  opacity: 0.92;
}

.hero-brand {
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-catch {
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
  margin: 0 0 14px;
  font-weight: 500;
  opacity: 0.95;
}

.hero-lead {
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  max-width: 30em;
  margin: 0 0 24px;
  opacity: 0.88;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn:hover {
  background: var(--accent-dark);
}

/* ---------- 臨時休業バナー ---------- */
.notice-banner {
  margin-top: var(--top-offset);
  background: #fbeadb;
  border-bottom: 1px solid var(--accent-soft);
}

.notice-banner li {
  cursor: help;
}

.notice-banner .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.notice-banner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.notice-banner li + li {
  margin-top: 4px;
}

.notice-banner .notice-date {
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- 共通セクション見出し ---------- */
.section {
  padding: 64px 0;
}

/* ヒーローを持たない単独ページ(お問い合わせ等)で、固定ヘッダー分の余白を確保する */
.section-first {
  padding-top: calc(var(--top-offset) + 64px);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 1.7rem;
  margin: 0;
  letter-spacing: 0.04em;
}

.section-lead {
  text-align: center;
  color: var(--text-sub);
  max-width: 34em;
  margin: 12px auto 0;
}

/* ---------- メニュー ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 620px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(58, 46, 38, 0.08);
}

.menu-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 18px 20px 22px;
}

.menu-card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.menu-card-title h3 {
  font-size: 1.05rem;
  margin: 0;
}

.menu-price {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.menu-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* ---------- アクセス ---------- */
.access-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.access-info dt {
  font-size: 0.8rem;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  margin-top: 18px;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  margin: 4px 0 0;
  font-size: 1rem;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(58, 46, 38, 0.08);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- 営業時間 ---------- */
.hours-table {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(58, 46, 38, 0.06);
}

.hours-table th,
.hours-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table th {
  font-weight: 500;
  color: var(--text-sub);
  width: 40%;
}

.closed-day {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ---------- お問い合わせフォーム(見た目確認用・送信機能なし) ---------- */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  width: 100%;
}

.form-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--text-sub);
  text-align: center;
}

.form-hint-top {
  margin: 0 0 20px;
}

.text-link {
  color: var(--accent-dark);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ---------- SNS ---------- */
.sns-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 6px 14px rgba(58, 46, 38, 0.1);
  color: var(--accent-dark);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.sns-list a:hover {
  transform: translateY(-3px);
}

.icon-sns {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--text);
  color: #efe6da;
  padding: 40px 0 28px;
  font-size: 0.85rem;
}

.site-footer .brand {
  color: #fff;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.site-footer address {
  font-style: normal;
  opacity: 0.85;
  margin-bottom: 18px;
}

.site-footer .copyright {
  opacity: 0.6;
}

/* 臨時休業のお知らせが無い場合は非表示にする */
[hidden] {
  display: none !important;
}
