/* 妙の宴 (sozai-en.com) — Restored Site Styles */
/* Original: IBM WebSphere Homepage Builder, frames, dark theme */
/* Layout: centered 1060px, black bg, golden accents */

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 1.75;
  color: #b0b0b0;
  background: #0a0a0a;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c9a96e; text-decoration: none; transition: color 0.2s; }
a:hover { color: #e8c47a; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.sz-header {
  background: #0d0d0d;
  border-bottom: 1px solid #1f1f1f;
  padding: 0;
}
.sz-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sz-logo {
  text-decoration: none;
  color: #e0d0b0;
}
.sz-logo:hover { color: #c9a96e; text-decoration: none; }
.sz-logo-text {
  font-size: 1.5em;
  font-weight: 700;
  color: #e0d0b0;
  margin: 0;
  line-height: 1.1;
  display: block;
  letter-spacing: 0.06em;
}
.sz-logo .sz-subtitle {
  display: block;
  font-size: 0.4em;
  color: #666;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 3px;
}
.sz-nav-toggle {
  display: none;
  background: none;
  border: 1px solid #333;
  color: #999;
  font-size: 1.1em;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
}
.sz-nav-toggle:hover { border-color: #c9a96e; color: #c9a96e; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.sz-nav {
  background: #111;
  border-bottom: 1px solid #1a1a1a;
}
.sz-nav-items {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  list-style: none;
  gap: 0;
}
.sz-nav-items a {
  display: block;
  color: #888;
  padding: 10px 14px;
  font-size: 0.82em;
  letter-spacing: 0.03em;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.sz-nav-items a:hover,
.sz-nav-items a.active {
  color: #e0d0b0;
  border-bottom-color: #c9a96e;
}

/* ═══════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════ */
.sz-main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 22px;
}

/* ═══════════════════════════════════════
   HERO SECTION (homepage)
   ═══════════════════════════════════════ */
.sz-hero {
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 32px;
  border-radius: 5px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid #222;
  min-height: 220px;
}
.sz-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to left, rgba(201,169,110,0.08), transparent);
  pointer-events: none;
}
.sz-hero h1 {
  font-size: 1.9em;
  font-weight: 700;
  color: #e0d0b0;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.sz-hero p {
  font-size: 0.95em;
  color: rgba(176,176,176,0.8);
  max-width: 520px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   ARTICLE LISTING
   ═══════════════════════════════════════ */
.sz-listing {
  margin: 22px 0;
}
.sz-listing-entry {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s;
}
.sz-listing-entry:hover {
  border-color: #c9a96e;
}
.sz-listing-img {
  width: 140px;
  min-width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #1f1f1f;
}
.sz-listing-text h3 {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}
.sz-listing-text h3 a { color: #d0c8b0; }
.sz-listing-text h3 a:hover { color: #c9a96e; }
.sz-listing-text p {
  font-size: 0.85em;
  color: #777;
  margin: 0;
  line-height: 1.5;
}
.sz-listing-date {
  font-size: 0.75em;
  color: #555;
  margin-top: 5px;
}
.sz-label {
  display: inline-block;
  background: #333300;
  color: #c9a96e;
  font-size: 0.65em;
  padding: 2px 7px;
  border-radius: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 6px;
}

/* ═══════════════════════════════════════
   SECTION HEADING
   ═══════════════════════════════════════ */
.sz-section-heading {
  font-size: 1em;
  font-weight: 700;
  color: #e0d0b0;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 7px;
  border-bottom: 2px solid #333300;
  display: inline-block;
}

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */
.sz-article {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 22px;
}
.sz-article-header {
  margin-bottom: 22px;
}
.sz-breadcrumb {
  font-size: 0.78em;
  color: #555;
  margin-bottom: 12px;
}
.sz-breadcrumb a { color: #c9a96e; }
.sz-article-header h1 {
  font-size: 1.7em;
  font-weight: 700;
  color: #e0d0b0;
  line-height: 1.2;
  margin-bottom: 10px;
}
.sz-meta {
  font-size: 0.8em;
  color: #666;
  padding-bottom: 12px;
  border-bottom: 1px solid #1f1f1f;
  margin-bottom: 18px;
}
.sz-hero-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 22px;
  border: 1px solid #1f1f1f;
}
.sz-float-img {
  float: right;
  margin: 0 0 14px 18px;
  max-width: 260px;
  border-radius: 3px;
  border: 1px solid #1f1f1f;
}

/* ═══════════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════════ */
.sz-body {
  font-size: 0.98em;
  line-height: 1.85;
  color: #b0b0b0;
}
.sz-body h2 {
  color: #e0d0b0;
  font-size: 1.3em;
  margin: 26px 0 10px;
  padding-top: 6px;
}
.sz-body h3 {
  color: #c0b8a0;
  font-size: 1.05em;
  margin: 18px 0 8px;
}
.sz-body p { margin-bottom: 14px; }
.sz-body ul, .sz-body ol {
  margin: 8px 0 16px 24px;
}
.sz-body li { margin-bottom: 5px; }
.sz-body strong { color: #d0c8b0; }
.sz-body blockquote {
  border-left: 3px solid #333300;
  margin: 16px 0;
  padding: 12px 18px;
  background: #141414;
  font-style: italic;
  color: #888;
  border-radius: 0 4px 4px 0;
}
.sz-body a { text-decoration: underline; text-underline-offset: 2px; }
.sz-body a:hover { color: #e8c47a; }

/* ═══════════════════════════════════════
   TABLES
   ═══════════════════════════════════════ */
.sz-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0;
  font-size: 0.88em;
}
.sz-body th, .sz-body td {
  padding: 8px 12px;
  border: 1px solid #222;
  text-align: left;
}
.sz-body th {
  background: #333300;
  color: #e0d0b0;
  font-weight: 600;
}
.sz-body tr:nth-child(even) { background: #111; }
.sz-body tr:hover { background: #1a1508; }

/* ═══════════════════════════════════════
   GALLERY (sozai showcase)
   ═══════════════════════════════════════ */
.sz-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.sz-showcase-item {
  width: calc(25% - 8px);
  border: 1px solid #1f1f1f;
  border-radius: 3px;
  overflow: hidden;
  background: #111;
}
.sz-showcase-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.sz-showcase-cap {
  padding: 5px 6px;
  font-size: 0.7em;
  color: #666;
  text-align: center;
}

/* ═══════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════ */
.sz-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #1f1f1f;
}
.sz-related h2 {
  font-size: 1.1em;
  color: #e0d0b0;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.sz-footer {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  padding: 28px 22px;
  margin-top: 36px;
}
.sz-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.sz-footer-brand {
  flex: 2;
  min-width: 180px;
}
.sz-footer-brand p {
  color: #555;
  font-size: 0.8em;
  margin-top: 6px;
  line-height: 1.5;
}
.sz-footer-col {
  flex: 1;
  min-width: 130px;
}
.sz-footer-col h4 {
  color: #999;
  font-size: 0.8em;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  font-weight: 600;
}
.sz-footer-col ul { list-style: none; }
.sz-footer-col li { margin-bottom: 4px; }
.sz-footer-col a { color: #555; font-size: 0.8em; }
.sz-footer-col a:hover { color: #c9a96e; }
.sz-footer-copy {
  max-width: 1060px;
  margin: 14px auto 0;
  padding-top: 12px;
  border-top: 1px solid #1a1a1a;
  text-align: center;
  font-size: 0.75em;
  color: #444;
}

/* ═══════════════════════════════════════
   SERVICE PAGES
   ═══════════════════════════════════════ */
.sz-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 22px;
}
.sz-page h1 {
  font-size: 1.7em;
  font-weight: 700;
  color: #e0d0b0;
  margin-bottom: 14px;
}
.sz-page h2 {
  color: #c0b8a0;
  font-size: 1.15em;
  margin: 22px 0 8px;
}
.sz-page p { margin-bottom: 12px; color: #999; }
.sz-page ul { margin: 6px 0 14px 20px; color: #999; }
.sz-page li { margin-bottom: 4px; }

/* ═══════════════════════════════════════
   RESPONSIVE — 800px
   ═══════════════════════════════════════ */
@media (max-width: 800px) {
  .sz-nav-toggle { display: block; }
  .sz-nav-items { display: none; flex-direction: column; padding: 0; }
  .sz-nav-items.open { display: flex; }
  .sz-nav-items a { padding: 10px 22px; border-bottom: 1px solid #1a1a1a; }
  .sz-hero { padding: 26px 20px; }
  .sz-hero h1 { font-size: 1.45em; }
  .sz-article-header h1 { font-size: 1.4em; }
  .sz-listing-entry { flex-direction: column; }
  .sz-listing-img { width: 100%; min-width: auto; height: 160px; }
  .sz-footer-inner { flex-direction: column; }
  .sz-float-img { float: none; max-width: 100%; margin: 0 0 14px 0; }
  .sz-showcase-item { width: calc(50% - 5px); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 500px
   ═══════════════════════════════════════ */
@media (max-width: 500px) {
  .sz-hero h1 { font-size: 1.2em; }
  .sz-hero { padding: 18px 14px; }
  .sz-logo-text { font-size: 1.2em; }
  .sz-logo .sz-subtitle { display: none; }
  .sz-article-header h1 { font-size: 1.25em; }
  .sz-showcase-item { width: 100%; }
  .sz-listing-img { height: 140px; }
}
