:root {
  /* ベースは白＋濃いグレー文字。店舗カード／店舗詳細だけは「写真タイル」として
     暗いトーンのまま残す（実際の写真が入る想定の箇所のため） */
  --color-bg: #ffffff;
  --color-surface: #faf9f7;
  --color-surface-2: #f1ede4;
  --color-text: #2c2a27;
  --color-muted: #6f6a63;
  --color-primary: #c05a34;
  --color-primary-dark: #9c431f;
  --color-secondary: #5f7d52;
  --color-border: #e6e2da;

  /* 写真タイル（店舗カード・店舗詳細）専用のダークトークン */
  --tile-bg: #1d1712;
  --tile-bg-2: #241d16;
  --tile-border: #3a3125;
  --tile-text: #f3ead9;
  --tile-muted: #b7a998;
  --tile-link: #f0925c;

  --max-width: 1200px;
  --radius: 12px;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--color-primary-dark); }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}
.site-header nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.site-header nav a:hover {
  color: var(--color-primary-dark);
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}
.section:last-of-type { border-bottom: none; }

.eyebrow {
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: bold;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.section h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}
.section h2.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  margin: 0 0 12px;
}
.lead { color: var(--color-muted); margin: 0 0 36px; }

/* Store cards (top page) — 写真の代わりに暗いタイルで表現。写真が入り次第、背景画像に差し替え予定 */
.store-group { margin-bottom: 48px; }
.store-group:last-child { margin-bottom: 0; }
.store-group-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
  margin-bottom: 20px;
}
.store-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.store-card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--tile-border);
  background: linear-gradient(150deg, #2c2118 0%, #1a1512 70%);
  color: var(--tile-text);
}
.store-card-grid .store-card:nth-of-type(4n+2) {
  background: linear-gradient(150deg, #241f14 0%, #17140f 70%);
}
.store-card-grid .store-card:nth-of-type(4n+3) {
  background: linear-gradient(150deg, #2a1a16 0%, #19120f 70%);
}
.store-card-grid .store-card:nth-of-type(4n+4) {
  background: linear-gradient(150deg, #1f2318 0%, #14150f 70%);
}
.store-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(226,121,63,0.28), transparent 70%);
}
.store-card-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.store-card-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  position: relative;
  z-index: 0;
  color: var(--tile-text);
}
.store-card-ig {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  right: 14px;
  display: flex;
  color: var(--tile-muted);
}
.store-card-ig:hover { color: var(--tile-link); }
.store-card--soon {
  background: repeating-linear-gradient(135deg, #1a1512, #1a1512 10px, #201a15 10px, #201a15 20px);
  border-style: dashed;
  flex-direction: column;
  gap: 8px;
}
.store-card-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: #f3ead9;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 999px;
  margin: 0 0 4px;
  position: relative;
  z-index: 0;
}
.store-card-note { font-size: 0.8rem; color: var(--tile-muted); position: relative; z-index: 0; margin: 0; }
.store-card-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.85rem;
  position: relative;
}
.store-card-links a {
  color: var(--tile-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,146,92,0.4);
}
.store-card-links a:hover { border-color: var(--tile-link); }

/* 店舗個別ページ：戻るリンク */
.back-link-bar { padding: 24px 0 0; }
.back-link-bar a { font-size: 0.9rem; text-decoration: none; }
.back-link-bar a:hover { text-decoration: underline; }

/* ファーストビュー（写真の代わりに店名ロゴタイルで代用。写真が入り次第、背景画像に差し替え予定） */
.store-hero-section { padding-top: 32px; }
.store-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--tile-border);
  background: linear-gradient(150deg, #2c2118 0%, #1a1512 70%);
}
.store-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(226,121,63,0.28), transparent 70%);
}
.store-hero-name {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--tile-text);
  margin: 0;
}

/* コメント */
.store-comment {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.9;
}

/* ギャラリー（写真が入るまではプレースホルダータイル） */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--tile-border);
  background: linear-gradient(150deg, #2c2118 0%, #1a1512 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tile-muted);
  font-size: 0.8rem;
}
.gallery-grid .gallery-tile:nth-child(3n+2) {
  background: linear-gradient(150deg, #241f14 0%, #17140f 70%);
}
.gallery-grid .gallery-tile:nth-child(3n+3) {
  background: linear-gradient(150deg, #2a1a16 0%, #19120f 70%);
}

/* 店舗情報（住所・営業時間など。データなのでライトカードで表示） */
.shop-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}
.store-detail-formal { color: var(--color-muted); font-size: 0.85rem; margin: 0 0 16px; }
.store-detail-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  margin: 0 0 14px;
}
.store-detail-list dt { color: var(--color-muted); font-size: 0.85rem; }
.store-detail-list dd { margin: 0; }
.store-detail-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-surface-2);
  padding: 14px;
  border-radius: 8px;
}

/* Brand story */
.brand-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.brand-story-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.brand-story-card h3 {
  font-family: var(--font-serif);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.greeting {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.greeting-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--color-muted);
  text-align: center;
}
.greeting-text { flex: 1; min-width: 200px; }
.greeting-name { font-weight: bold; margin-top: 12px; }

/* Kodawari */
.kodawari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.kodawari-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.kodawari-card h3 { font-family: var(--font-serif); font-size: 1.05rem; }

/* Teaser sections (recruit / news) */
.teaser-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* News */
.news-item { padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.news-item:last-child { border-bottom: none; }
.news-date { color: var(--color-muted); font-size: 0.8rem; margin: 0 0 4px; }
.news-title { font-family: var(--font-serif); margin: 0 0 4px; font-size: 1.05rem; }
.news-body { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.empty-state { color: var(--color-muted); }

/* Recruit page */
.job-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 44px;
}
.job-table th, .job-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
}
.job-table th { width: 160px; color: var(--color-muted); font-weight: normal; }
.interview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.interview-card {
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--color-muted);
  text-align: center;
}

/* Company page */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
}
.info-table th { width: 160px; color: var(--color-muted); font-weight: normal; }

/* Button */
.btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--color-primary);
  color: #fffaf5;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(192,90,52,0);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0 20px rgba(192,90,52,0.25);
}

/* Form (contact) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
  margin-top: 28px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  background: var(--color-surface);
}
.required {
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  margin-left: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}
.site-footer nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.site-footer nav a { color: var(--color-muted); text-decoration: none; }

/* ============ レスポンシブ対応 ============ */

/* タブレット */
@media (max-width: 900px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section h1 { font-size: 2rem; }
  .store-card-grid,
  .brand-story-grid,
  .kodawari-grid,
  .interview-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* スマホ */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .site-header .container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-header nav ul { gap: 12px 16px; }
  .site-header nav a { font-size: 0.82rem; }

  .section { padding: 40px 0; }
  .section h1 { font-size: 1.7rem; }
  .section h2.section-title { font-size: 1.3rem; }
  .lead { margin-bottom: 24px; }

  .store-card-grid,
  .brand-story-grid,
  .kodawari-grid,
  .interview-grid {
    grid-template-columns: 1fr;
  }

  .shop-info-card { padding: 20px; }
  .store-detail-list {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .store-detail-list dt { margin-top: 10px; }
  .store-detail-list dt:first-child { margin-top: 0; }
  .store-hero { min-height: 200px; padding: 32px 20px; }
  .store-hero-name { font-size: 1.6rem; }

  .teaser-box { flex-direction: column; align-items: stretch; text-align: center; }
  .teaser-box .btn { text-align: center; }

  .greeting { flex-direction: column; align-items: center; text-align: center; }

  .job-table th, .job-table td,
  .info-table th, .info-table td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }
  .job-table tr, .info-table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .job-table th, .info-table th { border-bottom: none; color: var(--color-muted); font-size: 0.8rem; }
  .job-table td, .info-table td { border-bottom: none; }
}
