:root {
  --ink: #17211f;
  --muted: #66736f;
  --line: #dce4df;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --deep: #163832;
  --deep-2: #0f2925;
  --accent: #b7823e;
  --accent-soft: #fff3df;
  --green-soft: #e8f0eb;
  --shadow: 0 18px 50px rgba(18, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  min-height: 100vh;
}

.service-notes {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 32px;
  color: #f5faf7;
  background:
    linear-gradient(180deg, rgba(22, 56, 50, 0.95), rgba(15, 41, 37, 0.98)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80")
      center/cover;
}

.notes-header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notes-header h1,
.hero h2,
.section h2 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

.notes-header h1 {
  color: #ffffff;
  font-size: 28px;
}

.notes-header p:last-child {
  margin: 14px 0 0;
  color: rgba(245, 250, 247, 0.78);
  font-size: 14px;
}

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.service-index a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.note-card {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.note-card.featured {
  border-color: rgba(183, 130, 62, 0.7);
  background: rgba(183, 130, 62, 0.14);
}

.note-card span,
.service-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.note-card h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.45;
}

.note-card p {
  margin: 0;
  color: rgba(245, 250, 247, 0.8);
  font-size: 13px;
}

.main-content {
  min-width: 0;
  background: var(--paper);
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 44px;
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
}

.global-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.contact-link {
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 76px);
  padding: 64px 56px 48px;
}

.hero-copy h2 {
  max-width: 780px;
  font-size: clamp(34px, 4.8vw, 68px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: var(--deep);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.metric-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 280px;
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
  background: rgba(15, 41, 37, 0.9);
  backdrop-filter: blur(10px);
}

.metric-panel p,
.metric-panel span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.metric-panel strong {
  display: block;
  margin: 3px 0;
  font-size: 20px;
  line-height: 1.45;
}

.section {
  padding: 72px 56px;
}

.intro-section,
.cfo-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.intro-section h2,
.cfo-band h2,
.section-heading h2,
.contact-section h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.intro-section > p,
.cfo-band > p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading {
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
}

.service-card.accent {
  border-color: rgba(183, 130, 62, 0.42);
  background: var(--accent-soft);
}

.service-card h3 {
  margin: 5px 0 12px;
  font-size: 24px;
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card li {
  color: var(--deep);
  font-weight: 700;
}

.cfo-band {
  color: #ffffff;
  background: var(--deep);
}

.cfo-band .eyebrow {
  color: #e4bd84;
}

.cfo-band > p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-section {
  background: var(--green-soft);
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #ffffff;
}

.profile-list dt {
  color: var(--muted);
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
  font-weight: 700;
}

.contact-section {
  min-height: 430px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(15, 41, 37, 0.92), rgba(15, 41, 37, 0.72)),
    url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1600&q=80")
      center/cover;
}

.contact-section h2 {
  max-width: 780px;
}

.contact-section p {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-section .button {
  margin-top: 28px;
  background: var(--accent);
}

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .service-notes {
    position: relative;
    height: auto;
  }

  .hero,
  .intro-section,
  .cfo-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .service-notes,
  .global-header,
  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .global-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .global-header nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .services-grid,
  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
