:root {
  --bg: #efe4d3;
  --paper: rgba(252, 248, 241, 0.94);
  --ink: #1e1713;
  --muted: #5c5046;
  --line: rgba(70, 45, 27, 0.12);
  --accent: #8d1c1c;
  --accent-soft: rgba(141, 28, 28, 0.08);
  --shadow: 0 24px 72px rgba(48, 26, 12, 0.12);
  --max: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 131, 69, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(141, 28, 28, 0.08), transparent 24%),
    linear-gradient(180deg, #e7d8c3 0%, var(--bg) 38%, #eadfce 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell {
  width: min(calc(100% - 24px), var(--max));
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.topbar, section, footer { padding-left: 32px; padding-right: 32px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.82);
  backdrop-filter: blur(18px);
}
.brand {
  display: grid;
  gap: 8px;
}
.brand-mark {
  font-family: "Noto Serif SC", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.08em;
}
.brand-sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
  max-width: 820px;
}
.nav a {
  color: var(--muted);
  font-size: 0.86rem;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a.active {
  color: var(--ink);
  border-color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 28px;
}
.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(141, 28, 28, 0.16);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 9px 15px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.title {
  margin: 22px 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
}
.lead,
.section-copy,
.card p,
.text-block p,
.case-box p,
.quote-panel p,
.hero-panel p,
.box p,
.timeline p,
.note,
footer {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
}
.section-copy p,
.lead {
  max-width: 920px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.button,
.contact-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.metric {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}
.metric strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.4rem;
  line-height: 1.2;
}
.metric span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}
.anchor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.anchor-strip a {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 0.88rem;
}
.anchor-strip a:hover {
  color: var(--ink);
  border-color: rgba(70, 45, 27, 0.22);
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.mini-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.hero-panel,
.quote-panel {
  border-radius: 28px;
  padding: 28px;
  color: #f7eee6;
  background: linear-gradient(145deg, rgba(24, 16, 13, 0.98), rgba(72, 30, 22, 0.95));
  position: relative;
  overflow: hidden;
}
.hero-panel::after,
.quote-panel::after {
  content: "";
  position: absolute;
  right: -72px;
  top: 72px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 136, 90, 0.86) 0%, rgba(212, 136, 90, 0.08) 62%, transparent 78%);
}
.hero-panel > *,
.quote-panel > * {
  position: relative;
  z-index: 1;
}
.hero-panel h2,
.quote-panel h2 {
  margin: 18px 0 16px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.25;
}
.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
}
.kicker,
.tag {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.38;
  letter-spacing: 0.01em;
}
.grid-4,
.grid-3,
.grid-2,
.partner-layout {
  display: grid;
  gap: 18px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2,
.partner-layout { grid-template-columns: repeat(2, 1fr); }
.card,
.text-block,
.case-box,
.box,
.wide {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}
.text-block,
.case-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.42));
}
.card h3,
.text-block h3,
.case-box h3,
.box h3,
.wide h3 {
  margin: 12px 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.45rem;
  line-height: 1.52;
}
.card,
.text-block,
.case-box,
.box,
.wide {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover,
.text-block:hover,
.case-box:hover,
.box:hover,
.wide:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(48, 26, 12, 0.08);
  border-color: rgba(70, 45, 27, 0.18);
}
.list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}
.case-box .list,
.card .list {
  max-width: 100%;
}
.list li + li { margin-top: 6px; }
.media-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}
.media-frame img { width: 100%; }
.partner-showcase {
  display: grid;
  gap: 12px;
}
.partner-showcase .media-frame {
  background: rgba(255, 255, 255, 0.62);
}
.partner-showcase .media-frame img {
  width: 100%;
  height: auto;
}
.partner-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.culture-board {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 208, 194, 0.8), transparent 20%),
    radial-gradient(circle at 22% 78%, rgba(255, 166, 122, 0.66), transparent 22%),
    radial-gradient(circle at 40% 96%, rgba(255, 131, 166, 0.48), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(250, 245, 239, 0.92));
}
.culture-intro,
.culture-copy {
  padding: 10px;
}
.culture-intro h3,
.culture-copy h3 {
  margin: 8px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.28;
}
.culture-intro p,
.culture-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}
.culture-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.culture-advantage {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.culture-advantage h4 {
  margin: 8px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  line-height: 1.45;
}
.culture-advantage p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.82;
}
.timeline {
  display: grid;
  gap: 14px;
}
.timeline article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
}
.timeline-no {
  font-family: "Noto Serif SC", serif;
  font-size: 2.8rem;
  line-height: 0.9;
  color: #b56c4e;
}
.contact-line {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #f8eee6;
  margin-top: 14px;
}
.form-shell {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-shell label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.form-shell input,
.form-shell select,
.form-shell textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
}
.form-shell textarea {
  min-height: 160px;
  resize: vertical;
}
.button {
  min-height: 54px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f8eee6;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  cursor: pointer;
}
.status {
  min-height: 24px;
  color: var(--accent);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .hero,
  .section-head,
  .grid-4,
  .grid-3,
  .grid-2,
  .partner-layout,
  .form-grid,
  .metric-strip,
  .culture-board,
  .culture-advantages {
    grid-template-columns: 1fr;
  }
  .topbar {
    position: static;
    flex-direction: column;
  }
  .nav { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 12px), var(--max));
    margin: 6px auto;
    border-radius: 22px;
  }
  .topbar, section, footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .title {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
    line-height: 1.18;
  }
  .lead,
  .section-copy,
  .card p,
  .text-block p,
  .case-box p,
  .quote-panel p,
  .hero-panel p,
  .box p,
  .timeline p,
  .note,
  footer {
    font-size: 0.96rem;
    line-height: 1.82;
  }
  .partner-cloud { min-height: 520px; }
  .timeline article { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
