/* ============================================
   株式会社アサンテ - 共通スタイルシート
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Noto+Serif+JP:wght@400;700&family=Inter:wght@300;400;500;600;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:      #0D1B3E;
  --navy-dark: #080f24;
  --navy-mid:  #152447;
  --navy-light:#1e3260;
  --blue:      #1a56db;
  --blue-light:#3b82f6;
  --gold:      #c9a84c;
  --gold-light:#e8c56a;
  --white:     #ffffff;
  --off-white: #f8f9fc;
  --gray-light:#e8eaf0;
  --gray-mid:  #9aa3b8;
  --gray-dark: #4a5568;
  --text-dark: #1a1f36;
  --text-mid:  #4a5568;
  --shadow-sm: 0 2px 8px rgba(13,27,62,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,62,0.14);
  --shadow-lg: 0 20px 60px rgba(13,27,62,0.20);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}
.loading-logo {
  width: 140px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}
.loading-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-top: 32px;
  overflow: hidden;
}
.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  border-radius: 2px;
  animation: loadingBar 1.8s ease forwards;
}
@keyframes loadingPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes loadingBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   HEADER / NAV
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(8,15,36,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.3s;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img {
  height: 44px;
  width: auto;
  transition: transform 0.3s;
}
.header-logo img:hover { transform: scale(1.04); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 40px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); }
.mobile-nav .nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  text-align: center;
  margin-top: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.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;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 40px;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 40px;
  letter-spacing: 0.02em;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  display: block;
}
.hero-stat .label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  max-width: 360px;
  width: 100%;
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-card-title {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.hero-business-list { display: flex; flex-direction: column; gap: 10px; }
.hero-biz-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: background 0.2s;
}
.hero-biz-item:hover { background: rgba(255,255,255,0.1); }
.biz-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.biz-icon.blue { background: rgba(59,130,246,0.25); }
.biz-icon.green { background: rgba(34,197,94,0.25); }
.biz-icon.orange { background: rgba(251,146,60,0.25); }
.biz-icon.purple { background: rgba(168,85,247,0.25); }
.biz-icon.teal { background: rgba(20,184,166,0.25); }
.biz-icon.pink { background: rgba(236,72,153,0.25); }
.biz-name { color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 500; }

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--blue);
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 580px;
}
.section-header { margin-bottom: 56px; }

/* Light section */
.section-light { background: var(--off-white); }
/* Dark section */
.section-dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-label { color: var(--gold-light); }
.section-dark .section-label::before { background: var(--gold); }
.section-dark .section-desc { color: rgba(255,255,255,0.7); }

/* ============================================
   BUSINESS CARDS (Top)
   ============================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.biz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color, var(--blue));
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.biz-card .card-icon {
  width: 56px; height: 56px;
  background: var(--card-bg, rgba(26,86,219,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.biz-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.biz-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.biz-card.blue { --card-color: #1a56db; --card-bg: rgba(26,86,219,0.08); }
.biz-card.green { --card-color: #16a34a; --card-bg: rgba(22,163,74,0.08); }
.biz-card.orange { --card-color: #ea580c; --card-bg: rgba(234,88,12,0.08); }
.biz-card.purple { --card-color: #7c3aed; --card-bg: rgba(124,58,237,0.08); }
.biz-card.teal { --card-color: #0891b2; --card-bg: rgba(8,145,178,0.08); }
.biz-card.pink { --card-color: #db2777; --card-bg: rgba(219,39,119,0.08); }

/* ============================================
   STRENGTHS
   ============================================ */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.strength-item {
  text-align: center;
  padding: 32px 24px;
}
.strength-num {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.strength-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.strength-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 8px;
}
.strength-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ============================================
   CEO SECTION (Top)
   ============================================ */
.ceo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ceo-photo-wrap {
  position: relative;
}
.ceo-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ceo-photo-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.ceo-nameplate {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(8,15,36,0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  border: 1px solid rgba(201,168,76,0.25);
}
.ceo-nameplate .role {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.ceo-nameplate .name {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 2px;
}
.ceo-content .section-label { color: var(--blue); }
.ceo-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 24px 0 20px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.ceo-text {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-metric {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}
.partner-metric .num {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-light);
  display: block;
}
.partner-metric .label {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  margin-top: 8px;
  line-height: 1.5;
}
.partner-note {
  text-align: center;
  margin-top: 32px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 40px;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  padding: 60px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  line-height: 1.8;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
}
.footer-info {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 12px;
}
.footer-info a { color: rgba(255,255,255,0.7); }
.footer-info a:hover { color: var(--white); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero .section-label::before { background: var(--gold); }
.page-hero .section-title { color: var(--white); }
.page-hero .section-desc { color: rgba(255,255,255,0.7); }

/* ============================================
   PAGE MARGIN (for fixed header)
   ============================================ */
main { padding-top: 72px; }

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .ceo-section { grid-template-columns: 1fr; gap: 40px; }
  .ceo-photo-wrap { max-width: 400px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 20px; }
  .hero-inner { padding: 100px 20px 60px; }
  .business-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .partners-metrics { grid-template-columns: 1fr; }
  .cta-band { padding: 60px 20px; }
  footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 120px 20px 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stat { padding: 14px 8px; }
  .hero-stat .num { font-size: 1.4rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}
