:root {
  --navy: #0d2d5a;
  --navy-deep: #081d3a;
  --gold: #c59a2c;
  --gold-soft: #e3c46f;
  --cream: #faf7ef;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;

  --pool: #2196f3;
  --beer: #d08a1f;
  --lawn: #4caf50;
  --shisha: #6a35d4;
  --diy: #374151;
  --plants: #2e8b57;
  --cooking: #b45309;

  --max-width: 1180px;
  --article-width: 820px;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section { padding: 64px 0; }

.section-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--navy-deep);
}

.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 760px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 45, 90, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(13, 45, 90, 0.12);
  background: #fff;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text { min-width: 0; }

.brand-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy-deep);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tagline {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 18px;
  font-size: 0.95rem;
}

.nav a { color: var(--navy); font-weight: 600; }
.nav a:hover { color: var(--gold); }

/* Homepage hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0 0 80px;
}

.hero-banner {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  background: url("/images/hero.JPG") center / cover no-repeat;
  margin-bottom: 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy { max-width: 680px; }

.hero-kicker {
  display: inline-block;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--gold-soft);
  display: block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 20px 0 14px;
  font-size: 1.15rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero-sub {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(197, 154, 44, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #d7a736;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }

.hero-panel {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-panel-title {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 45, 90, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.10);
}

.cat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cat-pool { background: var(--pool); }
.cat-beer { background: var(--beer); }
.cat-lawn { background: var(--lawn); }
.cat-shisha { background: var(--shisha); }
.cat-diy { background: var(--diy); }
.cat-plants { background: var(--plants); }
.cat-cooking { background: var(--cooking); }

.category-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--navy-deep);
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Featured posts */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 45, 90, 0.06);
}

.post-thumb {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(13, 45, 90, 0.92), rgba(197, 154, 44, 0.75));
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}

.post-body { padding: 18px; }

.post-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.post-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--navy-deep);
}

.post-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.read-more {
  font-weight: 700;
  color: var(--navy);
}

.read-more:hover { color: var(--gold); }

/* About */
.about-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.about-card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 45, 90, 0.06);
}

.about-logo {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid rgba(13, 45, 90, 0.08);
  background: #fff;
}

.about-card h3 {
  margin: 0 0 10px;
  text-align: center;
  color: var(--navy-deep);
}

.about-list {
  margin: 16px 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text);
}

.about-text strong { color: var(--navy-deep); }

/* Article pages */
.article-shell {
  width: min(100% - 32px, var(--article-width));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumbs a { color: var(--navy); }

.article-category {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

.article-title {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.2;
}

.article-meta {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-lead {
  background: #fff;
  border-left: 5px solid var(--gold);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow);
  margin: 28px 0;
}

.article-hero {
  width: min(100%, 720px);
  margin: 28px auto 38px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero img,
.article-hero video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}

.article-content h2 {
  margin: 52px 0 18px;
  padding-bottom: 10px;
  color: var(--navy-deep);
  font-size: 1.7rem;
  border-bottom: 3px solid var(--gold);
}

.article-content h3 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-size: 1.28rem;
}

.article-content p { margin: 0 0 18px; }

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 1.4rem;
}

.article-content li { margin-bottom: 8px; }

.article-content figure {
  width: min(100%, 720px);
  margin: 30px auto;
}

.article-content figure img,
.article-content figure video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.article-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-content th,
.article-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: var(--navy-deep);
  color: #fff;
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  background: #fff7dc;
  border: 1px solid #edd893;
  border-radius: 14px;
}

.article-end {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 42px 0 24px;
  margin-top: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand .brand-logo {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-links a:hover { color: var(--gold-soft); }

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}



/* Related article media: two columns on desktop, stacked on smaller screens. */
.media-grid {
  width: min(100%, 820px);
  margin: 30px auto;
}
.media-grid > figure {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.media-grid > figure + figure { margin-top: 24px !important; }
@media (min-width: 900px) {
  .media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }
  .media-grid > figure + figure { margin-top: 0 !important; }
  .media-grid > figure img,
  .media-grid > figure video { max-height: 60vh; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .about-wrap,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav { display: none; }

  .hero-panel { max-width: 680px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }

  .header-inner { min-height: 70px; }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title { font-size: 1.05rem; }

  .brand-tagline { font-size: 0.84rem; }

  .hero { padding: 0 0 64px; }

  .hero-banner { margin-bottom: 36px; }

  .hero-lead { font-size: 1.04rem; }

  .category-grid,
  .posts-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .category-card,
  .post-card,
  .about-card {
    border-radius: 16px;
  }

  .article-shell {
    width: min(100% - 28px, var(--article-width));
    padding-top: 36px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Fixed pages: cleaner heading wrapping on mobile */
.fixed-page .section-title,
.fixed-page h2,
.fixed-page h3 {
  text-wrap: balance;
}

@media (max-width: 640px) {
  .fixed-page .section-title {
    font-size: 1.82rem;
    line-height: 1.22;
  }

  .fixed-page h2 {
    font-size: 1.52rem;
    line-height: 1.34;
  }

  .fixed-page h3 {
    font-size: 1.18rem;
    line-height: 1.38;
  }
}

