/*
Theme Name: Nemurino Inc. Theme
Description: Custom theme for nemurino.jp
Version: 1.0
Author: Nemurino Inc.
*/

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

:root {
  --bg:        #faf8f4;
  --bg-warm:   #f4f0e8;
  --bg-card:   #ffffff;
  --border:    #e5dfd4;
  --text:      #2c2620;
  --text-mid:  #5c5248;
  --text-soft: #9a9088;
  --accent:    #8b7355;
  --accent-light: #b09a7e;
  --lavender:  #8a82b0;
  --lavender-bg: #f0eef8;
  --sage:      #7a9e8a;
  --sage-bg:   #eef4f0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--accent); }

/* ─── HERO ─── */
#top {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 6rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 80% 20%, rgba(138,130,176,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 15% 75%, rgba(122,158,138,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 50%, rgba(176,154,126,0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-deco {
  position: absolute;
  top: 8%; right: 6%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,130,176,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-deco2 {
  position: absolute;
  bottom: 10%; left: 4%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,138,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--accent-light);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 2rem;
}

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

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-mid);
  max-width: 460px;
  line-height: 2.1;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background 0.25s;
}

.hero-cta:hover { background: var(--accent); }

.hero-scroll {
  position: absolute;
  right: 3rem; bottom: 3.5rem;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* ─── DIVIDER ─── */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── SHARED SECTION ─── */
section {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.9rem;
}

/* ─── MESSAGE ─── */
#message {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.message-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.message-text p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 2.1;
  margin-bottom: 1.2rem;
}

.message-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-soft);
  margin-top: 2rem;
  border-left: 2px solid var(--accent-light);
  padding-left: 1.2rem;
  line-height: 2;
}

.pillars { display: flex; flex-direction: column; }

.pillar {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar:first-child { border-top: 1px solid var(--border); }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1.2;
}

.pillar-body h3 {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.pillar-body p {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.85;
}

/* ─── PROJECTS ─── */
#project { padding-top: 0; }

.project-header { margin-bottom: 3.5rem; }

.project-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.4;
  color: var(--text);
  margin-top: 0.8rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 24px rgba(139,115,85,0.08);
}

.project-num {
  position: absolute;
  top: 1.8rem; right: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(44,38,32,0.04);
  line-height: 1;
}

.project-tag {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  background: var(--lavender-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.project-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.project-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.project-link {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(139,115,85,0.3);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s, color 0.25s;
}

.project-link:hover { border-color: var(--accent); color: var(--text); }
.project-link.arrow::after { content: '→'; }

.project-link.instagram {
  color: var(--lavender);
  border-bottom-color: rgba(138,130,176,0.35);
}

.project-link.instagram:hover { color: var(--text); border-color: var(--lavender); }

.ig-icon {
  display: inline-block;
  width: 13px; height: 13px;
  vertical-align: middle;
  margin-right: 2px;
}

/* ─── ABOUT ─── */
#about {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 6rem;
  align-items: start;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  padding-left: 1.8rem;
  border-left: 2px solid var(--accent-light);
}

.about-body { color: var(--text-mid); font-size: 0.86rem; line-height: 2.1; }

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.2rem;
}

.founder-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--lavender-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--lavender);
  margin-bottom: 1.4rem;
}

.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.founder-bio {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.95;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

/* ─── NEWS ─── */
.news-wrap {
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-list { margin-top: 2rem; }

.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.news-text {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.news-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,115,85,0.3);
}

.news-text a:hover { border-color: var(--accent); }

/* ─── CONTACT ─── */
#contact {
  text-align: center;
  padding: 8rem 3rem 9rem;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(138,130,176,0.07) 0%, transparent 65%),
    var(--bg-warm);
  max-width: none;
}

#contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--text);
  margin: 0.8rem 0 1.2rem;
  line-height: 1.35;
}

#contact .lead {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  line-height: 2;
}

.contact-email {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,115,85,0.4);
  padding-bottom: 0.3rem;
  letter-spacing: 0.05em;
  transition: color 0.25s, border-color 0.25s;
}

.contact-email:hover { color: var(--text); border-color: var(--text); }

/* ─── FOOTER ─── */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

footer .f-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer .f-copy {
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeUp 0.9s ease both; }
.hero-label  { animation-delay: 0.15s; }
.hero-title  { animation-delay: 0.3s;  }
.hero-sub    { animation-delay: 0.5s;  }
.hero-cta    { animation-delay: 0.65s; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #top { padding: 7rem 1.5rem 5rem; }
  section { padding: 4.5rem 1.5rem; }
  #message { grid-template-columns: 1fr; gap: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-scroll { display: none; }
  .news-wrap { padding: 3rem 1.5rem; }
  .news-item { grid-template-columns: 1fr; gap: 0.3rem; }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; }
  #contact { padding: 5rem 1.5rem 6rem; }
}
