:root {
  --navy: #113a6b;
  --navy-deep: #0b2747;
  --green: #7f9d73;
  --gold: #d4a53a;
  --gold-ink: #8f6a14;   /* 白背景の文字用に濃くした金 */
  --red: #be3b46;
  --ink: #1f2a37;
  --muted: #5b6676;
  --line: #e4dfd3;
  --paper: #faf8f3;
  --white: #ffffff;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --star: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.45;
  letter-spacing: 0.04em;
  word-break: auto-phrase;
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 8px 16px;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px 0; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.brand-text strong {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--navy-deep); letter-spacing: 0.08em;
}
.brand-text span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; }

.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.button) {
  font-size: 0.9rem; font-weight: 500; color: var(--navy-deep);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.menu a:not(.button):hover { border-bottom-color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--navy-deep); transition: transform 0.2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 4px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.button::after { content: "→"; transition: transform 0.2s; }
.button:hover::after { transform: translateX(4px); }
.button-sm { min-height: 42px; padding: 0 18px; font-size: 0.85rem; }
.button.primary { background: var(--navy); color: #fff; }
.button.primary:hover { background: var(--navy-deep); }
.button.secondary { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.button.secondary:hover { background: var(--navy-deep); color: #fff; }
.button.light { background: #fff; color: var(--navy-deep); }
.button.light:hover { background: var(--gold); }

/* ---------- Shared ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--serif); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before {
  content: ""; flex: none; width: 14px; height: 14px;
  background: var(--gold); clip-path: var(--star);
}
.section { padding: 112px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head h2 + p { margin-top: 18px; color: var(--muted); }

.c-navy { --c: var(--navy); }
.c-green { --c: var(--green); }
.c-gold { --c: var(--gold); }
.c-red { --c: var(--red); }

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 72px; align-items: end;
}
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.3rem); line-height: 1.55; }
.lead { margin-top: 28px; max-width: 34em; color: #3a4656; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-figure { margin: 0; }
.bars {
  position: relative;
  display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 18px);
  height: 380px; padding-top: 48px;
  border-bottom: 2px solid var(--gold);
}
.bar {
  flex: 1; height: var(--h);
  background: var(--c); color: var(--t);
  clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 22px;
  transform-origin: bottom;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d);
}
.bar span {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.3em;
}
.bar-navy  { --c: var(--navy);  --t: #fff;              --h: 46%;  --d: 0.1s; }
.bar-green { --c: var(--green); --t: var(--navy-deep);  --h: 63%;  --d: 0.22s; }
.bar-gold  { --c: var(--gold);  --t: var(--navy-deep);  --h: 81%;  --d: 0.34s; }
.bar-red   { --c: var(--red);   --t: #fff;              --h: 100%; --d: 0.46s; }
.star {
  position: absolute; top: 0; right: -6px;
  width: 40px; height: 40px;
  background: var(--gold); clip-path: var(--star);
  animation: twinkle 0.8s 1.1s ease-out both;
}
.hero-figure figcaption {
  margin-top: 18px;
  font-family: var(--serif); font-weight: 600; letter-spacing: 0.12em; color: var(--navy-deep);
}
.figure-label {
  display: block; font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-ink);
}
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes twinkle { from { opacity: 0; transform: scale(0.3) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ---------- Philosophy ---------- */
.philosophy-inner { max-width: 760px; text-align: center; }
.philosophy .eyebrow { justify-content: center; }
.philosophy h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.6; letter-spacing: 0.1em; }
.philosophy h2::after {
  content: ""; display: block; width: 48px; height: 2px;
  background: var(--gold); margin: 36px auto;
}
.philosophy p:last-child { text-align: left; color: #3a4656; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--c);
  padding: 40px 32px 44px;
}
.service-no {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 500;
  line-height: 1; color: var(--c); margin-bottom: 24px;
}
.service h3 { font-size: 1.3rem; margin-bottom: 16px; }
.service p { color: #465264; font-size: 0.95rem; }
.service ul {
  list-style: none; margin: 26px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem; font-weight: 500;
}
.service li { position: relative; padding-left: 20px; }
.service li + li { margin-top: 8px; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 7px; background: var(--c);
}

/* ---------- Strengths ---------- */
.strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.strength { padding: 36px 0 40px; border-top: 1px solid var(--line); }
.strength h3 {
  position: relative; padding-left: 26px;
  font-size: 1.25rem; margin-bottom: 14px;
}
.strength h3::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 10px; height: 1.1em; background: var(--c);
  clip-path: polygon(0 4px, 100% 0, 100% 100%, 0 100%);
}
.strength p { padding-left: 26px; color: #465264; font-size: 0.97rem; }

/* ---------- For You (dark) ---------- */
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.problems {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px;
}
.problems li {
  position: relative;
  padding: 24px 0 24px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 500; font-size: 1.02rem;
}
.problems li::before {
  content: ""; position: absolute; left: 0; top: 1.95em;
  width: 16px; height: 16px; background: var(--gold); clip-path: var(--star);
}

/* ---------- Flow ---------- */
.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.flow li {
  position: relative;
  padding: 36px 28px 0 0;
  border-top: 1px solid var(--navy-deep);
}
.flow li::before {
  content: ""; position: absolute; left: 0; top: -6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.flow-no {
  display: block; margin-bottom: 10px;
  font-family: var(--serif); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink);
}
.flow h3 { font-size: 1.25rem; margin-bottom: 10px; }
.flow p { color: #465264; font-size: 0.94rem; }

/* ---------- Message ---------- */
.message-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: center;
}
.message h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.6; letter-spacing: 0.1em; }
.message-grid > p {
  padding-left: 40px; border-left: 2px solid var(--gold);
  color: #3a4656; font-size: 1.02rem;
}

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: 0.4fr 1fr; gap: 48px; }
.company-grid .section-head { margin-bottom: 0; }
.company { margin: 0; border-top: 1px solid var(--navy-deep); }
.company > div {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.company dt { font-weight: 700; font-size: 0.9rem; color: var(--navy-deep); letter-spacing: 0.08em; }
.company dd { margin: 0; }
.company dd.todo { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; text-align: center;
}
.cta::before, .cta::after {
  content: ""; position: absolute; background: var(--gold); clip-path: var(--star);
}
.cta::before { width: 220px; height: 220px; right: -60px; top: -70px; opacity: 0.16; }
.cta::after { width: 90px; height: 90px; left: 6%; bottom: 36px; opacity: 0.14; }
.cta-inner { position: relative; max-width: 760px; }
.cta .eyebrow { justify-content: center; color: var(--gold); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta h2 + p { margin-top: 22px; color: rgba(255, 255, 255, 0.86); }
.cta-actions { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); }
.footer-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 44px 0; font-size: 0.85rem;
}
.footer-name {
  display: block; margin-bottom: 6px;
  font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.1em; color: #fff;
}
.copyright { font-size: 0.78rem; letter-spacing: 0.04em; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .js .nav-toggle { display: flex; }
  .js .menu {
    display: none;
    position: absolute; top: 100%; left: -24px; right: -24px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
  }
  .js .menu.is-open { display: flex; }
  .js .menu a:not(.button) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .js .menu .button { margin-top: 20px; min-height: 50px; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .menu { flex-wrap: wrap; gap: 16px; }

  .hero { padding: 64px 0 72px; }
  .hero-grid, .message-grid, .company-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 440px; }
  .bars { height: 300px; }
  .services { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .message-grid > p { padding-left: 24px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .brand-text span { display: none; }
  .hero-actions .button { width: 100%; }
  .bars { height: 250px; }
  .bar span { font-size: 1rem; letter-spacing: 0.2em; }
  .strengths, .problems { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow li {
    border-top: 0; border-left: 1px solid var(--navy-deep);
    padding: 0 0 40px 28px;
  }
  .flow li:last-child { padding-bottom: 0; }
  .flow li::before { left: -6px; top: 4px; }
  .company > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .star { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button::after { transition: none; }
}