/* ============================================
   JAPOUS Website Styles
   ============================================ */

/* --- Variables --- */
:root {
  --navy:      #1E3D7A;
  --navy-light:#2B56AA;
  --gold:      #C4A24D;
  --gold-light:#e0c478;
  --white:     #FFFFFF;
  --bg:        #F7F8FA;
  --bg-dark:   #0F1E42;
  --text:      #333333;
  --text-muted:#666666;
  --border:    #E0E4EB;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(27,42,74,0.10);
  --transition:0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 0.95rem;
}

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

section { padding: 80px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,162,77,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================
   HEADER / NAV
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(27,42,74,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo-img {
  width: 128px;
  height: auto;
  display: none;
}

#header.scrolled .nav-logo-img {
  display: block;
}

.nav-logo-white {
  width: 97px;
  height: auto;
  display: block;
  margin-left: 31px;
}

#header.scrolled .nav-logo-white {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.35s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

#header.scrolled .nav-menu a {
  color: var(--text-muted);
}

#header.scrolled .nav-menu a:hover,
#header.scrolled .nav-menu a.active {
  color: var(--navy);
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: background 0.35s ease;
}

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

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(10,15,28,0.28) 0%, rgba(20,40,80,0.18) 60%, rgba(30,58,95,0.12) 100%),
    url('../images/JAPOUS Main.avif') center center / cover no-repeat;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(196,162,77,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(30,58,95,0.25) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 120px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,162,77,0.15);
  border: 1px solid rgba(196,162,77,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-title .highlight {
  color: var(--gold);
  display: block;
  padding-left: 2em;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 0.93rem;
  margin-bottom: 36px;
  line-height: 1.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Noto Serif JP', serif;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  background: var(--white);
}

.sake-category-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid > * { min-width: 0; }

.about-visual {
  position: relative;
}

.about-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-card--about {
  background:
    linear-gradient(rgba(11,22,58,0.80), rgba(11,22,58,0.80)),
    url('../images/about back.png') center center / cover no-repeat;
}

.about-card--sake {
  background:
    linear-gradient(rgba(11,22,58,0.80), rgba(11,22,58,0.80)),
    url('../images/sake back.png') center center / cover no-repeat;
}

.about-card--beauty {
  background:
    linear-gradient(rgba(11,22,58,0.80), rgba(11,22,58,0.80)),
    url('../images/beauty back.png') center center / cover no-repeat;
}

.about-card--fc {
  background:
    linear-gradient(rgba(11,22,58,0.80), rgba(11,22,58,0.80)),
    url('../images/fc%20back.png') center center / cover no-repeat;
}

.about-card--startup {
  background:
    linear-gradient(rgba(11,22,58,0.80), rgba(11,22,58,0.80)),
    url('../images/startup back.png') center center / cover no-repeat;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(196,162,77,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.about-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--white);
}

.about-card-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-info-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px;
}

.about-info-label {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.about-info-value {
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.5;
}

.about-text .section-desc {
  max-width: 100%;
  margin-bottom: 24px;
  line-height: 1.9;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  width: 40px; height: 40px;
  background: rgba(196,162,77,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.about-feature-text h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
}

.about-feature-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ============================================
   LOGISTICS
   ============================================ */
#logistics {
  background: var(--bg);
}

.event-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.event-photos--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.event-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

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

.logistics-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.logistics-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.logistics-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.logistics-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
}

.logistics-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
}

.flow-step-num {
  width: 24px; height: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-arrow {
  color: var(--gold);
  font-size: 0.75rem;
  padding-left: 36px;
}

/* ============================================
   PHILOSOPHY / ABOUT SECTION
   ============================================ */
#philosophy {
  background:
    linear-gradient(rgba(11,22,58,0.82), rgba(11,22,58,0.82)),
    url('../images/tokyo night.png') center center / cover no-repeat;
  padding: 100px 0;
}

.philosophy-inner {
  text-align: center;
}

#philosophy .section-subtitle {
  color: var(--gold);
}

.philosophy-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin: 24px 0 20px;
  font-family: 'Noto Serif JP', serif;
}

.philosophy-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  margin-bottom: 56px;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
  text-align: left;
}

.philosophy-pillar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,162,77,0.25);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background var(--transition);
}

.philosophy-pillar:hover {
  background: rgba(255,255,255,0.10);
}

.philosophy-pillar-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(196,162,77,0.25);
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: -0.02em;
}

.philosophy-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.philosophy-pillar-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ============================================
   CORE BUSINESS
   ============================================ */
#business {
  background: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.business-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,42,74,0.14);
  border-color: transparent;
}

.business-card-header {
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
}

.bc-export-sake { background: linear-gradient(rgba(11,33,74,0.52), rgba(11,33,74,0.52)), url('../images/Sake Export.png') center center / cover no-repeat; }
.bc-export-beauty { background: linear-gradient(rgba(38,58,46,0.18), rgba(38,58,46,0.18)), url('../images/Beauty Export.png') center center / cover no-repeat; }
.bc-franchise { background: linear-gradient(rgba(61,39,22,0.44), rgba(61,39,22,0.44)), url('../images/FC.png') center center / cover no-repeat; }
.bc-startup { background: linear-gradient(rgba(18,33,69,0.55), rgba(18,33,69,0.55)), url('../images/startup.png') center center / cover no-repeat; }

/* Beauty page category cards */
.bc-skincare { background: linear-gradient(rgba(58,30,58,0.60), rgba(58,30,58,0.60)), url('../images/skincarecosme.png') center center / cover no-repeat; }
.bc-health { background: linear-gradient(rgba(30,58,45,0.60), rgba(30,58,45,0.60)), url('../images/healthwellness.png') center center / cover no-repeat; }
.bc-salon { background: linear-gradient(rgba(30,42,74,0.60), rgba(30,42,74,0.60)), url('../images/beauty salon.png') center center / cover no-repeat; }
.bc-lifestyle { background: linear-gradient(rgba(58,45,30,0.60), rgba(58,45,30,0.60)), url('../images/lifestyle.png') center center / cover no-repeat; }

.business-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.business-card-en {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.business-card-title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.business-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.business-card-body {
  padding: 24px 32px 28px;
}

.business-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.business-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bc-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text);
}

.bc-feature::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.business-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
}

.business-card-link:hover { gap: 10px; }

/* ============================================
   FRANCHISE
   ============================================ */
#franchise {
  background: var(--bg);
}

.franchise-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.franchise-intro-text .section-desc {
  max-width: 100%;
  margin-bottom: 24px;
}

.franchise-stats {
  display: flex;
  gap: 32px;
}

.fstat {
  text-align: center;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.fstat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Noto Serif JP', serif;
}

.fstat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Project cards */
.projects-section-title {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.projects-section-title .badge {
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
}

.projects-section-title .badge-spot {
  background: rgba(196,162,77,0.15);
  color: var(--gold);
  border: 1px solid rgba(196,162,77,0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.projects-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.project-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.4) 0%, transparent 60%);
}

.project-card-location {
  position: absolute;
  bottom: 12px; left: 16px;
  z-index: 1;
  font-size: 0.72rem;
  color: var(--white);
  background: rgba(27,42,74,0.7);
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.project-card-body {
  padding: 20px 24px;
}

.project-card-name {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
}

.project-card-name-ja {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.project-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Spot projects (smaller) */
.spot-card .project-card-image {
  height: 140px;
}

/* Startup project card elements */
.fc-card-header { padding: 14px 16px; }
.fc-card-cat {
  font-size: 0.68rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fc-card-body { padding: 16px; }
.fc-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Franchise photo cards */
.fc-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fc-photo-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  min-width: 0;
}

.fc-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.fc-photo-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .fc-photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .fc-photo-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STARTUP
   ============================================ */
#startup {
  background: var(--white);
}

.startup-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.startup-ecosystem {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.startup-ecosystem::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(196,162,77,0.15) 0%, transparent 70%);
}

.startup-ecosystem-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ecosystem-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ecosystem-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

.ecosystem-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ecosystem-item h4 {
  font-size: 0.88rem;
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  margin-bottom: 2px;
}

.ecosystem-item p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.startup-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.startup-project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}

.startup-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,42,74,0.12);
  border-color: transparent;
}

.sp-card-header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
}

.sp-bg-1 { background: linear-gradient(135deg, #1B2A4A, #2d4a7a); }
.sp-bg-2 { background: linear-gradient(135deg, #2d3a1e, #3d5228); }
.sp-bg-3 { background: linear-gradient(135deg, #3a1e2d, #5a2d3d); }

.sp-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}

.sp-card-body {
  padding: 24px;
}

.sp-card-title {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 8px;
  line-height: 1.4;
}

.sp-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 14px;
  border: 1px solid rgba(196,162,77,0.3);
  border-radius: 100px;
}

.sp-card-link:hover {
  background: rgba(196,162,77,0.1);
  gap: 10px;
}

.sp-card-link.coming-soon {
  color: var(--text-muted);
  border-color: var(--border);
  cursor: default;
  pointer-events: none;
}

.startup-add-card {
  border-radius: 16px;
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition);
  min-height: 280px;
  cursor: pointer;
}

.startup-add-card:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.startup-add-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.startup-add-text {
  font-size: 0.85rem;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-item-value a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
}

.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;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .required {
  color: #e05252;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,162,77,0.12);
}

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

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .franchise-intro,
  .startup-intro-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .business-grid,
  .projects-grid,
  .projects-grid-3,
  .startup-projects-grid,
  .philosophy-pillars { grid-template-columns: 1fr; }

  .philosophy-desc br { display: none; }

  .hero-content {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }

  .hero-title .highlight {
    padding-left: 1em;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 28px;
  }

  .stat-number { font-size: 1.5rem; }

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

  .nav-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(27,42,74,0.10);
  }

  .nav-menu.open { display: flex; }

  .nav-menu a {
    padding: 16px 24px;
    display: block;
    width: 100%;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
  }

  .nav-menu a:hover {
    color: var(--navy) !important;
    background: var(--bg);
  }

  .nav-menu a::after { display: none; }

  .nav-cta {
    margin: 12px 24px !important;
    text-align: center !important;
    border-radius: var(--radius) !important;
    display: block !important;
    width: calc(100% - 48px) !important;
    border-bottom: none !important;
  }

  .nav-toggle { display: flex; }

  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

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

  .franchise-stats { flex-direction: column; }

  .about-info-grid { grid-template-columns: 1fr 1fr; }

  /* Page hero */
  .page-hero { padding: 100px 0 44px; }

  /* About card */
  .about-card { padding: 28px 24px; }
  .about-card-title { font-size: 1.2rem; }

  /* Event photos */
  .event-photos { grid-template-columns: 1fr; }
  .event-photo { height: 240px; }
  .event-links-grid { grid-template-columns: 1fr !important; }
  .event-link-card { flex-wrap: nowrap !important; gap: 8px !important; padding: 8px 12px !important; }
  .event-link-card span { min-width: 0 !important; font-size: 0.78rem !important; }
  .event-link-card a { padding: 4px 10px !important; font-size: 0.72rem !important; white-space: nowrap; }
  .name-break { display: block; }

  /* Contact form */
  .contact-form { padding: 28px 20px; }

  /* Business cards */
  .business-card-header { padding: 28px 24px 20px; }
  .business-card-body { padding: 20px 24px; }

  /* News */
  .news-item { flex-wrap: wrap; gap: 4px 8px; align-items: center; padding: 16px 0; }
  .news-date { width: auto; font-size: 0.78rem; flex-shrink: 0; }
  .news-cat { font-size: 0.68rem; flex-shrink: 0; }
  .news-title { flex: none; width: 100%; font-size: 0.88rem; padding-top: 4px; }
}

/* スマートフォン小画面 */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  section { padding: 48px 0; }

  .hero-content { padding: 100px 0 60px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-title .highlight { padding-left: 0.5em; }
  .hero-sub { font-size: 0.92rem; line-height: 1.7; text-wrap: balance; }
  .hero-desc { font-size: 0.85rem; line-height: 1.8; text-wrap: balance; }
  .hero-stats { flex-direction: column; gap: 16px; margin-top: 32px; }
  .stat-item { display: flex; align-items: center; gap: 16px; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { margin-top: 0; }
  .hero-actions { flex-direction: row; align-items: center; justify-content: center; gap: 8px; flex-wrap: nowrap; }
  .hero-actions .btn { padding: 8px 14px; font-size: 0.78rem; flex: 1; justify-content: center; max-width: 120px; }

  #hero { min-height: 70vh; background-position: center top; }

  .page-hero { padding: 88px 0 36px; }
  .page-hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .page-hero-desc { font-size: 0.88rem; }

  .about-card { padding: 24px 20px; }

  .philosophy-headline { font-size: clamp(1.5rem, 6vw, 2rem); margin: 16px 0 12px; }
  .philosophy-pillar { padding: 20px 18px; }
  .philosophy-pillars { gap: 10px; margin-bottom: 32px; }
  .philosophy-desc { margin-bottom: 28px; font-size: 0.88rem; }
  #philosophy { padding: 56px 0; }

  .contact-form { padding: 24px 16px; }
  #contact-cta { padding: 40px 0; }
  #contact-cta .section-title { font-size: clamp(0.95rem, 4vw, 1.3rem); text-wrap: balance; }
  .page-hero-title { font-size: clamp(1.2rem, 5.5vw, 1.7rem); text-wrap: balance; }
  .contact-cta-actions { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
  .contact-btn { flex: none !important; width: 75% !important; flex-direction: column !important; justify-content: center !important; text-align: center !important; padding: 10px 16px !important; font-size: 0.82rem !important; }

  /* News 2行レイアウト */
  .news-item { flex-wrap: wrap !important; }
  .news-title { flex: none !important; width: 100% !important; font-size: 0.85rem; }

  /* 全カラム1列に */
  .event-photos--3col { grid-template-columns: 1fr !important; }
  .fc-photo-grid { grid-template-columns: 1fr 1fr !important; }
  .fc-card-title { font-size: 0.78rem !important; }

  /* プロジェクトカード調整 */
  .fc-photo-card > div:first-child { padding: 12px 14px !important; }
  .fc-photo-card > div:first-child div { font-size: 0.6rem !important; }
  .fc-photo-card > div:last-child { padding: 14px !important; }
  .fc-photo-card p { font-size: 0.82rem !important; line-height: 1.5 !important; word-break: keep-all !important; }
  .contact-cta-actions .btn { justify-content: center; }

  .footer-main { padding: 48px 0 32px; }

  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  .about-grid { gap: 32px; }
  .business-card-title { font-size: 1.1rem; }

  /* About text compact */
  .about-text .section-desc { font-size: 0.82rem; margin: 10px 0 20px !important; line-height: 1.7; }
  .about-features { gap: 10px; }
  .about-feature-text h4 { font-size: 0.88rem; }
  .about-feature-text p { font-size: 0.78rem; }

  /* About card overflow fix */
  .about-visual, .about-text { width: 100%; max-width: 100%; overflow: hidden; }
  .about-card { width: 100%; box-sizing: border-box; padding: 20px 16px; }
  .about-info-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .about-info-item { padding: 8px 10px; min-width: 0; }
  .about-info-value { font-size: 0.68rem; line-height: 1.4; word-break: break-word; overflow-wrap: anywhere; }
  .about-info-label { font-size: 0.58rem; }
  .about-card-title { font-size: 1.1rem; }
  .about-card-text { font-size: 0.82rem; }

  /* Beauty: 3カラム写真を1カラムに */
  .event-photos--3col { grid-template-columns: 1fr !important; }

  /* fc-photo-grid 全般 */
  .fc-photo-grid { grid-template-columns: 1fr 1fr !important; }
  .fc-photo-card { min-width: 0; }
  .fc-card-title { font-size: 0.85rem !important; word-break: keep-all; overflow-wrap: break-word; }
}

/* ============================================
   UTILITIES & ANIMATIONS
   ============================================ */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Divider */
.gold-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ============================================
   NEWS
   ============================================ */
#news { background: var(--bg); }

.news-list { display: flex; flex-direction: column; }

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.news-item:first-child { border-top: 1px solid var(--border); }

.news-date {
  flex-shrink: 0;
  width: 96px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 3px;
}

.news-cat {
  flex-shrink: 0;
  padding: 2px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  background: rgba(196,162,77,0.1);
  color: var(--gold);
  border: 1px solid rgba(196,162,77,0.25);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

.news-title {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-footer {
  margin-top: 32px;
  text-align: right;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero--sake {
  background:
    linear-gradient(rgba(11,22,58,0.68), rgba(11,22,58,0.68)),
    url('../images/Sake Export.png') center center / cover no-repeat;
}

.page-hero--about {
  background:
    linear-gradient(rgba(11,22,58,0.72), rgba(11,22,58,0.72)),
    url('../images/tokyo night.png') center center / cover no-repeat;
}

.page-hero--beauty {
  background:
    linear-gradient(rgba(11,22,58,0.68), rgba(11,22,58,0.68)),
    url('../images/Beauty Export.png') center center / cover no-repeat;
}

.page-hero--franchise {
  background:
    linear-gradient(rgba(11,22,58,0.68), rgba(11,22,58,0.68)),
    url('../images/FC.png') center center / cover no-repeat;
}

.page-hero--startup {
  background:
    linear-gradient(rgba(11,22,58,0.68), rgba(11,22,58,0.68)),
    url('../images/startup.png') center center / cover no-repeat;
}

.page-hero--contact {
  background:
    linear-gradient(rgba(11,22,58,0.72), rgba(11,22,58,0.72)),
    url('../images/tokyo night.png') center center / cover no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(196,162,77,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(30,58,95,0.5) 0%, transparent 50%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-en {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

.page-hero-title {
  font-size: clamp(1.1rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero-desc {
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.85;
}

/* ============================================
   CONTACT CTA (index page)
   ============================================ */
#contact-cta {
  background: linear-gradient(135deg, #0a1428 0%, var(--navy) 50%, #162d5a 100%);
  padding: 80px 0;
  text-align: center;
}

#contact-cta .section-subtitle { color: var(--gold); }

#contact-cta .section-title { color: var(--white); }

#contact-cta .section-desc { color: rgba(255,255,255,0.65); margin: 16px auto 36px; }

.contact-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  flex: 1;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 4px;
  min-width: 160px;
}

.contact-cta-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-cta-item {
  text-align: center;
}

.contact-cta-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-cta-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.contact-cta-value a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.contact-cta-value a:hover { color: var(--gold); }
