/* ==========================================================
   HOME PAGE LAYOUT / 首页布局样式
   ========================================================== */
.site-shell { overflow: hidden; }

/* Floating Navigation */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-bar {
  width: min(100%, 700px);
  height: 56px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: #000;
  color: var(--page-bg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.nav-left { display: flex; align-items: center; gap: 28px; padding-left: 8px; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(250,249,245,.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a,
.footer a { transition: opacity .25s ease, color .25s ease; }
.nav-links a { opacity: .78; }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(250,249,245,.3);
  color: var(--page-bg);
  background: transparent;
}
.nav-cta:hover { background: var(--page-bg); color: var(--black); }

/* Hero */
.hero {
  padding-top: 238px;
  padding-bottom: 150px;
  text-align: center;
}
.hero-title {
  margin: 0 auto 56px;
  max-width: 920px;
  font-size: var(--h1-size);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 850;
}
.hero-media {
  width: 100%;
  height: clamp(420px, 48vw, 800px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--panel-bg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.22), rgba(0,0,0,0));
  pointer-events: none;
}

/* Logo strip */
.trust-strip {
  padding: 40px 0 88px;
  border-top: 1px solid rgba(217,215,208,.35);
}
.marquee {
  overflow: hidden;
  width: 100%;
  color: var(--muted);
}
.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 98px;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 49px)); }
}

/* Manifesto: replaces removed middle collage module */
.manifesto {
  padding: 150px 0 170px;
  text-align: center;
  position: relative;
}
.manifesto-grid {
  position: absolute;
  top: 60px;
  right: 8%;
  width: 420px;
  height: 420px;
  opacity: .12;
  pointer-events: none;
}
.manifesto-title {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 450;
}

/* Feature rows */
.feature-row {
  padding: 110px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 100px;
  align-items: center;
}
.feature-row.reverse .feature-grid {
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
}
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }

.feature-visual {
  min-height: 700px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(217,215,208,.55);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: linear-gradient(135deg, var(--soft-card-2), var(--soft-card));
}
.feature-visual.is-blue { background: var(--gradient-blue); }
.feature-visual.is-image { padding: 0; }
.feature-visual.is-image img { width: 100%; height: 100%; object-fit: cover; }

.file-card, .studio-card {
  width: min(100%, 460px);
  border-radius: 24px;
  background: rgba(255,253,248,.88);
  border: 1px solid rgba(217,215,208,.35);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.file-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 800;
}
.file-list { display: grid; gap: 12px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  transition: background .25s ease;
}
.file-item:hover { background: var(--soft-card); }
.file-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--gradient-sunset);
  flex: 0 0 auto;
  opacity: .85;
}

.feature-copy h2 {
  margin: 0 0 54px;
  font-size: var(--h2-size);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 850;
}
.feature-list {
  position: relative;
  display: grid;
  gap: 42px;
  padding-left: 28px;
  border-left: 3px solid var(--line);
}
.feature-list::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: 33%;
  background: var(--gradient-sunset);
  border-radius: 99px;
}
.feature-list-item { opacity: .56; transition: opacity .25s ease; }
.feature-list-item:first-child,
.feature-list-item:hover { opacity: 1; }
.feature-list-item h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.feature-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-md);
  line-height: 1.7;
}

.studio-card-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--muted); }
.studio-prompt {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  padding: 18px;
  color: var(--text);
  line-height: 1.65;
}
.spark {
  margin: 22px 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  box-shadow: 0 12px 32px rgba(255,75,43,.3);
}

/* Use cases */
.use-cases {
  padding: 145px 0;
  text-align: center;
}
.section-heading {
  margin: 0 0 44px;
  font-size: var(--h2-size);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 850;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 58px;
}
.chip {
  height: 34px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255,255,255,.8);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(27,27,27,.05);
}
.chip.active { background: var(--black); color: var(--page-bg); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}
.image-card {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217,215,208,.35);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  isolation: isolate;
}
.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .55s ease;
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: -1;
}
.image-card:hover img { transform: scale(1.08); }
.image-card h3 { margin: 0 0 10px; color: #fff; font-size: 23px; line-height: 1.15; }
.image-card p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.6; }

/* Testimonial */
.testimonial {
  padding: 140px 0;
  text-align: center;
}
.quote {
  margin: 0 auto 52px;
  max-width: 1050px;
  font-size: clamp(34px, 4.1vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 460;
}
.author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--line); }
.author-name { font-weight: 800; margin-bottom: 4px; }
.author-role { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* Updates */
.updates { padding: 110px 0 140px; }
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 44px;
  gap: 24px;
}
.text-link {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
}
.update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.update-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.5);
}
.update-meta { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.update-card h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }

/* CTA */
.cta { padding: 150px 0 165px; text-align: center; }
.cta-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 46px;
  border: 1px solid var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}
.cta h2 {
  margin: 0 auto 42px;
  max-width: 820px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 850;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer */
.footer {
  background: #050505;
  color: #fff;
  border-radius: 64px 64px 0 0;
  padding: 110px 0 52px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 72px;
  margin-bottom: 86px;
}
.footer-desc { max-width: 330px; color: rgba(255,255,255,.52); line-height: 1.75; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.72);
}
.footer h4 { margin: 0 0 26px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.footer li a { color: rgba(255,255,255,.58); }
.footer li a:hover, .socials a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  font-weight: 700;
}
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.42); }

@media (max-width: 1100px) {
  .feature-grid,
  .feature-row.reverse .feature-grid { grid-template-columns: 1fr; gap: 50px; }
  .feature-row.reverse .feature-visual,
  .feature-row.reverse .feature-copy { order: unset; }
  .feature-visual { min-height: 560px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-bar { height: 54px; }
  .hero { padding-top: 150px; padding-bottom: 100px; }
  .hero-title { margin-bottom: 34px; }
  .hero-media { border-radius: 26px; height: 410px; }
  .trust-strip { padding-bottom: 48px; }
  .manifesto { padding: 96px 0 108px; }
  .manifesto-grid { width: 300px; height: 300px; right: -80px; }
  .feature-row { padding: 78px 0; }
  .feature-visual { min-height: 470px; border-radius: 28px; padding: 24px; }
  .feature-copy h2 { margin-bottom: 34px; }
  .card-grid, .update-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 320px; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .quote { margin-bottom: 36px; }
  .footer { border-radius: 40px 40px 0 0; padding-top: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ==========================================================
   JP BUSINESS SITE OVERRIDES / 日文业务站增强样式
   ========================================================== */

.nav-bar { width: min(100%, 760px); }
.logo-mark { font-family: var(--font-display); font-weight: 700; }

.hero {
  padding-top: 220px;
  padding-bottom: 120px;
}
.hero-eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
}
.hero-title {
  font-family: var(--font-display);
  letter-spacing: -.035em;
  line-height: 1.14;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 52px;
  color: var(--muted);
  font-size: var(--body-lg);
  line-height: 1.9;
  font-weight: 500;
}

/* Hero slider: data.hero.images 有多张图时可以横向滑动 */
.hero-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy h2,
.section-heading,
.cta h2,
.quote {
  letter-spacing: -.035em;
}
.feature-copy h2,
.section-heading,
.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

.file-card-header,
.nav-links a,
.btn,
.label,
.footer h4 {
  letter-spacing: .06em;
}

.image-card::after {
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.14));
}

/* ==========================================================
   COMPANY PAGE / 公司概要页面
   ========================================================== */
.company-main {
  padding-top: 180px;
}

.company-hero {
  padding: 70px 0 90px;
  text-align: center;
}

.company-eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
}

.company-title {
  max-width: 920px;
  margin: 0 auto 34px;
  font-family: var(--font-display);
  font-size: var(--h1-size);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
}

.company-lead {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--body-lg);
  line-height: 2;
  font-weight: 500;
}

.company-intro {
  padding: 30px 0 110px;
}

.company-intro-card {
  border-radius: var(--radius-xl);
  background: var(--white-card);
  border: 1px solid rgba(217,215,208,.62);
  box-shadow: var(--shadow-soft);
  padding: clamp(34px, 5vw, 76px);
  display: grid;
  grid-template-columns: .95fr 1.3fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.company-intro-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.company-intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-lg);
  line-height: 2;
}

.company-profile {
  padding: 40px 0 120px;
}

.company-table {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217,215,208,.72);
  background: rgba(255,255,255,.52);
  box-shadow: var(--shadow-soft);
}

.company-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  min-height: 62px;
  border-bottom: 1px solid rgba(217,215,208,.72);
}

.company-table-row:last-child {
  border-bottom: none;
}

.company-table-label {
  display: flex;
  align-items: center;
  padding: 18px 26px;
  background: rgba(233,232,228,.62);
  color: var(--muted);
  font-weight: 700;
}

.company-table-value {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  line-height: 1.75;
  font-weight: 600;
}

.company-access {
  padding: 20px 0 150px;
}

.company-access-grid {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.company-contact-card,
.company-map-card {
  border-radius: var(--radius-xl);
  background: var(--white-card);
  border: 1px solid rgba(217,215,208,.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.company-contact-card {
  padding: clamp(30px, 4vw, 54px);
}

.company-contact-card h2 {
  margin: 0 0 34px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.company-contact-list {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.85;
}

.company-contact-list p {
  margin: 0;
}

.company-map-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.company-map-top {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(217,215,208,.62);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-map-top a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.company-map-card iframe {
  width: 100%;
  flex: 1;
  min-height: 456px;
  border: 0;
  filter: grayscale(.08) contrast(.96) saturate(.86);
}

/* Better JP line height */
body {
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .company-intro-card,
  .company-access-grid {
    grid-template-columns: 1fr;
  }
  .company-map-card {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .company-main { padding-top: 118px; }
  .company-hero { padding: 48px 0 64px; }
  .company-intro { padding-bottom: 76px; }
  .company-profile { padding-bottom: 82px; }
  .company-access { padding-bottom: 100px; }
  .company-table-row {
    grid-template-columns: 1fr;
  }
  .company-table-label {
    padding-bottom: 8px;
  }
  .company-table-value {
    padding-top: 8px;
  }
  .hero-subtitle {
    margin-bottom: 34px;
  }
}
