/* =============================================
   WEB PORTFOLIO — style.css
   ============================================= */

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

:root {
  --color-bg:       #ffffff;
  --color-dark:     #1a1a1a;
  --color-gray:     #888888;
  --color-light-bg: #f5f4f2;
  --color-border:   #e0dedd;
  --color-accent:   #c8b89a;

  --font-en: 'Cormorant Garamond', serif;
  --font-ja: 'Noto Sans JP', sans-serif;

  --max-w:    1080px;
  --header-h: 64px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-ja);
  font-weight: 300;
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

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

.section-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 60px;
}

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

/* ====== HERO ====== */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero-lead {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}

/* ====== SAMPLES ====== */
.samples { background: var(--color-bg); }

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sample-category {
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease);
}

.sample-category:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.sample-category.coming-soon {
  opacity: 0.5;
}

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

.category-title {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.category-desc {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.9;
  margin-bottom: 32px;
}

.sample-list { display: flex; flex-direction: column; gap: 8px; }

.sample-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.sample-link:hover {
  color: #1a6eff;
  padding-left: 8px;
}

.sample-arrow {
  font-family: var(--font-en);
  color: var(--color-accent);
  transition: transform 0.2s;
}

.sample-link:hover .sample-arrow { transform: translateX(4px); }

.coming-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-border);
}

/* ====== FOOTER ====== */
.site-footer {
  background: #111;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .sample-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .section-title { margin-bottom: 40px; }
  .sample-grid { grid-template-columns: 1fr; gap: 20px; }
  .sample-category { padding: 32px 24px; }
}
