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

:root {
  --ink: #1a1a1a;
  --paper: #f7f5f0;
  --muted: #9a9690;
  --accent: #c8a96e;
  --line: rgba(26,26,26,0.12);
}

html { scroll-behavior: smooth; }

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

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  mix-blend-mode: multiply;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
}
.hero-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-name em {
  font-style: italic;
  color: var(--muted);
}
.hero-desc {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-right {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.5s 0.2s forwards;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e8e0d0;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-number {
  position: absolute;
  bottom: 80px;
  right: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  z-index: 1;
  letter-spacing: -0.05em;
}
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  animation: lineGrow 1s 1.5s forwards;
  transform: scaleX(0);
}

/* ── SECTION BASE ── */
section { padding: 120px 60px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
}
.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ── ABOUT ── */
#about {
  background: white;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 2;
}
.about-text p:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.7;
}
.skills-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.skill-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.skill-item:first-child {
  border-top: 1px solid var(--line);
}
.skill-item span:first-child { color: var(--ink); }
.skill-level {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ── WORKS ── */
#works { background: var(--paper); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.work-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.work-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-card:hover .work-bg { transform: scale(1.05); }
.work-bg-1 { background: linear-gradient(160deg, #2d2a26, #1a1814); }
.work-bg-2 { background: linear-gradient(160deg, #3d3530, #252120); }
.work-bg-3 { background: linear-gradient(160deg, #2a2d2d, #181a1a); }
.work-bg-4 { background: linear-gradient(160deg, #d4c9b5, #b8a992); }
.work-bg-5 { background: linear-gradient(160deg, #c8b89a, #a89070); }
.work-bg-6 { background: linear-gradient(160deg, #e8e0d0, #d0c4b0); }
.work-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.work-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.work-card:hover .work-info { transform: translateY(0); }
.work-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.work-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; }
.work-card:nth-child(4) .work-info,
.work-card:nth-child(5) .work-info,
.work-card:nth-child(6) .work-info { color: var(--ink); background: linear-gradient(transparent, rgba(200,185,165,0.8)); }
.work-card:nth-child(4) .work-cat,
.work-card:nth-child(5) .work-cat,
.work-card:nth-child(6) .work-cat { color: #8a6a40; }

/* ── SERVICES ── */
#services { background: white; }
.services-list { display: grid; gap: 0; }
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s ease;
  cursor: default;
}
.service-item:hover { padding-left: 16px; }
.service-item:first-child { border-top: 1px solid var(--line); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--accent);
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
}
.service-desc { font-size: 13px; color: var(--muted); text-align: right; }

/* ── POLICY (明るいデザイン) ── */
#policy {
  background: var(--paper);
  padding: 100px 60px;
}
#policy .section-title {
  color: var(--ink);
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 900px;
}
.policy-card {
  padding: 48px 40px;
  background: white;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.policy-card:hover {
  box-shadow: 0 8px 32px rgba(26,26,26,0.08);
  transform: translateY(-2px);
}
.policy-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.policy-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 12px;
  color: var(--ink);
}
.policy-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

/* ── CONTACT ── */
#contact {
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: 160px 60px;
}
#contact .section-num { color: var(--accent); }
#contact .section-title { color: var(--ink); }
#contact .section-line { background: var(--line); }
.contact-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.2;
  margin: 40px 0 60px;
  color: var(--ink);
}
.contact-headline em { font-style: italic; color: var(--accent); }
.contact-email {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-email:hover { color: var(--accent); }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}
.contact-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-link:hover { color: var(--ink); }

/* ── FOOTER ── */
footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 24px 28px; }
  .nav-links { display: none; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 120px 28px 60px; justify-content: center; }
  section { padding: 80px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .service-item { grid-template-columns: 60px 1fr; }
  .service-desc { display: none; }
  #contact { padding: 100px 28px; }
  .policy-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 28px; flex-direction: column; gap: 12px; text-align: center; }
}
