/* ============================================================
   wanpak OFFICIAL WEBSITE — style.css v3
   Colors: Navy #262262 | Red #ff3131 | White #ffffff
   Rule: Dark bg = Hero / Teaser / Footer ONLY
   Body text: #111111 (black) — never grey on grey
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== VARIABLES ===== */
:root {
  --navy:   #262262;
  --red:    #ff3131;
  --white:  #ffffff;
  --ink:    #111111;
  --sub:    #444444;
  --muted:  #666666;
  --border: #d8d8d6;
  --dark:   #0f0e1e;
}

/* ===== BASE ===== */
body {
  font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== CONTAINER ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2.5rem; }

/* ===== SECTION DIVIDER ===== */
.section-divider { width: 100%; height: auto; display: block; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.45em;
  color: var(--red); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.section-label--white { color: rgba(255,255,255,0.5); }
.section-label--white::before { background: rgba(255,255,255,0.3); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.section-title--white { color: var(--white); }
.section-desc {
  font-size: 1.05rem; color: var(--sub); line-height: 2.1; margin-bottom: 3.5rem;
}

/* ===== BUTTONS ===== */
.btn-red {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 0.9rem 2.4rem; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; transition: background 0.25s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-red:hover { background: #d42828; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; color: rgba(255,255,255,0.85); padding: 0.9rem 2.4rem;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.35); transition: all 0.25s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-submit {
  width: 100%; background: var(--navy); color: var(--white);
  padding: 1.1rem; font-family: inherit; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em; border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-submit:hover { background: #1a1850; transform: translateY(-1px); }

.btn-teaser {
  display: inline-block; color: var(--white); padding: 0.9rem 2.5rem;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.3s;
  background: transparent; cursor: pointer; font-family: inherit;
  -webkit-appearance: none; appearance: none;
}
.btn-teaser:hover { border-color: var(--red); color: var(--red); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== UTILITY ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 2rem; transition: all 0.35s ease;
}
#navbar.scrolled {
  background: rgba(38, 34, 98, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 32px rgba(0,0,0,0.2);
}
.nav-container {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 26px; width: auto; }
.logo-fallback {
  font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 900;
  color: var(--white); letter-spacing: 0.04em; display: none;
}
.logo-dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--red); border-radius: 50%;
  margin-left: 2px; margin-bottom: 8px; vertical-align: bottom;
}
.nav-links { display: flex; list-style: none; align-items: center; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.45rem 1.2rem; font-weight: 700 !important;
}
.nav-cta:hover { background: #d42828 !important; }
/* ===== LANG SWITCH ===== */
.lang-switch {
  display: flex; align-items: center; gap: 5px; margin-right: 12px;
}
.lang-btn {
  color: var(--white); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; opacity: .5; text-decoration: none;
  transition: opacity .2s; font-family: 'Montserrat', sans-serif;
}
.lang-btn:hover { opacity: 1; }
.lang-active { opacity: 1; cursor: default; }
.lang-sep { color: var(--white); opacity: .3; font-size: 11px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 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); }

/* ============================================================
   HERO — split image (left: tradition / right: technology)
   ============================================================ */
#hero {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 9rem 2.5rem 6rem;
}

/* Split image panels */
.hero-split {
  position: absolute; inset: 0;
  display: flex; z-index: 0;
}
.hero-panel {
  flex: 1; position: relative; overflow: hidden;
}
.hero-panel-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 8s ease;
}
#hero:hover .hero-panel-img { transform: scale(1.04); }

.hero-panel-overlay {
  position: absolute; inset: 0;
}
.hero-panel--left .hero-panel-overlay {
  background: linear-gradient(
    to right,
    rgba(38,34,98,0.82) 0%,
    rgba(38,34,98,0.65) 60%,
    rgba(38,34,98,0.55) 100%
  );
}
.hero-panel--right .hero-panel-overlay {
  background: linear-gradient(
    to left,
    rgba(38,34,98,0.75) 0%,
    rgba(38,34,98,0.55) 60%,
    rgba(38,34,98,0.45) 100%
  );
}
.hero-panel-label {
  position: absolute; bottom: 5rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.6rem;
  font-weight: 700; letter-spacing: 0.5em; color: rgba(255,255,255,0.35);
  z-index: 2;
}
.hero-panel--left .hero-panel-label  { left: 2.5rem; }
.hero-panel--right .hero-panel-label { right: 2.5rem; }

/* Red center divider */
.hero-divider-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--red);
  transform: translateX(-50%); z-index: 2;
  opacity: 0.8;
}

/* Subtle grid texture on top of images */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content { max-width: 1080px; margin: 0 auto; width: 100%; position: relative; z-index: 3; }
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.45em; color: var(--red); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--red); }
.hero-title {
  font-size: clamp(3rem, 8.5vw, 6.5rem); font-weight: 900; color: var(--white);
  line-height: 1.12; margin-bottom: 1.5rem; letter-spacing: -0.025em;
}
.hero-os {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin-bottom: 1.8rem;
  letter-spacing: -0.015em;
  border-left: 4px solid var(--red); padding-left: 1.2rem;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: rgba(255,255,255,0.6);
  line-height: 2.1; margin-bottom: 3rem; max-width: 520px; font-weight: 300;
}
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2;
}
.scroll-hint span {
  font-family: 'Montserrat', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.4em; color: rgba(255,255,255,0.25);
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.8; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-bar {
  background: var(--red); padding: 0.85rem 0; overflow: hidden; white-space: nowrap;
}
.marquee-inner {
  display: inline-flex; gap: 3.5rem;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-size: 0.78rem; font-weight: 700; color: var(--white);
  letter-spacing: 0.12em; flex-shrink: 0;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   BRAND STATEMENT — white bg
   ============================================================ */
.brand-statement {
  padding: 9rem 0; background: var(--white);
  border-bottom: 1px solid var(--border);
}
.bs-wrap { max-width: 760px; }
.bs-label {
  font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.45em; color: var(--red); margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.bs-label::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.bs-quote {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--navy);
  line-height: 1.25; margin-bottom: 3rem; letter-spacing: -0.015em;
  font-style: normal; border-left: 4px solid var(--red); padding-left: 2rem;
}
.bs-body { padding-left: 2rem; }
.bs-body p { font-size: 1.05rem; color: var(--ink); line-height: 2.3; font-weight: 400; margin-bottom: 1.5rem; }
.bs-body strong { color: var(--navy); font-weight: 700; }
.bs-closing { font-weight: 700 !important; color: var(--navy) !important; }

/* ============================================================
   社名の由来 — white bg
   ============================================================ */
.name-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.name-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 6rem; align-items: start; }
.name-logo-wrap { margin-bottom: 2.5rem; }
.name-logo-img { height: 56px; width: auto; }
.name-logo-fallback {
  display: none; font-family: 'Montserrat', sans-serif; font-size: 3.5rem;
  font-weight: 900; color: var(--ink); letter-spacing: -0.03em;
}
.name-meanings { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.name-meaning { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.name-meaning-tag {
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red); margin-bottom: 0.85rem;
}
.name-meaning p { font-size: 0.95rem; color: var(--ink); line-height: 2; font-weight: 400; }
.name-closing { font-size: 0.95rem; color: var(--sub); line-height: 2.1; margin-bottom: 1.5rem; }
.name-since {
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.45em; color: rgba(38,34,98,0.25);
}

/* ============================================================
   代表挨拶 — white bg
   ============================================================ */
.greeting-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.greeting-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.portrait-box { margin-bottom: 1.2rem; }
.portrait-img {
  width: 200px; height: 250px; object-fit: cover; object-position: center top;
  display: block;
}
.portrait-caption { font-size: 0.9rem; color: var(--navy); line-height: 1.9; }
.portrait-caption strong { font-size: 1.05rem; font-weight: 700; display: block; }
.portrait-caption span { font-size: 0.8rem; color: var(--muted); font-family: 'Montserrat', sans-serif; }
.greeting-text p {
  font-size: 1.05rem; color: var(--ink); line-height: 2.4; margin-bottom: 1.75rem;
}
.greeting-text strong { color: var(--navy); font-weight: 700; }

/* ============================================================
   VISION — white bg
   (dark = Hero / Teaser / Footer ONLY)
   ============================================================ */
.vision-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }

.vision-os-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  color: var(--navy); border-left: 5px solid var(--red);
  padding-left: 1.5rem; margin-bottom: 1.5rem !important;
}

.mv-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; margin-bottom: 3rem; }
.mv-block {
  padding: 2.5rem 2.5rem; border: 1px solid var(--border);
  border-top: 3px solid var(--navy); background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
}
.mv-block:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(38,34,98,0.08); }
.mv-tag {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.45em; color: var(--red); margin-bottom: 1.2rem;
}
.mv-headline { font-size: 1.1rem; font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 1.2rem; }
.mv-body { font-size: 0.95rem; color: var(--ink); line-height: 2.1; }

.vision-manifesto {
  border-top: 1px solid var(--border); padding-top: 3.5rem;
}
.vision-manifesto p {
  font-size: 1.1rem; color: var(--ink); line-height: 2.4; margin-bottom: 1.5rem;
}
.manifesto-close { font-weight: 700 !important; color: var(--navy) !important; font-size: 1.15rem !important; }

/* ============================================================
   CORE VALUES — white bg, compact layout like company brochure
   ============================================================ */
.values-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.values-list { margin-top: 2rem; }
.value-item {
  display: grid; grid-template-columns: 80px 1fr;
  padding: 2.5rem 0; border-bottom: 1px solid var(--border);
  gap: 2.5rem; align-items: start;
}
.value-item:first-of-type { border-top: 1px solid var(--border); }
.value-num {
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red); padding-top: 0.3rem;
}
.value-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; line-height: 1.4; }
.value-body p { font-size: 0.98rem; color: var(--ink); line-height: 2.1; }

/* ============================================================
   事業内容 — white bg
   ============================================================ */
.business-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.biz-domains { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.biz-domain {
  padding: 2.5rem 2.5rem; background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--navy); transition: transform 0.3s, box-shadow 0.3s;
}
.biz-domain:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(38,34,98,0.08); }
.biz-domain-num {
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red); margin-bottom: 1.2rem;
}
.biz-domain h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; line-height: 1.5; }
.biz-domain p { font-size: 0.95rem; color: var(--ink); line-height: 2; }

.biz-activities { border: 1px solid var(--border); padding: 3rem; margin-bottom: 2rem; }
.biz-act-title {
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.45em; color: var(--red); margin-bottom: 2rem;
}
.biz-act-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.biz-act-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.biz-act-item p { font-size: 0.9rem; color: var(--ink); line-height: 2; }

.biz-future {
  padding: 2rem 2.5rem; border: 1px solid var(--border); border-left: 4px solid var(--red);
}
.biz-future-label {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--red); margin-bottom: 0.75rem;
}
.biz-future p { font-size: 0.95rem; color: var(--ink); line-height: 2; }

/* ============================================================
   FIRST PRODUCT TEASER — dark (intentional: product drama)
   ============================================================ */
#teaser {
  background: var(--dark); padding: 9rem 0; text-align: center;
  position: relative; overflow: hidden;
}
#teaser::before {
  content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,49,49,0.05) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.teaser-inner { max-width: 800px; margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 2; }
.teaser-eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.5em; color: var(--red); margin-bottom: 2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.teaser-eyebrow::before, .teaser-eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--red); }
.teaser-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); margin-bottom: 1.5rem; }
.teaser-desc { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 2.2; margin-bottom: 5rem; }

/* Countdown */
.cd-wrap { margin-bottom: 4rem; }
.cd-label-top {
  font-family: 'Montserrat', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.55em; color: rgba(255,255,255,0.25); margin-bottom: 2.5rem;
}
.countdown { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cd-block { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.cd-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -0.03em;
}
.cd-unit { font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3em; color: rgba(255,255,255,0.25); margin-top: 0.6rem; }
.cd-colon {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300; color: var(--red); line-height: 1; margin-bottom: 1.5rem;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
.cd-date {
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.4em; color: rgba(255,255,255,0.2); margin-top: 2.5rem;
}

/* ============================================================
   SUBSCRIBE INLINE FORM (teaser section)
   ============================================================ */
.subscribe-form-wrap {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
  opacity: 0; margin-top: 0;
}
.subscribe-form-wrap.open {
  max-height: 480px; opacity: 1; margin-top: 2.5rem;
}
.subscribe-form {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  padding: 2.5rem; text-align: left; max-width: 640px; margin: 0 auto;
}
.sf-group { margin-bottom: 1.2rem; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sf-group label {
  display: block; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em; margin-bottom: 0.45rem;
}
.sf-req { color: var(--red); }
.sf-opt {
  font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.3);
  letter-spacing: 0; margin-left: 0.4rem;
}
.sf-group input {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); color: var(--white);
  padding: 0.75rem 1rem; font-family: inherit; font-size: 0.9rem;
  transition: border-color 0.2s; outline: none;
}
.sf-group input::placeholder { color: rgba(255,255,255,0.25); }
.sf-group input:focus { border-color: rgba(255,255,255,0.5); }
.sf-group input.is-error { border-color: var(--red); }
.sf-error {
  display: none; font-size: 0.75rem; color: var(--red); margin-top: 0.3rem;
}
.sf-error.visible { display: block; }
.sf-note {
  font-size: 0.72rem; color: rgba(255,255,255,0.25); margin-bottom: 1.5rem;
  line-height: 1.8;
}
.sf-actions { display: flex; gap: 1rem; align-items: center; }
.btn-sf-submit {
  flex: 1; background: var(--red); color: var(--white); border: none;
  padding: 0.9rem 1.5rem; font-family: inherit; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.08em; cursor: pointer; transition: background 0.25s, transform 0.2s;
}
.btn-sf-submit:hover:not(:disabled) { background: #e02020; transform: translateY(-1px); }
.btn-sf-submit:disabled { opacity: 0.6; cursor: default; }
.btn-sf-cancel {
  background: none; border: none; color: rgba(255,255,255,0.35); font-family: inherit;
  font-size: 0.82rem; cursor: pointer; padding: 0.5rem; transition: color 0.2s;
}
.btn-sf-cancel:hover { color: rgba(255,255,255,0.7); }
.subscribe-success {
  padding: 2rem; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.95rem;
  line-height: 2;
}

@media (max-width: 600px) {
  .sf-row { grid-template-columns: 1fr; }
  .subscribe-form-wrap.open { max-height: 600px; }
}

/* ============================================================
   会社概要 — white bg
   ============================================================ */
.company-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.company-wrap { margin-top: 1rem; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 1.5rem 1.5rem; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; text-align: left; vertical-align: top;
}
.company-table th { width: 180px; font-weight: 700; color: var(--navy); font-size: 0.88rem; letter-spacing: 0.02em; white-space: nowrap; }
.company-table td { color: var(--ink); line-height: 2; }
.company-table td a { color: var(--navy); border-bottom: 1px solid rgba(38,34,98,0.25); transition: color 0.2s; }
.company-table td a:hover { color: var(--red); }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 1px solid var(--border); }

/* ============================================================
   NEWS — white bg
   ============================================================ */
.news-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.news-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.news-item {
  display: grid;
  grid-template-columns: 110px 130px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, padding-left 0.2s, padding-right 0.2s;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.news-item:hover { background: #f8f8fa; padding-left: 0.75rem; margin-left: -0.75rem; padding-right: 0.75rem; }
.news-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.05em; white-space: nowrap;
}
.news-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.3em 0.8em;
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 2px; white-space: nowrap;
}
.news-tag--red { border-color: var(--red); color: var(--red); }
.news-title {
  font-size: 0.95rem; font-weight: 500;
  color: var(--ink); line-height: 1.5;
}
.news-arrow {
  font-size: 0.8rem; color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}
.news-item:hover .news-arrow { transform: translateX(4px); color: var(--red); }
.news-empty {
  padding: 4rem 0; text-align: center;
  color: var(--muted); font-size: 0.9rem; line-height: 2;
}
.news-more {
  margin-top: 2.5rem; text-align: center;
}

/* ============================================================
   NEWS MODAL
   ============================================================ */
.news-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s ease;
}
.news-modal.open {
  pointer-events: auto; opacity: 1;
}
.news-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 14, 30, 0.7);
  backdrop-filter: blur(4px);
}
.news-modal-inner {
  position: relative; z-index: 1;
  background: var(--white);
  max-width: 680px; width: calc(100% - 3rem);
  max-height: 85vh; overflow-y: auto;
  padding: 3.5rem;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.news-modal.open .news-modal-inner {
  transform: translateY(0);
}
.news-modal-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; font-size: 1.4rem;
  color: var(--muted); cursor: pointer; padding: 0.25rem 0.5rem;
  line-height: 1; transition: color 0.2s;
}
.news-modal-close:hover { color: var(--navy); }

/* Modal content typography */
.nmt-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--red); margin-bottom: 0.75rem;
}
.nmt-date {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: 1.25rem;
}
.nmt-title {
  font-size: 1.5rem; font-weight: 900; color: var(--navy);
  line-height: 1.4; margin-bottom: 2rem;
  padding-bottom: 1.5rem; border-bottom: 2px solid var(--border);
}
.nmt-body p {
  font-size: 0.95rem; color: var(--ink);
  line-height: 2; margin-bottom: 1.25rem;
}
.nmt-body p:last-child { margin-bottom: 0; }
.nmt-body strong { color: var(--navy); font-weight: 700; }

@media (max-width: 600px) {
  .news-modal-inner { padding: 2.5rem 1.5rem; }
  .nmt-title { font-size: 1.2rem; }
}
.news-more a {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--navy); border-bottom: 1px solid var(--navy);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.news-more a:hover { color: var(--red); border-color: var(--red); }

/* ============================================================
   CONTACT — white bg
   ============================================================ */
.contact-section { padding: 9rem 0; background: var(--white); border-top: 1px solid var(--border); }
.contact-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; letter-spacing: 0.03em; }
.req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.9rem 1rem; border: 1px solid #ccc;
  background: var(--white); font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem; color: var(--ink); outline: none; border-radius: 0;
  transition: border-color 0.25s; -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M5 6L0 0h10z' fill='%23262262'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}

.form-success { max-width: 680px; margin: 0 auto; padding: 4rem 2rem; text-align: center; }
.form-success-icon { display: block; font-size: 2.5rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-success p { font-size: 1rem; color: var(--sub); line-height: 2.2; }

.contact-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 3.5rem; }
.contact-menu-item { padding: 1.5rem 0; border-top: 2px solid var(--navy); }
.contact-menu-title { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.contact-menu-item p { font-size: 0.88rem; color: var(--sub); line-height: 1.9; }

/* ============================================================
   FOOTER — navy (brand color / consistent with hero)
   ============================================================ */
footer { background: var(--navy); padding: 5rem 0 2.5rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-row {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.footer-logo-text { height: 32px; width: auto; }
.footer-logo-icon { height: 40px; width: auto; opacity: 0.9; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; }
.footer-address { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin-bottom: 0.4rem; }
.footer-mail { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-mail:hover { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 1rem; }
.footer-nav a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.74rem; color: rgba(255,255,255,0.22); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .name-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .greeting-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .mv-blocks { grid-template-columns: 1fr; }
  .name-meanings { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Hero split: stack vertically on mobile */
  .hero-split { flex-direction: column; }
  .hero-divider-line { left: 0; right: 0; top: 50%; bottom: auto; width: 100%; height: 2px; transform: translateY(-50%); }
  .hero-panel--left .hero-panel-label  { left: 1.5rem; bottom: 1.5rem; }
  .hero-panel--right .hero-panel-label { right: 1.5rem; bottom: 1.5rem; }
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(38,34,98,0.98); flex-direction: column;
    padding: 2rem; gap: 1.5rem; backdrop-filter: blur(16px); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .company-table th { width: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .value-item { grid-template-columns: 60px 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.5rem; }
  .brand-statement, .name-section, .greeting-section, .vision-section,
  .values-section, .business-section, .news-section, .company-section, .contact-section { padding: 6rem 0; }
  .news-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 0; }
  .news-arrow { display: none; }
  #teaser { padding: 6rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-red, .hero-actions .btn-ghost { width: 100%; text-align: center; }
  .bs-quote { font-size: 1.75rem; padding-left: 1.25rem; }
  .bs-body { padding-left: 1.25rem; }
  .cd-block { min-width: 70px; }
  .cd-num { font-size: 2.8rem; }
  .cd-colon { font-size: 2rem; }
  .company-table { display: block; }
  .company-table tbody, .company-table tr { display: block; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 0.75rem 1rem; }
  .company-table th { padding-bottom: 0.25rem; border-bottom: none; }
  .vision-os-title { padding-left: 1rem !important; }
}
