:root {
  --paper: #fbfaf8;
  --surface: #ffffff;
  --soft: #f2f0ec;
  --ink: #39332e;
  --muted: #6b625b;
  --line: #ddd6ce;
  --brown: #6b584d;
  --brown-dark: #4d4038;
  --sage: #5d796f;
  --teal: #2f6f73;
  --blue: #647789;
  --shadow: 0 18px 48px rgba(57, 51, 46, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 248, 0.92);
  border-bottom: 1px solid rgba(221, 214, 206, 0.86);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--brown-dark);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  color: var(--sage);
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.hero {
  min-height: 74svh;
  display: grid;
  align-items: center;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 76px);
  background-image:
    linear-gradient(90deg, rgba(251, 250, 248, 0.98) 0%, rgba(251, 250, 248, 0.91) 48%, rgba(251, 250, 248, 0.5) 100%),
    url("assets/profile.png?v=3");
  background-size: cover, min(36vw, 430px) auto;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audience-pills,
.blog-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.audience-pills span,
.blog-themes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  background: rgba(93, 121, 111, 0.12);
  border: 1px solid rgba(93, 121, 111, 0.22);
  border-radius: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brown-dark);
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  max-width: 12em;
  font-size: clamp(40px, 6vw, 72px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 19px;
}

.hero-lead {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
}

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

.hero-note {
  max-width: 30em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--brown);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  background: var(--brown-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(77, 64, 56, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brown-dark);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
}

.hero-facts div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 214, 206, 0.9);
  border-radius: 8px;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--brown-dark);
  font-size: 18px;
  font-weight: 900;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section,
.intro-band {
  padding: clamp(56px, 7vw, 96px) 0;
}

.intro-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.split-intro p:last-child,
.section-head p,
.blog-preview p,
.media-strip p,
.contact-grid p,
.note {
  color: var(--muted);
  font-weight: 600;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 0;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.visit-section {
  background: #f7f8f5;
  border-bottom: 1px solid var(--line);
}

.visit-steps,
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.visit-steps article,
.case-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visit-steps span,
.case-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.visit-steps p,
.case-grid p:not(.case-label) {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.visit-photo,
.story-photo {
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visit-photo img,
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visit-photo img {
  aspect-ratio: 3 / 4;
  object-position: center 42%;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.story-photo {
  margin: 0;
}

.story-photo img {
  aspect-ratio: 16 / 10;
  object-position: right center;
}

.story-section .note {
  margin: 24px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid.dense .service-card {
  min-height: 236px;
}

.problem-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.proof-grid p {
  margin: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 214, 206, 0.95);
  border-radius: 8px;
}

.problem-grid h3 {
  font-size: 18px;
}

.problem-grid p,
.proof-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}

.service-card,
.article-card,
.contact-box,
.flow-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.service-card.accent {
  background: var(--teal);
  border-color: var(--teal);
}

.service-card.accent h3,
.service-card.accent p {
  color: #fff;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(93, 121, 111, 0.14);
  color: var(--sage);
  font-weight: 900;
}

.soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.two-column,
.blog-preview,
.media-strip,
.contact-grid,
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.consult-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-list li,
.policy-list p {
  position: relative;
  margin: 0;
  padding: 18px 20px 18px 50px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(221, 214, 206, 0.95);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}

.consult-list li::before,
.policy-list p::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--sage);
  font-weight: 900;
}

.portrait-panel {
  width: min(420px, 100%);
  justify-self: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 8px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 20px;
}

.lead-copy {
  margin: 16px 0 0;
  color: var(--teal);
  font-size: 17px;
  font-weight: 900;
}

.profile-tags,
.material-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  background: #eef3f1;
  border: 1px solid rgba(93, 121, 111, 0.24);
  border-radius: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.credential-list p {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}

.credential-list p::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--sage);
  font-weight: 900;
}

.outcomes {
  display: grid;
  gap: 28px;
}

.deep {
  background: #eef3f1;
  border-block: 1px solid rgba(93, 121, 111, 0.22);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 26px;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.flow-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-card {
  display: block;
  padding: 24px;
  text-decoration: none;
}

.article-card time {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.article-card h3 {
  margin-top: 8px;
}

.article-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.muted-card {
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brown-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.media-strip {
  align-items: center;
}

.qr-image {
  width: min(318px, 100%);
  justify-self: center;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-section {
  background: var(--brown-dark);
  color: #fff;
}

.contact-section h2,
.contact-section .section-kicker {
  color: #fff;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 28px;
  color: var(--ink);
}

.contact-box > a:not(.button):not(.text-link) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brown-dark);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  text-decoration: none;
}

.contact-box .text-link {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 4vw, 56px);
  background: #312a25;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: clamp(62px, 9vw, 108px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  max-width: 860px;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(36px, 6vw, 62px);
}

.page-hero p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

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

.article-wrap {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.article-meta {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.article-body {
  margin-top: 28px;
  color: var(--ink);
  font-size: 17px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-weight: 600;
}

.article-body ul {
  padding-left: 1.2em;
}

.back-link {
  display: inline-flex;
  margin-top: 36px;
  color: var(--brown-dark);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 72svh;
    background-image:
      linear-gradient(180deg, rgba(251, 250, 248, 0.98) 0%, rgba(251, 250, 248, 0.9) 70%, rgba(251, 250, 248, 0.7) 100%),
      url("assets/profile.png?v=3");
    background-size: cover, 72vw auto;
    background-position: center, center 90px;
    background-repeat: no-repeat;
  }

  .hero-facts,
  .service-grid,
  .problem-grid,
  .proof-grid,
  .case-grid,
  .flow-list,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-intro,
  .two-column,
  .story-layout,
  .blog-preview,
  .media-strip,
  .contact-grid,
  .approach,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    justify-self: start;
  }

  .story-layout > div {
    order: 1;
  }

  .story-photo {
    order: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px;
  }

  .site-nav {
    gap: 11px;
    font-size: 12px;
  }

  .wrap,
  .article-wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .hero {
    min-height: auto;
    padding: 34px 14px 32px;
  }

  .hero-inner {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  h1 {
    max-width: 100%;
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
    line-break: anywhere;
    word-break: break-all;
  }

  .hero-lead {
    max-width: 21em;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-note {
    max-width: 22em;
    font-size: 13px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    max-width: 340px;
  }

  .hero-facts,
  .service-grid,
  .problem-grid,
  .proof-grid,
  .visit-steps,
  .case-grid,
  .credential-list,
  .flow-list,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero .hero-facts {
    display: none;
  }

  .service-card,
  .article-card,
  .contact-box,
  .flow-list li {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
