:root {
  --paper: #f7f6f2;
  --paper-deep: #ecece4;
  --ink: #1f1f1c;
  --muted: #686860;
  --green: #334f43;
  --line: #c9c9bf;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2rem, 8.5vw, 3.7rem); line-height: 1.38; letter-spacing: .02em; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: min(100% - 32px, 1240px); min-height: 72px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .82rem; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand-mark, .footer-mark { position: relative; display: block; width: 42px; height: 42px; overflow: hidden; flex: 0 0 auto; }
.brand-mark img, .footer-mark img { position: absolute; width: 42px; max-width: none; left: 0; top: 0; filter: contrast(1.25); }
nav { display: flex; align-items: center; gap: 1.1rem; font-size: .7rem; letter-spacing: .08em; }
nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav-contact { border-bottom: 1px solid var(--ink); }

main > section, footer { width: min(100% - 32px, 1240px); margin-inline: auto; }
.section-rule { border-top: 1px solid var(--line); }
.section-no, .eyebrow, .example-label { font-size: .68rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.section-no { margin-bottom: 1.3rem; }
.section-heading { margin-bottom: 3rem; }

.hero { min-height: calc(100svh - 73px); padding: 2.2rem 0 1.5rem; display: flex; flex-direction: column; }
.hero-index { text-align: right; font-size: .58rem; letter-spacing: .16em; color: var(--muted); }
.hero-grid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3.2rem; padding: 3.5rem 0; }
.eyebrow { margin-bottom: 1.8rem; }
h1 { font-size: clamp(2.5rem, 11.3vw, 7.25rem); line-height: 1.35; letter-spacing: -.035em; margin-bottom: 0; }
h1 em { color: var(--green); font-style: normal; }
.hero-side { max-width: 31rem; margin-left: auto; }
.hero-side > p { margin-bottom: 1.5rem; }
.hero-details { margin-bottom: 2.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; line-height: 1.85; }
.hero-details p { margin-bottom: .8rem; }
.hero-details p:last-child { margin-bottom: 0; color: var(--green); }
.hero-details strong { font-weight: 600; }
.duration-term { white-space: nowrap; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem 1rem; background: var(--green); color: #fff; text-decoration: none; border: 1px solid var(--green); border-radius: 2px; font-size: .88rem; }
.button span { font-size: 1.15rem; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .78rem; text-underline-offset: .4em; }
.hero-note { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .64rem; letter-spacing: .08em; }

.problems { padding: 6.5rem 0; }
.problem-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .4rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.problem-list span, .included-list span, .flow-list > li > span { color: var(--green); font: 600 .64rem/1.5 var(--sans); letter-spacing: .1em; }
.problem-list span { padding-top: .28rem; color: var(--muted); font-size: .56rem; font-weight: 400; letter-spacing: .06em; opacity: .62; }

.philosophy { padding: 7.5rem 0; }
.article-copy { max-width: 36rem; margin-left: auto; line-height: 2.12; }
.article-copy p { margin-bottom: 2.7rem; }
.article-copy p:last-child { margin-bottom: 0; }
.lead-copy { font-family: var(--serif); font-size: 1.25rem; line-height: 2.12; }
blockquote { margin: 6rem 0 0; padding: 2.5rem 0 0 1.25rem; border-left: 1px solid var(--green); color: var(--green); font-size: clamp(2rem, 9vw, 4.5rem); line-height: 1.45; }

.service { padding: 6.5rem 0 7.5rem; }
.service-sequence { border-top: 1px solid var(--ink); }
.service-sequence article { padding: 2.2rem 0 3rem; border-bottom: 1px solid var(--line); }
.step-number { margin-bottom: 1.5rem; color: var(--green); font: 600 .7rem/1.5 var(--sans); letter-spacing: .12em; }
.service-sequence h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.service-sequence article p:last-child { max-width: 32rem; margin-bottom: 0; }
.service-tag { display: none; color: var(--muted); font-size: .56rem; line-height: 1.5; letter-spacing: .12em; text-align: right; }

.words { width: 100%; max-width: none; padding: 7rem max(16px, calc((100% - 1240px) / 2)); background: var(--green); color: var(--paper); }
.words .section-no, .words .example-label { color: #cbd5cd; }
.words-title-wrap { max-width: 62rem; }
.words-title-wrap h2 { font-size: clamp(1.7rem, 6.2vw, 3.6rem); line-height: 1.5; }
.case-intro { max-width: 40rem; margin-top: 2.5rem; color: #d9ddd8; }
.case-intro p { margin-bottom: 1rem; }
.words-example { margin-top: 5rem; }
.before { padding-bottom: 4rem; }
.before > p:nth-child(2) { font: 500 1.65rem/1.7 var(--serif); }
.before small { display: block; max-width: 20rem; color: #d9ddd8; }
.after { padding: 3rem 0 0; border-top: 1px solid rgba(255,255,255,.35); }
.after ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.after li { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.after strong { color: #fff; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.case-visual { margin: 6rem 0 0; }
.case-visual img { width: 100%; }
.case-visual figcaption { display: flex; justify-content: space-between; gap: 2rem; margin-top: .8rem; color: #d9ddd8; font-size: .65rem; letter-spacing: .08em; }
.case-visual figcaption span { color: #cbd5cd; letter-spacing: .16em; }
.words-closing { margin: 5rem 0 0 auto; max-width: 38rem; }
.words-closing p { margin-bottom: 2rem; font: 500 1.35rem/2 var(--serif); }
.words-link, .about-link { min-height: 44px; display: inline-flex; align-items: center; gap: 1.2rem; font-size: .78rem; font-weight: 600; text-underline-offset: .4em; }
.words-link { color: var(--paper); }

.included { padding: 7rem 0; }
.included-intro > p:last-child { max-width: 30rem; }
.included-list { margin: 4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.included-list li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.pricing-note { margin: 4rem 0 0 auto; max-width: 40rem; padding: 1.5rem 0 0; border-top: 1px solid var(--green); }
.price-line { margin: .6rem 0 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.price-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.price-meta .example-label { margin: 0; }
.price-amount { display: flex; align-items: baseline; gap: .35rem; margin: 1rem 0 0; color: var(--green); font-family: var(--serif); line-height: 1; letter-spacing: -.025em; }
.price-amount span { font-size: clamp(4rem, 18vw, 6.5rem); font-weight: 500; }
.price-amount small { font: 400 .78rem/1.5 var(--sans); color: var(--muted); letter-spacing: 0; }
.monitor-limit { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; }
.price-note { display: block; margin-top: 1.5rem; color: var(--muted); }

.maintenance { padding: 7.5rem 0; }
.maintenance h2 { color: var(--green); }
.maintenance-copy { max-width: 34rem; margin: 3rem 0 0 auto; }
.maintenance-copy p { margin-bottom: 1.7rem; }
.maintenance-copy code { padding: 0 .15em; color: var(--green); background: transparent; font-family: var(--sans); font-weight: 600; }

.flow { padding: 6.5rem 0; }
.flow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.flow-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.flow-list h3 { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.flow-list p { margin: 0; }
.flow-duration { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--green); }
.flow-duration h3 { margin: 0 0 1rem; color: var(--green); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.flow-duration p { margin: 0 0 .8rem; }
.flow-duration-note { color: var(--muted); font-size: .78rem; line-height: 1.8; }

.about { width: 100%; max-width: none; display: flex; flex-direction: column; background: var(--paper-deep); }
.about-brand { min-height: 50vh; padding: 5rem 16px 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.about-brand > p { margin: 1rem 0 0; letter-spacing: .15em; }
.about-mark { position: relative; width: 190px; height: 190px; overflow: hidden; }
.about-mark img { position: absolute; width: 430px; max-width: none; left: -120px; top: -82px; }
.about-copy { padding: 6.5rem 16px; }
.about-copy > p:not(.section-no) { max-width: 36rem; }
.about-statement { font: 500 1.25rem/2 var(--serif); }
.founder-note { max-width: 36rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.founder-note p { margin-bottom: 1rem; }
.founder-meta { margin-bottom: 2.5rem; }
.founder-meta span { display: inline-block; width: 5rem; color: var(--muted); font-size: .72rem; }
.about-profile p { margin-bottom: 1.6rem; }
.about-link { margin-top: .5rem; color: var(--green); }
.service-area { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--green); font-size: .82rem; font-weight: 600; }

.faq { padding: 6.5rem 0; }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.35rem 2.2rem 1.35rem 1.7rem; list-style: none; cursor: pointer; font-family: var(--serif); line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q"; position: absolute; left: 0; color: var(--green); font: 600 .7rem/2 var(--sans); }
summary::after { content: "+"; position: absolute; right: .25rem; top: 1.25rem; color: var(--green); font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 0 1.7rem 1.7rem; max-width: 45rem; color: var(--muted); }

.contact { width: 100%; max-width: none; padding: 6.75rem max(16px, calc((100% - 1240px) / 2)) 5rem; background: var(--ink); color: var(--paper); }
.contact-inner { width: min(100%, 1240px); margin-inline: auto; }
.contact .section-no { color: #aab6ae; }
.contact h2 { max-width: 58rem; font-size: clamp(2rem, 8vw, 4.5rem); }
.contact-intro > p:not(.section-no) { margin: 2.15rem 0 0; }
.contact-copy { max-width: 42rem; margin-top: 2.15rem; }
.contact-copy p { margin-bottom: 1.3rem; }
.contact .button { width: min(100%, 22rem); min-height: 64px; padding: 1rem 1.35rem; border-color: #71867b; font-size: .98rem; letter-spacing: .035em; }
.contact-form { position: relative; max-width: 48rem; margin: 4.5rem 0 0 auto; }
.form-field { display: grid; gap: .65rem; margin-bottom: 1.7rem; }
.form-field label { font-size: .78rem; letter-spacing: .06em; }
.form-field label span { margin-left: .45rem; color: #aab6ae; font-size: .62rem; }
.form-field input,
.form-field textarea { width: 100%; min-height: 52px; padding: .75rem .85rem; border: 1px solid #71867b; border-radius: 0; background: transparent; color: var(--paper); font: inherit; line-height: 1.6; }
.form-field textarea { min-height: 12rem; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--paper); outline: 1px solid var(--paper); outline-offset: 2px; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.turnstile-wrap { min-height: 65px; margin: 0 0 1.5rem; }
.form-note { max-width: 32rem; margin: 1rem 0 0; color: #aab6ae; font-size: .72rem; }
.form-note-important { padding-left: .9rem; border-left: 1px solid #71867b; color: var(--paper); }
.form-result { min-height: 100svh; background: var(--ink); }
.form-result .contact { min-height: 100svh; display: grid; align-items: center; }
.result-inner { width: min(100%, 52rem); margin-inline: auto; }
.result-inner h1 { margin: 0 0 2rem; color: var(--paper); font-size: clamp(2.5rem, 8vw, 5rem); }
.result-inner > p:not(.section-no) { margin-bottom: 2.5rem; }

footer { padding: 3rem 0; display: flex; flex-direction: column; gap: 2.5rem; }
.footer-brand { gap: .9rem; font-size: 1rem; }
.footer-mark { width: 64px; height: 64px; }
.footer-mark img { width: 64px; }
.footer-meta { color: var(--muted); font-size: .75rem; }
.footer-meta p { margin: .25rem 0; }
.footer-meta a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: .35em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }

.privacy-main { width: min(100% - 32px, 920px); margin-inline: auto; }
.privacy-hero { padding: 7rem 0 5rem; border-bottom: 1px solid var(--line); }
.privacy-hero h1 { margin-bottom: 2rem; font-size: clamp(1.65rem, 6.5vw, 3.6rem); line-height: 1.45; letter-spacing: -.02em; }
.privacy-hero > p:last-child { max-width: 42rem; margin-bottom: 0; }
.privacy-body { max-width: 46rem; margin-left: auto; padding: 5rem 0 8rem; }
.privacy-body section { padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.privacy-body section:last-child { margin-bottom: 0; }
.privacy-body h2 { margin-bottom: 1.2rem; color: var(--green); font: 500 clamp(.9rem, 3vw, 1.05rem)/1.65 var(--serif); letter-spacing: .02em; }
.privacy-body ul { margin: 1.5rem 0; padding-left: 1.4rem; }
.privacy-body li { margin-bottom: .55rem; }
.privacy-body address { margin-top: 1.5rem; font-style: normal; }
.privacy-body address a { display: inline-flex; min-height: 44px; align-items: center; color: var(--green); text-underline-offset: .35em; }
.policy-date { margin: 2rem 0 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 640px) {
  nav a:not(.nav-contact) { display: none; }
  .hero-note span:nth-child(even) { display: none; }
}

@media (min-width: 760px) {
  main > section, footer { width: min(100% - 80px, 1240px); }
  .header-inner { width: min(100% - 80px, 1240px); min-height: 82px; }
  nav { gap: 2rem; }
  .hero { min-height: calc(100svh - 83px); padding-top: 3rem; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; align-items: end; gap: 4rem; padding: 5rem 0 7rem; }
  h1 { font-size: clamp(4.35rem, 5.4vw, 5.2rem); }
  .hero-side { padding-bottom: .8rem; }
  .hero-actions { flex-direction: row; align-items: center; gap: 1.5rem; }
  .button { min-width: 15rem; }
  .hero-note { font-size: .72rem; }
  .problems { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 8vw; padding: 9rem 0; }
  .problem-list { margin-top: 3.5rem; }
  .philosophy { padding: 11rem 0; display: grid; grid-template-columns: .8fr 1fr; gap: 10vw; }
  .philosophy-lead { position: sticky; top: 3rem; align-self: start; }
  .philosophy blockquote { grid-column: 1 / -1; margin: 9rem 0 0 20%; padding-left: 2.5rem; }
  .service { display: grid; grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr); align-items: start; gap: 8vw; padding: 9rem 0 11rem; }
  .wide-heading { margin-left: 0; }
  .service-sequence { width: auto; margin: 3.5rem 0 0; }
  .service-sequence article { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 7.5rem; align-items: start; gap: 1.75rem; padding: 2.6rem 0; }
  .step-number { margin: 0; }
  .service-tag { display: block; padding-top: .35rem; }
  .words { padding-top: 10rem; padding-bottom: 10rem; }
  .words-example { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; align-items: start; }
  .before { padding: 3rem 0 0; }
  .after { padding-top: 3rem; }
  .words-closing { margin-top: 8rem; }
  .included { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 10vw; padding: 10rem 0; }
  .included-list { margin-top: 3.5rem; }
  .pricing-note { grid-column: 2; }
  .maintenance { padding: 12rem 0; }
  .maintenance h2 { max-width: 54rem; }
  .maintenance-copy { margin-top: 6rem; }
  .flow { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; padding: 9rem 0; }
  .flow-list { margin-top: 6rem; }
  .flow-duration { grid-column: 2; }
  .about { display: grid; grid-template-columns: .82fr 1.18fr; }
  .about-brand { min-height: 760px; padding-inline: 4vw; border-right: 1px solid var(--line); border-bottom: 0; }
  .about-copy { padding: 9rem max(40px, calc((100vw - 1240px) / 2)); padding-right: max(40px, calc((100vw - 1240px) / 2)); }
  .about-mark { width: 260px; height: 260px; }
  .about-mark img { width: 580px; left: -160px; top: -109px; }
  .faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; padding: 9rem 0; }
  .faq h2 { font-size: clamp(2.8rem, 4.1vw, 3.7rem); white-space: nowrap; }
  .faq-list { margin-top: 6rem; }
  .contact { padding-top: 9rem; padding-bottom: 7.25rem; }
  .contact-form { margin-top: 5.5rem; }
  footer { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer-mark { width: 72px; height: 72px; }
  .footer-mark img { width: 72px; }
  .footer-meta { text-align: right; }
  .footer-links { justify-content: flex-end; }
  .privacy-main { width: min(100% - 80px, 920px); }
  .privacy-hero { padding-top: 10rem; }
  .privacy-body { padding-top: 7rem; }
}

@media (hover: hover) {
  a:not(.button) { text-decoration-thickness: 1px; }
  .button { transition: background-color .18s ease, color .18s ease; }
  a.button:hover { background: transparent; color: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
