:root {
  --bg: #151812;
  --bg-2: #211c14;
  --paper: #f2e6cc;
  --paper-soft: rgba(242, 230, 204, 0.9);
  --ink: #251d13;
  --muted: #705f49;
  --gold: #c8a86b;
  --gold-soft: rgba(200, 168, 107, 0.28);
  --red: #a44736;
  --white: #fff7e8;
  --shadow: rgba(0, 0, 0, 0.36);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(200, 168, 107, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(164, 71, 54, 0.12), transparent 26rem),
    linear-gradient(135deg, var(--bg) 0%, #10130e 52%, var(--bg-2) 100%);
  font-family: ui-serif, "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  line-height: 1.8;
}

html[lang="en"] {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}

html[lang="ja"] {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif TC", "Songti TC", ui-serif, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(242, 230, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 230, 204, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

a { color: inherit; }

.site {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 12, 9, 0.9) 0%, rgba(10, 12, 9, 0.64) 42%, rgba(10, 12, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(21, 24, 18, 1) 0%, rgba(21, 24, 18, 0.1) 34%),
    url("/assets/hero-desktop.png") center top / cover no-repeat;
  filter: saturate(0.94) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24svh;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.lang-nav {
  position: absolute;
  top: 24px;
  right: clamp(20px, 4vw, 36px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.lang-nav a {
  color: rgba(242, 230, 204, 0.55);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.18s ease;
}

.lang-nav a:hover {
  color: var(--gold);
}

.lang-nav a[aria-current="page"] {
  color: var(--gold);
}

.lang-nav span {
  color: rgba(242, 230, 204, 0.22);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero-text {
  max-width: 760px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.motto {
  max-width: 760px;
  margin: 0;
  color: #f7e5b8;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.52);
}

[lang="en"] .motto {
  font-size: clamp(40px, 6.4vw, 84px);
  letter-spacing: 0.01em;
  line-height: 1.12;
}

[lang="ja"] .motto {
  font-size: clamp(38px, 6vw, 84px);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hero-title {
  margin: 28px 0 12px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: 0.08em;
}

[lang="en"] .hero-title {
  letter-spacing: 0.02em;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 247, 232, 0.88);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(200, 168, 107, 0.62);
  border-radius: 999px;
  background: rgba(21, 24, 18, 0.48);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(200, 168, 107, 0.18);
}

.page-body {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.visual-strip {
  margin: -70px 0 48px;
  border: 1px solid rgba(200, 168, 107, 0.4);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px var(--shadow);
  background: #0e100c;
}

.visual-strip img {
  display: block;
  width: 100%;
  height: auto;
}

.content-flow {
  display: grid;
  gap: 56px;
}

.section {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 0 0 56px;
  border-bottom: 1px solid rgba(200, 168, 107, 0.22);
}

.section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section h2 {
  margin: 0;
  color: #f3d89d;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

[lang="en"] .section h2 {
  letter-spacing: 0.02em;
}

.section-note {
  margin: 14px 0 0;
  color: rgba(255, 247, 232, 0.62);
  font-size: 16px;
}

.method-list,
.role-list,
.use-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-list li,
.role-list li,
.use-list li {
  border: 1px solid rgba(200, 168, 107, 0.34);
  background: rgba(242, 230, 204, 0.055);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.method-list li {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
}

.method-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.method-list h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 24px;
}

.method-list p,
.role-list p {
  margin: 0;
  color: rgba(255, 247, 232, 0.72);
}

.role-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 20px;
}

.version {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.role-list h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 22px;
}

.use-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-list li {
  position: relative;
  padding: 18px 20px 18px 42px;
  border-radius: 18px;
  color: rgba(255, 247, 232, 0.82);
}

.use-list li::before {
  content: "◆";
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--red);
  font-size: 13px;
}

.starting-point {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(200, 168, 107, 0.42);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(242, 230, 204, 0.13), rgba(242, 230, 204, 0.045)),
    radial-gradient(circle at 82% 16%, rgba(164, 71, 54, 0.12), transparent 20rem);
  overflow: hidden;
}

.seal-mark {
  position: absolute;
  right: clamp(24px, 5vw, 48px);
  bottom: clamp(20px, 4vw, 36px);
  width: 92px;
  height: 92px;
  color: rgba(190, 58, 42, 0.86);
  transform: rotate(-7deg);
  opacity: 0.9;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.seal-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.seal-mark .seal-line,
.seal-mark .seal-char {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal-mark .seal-line {
  stroke-width: 5.5;
  stroke-dasharray: 18 4 7 5;
}

.seal-mark .seal-inner {
  stroke-width: 2.2;
  opacity: 0.58;
  stroke-dasharray: 9 5;
}

.seal-mark .seal-char {
  stroke-width: 5.4;
}

.seal-mark .seal-char.seal-thick {
  stroke-width: 7.6;
}

.seal-mark .seal-grain {
  fill: currentColor;
  opacity: 0.32;
}

.starting-point h2 {
  margin: 0 0 12px;
  color: #f3d89d;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0.1em;
}

[lang="en"] .starting-point h2 {
  letter-spacing: 0.02em;
}

.starting-point .lead {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.starting-point p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 247, 232, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.9;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  color: rgba(255, 247, 232, 0.5);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(10, 12, 9, 0.96) 0%, rgba(10, 12, 9, 0.72) 40%, rgba(10, 12, 9, 0.22) 100%),
      url("/assets/hero-mobile.png") center top / cover no-repeat;
  }

  .hero-inner,
  .page-body,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .hero-inner {
    padding: 0 0 72px;
  }

  .lang-nav {
    top: 16px;
    right: 18px;
  }

  .motto {
    font-size: clamp(42px, 13vw, 68px);
  }

  [lang="en"] .motto {
    font-size: clamp(34px, 10vw, 56px);
  }

  [lang="ja"] .motto {
    font-size: clamp(32px, 9.5vw, 54px);
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .visual-strip {
    margin-top: -36px;
    border-radius: 20px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .method-list,
  .use-list {
    grid-template-columns: 1fr;
  }

  .role-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .seal-mark {
    width: 68px;
    height: 68px;
    opacity: 0.72;
  }
}
