/*
Theme Name: Sushi Inoue
Theme URI: https://example.com/
Author: Inoue
Description: 横浜・おまかせ鮨のためのオリジナルテーマ。和モダン、ダークトーン。
Version: 0.1.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sushi-inoue
*/

:root {
  --color-bg: #171614;
  --color-bg-alt: #201e1b;
  --color-text: #e8e2d6;
  --color-muted: #9a9284;
  --color-accent: #b5985a;
  --color-line: #3a3731;
  --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.12em;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(23, 22, 20, 0.85), rgba(23, 22, 20, 0));
}

.site-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.site-logo {
  height: 56px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.btn-reserve {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-reserve:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(23, 22, 20, 0.3), rgba(23, 22, 20, 0.85));
}

.hero > * {
  position: relative;
}

.hero-title {
  margin: 0;
  line-height: 0;
}

.hero-logo {
  height: min(58vh, 520px);
  width: auto;
  filter: drop-shadow(0 4px 32px rgba(0, 0, 0, 0.55));
}

.hero-tagline {
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--color-muted);
  letter-spacing: 0.3em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-muted);
}

/* ---------- Sections ---------- */

.section {
  padding: 120px 0;
}

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

/* 生成りの明るい間奏セクション */
.section-cream {
  background: #f2ede2;
  color: #2b2823;
}

.section-cream .section-label {
  color: #8a6d2f;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 56px;
}

.section-body {
  max-width: 640px;
}

.section-body p + p {
  margin-top: 2em;
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.story-photo img {
  width: 100%;
  object-fit: cover;
}

.story-photo-placeholder {
  height: 380px;
  background: linear-gradient(160deg, #2b2823, #201e1b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #5a554c;
}

.story-sign {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--color-muted);
  margin-top: 16px;
}

/* ---------- おしながき ---------- */

.menu-list {
  max-width: 560px;
}

.menu-group-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #8a6d2f;
  margin-top: 40px;
  margin-bottom: 4px;
}

.menu-group-title:first-child {
  margin-top: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid #d8d0be;
}

.menu-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.menu-desc {
  font-size: 0.8rem;
  color: #7a7263;
  font-weight: 300;
  margin-top: 4px;
}

.menu-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #8a6d2f;
  white-space: nowrap;
  margin-left: 32px;
}

.menu-note {
  font-size: 0.8rem;
  color: #7a7263;
  margin-top: 28px;
  line-height: 2;
}

/* ---------- News ---------- */

.news-list {
  list-style: none;
  max-width: 640px;
}

.news-list li {
  border-bottom: 1px solid var(--color-line);
}

.news-list a {
  display: flex;
  gap: 32px;
  padding: 24px 8px;
  align-items: baseline;
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.news-more {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

/* ---------- Access ---------- */

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.access-table th,
.access-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  font-weight: 300;
}

.access-table th {
  width: 6em;
  color: var(--color-muted);
  white-space: nowrap;
}

.access-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) contrast(0.9);
}

/* ---------- CTA ---------- */

.cta {
  padding: 120px 0;
  text-align: center;
  background: var(--color-bg-alt);
}

.cta .btn-reserve {
  margin-top: 40px;
  padding: 16px 64px;
  font-size: 0.95rem;
}

.cta-phone {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ---------- Blog / Pages ---------- */

.page-main {
  padding: 160px 0 120px;
}

.entry + .entry {
  margin-top: 80px;
}

.entry-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.entry-title a {
  color: var(--color-text);
}

.entry-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.entry-content {
  max-width: 640px;
}

.entry-content p + p {
  margin-top: 1.5em;
}

.entry-content img {
  margin: 2em 0;
}

.entry-thumb {
  margin: 32px 0 40px;
  max-width: 640px;
}

.entry-content h2 {
  font-size: 1.15rem;
  margin: 2.5em 0 0.8em;
}

.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
  border-bottom: 1px solid var(--color-line);
  padding: 16px 8px;
  text-align: left;
  font-weight: 300;
  vertical-align: top;
}

.entry-content th {
  width: 13em;
  color: var(--color-muted);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .entry-content th {
    width: auto;
    white-space: normal;
  }
}

/* ---------- SNSアイコン（ヘッダー） ---------- */

.sns-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.sns-icons a {
  color: var(--color-muted);
  display: flex;
}

.sns-icons a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.sns-icons svg {
  width: 19px;
  height: 19px;
}

/* ---------- メルマガ登録 ---------- */

.newsletter {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  padding: 88px 0;
  text-align: center;
}

.newsletter-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-input {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 13px 20px;
  width: min(360px, 80vw);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-btn {
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.newsletter-done {
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.newsletter-error {
  color: #c96b5f;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.yuya-hp {
  position: absolute;
  left: -9999px;
}

/* ---------- お問い合わせフォーム ---------- */

.contact-form {
  max-width: 560px;
}

.cf-field {
  margin-bottom: 26px;
}

.cf-field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

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

.cf-done {
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.cf-error {
  color: #c96b5f;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 64px 0 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-kamon {
  width: 44px;
  margin: 0 auto 20px;
  opacity: 0.55;
}

.footer-sns {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-sns a {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--color-muted);
}

.footer-sns a {
  color: var(--color-muted);
  letter-spacing: 0.2em;
}

.copyright {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-nav ul {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-photo-placeholder {
    height: 280px;
  }
}
