:root {
  --bg: #f9f8f5;
  --ink: #333333;
  --muted: #666666;
  --line: #e6e1d8;
  --navy: #001730;
  --footer: #232323;
  --wrap: min(1180px, calc(100% - 64px));
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
img { max-width: 100%; display: block; }
picture { display: contents; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: var(--wrap); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.head {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: block;
}
.logo-name { font-size: 16px; letter-spacing: 0.12em; line-height: 1.15; color: var(--navy); font-weight: 600; }
.logo-sub { display: block; margin-top: 3px; font-size: 10px; color: #9a948a; letter-spacing: 0.22em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
}
.nav-link svg { width: 10px; height: 10px; opacity: 0.7; }
.badge {
  margin-left: 4px;
  color: #7eaf45;
  font-size: 12px;
  font-weight: 600;
}
.nav .dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  min-width: 760px;
  padding: 22px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  grid-template-columns: 1fr 1fr;
  gap: 4px 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-40%) translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-40%) translateY(0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #f2efe9;
  font-size: 15px;
  line-height: 1.45;
}
.dropdown a span { color: #998; font-size: 12px; }
.dropdown.narrow { min-width: 220px; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }

.head-actions { display: flex; align-items: center; gap: 14px; }
.btn-pill, .btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.btn-pill { height: 38px; padding: 0 22px; font-size: 14px; transition: transform 0.35s, background 0.35s; }
.btn-pill:hover { transform: translateY(-1px); background: #12324d; }
.btn-dark {
  position: relative;
  overflow: hidden;
  height: 52px;
  padding: 0 8px 0 22px;
  gap: 12px;
  font-size: 15px;
  transition: color 0.45s ease;
}
.btn-dark span, .btn-dark i { position: relative; z-index: 1; }
.btn-dark::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%) scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn-dark:hover { color: var(--navy); }
.btn-dark:hover::after { transform: translateY(-50%) scale(14); }
.btn-dark i, .arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-style: normal;
  transition: transform 0.45s ease;
}
.btn-dark:hover i { transform: translateX(2px); }
.icon-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #333;
}
.menu-btn { display: none; }

.crumb {
  position: sticky;
  top: var(--header);
  z-index: 35;
  background: rgba(249, 248, 245, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s ease;
}
.crumb.hide { transform: translateY(calc(var(--header) * -1 - 100%)); }
.crumb .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; min-height: 52px; color: #8d887f; font-size: 13px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.crumbs > * { min-width: 0; }
.anchors { display: flex; }
.anchors a { padding: 0 16px; line-height: 52px; color: #9a948a; transition: color 0.35s; }
.anchors a.on, .anchors a:hover { color: var(--ink); }

.hero { padding: 72px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: #f1eee8;
  color: #6f6a62;
  font-size: 14px;
}
h1 { margin: 22px 0 18px; font-size: 50px; font-weight: 500; line-height: 1.25; letter-spacing: 0.02em; }
.lead { margin: 0 0 36px; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
}
.hero-visual { position: relative; overflow: hidden; border-radius: 28px; }
.hero-visual img { transition: transform 0.8s ease; }
.hero-visual:hover img { transform: scale(1.04); }
.play {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 18px;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.caption { margin: 28px 0 0; text-align: center; color: #8a847c; font-size: 16px; }

.logo-band {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee { overflow: hidden; }
.marquee + .marquee { margin-top: 8px; }
.track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee.reverse .track { animation-direction: reverse; }
.logo-band:hover .track { animation-play-state: paused; }
.track img { height: 72px; width: 150px; object-fit: contain; margin: 0 28px; filter: grayscale(1); opacity: 0.85; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.block { position: relative; padding: 88px 0 30px; overflow: hidden; }
.watermark {
  position: absolute;
  right: -18%;
  top: 18px;
  will-change: right;
  font-size: 168px;
  line-height: 0.85;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.wm-1 { color: #d7eff5; }
.wm-2 { color: #f9e7c1; }
.wm-3 { color: #dfefd7; }
.block-head, .case, .opinion, .custom, .news, .cta, .books { position: relative; z-index: 1; }
.block-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 28px; }
.block h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.35; }
.block h2 em { font-style: normal; }
.sub { max-width: 460px; margin: 14px 0 0; color: #8a847c; font-size: 15px; }

.arrows { display: flex; gap: 10px; }
.arrows button, .round {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid #333;
  background: transparent;
  cursor: pointer;
  color: #333;
  transition: background 0.36s, color 0.36s, transform 0.36s;
}
.arrows button:hover, .round:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.viewport { overflow: hidden; }
.slides { display: flex; transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slide { min-width: 100%; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 36px; align-items: center; }
.slide-photo { height: 380px; border-radius: 18px; object-fit: cover; width: 100%; background: #ece8e1; transition: transform 0.7s ease; }
.slide:hover .slide-photo { transform: scale(1.035); }
.slide.enter .slide-copy { animation: copyIn 0.55s ease; }
@keyframes copyIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide-copy img { height: 64px; width: auto; object-fit: contain; margin-bottom: 18px; }
.slide-copy h3 { margin: 0 0 12px; font-size: 26px; font-weight: 500; line-height: 1.45; }
.slide-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 420px; }

.opinion { display: grid; grid-template-columns: 280px 1fr 180px; gap: 48px; align-items: center; padding: 20px 0 10px; }
.opinion img { width: 280px; height: 320px; object-fit: cover; border-radius: 18px; }
.opinion h2 { font-size: 40px; }
.quote { margin: 18px 0; color: #444; font-size: 16px; line-height: 1.9; }
.who strong { display: block; font-size: 18px; }
.who span { color: #888; }
.stat b { display: block; font-size: 72px; font-weight: 500; line-height: 1; }
.stat span { color: #888; }

.custom h2 { font-size: 40px; max-width: 520px; }
.cards { display: flex; gap: 18px; transition: transform 0.45s ease; }
.card {
  min-width: calc((100% - 36px) / 3);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: 28px 24px 32px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s;
}
.card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06); }
.card img { height: 72px; width: 72px; object-fit: contain; }
.card .lab { margin-top: auto; color: #998; font-size: 13px; }
.card strong { display: block; margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.custom-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }

.news { display: grid; grid-template-columns: 0.8fr 1.1fr 280px; gap: 36px; align-items: center; }
.news h2 { font-size: 40px; }
.news-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding 0.35s, color 0.35s; }
.news-list a:hover { padding-left: 10px; color: var(--navy); }
.news-list em { font-style: normal; color: #9a6b2f; font-size: 13px; }
.news-list time { color: #999; font-size: 13px; }
.news img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; }
.more { display: inline-flex; margin-top: 22px; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; }

.cta {
  margin-top: 20px;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #123 center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.cta-inner { padding: 64px; max-width: 560px; background: linear-gradient(90deg, rgba(0, 15, 30, 0.72), rgba(0, 15, 30, 0.05)); }
.cta h2 { color: #fff; font-size: 40px; }
.cta p { color: rgba(255, 255, 255, 0.86); }
.cta .btn-dark { background: #fff; color: var(--navy); }
.cta .btn-dark i { background: var(--navy); color: #fff; }

.books { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 0 80px; }
.book {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.book:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06); }
.book img { width: 92px; height: 64px; object-fit: cover; border-radius: 8px; }
.book b { display: block; font-weight: 500; }
.book span { color: #998; font-size: 13px; }

.site-footer { background: var(--footer); color: #d7d3cc; padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: repeat(5, 1fr) 248px; gap: 24px; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 500; }
.site-footer a { display: block; padding: 4px 0; color: #bdb8b0; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.foot-contact { color: #fff; }
.foot-contact p { margin: 6px 0; color: #bdb8b0; }
.foot-contact a { display: inline; padding: 0; color: #fff; }
.foot-contact .label { display: block; margin-top: 10px; color: #8e8a84; font-size: 12px; }
.qr-row { display: flex; gap: 12px; margin-top: 14px; }
.qr-row figure { margin: 0; }
.qr-row img { width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.qr-row figcaption { margin-top: 6px; color: #bdb8b0; font-size: 12px; text-align: center; }
.legal a { display: inline; padding: 0; color: inherit; font-size: inherit; }
.qr-pop { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 8px 0 18px; }
.qr-pop figure { margin: 0; text-align: center; }
.qr-pop img { width: 180px; height: 180px; object-fit: contain; border: 1px solid #eee; border-radius: 12px; background: #fff; }
.qr-pop figcaption { margin-top: 8px; color: #666; }
.updated { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.updated a { color: inherit; }
.faq p, .article p, .article li, .updated, .legal, .toast, .sub, .quote, .lead, .dropdown a { overflow-wrap: break-word; }
.faq { display: grid; gap: 22px; }
.faq h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.faq p { margin: 0; }
.article { padding: 72px 0 88px; }
.article .lead { max-width: none; }
.article h2 { margin: 36px 0 12px; font-size: 28px; font-weight: 500; }
.article p, .article li { color: var(--muted); line-height: 1.85; }
.article ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #3a3a3a; padding-top: 18px; color: #8e8a84; font-size: 12px; }

.dock {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dock button {
  width: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #444;
  font-size: 12px;
  padding: 8px 0;
}
.dock button:hover { color: var(--navy); }

.mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.45);
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mask.show { opacity: 1; visibility: visible; pointer-events: auto; }
.panel {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  transform: translateY(18px);
  transition: transform 0.35s ease;
}
.mask.show .panel { transform: none; }
.panel h3 { margin: 0 0 8px; font-size: 24px; }
.panel p { margin: 0 0 16px; color: #777; }
.panel label { display: block; margin-bottom: 12px; color: #666; font-size: 13px; }
.panel input, .panel textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e4dfd6;
  background: #faf9f7;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
}
.panel-actions { display: flex; justify-content: flex-end; gap: 10px; }
.ghost { background: transparent; border: 0; cursor: pointer; color: #666; }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.toast {
  display: none;
  margin-top: 12px;
  color: #8a3b2f;
}

@media (max-width: 1100px) {
  .hero-grid, .opinion, .news, .slide { grid-template-columns: 1fr; }
  .opinion img, .hero-visual img { width: 100%; height: 360px; }
  .card { min-width: calc((100% - 18px) / 2); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .watermark { font-size: 96px; }
  h1 { font-size: 40px; }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .nav .dropdown:not(.narrow) {
    position: fixed;
    top: calc(var(--header) + 8px);
    left: 24px;
    right: 24px;
    width: auto;
    min-width: 0;
    max-height: calc(100vh - var(--header) - 24px);
    overflow: auto;
    transform: translateY(8px);
  }
  .nav-item:hover .dropdown:not(.narrow),
  .nav-item:focus-within .dropdown:not(.narrow) {
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .head:has(#menuBtn) .head-actions .btn-pill { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .head { gap: 12px; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #f9f8f5;
    padding: 10px 20px 24px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header));
    overflow: auto;
  }
  .nav .dropdown, .nav-item:hover .dropdown { position: static; transform: none; display: none; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .nav-item.open .dropdown { display: grid; }
  .nav.open .nav-link { min-height: 44px; }
  .anchors { display: none; }
  .books, .foot-grid { grid-template-columns: 1fr; }
  .dock { display: none; }
  .card { min-width: 100%; }
  .hero { padding-top: 36px; }
  .watermark { display: none; }
  .block { padding: 56px 0 8px; }
  .block-head, .custom-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta { min-height: 0; }
  .cta-inner { padding: 32px 24px; }
  .mask { padding: 16px 12px 24px; }
  .panel { padding: 22px 16px; }
}

@media (max-width: 640px) {
  :root { --wrap: min(1180px, calc(100% - 32px)); }
  h1 { font-size: 34px; }
  .opinion h2, .custom h2, .news h2, .cta h2 { font-size: 32px; }
  .stat b { font-size: 56px; }
  .hero-visual img, .opinion img, .news img, .slide-photo { height: auto; aspect-ratio: 16 / 9; }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 4rem, 0);
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.28s; }
.reveal.d4 { transition-delay: 0.4s; }
.cards { transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .play, .track { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}

