/* ===========================
   CSS Variables - Soft & Pop
   =========================== */
:root {
  --bg-primary: #faf8f5;
  --bg-section: #f4f0ec;
  --bg-card: #ffffff;
  --accent: #e07b4c;
  --accent-light: #f4a87a;
  --accent-soft: rgba(224, 123, 76, 0.1);
  --accent-2: #6c8ebf;
  --accent-2-soft: rgba(108, 142, 191, 0.1);
  --accent-3: #d4a259;
  --text-primary: #2d2a26;
  --text-secondary: #6b655d;
  --text-muted: #a09888;
  --border: rgba(0, 0, 0, 0.07);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 50px rgba(0, 0, 0, 0.1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 100px;
  --font-en: 'Poppins', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-jp);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.9;
  overflow-x: hidden;
}

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

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

/* ===========================
   Utility
   =========================== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Navbar
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
  transition: width var(--transition), left var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.93);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(253, 246, 240, 0.58) 0%,
    rgba(253, 246, 240, 0.36) 42%,
    rgba(253, 246, 240, 0.66) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #1f1a16;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #15120f;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 3px 14px rgba(255, 255, 255, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #1f1a16;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   Sections (common)
   =========================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-role {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.section-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 2;
  margin-bottom: 48px;
}

.section-image {
  display: block;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Alternating backgrounds */
.sound-create {
  background-color: var(--bg-section);
}

.contact {
  background-color: var(--bg-section);
}

/* ===========================
   About
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-career {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.career-badge {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-2-soft);
  color: var(--accent-2);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 2;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===========================
   Sound Create
   =========================== */
.sound-visual {
  margin-bottom: 36px;
}

.works-category {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.works-category-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.works-icon {
  flex-shrink: 0;
  stroke: #c46a43;
  stroke-width: 1.8;
  opacity: 0.92;
}

.works-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px 32px;
}

.works-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
  transition: color var(--transition);
}

.works-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  transition: transform var(--transition);
}

.works-list li:hover {
  color: var(--text-primary);
}

.works-list li:hover::before {
  transform: scale(1.5);
}

/* ===========================
   Voice Training
   =========================== */
.training-visual {
  margin-bottom: 36px;
}

.training-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

.training-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.training-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.training-card-icon {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid rgba(196, 106, 67, 0.32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #c46a43;
}

.training-card-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.training-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-soft);
}

.training-list {
  list-style: none;
}

.training-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.training-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.required {
  color: var(--accent);
  font-size: 0.78rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a09888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-button {
  display: block;
  width: 100%;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 16px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px rgba(224, 123, 76, 0.3);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 123, 76, 0.4);
}

.contact-note {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===========================
   Contact SNS
   =========================== */
.contact-sns {
  text-align: center;
  margin-top: 40px;
}

.contact-sns-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.sns-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.sns-icon {
  flex-shrink: 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 40px 0;
  text-align: center;
  background: var(--bg-primary);
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.footer-sns-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

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

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

.hero .fade-in {
  opacity: 0;
  transform: translateY(16px);
}

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

/* ===========================
   Responsive - Tablet
   =========================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===========================
   Responsive - Mobile
   =========================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(250, 248, 245, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right var(--transition-slow);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
  }

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

  .nav-link {
    font-size: 0.95rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-description br {
    display: none;
  }

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

  .about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .works-category {
    padding: 24px 20px;
  }

  .works-list {
    grid-template-columns: 1fr;
  }

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

  .training-stat {
    padding: 32px 20px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
