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

:root {
  --bg: #f4efe6;
  --bg-dark: #1a1a18;
  --text: #1c1c1c;
  --text-light: #6b6560;
  --accent: #8b7355;
  --accent-light: #c9b99a;
  --border: #ddd5c5;
  --white: #ffffff;
  --font-serif-jp: 'Noto Serif JP', serif;
  --font-sans-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans-jp);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

ul {
  list-style: none;
}

/* =============================================
   Header / Navigation
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0 40px;
}

.header.scrolled {
  background: rgba(244, 239, 230, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.3s;
}

.header.scrolled .logo {
  color: var(--text);
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-list a {
  font-family: var(--font-sans-jp);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.header.scrolled .nav-list a {
  color: var(--text-light);
}

.header.scrolled .nav-list a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: background 0.3s;
}

.header.scrolled .nav-toggle span {
  background: var(--text);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg);
  z-index: 200;
  padding: 100px 40px 40px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu a {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,18,14,0.45) 0%,
    rgba(20,18,14,0.3) 50%,
    rgba(20,18,14,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-serif-jp);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-en {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

.hero-tagline {
  font-family: var(--font-serif-jp);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   Common Section Styles
   ============================================= */
.section {
  padding: 120px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label.light {
  color: var(--accent-light);
}

.section-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--text);
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 72px;
  margin-top: -16px;
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =============================================
   About Section
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 40px;
}

.about-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-size: 0.85rem;
}

.about-info dt {
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
  padding-top: 2px;
}

.about-info dd {
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-image img {
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

/* =============================================
   PR Section
   ============================================= */
.pr-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.pr-bg {
  position: absolute;
  inset: 0;
}

.pr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.78);
}

.pr-content {
  position: relative;
  z-index: 2;
}

.pr-lead {
  font-family: var(--font-serif-jp);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 72px;
  max-width: 600px;
  white-space: nowrap;
}

.pr-lead.light {
  color: rgba(255,255,255,0.85);
}

.pr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pr-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 48px 36px;
  transition: background 0.3s ease;
}

.pr-card:hover {
  background: rgba(255,255,255,0.1);
}

.pr-number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-light);
  margin-bottom: 20px;
  line-height: 1;
}

.pr-card h3 {
  font-family: var(--font-serif-jp);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pr-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}

/* =============================================
   Activities Section
   ============================================= */
.activity-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.activity-item--reverse {
  direction: rtl;
}

.activity-item--reverse > * {
  direction: ltr;
}

.activity-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.activity-image img {
  transition: transform 0.6s ease;
}

.activity-image:hover img {
  transform: scale(1.04);
}

.activity-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 6px 14px;
}

.activity-text h3 {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.activity-period {
  font-family: var(--font-sans-jp);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.activity-text p {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 16px;
}

.activity-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.activity-result span {
  background: var(--border);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 2px;
}

/* =============================================
   Skills Section
   ============================================= */
.skills {
  background: var(--white);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 16px;
}

.skill-item {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.skill-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.skill-item h3 {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.skill-item p {
  font-size: 0.83rem;
  line-height: 1.9;
  color: var(--text-light);
}

/* =============================================
   Message Section
   ============================================= */
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.message-image img {
  object-position: right center;
  transition: transform 0.6s ease;
}

.message-image:hover img {
  transform: scale(1.04);
}

.message-text p {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 20px;
}

.message-quote {
  margin-top: 40px;
  padding: 32px 36px;
  border-left: 2px solid var(--accent);
  background: rgba(139,115,85,0.05);
}

.message-quote blockquote {
  font-family: var(--font-serif-jp);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--bg-dark);
  padding: 64px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-info {
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    aspect-ratio: 16/9;
    order: -1;
  }

  .pr-cards {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .activity-item,
  .activity-item--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .activity-item--reverse > * {
    direction: ltr;
  }

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

  .message-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .message-image {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .pr-card {
    padding: 36px 24px;
  }

  .footer {
    padding: 48px 20px;
  }
}
