:root {
  --paper: #f1eee6;
  --paper-deep: #e5dfd2;
  --surface: #fbfaf7;
  --ink: #1d2523;
  --ink-soft: #47504d;
  --stone: #313a37;
  --stone-light: #a8aaa3;
  --line: #c9c3b7;
  --accent: #9e3f2d;
  --accent-dark: #762b1f;
  --focus: #075a9c;
  --white: #fff;
  --max: 1180px;
  --narrow: 760px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), var(--narrow));
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.service-boundary {
  background: var(--ink);
  color: #f7f4ed;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.service-boundary .container {
  padding-block: 7px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(241 238 230 / 96%);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 19px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 3px 3px;
  background: var(--stone);
}

.site-navigation {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.site-navigation a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 11px 20px;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white);
}

.button-small {
  min-height: 42px;
  padding: 8px 15px;
  font-size: 0.87rem;
}

.button-secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d9b7ab;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

h1 {
  font-size: clamp(2.5rem, 6.2vw, 5.5rem);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.25rem;
}

p,
ul,
ol {
  margin-block: 0 1.2em;
}

.home-hero {
  padding-block: clamp(76px, 11vw, 150px);
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.home-hero h1 {
  margin-bottom: 28px;
}

.home-intro {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.microcopy {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.stone-study {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: end center;
  border-bottom: 1px solid var(--ink);
  isolation: isolate;
}

.stone-sun {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: 2%;
  width: 250px;
  height: 250px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.stone-form {
  display: flex;
  width: min(72%, 280px);
  height: 390px;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  border-radius: 48% 48% 2px 2px;
  padding-top: 86px;
  background: var(--stone);
  color: #ede9df;
  font-family: var(--serif);
  font-size: 2rem;
  writing-mode: vertical-rl;
}

.stone-form::after {
  position: absolute;
  bottom: 0;
  width: 86%;
  height: 22px;
  background: var(--stone);
  content: "";
}

.stone-study p {
  position: absolute;
  right: 0;
  bottom: -42px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

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

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  min-height: 280px;
  padding: 42px clamp(22px, 3.4vw, 48px);
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principles article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--accent-dark);
  font-family: var(--serif);
}

.principles h2 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.principles p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.breadcrumbs {
  padding-block: 18px;
  font-size: 0.76rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 7px;
  color: var(--stone-light);
  content: "/";
}

.breadcrumbs span[aria-current="page"] {
  color: var(--ink-soft);
}

.page-hero {
  padding-block: clamp(58px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: clamp(50px, 8vw, 110px);
}

.page-hero h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.page-intro {
  max-width: 820px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.page-facts {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--ink);
}

.page-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-block: 15px;
}

.page-facts dt {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.page-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding-block: clamp(68px, 9vw, 118px);
}

.content-sections {
  padding-block: clamp(40px, 6vw, 90px);
}

.content-section {
  display: grid;
  grid-template-columns: 90px minmax(0, 760px);
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 78px);
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

.section-number {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.section-copy h2 {
  margin-bottom: 22px;
}

.section-copy > p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-block: 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 11px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.notice {
  margin-block: 28px;
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  background: var(--paper-deep);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.notice p:last-child {
  margin: 0;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}

.text-links a,
.text-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-ink h2 {
  max-width: 680px;
  margin-bottom: 46px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 25px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  padding-block: 28px;
}

.process-list li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.process-index {
  color: #d9b7ab;
  font-family: var(--serif);
}

.process-list h3 {
  margin-bottom: 8px;
}

.process-list p {
  max-width: 760px;
  margin: 0;
  color: #d9dfdc;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--accent-dark);
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 45px 24px 0;
  color: var(--ink-soft);
}

.section-cta {
  background: var(--paper-deep);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  border-top: 1px solid var(--ink);
  padding-top: clamp(42px, 6vw, 72px);
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 15px;
}

.cta-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: start;
}

.inquiry-form {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-notice {
  margin-bottom: 34px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.form-notice strong {
  display: block;
  margin-bottom: 6px;
}

.form-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.field-grid label {
  display: grid;
  gap: 8px;
}

.field-grid label > span {
  font-size: 0.87rem;
  font-weight: 700;
}

.field-grid em {
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-style: normal;
}

.field-full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #8e8d87;
  border-radius: 1px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 190px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus);
}

.privacy-check {
  margin-block: 28px 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.privacy-check label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.privacy-check span,
.attachment-note {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.8em;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

.manual-copy {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.manual-copy[hidden] {
  display: none;
}

.manual-copy label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.manual-copy textarea {
  width: 100%;
  margin-bottom: 10px;
  resize: vertical;
  font: inherit;
  line-height: 1.6;
}

.contact-aside {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}

.contact-aside h2 {
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: 1.15rem;
}

.contact-aside hr {
  margin-block: 35px;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-aside li {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.article-card {
  min-height: 340px;
  padding: 30px;
  background: var(--surface);
}

.article-card h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-meta,
.keyword-label {
  color: var(--accent-dark) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.keyword-label {
  margin-top: 30px;
}

.article-header {
  padding-block: clamp(58px, 9vw, 120px);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin-bottom: 30px;
  font-size: clamp(2.15rem, 4.8vw, 4.35rem);
}

.article-lead {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.article-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.8rem;
}

.article-scope span {
  color: var(--accent-dark);
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
  padding-block: clamp(58px, 8vw, 110px);
}

.article-body > section {
  margin-bottom: 55px;
  scroll-margin-top: 110px;
}

.article-body h2 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.article-body h3 {
  margin-top: 34px;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}

.article-body li {
  margin-bottom: 9px;
}

.article-aside {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.article-aside p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.article-sources {
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.article-sources a {
  overflow-wrap: anywhere;
}

.article-sources p {
  font-size: 0.82rem;
}

.related-links {
  margin-top: 55px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.site-footer {
  padding-block: 70px 24px;
  background: var(--ink);
  color: #e8ebe8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(40px, 8vw, 100px);
}

.brand-footer {
  margin-bottom: 22px;
  color: var(--white);
}

.brand-footer:hover {
  color: var(--white);
}

.footer-grid p,
.footer-grid a {
  color: #c5cbc8;
  font-size: 0.84rem;
}

.footer-grid > div:first-child p {
  max-width: 430px;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--white) !important;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
}

.footer-email {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #9ea6a2;
  font-size: 0.73rem;
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.8rem;
  }

  .header-inner > .button {
    justify-self: end;
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation a {
    min-height: 48px;
    border-top: 1px solid var(--line);
    padding: 12px 20px;
  }

  .home-hero-grid,
  .page-hero-grid,
  .form-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .stone-study {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .page-facts {
    max-width: 520px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-aside,
  .article-aside {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.75;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  .service-boundary {
    text-align: left;
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 15px;
    height: 22px;
  }

  .header-inner > .button {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .home-hero {
    padding-block: 58px 80px;
  }

  .home-hero-grid {
    gap: 58px;
  }

  .stone-study {
    min-height: 370px;
  }

  .stone-form {
    height: 310px;
    padding-top: 64px;
  }

  .stone-sun {
    width: 190px;
    height: 190px;
  }

  .page-hero {
    padding-block: 48px 65px;
  }

  .page-hero-grid {
    gap: 35px;
  }

  .page-hero h1,
  .article-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .section-number {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }

  .process-list li {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .inquiry-form {
    padding: 20px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .stone-form,
  .button {
    border: 1px solid ButtonText;
  }
}
