/* =============================================
   TOMOKO SAINA - Official Site
   Header / First View base
   （草刈正年サイトのメニューバー・ファーストビュー・
     フォント／フォントサイズ設定をそのまま移植）
   ============================================= */

:root {
  --navy: #193B33;
  --navy-mid: #245347;
  --navy-light: #2f6a5b;
  --orange: #BFA267;
  --orange-light: #D0B57D;
  --grey: #8a9ab0;
  --grey-light: #b0bcc8;
  --bg-light: #f4f6f8;
  --bg-white: #F0E9E0;
  --text-dark: #1a2535;
  --text-mid: #4a5568;
  --text-light: #8a9ab0;
  --border: #dde3ec;

  --font-serif-en: 'EB Garamond', serif;
  --font-serif-jp: 'Noto Serif JP', serif;
  --font-sans: 'Inter', sans-serif;

  --transition: 0.4s ease;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-serif-jp);
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  line-height: 1.8;
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent !important;
  box-shadow: none !important;
  transition: none;
}
#site-header.scrolled {
  background: transparent !important;
  box-shadow: none !important;
}
.header-logo a { display: inline-flex; align-items: center; }
.header-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width var(--transition);
}
.header-nav a:hover { color: var(--navy); }
.header-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--navy);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-serif-en);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--bg-white);
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--orange); }

/* ---------- Hero (First View) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #ffffff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.35) 48%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-slide.active img { transform: scale(1); }
.hero-content {
  position: absolute;
  bottom: 14%;
  left: 8%;
  max-width: 760px;
  color: var(--navy);
  z-index: 2;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}
.hero-message {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(3rem, 4.4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.7s, transform 1s ease 0.7s;
}
.hero-name-jp {
  font-family: var(--font-serif-jp);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  max-width: min(82vw, 680px);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.9s, transform 1s ease 0.9s;
}
.hero-content.loaded .hero-tagline,
.hero-content.loaded .hero-message,
.hero-content.loaded .hero-name-jp {
  opacity: 1;
  transform: translateY(0);
}
.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 8%;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(25,59,51,0.25);
  cursor: pointer;
  transition: background var(--transition);
}
.hero-dot.active { background: var(--orange); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

.u-mt70 { margin-top: 70px; }

/* ---------- Basic pill button ---------- */
.c-basic-btn a,
.c-basic-btn button {
  width: 200px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.c-basic-btn a:hover,
.c-basic-btn button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.c-basic-btn .icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
}
.c-basic-btn .icon svg { width: 100%; height: 100%; }

/* ---------- Concept (Second View) ---------- */
.concept {
  position: relative;
  padding: 19.79vw 0 28.95vw;
}
.concept picture {
  display: block;
  position: absolute;
  z-index: 0;
}
.concept .image-1 { width: 29.16vw; top: 12.6vw; right: 0; }
.concept .image-2 { width: 21.14vw; top: 7.8vw; left: 0; }
.concept .image-3 { width: 21.04vw; top: 37.37vw; left: 8.5vw; }
.concept .image-4 { width: 15.41vw; top: 51.8vw; left: 0; }
.concept__wrap {
  position: relative;
  z-index: 1;
  margin-left: 36vw;
  max-width: 480px;
}
.concept__tit {
  font-family: var(--font-serif-en);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--navy);
}
.concept__txt { margin-top: 25px; }
.concept__txt p {
  font-family: var(--font-serif-jp);
  font-size: 0.92rem;
  line-height: 2.4;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  text-align: justify;
}
.concept__txt p + p { margin-top: 1.2em; }

@media (max-width: 1200px) {
  .concept__tit { font-size: 2.4rem; }
  .c-basic-btn a, .c-basic-btn button { width: 167px; height: 38px; font-size: 0.66rem; }
}

@media (max-width: 960px) {
  .concept { padding: 137px 0 105px; }
  .concept__image { display: flex; }
  .concept__image:first-of-type { justify-content: space-between; }
  .concept picture { position: relative; }
  .concept .image-1 { width: 56.41vw; top: auto; left: auto; order: 2; }
  .concept .image-2 { width: 34.61vw; margin-top: 31.53vw; top: auto; right: auto; order: 1; }
  .concept .image-3 { width: 54.61vw; top: auto; right: auto; margin-left: 17.69vw; }
  .concept .image-4 { width: 40vw; margin-top: 37.69vw; margin-left: -17.94vw; top: auto; right: auto; }
  .concept__wrap {
    width: 86.66%;
    max-width: 458px;
    margin: 0 auto;
    padding: 50px 0 70px;
  }
  .concept__txt { margin-top: 20px; }
}

@media (max-width: 768px) {
  .concept { padding: 70px 0 90px; }
  .concept__txt p + p { margin-top: 1em; }
  .concept .c-basic-btn { margin-top: 45px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-message { font-size: clamp(2.4rem, 5.2vw, 3rem); }
}
@media (max-width: 768px) {
  #site-header { padding: 0 24px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { left: 5%; bottom: 15%; }
}
@media (max-width: 767px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  body { position: relative; }
  .hero-slide img,
  .hero-slide.active img { transform: none; }
  .hero-message { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.25; }
  .hero-name-jp { font-size: clamp(0.75rem, 3.5vw, 0.8125rem); letter-spacing: 0.06em; }
}
