/*
Theme Name: Shinno Nanase Official
Theme URI: https://shinno-nanase.com
Description: Official website theme for Shinno Nanase - Actress & Screenwriter
Version: 1.0.0
Author: Shinno Nanase
Text Domain: shinno-nanase
*/

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

:root {
  --color-bg: #fafafa;
  --color-text: #222;
  --color-text-light: #666;
  --color-accent: #333;
  --color-border: #ddd;
  --color-white: #fff;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", serif;
  --max-width: 1100px;
  --header-height: 70px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
}

.site-logo a {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

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

.main-nav a:hover {
  opacity: 1;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  height: 40vh;
  min-height: 250px;
  max-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(250, 250, 250, 0.8), transparent);
}

.hero-text {
  position: absolute;
  bottom: 60px;
  left: 40px;
  z-index: 2;
}

.hero-text h1 {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
}

.hero-text .subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 100px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--color-text);
}

/* ===== PROFILE ===== */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-info .name-ja {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.profile-info .name-en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid var(--color-border);
}

.profile-table th,
.profile-table td {
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 100px;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* ===== WORKS ===== */
.works-category {
  margin-bottom: 50px;
}

.works-category:last-child {
  margin-bottom: 0;
}

.works-category-title {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.works-list li {
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 16px;
}

.works-list .year {
  color: var(--color-text-light);
  font-family: var(--font-en);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 50px;
}

/* ===== NEWS ===== */
.news-list {
  border-top: 1px solid var(--color-border);
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.news-item .date {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--color-text-light);
  flex-shrink: 0;
  width: 100px;
}

.news-item .category {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.news-item .title {
  font-size: 0.9rem;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

.news-more a {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 4px;
}

.profile-sns {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.profile-sns a {
  color: var(--color-text-light);
  transition: opacity 0.3s;
}

.profile-sns a:hover {
  opacity: 0.6;
}

/* ===== CONTACT ===== */
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner p {
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 30px;
  color: var(--color-text-light);
}

.contact-email {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-sns a {
  color: var(--color-text-light);
  transition: opacity 0.3s;
}

.footer-sns a:hover {
  opacity: 0.6;
}

.copyright {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .main-nav a {
    font-size: 1.1rem;
  }

  .hero-text {
    bottom: 40px;
    left: 20px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 36px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-item .date {
    width: auto;
  }

  .works-list li {
    flex-direction: column;
    gap: 4px;
  }

  .works-list .year {
    width: auto;
  }

  .footer-nav ul {
    flex-wrap: wrap;
  }

  .gallery-grid {
    columns: 2 !important;
  }
}

/* ===== GALLERY ===== */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 2px;
  transition: opacity 0.3s ease;
}

.gallery-item img:hover {
  opacity: 0.85;
}