/*
Theme Name: My Pace Lab
Theme URI: https://karakokoshindan.com
Author: My Pace Lab
Description: My Pace Lab オリジナルテーマ。香りのブランドサイト。
Version: 1.0
License: Private
Text Domain: mypacelabtheme
*/

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== VARIABLES ===== */
:root {
  --cream: #F7F3EE;
  --beige: #EDE5D8;
  --sand: #D6C9B4;
  --brown: #8C7355;
  --dark: #2E2820;
  --muted: #9A8E80;
  --white: #FDFAF6;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(214, 201, 180, 0.4);
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--dark);
  text-decoration: none;
}

.site-logo span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin-top: 2px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.site-nav ul a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.site-nav ul a:hover { color: var(--dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--brown);
}

.hero-sub {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
  max-width: 340px;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--dark);
  border: 1px solid var(--sand);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.35s;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}

.hero-right {
  position: relative;
  background: var(--beige);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-deco {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  writing-mode: vertical-rl;
  letter-spacing: 0.15em;
}

/* ===== CONCEPT ===== */
.concept {
  padding: 10rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 8rem;
  align-items: center;
  border-top: 1px solid var(--beige);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.concept-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.5;
  color: var(--dark);
}

.concept-quote em {
  font-style: italic;
  color: var(--brown);
}

.concept-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2.2;
}

.concept-body p + p { margin-top: 1.5rem; }

/* ===== ITEMS ===== */
.items {
  padding: 8rem 6rem;
  background: var(--white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--beige);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--dark);
}

.section-link {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
  transition: color 0.3s;
}

.section-link:hover { color: var(--dark); }

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.item-card { cursor: pointer; }

.item-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-card:hover .item-img img { transform: scale(1.04); }

.item-type {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.item-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ===== SHINDAN ===== */
.shindan {
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8rem;
  align-items: center;
  border-top: 1px solid var(--beige);
}

.shindan-visual {
  background: var(--beige);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shindan-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.shindan-title em {
  font-style: italic;
  color: var(--brown);
}

.shindan-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(247, 243, 238, 0.5);
  padding: 4rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: rgba(247, 243, 238, 0.9);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 238, 0.35);
}

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav { padding: 1.2rem 1.5rem; }
  .site-nav ul { gap: 1.5rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-right { min-height: 50vw; }

  .concept { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .items { padding: 5rem 1.5rem; }
  .items-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .shindan { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .site-footer { flex-direction: column; gap: 2rem; padding: 3rem 1.5rem; }
}

/* ===== WORDPRESS CONTENT ===== */
.wp-content { padding: 6rem; max-width: 900px; margin: 0 auto; }
.wp-content h1, .wp-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.wp-content p { color: var(--muted); line-height: 2; margin-bottom: 1rem; }
