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

:root {
  --navy-deep:   #0b1a30;
  --navy:        #162847;
  --navy-light:  #1e3a6e;
  --gold:        #c9a227;
  --gold-light:  #e2c050;
  --gold-pale:   #f5e9c0;
  --white:       #ffffff;
  --off-white:   #f7f8fb;
  --gray:        #e8eaef;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a5568;
  --text-light:  #7a8a9e;
  --section-pad: clamp(64px, 9vw, 120px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
}

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

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

/* ============================================================
   UTILITY
============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.section-title span {
  color: var(--gold);
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 20px 0 36px;
}

.divider--center { margin: 20px auto 36px; }

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 26, 48, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  transition: box-shadow .3s;
}

#header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo-main {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .04em;
}

.logo-main span { color: var(--gold); }

.logo-sub {
  font-size: 10px;
  color: var(--gold-light);
  letter-spacing: .12em;
  font-weight: 500;
}

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: .06em;
  transition: color .2s, background .2s;
}

nav a:hover {
  color: var(--gold-light);
  background: rgba(201,162,39,.1);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .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;
  flex-direction: column;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,162,39,.2);
  padding: 12px 0 20px;
}

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

.mobile-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 12px 28px;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s, background .2s;
}

.mobile-nav a:hover {
  color: var(--gold-light);
  background: rgba(201,162,39,.08);
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    url('../images/top_bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11,26,48,.82) 0%, rgba(22,40,71,.75) 55%, rgba(15,32,64,.85) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,162,39,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* grid lines decoration */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero-catch-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-catch-en::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 36px;
}

.hero-title .accent { color: var(--gold); }

.hero-title .line2 {
  font-size: clamp(22px, 3.5vw, 42px);
  font-weight: 700;
  color: rgba(255,255,255,.75);
  display: block;
  margin-top: 8px;
  letter-spacing: .02em;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.9;
  margin-bottom: 52px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201,162,39,.35);
}

.btn--gold:hover { box-shadow: 0 8px 28px rgba(201,162,39,.5); }

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

.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,162,39,.5), transparent);
}

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

/* ============================================================
   MVV
============================================================ */
#mvv {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.mvv-head {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.mvv-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 36px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(11,26,48,.07);
  transition: transform .3s, box-shadow .3s;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11,26,48,.12);
}

.mvv-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.mvv-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.mvv-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* Value table */
.value-section {
  margin-top: clamp(48px, 7vw, 80px);
}

.value-head {
  text-align: center;
  margin-bottom: 40px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.value-item {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 28px 28px 80px;
  position: relative;
  box-shadow: 0 2px 14px rgba(11,26,48,.06);
  border-left: 3px solid var(--gold);
  transition: transform .3s;
}

.value-item:hover { transform: translateX(4px); }

.value-num {
  position: absolute;
  left: 24px;
  top: 26px;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-pale);
  line-height: 1;
  font-style: italic;
}

.value-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.value-slogan {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

.mvv-closing {
  margin-top: clamp(48px, 7vw, 72px);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  padding: 48px clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mvv-closing::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(201,162,39,.07);
}

.mvv-closing p {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,.85);
  line-height: 2;
  position: relative;
}

.mvv-closing strong {
  color: var(--gold-light);
  font-weight: 700;
}

/* ============================================================
   BUSINESS
============================================================ */
#business {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.business-intro {
  font-size: clamp(15px, 1.8vw, 16px);
  color: var(--text-mid);
  max-width: 760px;
  line-height: 1.9;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.business-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.business-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.business-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(11,26,48,.1); }
.business-card:hover::after { transform: scaleX(1); }

.business-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.business-icon svg { width: 24px; height: 24px; fill: var(--gold); }

.business-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}

.business-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

.business-model {
  background: var(--navy-deep);
  border-radius: 10px;
  padding: 40px clamp(24px, 5vw, 56px);
}

.business-model-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.business-model p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
}

/* ============================================================
   MESSAGE
============================================================ */
#message {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.message-profile {
  position: sticky;
  top: 100px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-initials {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .08em;
}

.profile-name-jp {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.profile-name-en {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}

.message-text h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.4;
  margin-bottom: 28px;
}

.message-text h3 .accent { color: var(--gold); }

.message-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 20px;
}

.message-text p:last-child { margin-bottom: 0; }

.message-sig {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray);
  display: flex;
  align-items: center;
  gap: 20px;
}

.sig-divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.sig-text {
  font-size: 13px;
  color: var(--text-mid);
}

.sig-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-top: 4px;
}

/* ============================================================
   COMPANY
============================================================ */
#company {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.company-table tr:first-child { border-top: 1px solid var(--gray); }

.company-table th {
  width: 200px;
  padding: 22px 24px 22px 0;
  font-weight: 700;
  color: var(--navy-deep);
  vertical-align: top;
  text-align: left;
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.company-table th::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 10px;
  vertical-align: middle;
}

.company-table td {
  padding: 22px 0;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-main {
  font-size: 22px;
  margin-bottom: 8px;
}

.footer-brand .logo-sub {
  font-size: 10px;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.85;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--gold);
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

.footer-contact-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}

.footer-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, transparent 100%);
}

/* ============================================================
   SECTION HIGHLIGHT BAND
============================================================ */
.band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  padding: 64px 0;
  text-align: center;
}

.band p {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.7;
}

.band span { color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .message-inner {
    grid-template-columns: 1fr;
  }

  .message-profile {
    position: static;
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 24px;
  }

  .profile-photo {
    aspect-ratio: 1;
    margin-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .company-table th {
    display: block;
    width: 100%;
    padding: 20px 0 4px;
    border: none;
  }

  .company-table td {
    display: block;
    padding: 0 0 20px;
  }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .hero-cta { flex-direction: column; align-items: flex-start; }

  .message-profile {
    grid-template-columns: 100px 1fr;
  }
}

/* ============================================================
   ANIMATIONS (IntersectionObserver)
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
