/* ===== VARIABLES (babyjam.jp ライク) ===== */
:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --bg-3: #161616;
  --gold: #c9a84c;
  --gold-light: #e0c97a;
  --text: #f0f0f0;
  --text-muted: #888888;
  --border: #222222;
  --font-en: 'Playfair Display', Georgia, serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ===== HEADER / NAV (header.php) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .site-nav {
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.site-header.scrolled .site-nav {
  background: rgba(13, 13, 13, 0.94);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 1;
  min-width: 0;
}
.site-logo-img {
  display: block;
  height: clamp(28px, 4vw, 42px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.logo-jp {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}
.nav-menu a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  transition: color 0.25s var(--ease);
}
.nav-menu a:hover {
  color: var(--gold);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--gold);
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== FOOTER (footer.php) ===== */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-en);
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.site-main {
  display: block;
}

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn-outline:hover {
  background: var(--gold);
  color: #0d0d0d;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* ===== HERO ===== */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 640px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title em {
  font-style: normal;
}
.hero-gold {
  color: var(--gold);
}
.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 48px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 3px;
  color: #444;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: #333;
}
.hero-bg-svg {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 50vw);
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

/* ===== CATCH ===== */
.section-catch {
  padding: 120px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.catch-inner {
  max-width: 700px;
  margin: 0 auto;
}
.catch-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
}
.catch-title .gold {
  color: var(--gold);
}
.catch-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}

/* ===== SERVICES ===== */
.section-services {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.service-list {
  border-top: 1px solid var(--border);
}
.service-row {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease);
  cursor: default;
  gap: 16px;
}
.service-row:hover {
  background: var(--bg-2);
}
.service-num {
  font-size: 11px;
  color: #444;
  width: 36px;
  flex-shrink: 0;
}
.service-name {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
}
.service-tag {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.service-arrow {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.service-row:hover .service-arrow {
  transform: translateX(6px);
}

/* ===== TROUBLE ===== */
.section-trouble {
  padding: 120px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.trouble-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.trouble-card {
  background: var(--bg-3);
  padding: 32px;
}
.trouble-num {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.trouble-text {
  font-size: 14px;
  color: #ccc;
  line-height: 1.8;
}

/* ===== NEWS ===== */
.section-news {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.news-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-body {
  padding: 20px;
}
.news-date {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
}
.news-title a:hover {
  color: var(--gold);
}
.news-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-more {
  text-align: center;
}
.no-content {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== GALLERY ===== */
.section-gallery {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #f0f0f0;
  font-size: 12px;
  padding: 10px 14px;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ===== MEMBERS ===== */
.section-members {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.member-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.member-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 40px 32px;
}
.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
}
.member-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-role {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.member-name {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.member-tel {
  font-size: 1rem;
  margin-bottom: 12px;
}
.member-tel a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.member-tel a:hover {
  color: var(--gold-light);
}
.member-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.section-contact {
  padding: 120px 0;
  text-align: center;
}
.contact-title {
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 56px;
  line-height: 2;
}
.contact-tels {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.contact-tel-role {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-tel-num {
  font-size: 1.8rem;
  font-weight: 700;
}
.contact-tel-num a {
  color: var(--text);
  transition: color 0.2s;
}
.contact-tel-num a:hover {
  color: var(--gold);
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form .wpcf7-form-control {
  width: 100%;
}
.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-jp);
  font-size: 14px;
  margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
.contact-form textarea {
  height: 160px;
  resize: vertical;
}
.contact-form input[type='submit'] {
  background: var(--gold);
  color: #0d0d0d;
  border: none;
  padding: 14px 48px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s var(--ease);
}
.contact-form input[type='submit']:hover {
  background: var(--gold-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body.nav-drawer-open {
    overflow: hidden;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 120;
    background: rgba(13, 13, 13, 0.98);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
  }
  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .section-hero {
    padding: 100px 20px 60px;
  }
  .hero-bg-svg {
    display: none;
  }
  .hero-btns {
    flex-direction: column;
  }
  .section-catch {
    padding: 80px 20px;
  }
  .service-row {
    padding: 18px 20px;
  }
  .service-tag {
    display: none;
  }
  .trouble-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .member-cards {
    grid-template-columns: 1fr;
  }
  .contact-tels {
    flex-direction: column;
    gap: 32px;
  }
  .container {
    padding: 0 20px;
  }
  .section-services,
  .section-trouble,
  .section-news,
  .section-gallery,
  .section-members,
  .section-contact {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ブログ・固定ページ・シングル（index / page / single / archive） ===== */
.container.narrow {
  max-width: 720px;
}
.entry-title {
  font-family: var(--font-en);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.entry-title a:hover {
  color: var(--gold);
}
.entry-content {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
}
.single-news {
  padding: clamp(48px, 8vw, 96px) 0;
}
.single-title {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 16px 0 24px;
  line-height: 1.35;
}
.single-meta time {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.single-thumb {
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.single-content {
  color: var(--text-muted);
  line-height: 1.9;
}
.single-content p {
  margin-bottom: 1.2em;
}
.back-link {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.back-link a {
  color: var(--text-muted);
}
.back-link a:hover {
  color: var(--gold);
}
.page-default {
  padding: clamp(48px, 8vw, 96px) 0;
}
.page-content {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 15px;
}
.page-content p {
  margin-bottom: 1.2em;
}
.page-title {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.nav-links a,
.nav-links span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.nav-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.archive-news-page {
  padding: clamp(40px, 6vw, 80px) 0;
}
.archive-title {
  font-family: var(--font-en);
  font-size: 2rem;
  margin-bottom: 8px;
}
.archive-lead {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 14px;
}
.archive-news-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}
.archive-sidebar .widget-title {
  font-family: var(--font-en);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.cat-list a {
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.cat-list a:hover {
  color: var(--gold);
}
@media (max-width: 768px) {
  .archive-news-layout {
    grid-template-columns: 1fr;
  }
}
