:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --white: #fffdf8;
  --cream: #f1ede1;
  --sage: #e8ecdf;
  --green: #384936;
  --green-dark: #2d3d2c;
  --ink: #2d352c;
  --muted: #505a4d;
  --gold: #a4874c;
  --gold-dark: #725b33;
  --line: #ded8c9;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "MS PMincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.85 var(--sans); overflow-wrap: anywhere; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 5px; }
:where(main[id], section[id]) { scroll-margin-top: 5.7rem; }

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; inset: .7rem auto auto .7rem; z-index: 5; padding: .55rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 7rem, 77rem); margin-inline: auto; }
.section { padding-block: clamp(4.2rem, 7.7vw, 7.25rem); }
.section-title { text-align: center; }
.section-title--left { text-align: left; }
.section-title h2 { font: 600 clamp(1.8rem, 3.1vw, 2.85rem)/1.45 var(--serif); letter-spacing: .065em; color: var(--green-dark); }
.section-title::after { content: ""; display: block; width: 2rem; height: 1px; margin: 1.05rem auto 0; background: var(--gold); }
.section-title--left::after { margin-inline-start: 0; }

.button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1.55rem; border: 1px solid transparent; border-radius: .3rem; background: var(--green); color: #fffdf5; text-decoration: none; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.button[href]:hover { background: #293828; }
.button > svg { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.button--small { min-height: 2.6rem; padding: .55rem 1.05rem; font-size: .875rem; }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.55rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .64rem; flex: 0 0 auto; text-decoration: none; color: var(--green-dark); font: 600 1.17rem/1.24 var(--serif); letter-spacing: .08em; }
.wordmark svg { width: 1.75rem; height: 1.75rem; color: #707653; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.95rem, 2.3vw, 2.4rem); font-size: .875rem; font-weight: 700; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:not(.button):hover, .mobile-menu a:hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: .4em; }
.mobile-menu { display: none; }

.hero { padding-block: clamp(3rem, 5.25vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.16fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-rule { display: flex; align-items: center; gap: .55rem; width: 4.3rem; margin-bottom: 1.45rem; }
.hero-rule::before { content: ""; height: 1px; flex: 1; background: var(--gold); }
.hero-rule span { width: .35rem; height: .35rem; border: 1px solid var(--gold); transform: rotate(45deg); }
.hero-copy { container-type: inline-size; }
.hero h1 { color: var(--green-dark); font: 600 clamp(1.9rem, 11.65cqi, 4.25rem)/1.23 var(--serif); letter-spacing: .055em; }
.hero-lead { margin-top: 1.25rem; color: var(--green-dark); font-size: clamp(.98rem, 1.45vw, 1.16rem); font-weight: 700; }
.hero-description { max-width: 26rem; margin-top: .46rem; color: var(--muted); }
.hero-services { display: flex; flex-wrap: wrap; gap: .3rem 0; margin-top: 1.38rem; list-style: none; color: var(--green); font-size: .875rem; font-weight: 700; }
.hero-services li { padding-inline: .62rem; line-height: 1.45; }
.hero-services li:first-child { padding-inline-start: 0; }
.hero-services li + li { border-left: 1px solid #b3ad97; }
.hero-button { margin-top: 1.65rem; }
.hero-image { position: relative; isolation: isolate; margin: 0 .6rem .6rem 0; }
.hero-image::after { content: ""; position: absolute; z-index: -1; inset: .6rem -.6rem -.6rem .6rem; border: 1px solid #baa778; border-radius: .35rem clamp(3rem, 8.6vw, 8.5rem) .35rem .35rem; }
.hero-image img { width: 100%; aspect-ratio: 1.36; height: auto; object-fit: cover; background: var(--cream); border-radius: .35rem clamp(3rem, 8.6vw, 8.5rem) .35rem .35rem; }

.achievements { background: var(--cream); border-block: 1px solid #e7e0d2; padding-block: clamp(2.65rem, 4.7vw, 4.25rem); }
.achievements .section-title h2 { font-size: clamp(1.75rem, 2.7vw, 2.4rem); }
.achievement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.85rem; }
.achievement { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.25rem .65rem 1.5rem; border: 1px solid #dfd5bf; border-radius: .35rem; background: var(--white); }
.award { display: block; width: 3.5rem; height: 2.3rem; margin-bottom: .65rem; color: var(--gold); }
.achievement h3 { font-size: .95rem; line-height: 1.55; color: var(--green-dark); }
.achievement p { margin-top: .55rem; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.achievement strong { color: var(--gold-dark); font: 600 1.25rem/1.15 var(--serif); white-space: nowrap; }
.achievement strong span { font: 500 2.55rem/1.05 Georgia, serif; }
.achievement .achievement-note { margin-top: .5rem; }
.note { margin-top: 1.15rem; color: var(--muted); font-size: .875rem; line-height: 1.65; text-align: center; }

.concerns { background: var(--white); }
.concerns-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; max-width: 65rem; }
.concerns .section-title { display: flex; flex-direction: column; }
.concerns .section-title::after { order: 1; }
.concerns .section-title p { order: 2; margin-top: 1.3rem; color: var(--muted); text-wrap: pretty; }
.concerns-list, .features-list, .service-list { list-style: none; }
.concerns-list li { display: flex; gap: .8rem; padding: .68rem 0; border-bottom: 1px solid var(--line); }
.concerns-list li:first-child { border-top: 1px solid var(--line); }
.concerns-list li::before { content: ""; width: .52rem; height: .75rem; margin-top: .45rem; border: solid #647558; border-width: 0 1.5px 1.5px 0; flex: 0 0 auto; transform: rotate(40deg); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.35rem; margin-top: 2.7rem; }
.service { border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.service-header { min-height: 12.6rem; display: flex; flex-direction: column; justify-content: end; gap: .42rem; padding: 1.1rem 1.45rem 1.3rem; border-bottom: 1px solid var(--line); border-radius: .4rem .4rem 0 0; background: #e6eadc; }
.service:nth-child(2) .service-header { background: #eee6d5; }
.service:nth-child(3) .service-header { background: #edede2; }
.service-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: auto; color: #525f47; }
.service-label span { font: 600 .88rem/1.3 Georgia, serif; letter-spacing: .15em; }
.service-label svg { width: 2.3rem; height: 2.3rem; }
.service-header h3 { color: var(--green-dark); font: 600 clamp(1.27rem, 1.95vw, 1.7rem)/1.45 var(--serif); letter-spacing: .025em; }
.service-header p { font-size: .93rem; font-weight: 700; }
.service-body { padding: 1.4rem 1.45rem 1.55rem; }
.service-body > p + p { margin-top: .8rem; }
.service-body h4 { margin: 1.35rem 0 .55rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--green-dark); }
.service-list { display: grid; gap: .24rem; font-size: .94rem; }
.service-list li { display: flex; gap: .56rem; }
.service-list li::before { content: ""; flex: 0 0 .24rem; height: .24rem; margin-top: .74rem; border-radius: 50%; background: var(--gold); }
.service-options { margin-top: 1.2rem; border: 1px solid #d9c9a8; border-radius: .28rem; background: #f7f0e1; }
.service-options summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 2.8rem; padding: .5rem .75rem; color: #59472a; font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none; }
.service-options summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.service-options summary::after { content: ""; flex: 0 0 .43rem; height: .43rem; margin: -.16rem .16rem 0 .2rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.service-options[open] summary::after { margin-top: .16rem; transform: rotate(225deg); }
.service-options[open] summary { border-bottom: 1px solid #e3d8bf; }
.service-options .service-list { padding: .62rem .75rem .8rem; }
.service-body .service-note { margin-top: 1.18rem; color: var(--muted); }

.features { padding-block: clamp(3.3rem, 5.45vw, 5.3rem); background: var(--sage); border-block: 1px solid #dce1d2; }
.features-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 3rem; max-width: 65rem; }
.features-list { display: grid; gap: .7rem; }
.features-list li { display: flex; gap: .8rem; align-items: baseline; }
.features-list li::before { content: ""; flex: 0 0 .32rem; height: .32rem; align-self: start; margin-top: .77rem; border: 1px solid #748368; transform: rotate(45deg); }

.profile { background: var(--white); }
.profile-inner { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(2rem, 7.5vw, 7.5rem); align-items: center; max-width: 62rem; }
.profile-image { position: relative; isolation: isolate; margin: 0 .58rem .58rem 0; }
.profile-image::after { content: ""; position: absolute; z-index: -1; inset: .58rem -.58rem -.58rem .58rem; border: 1px solid #baa778; border-radius: 4rem .35rem .35rem .35rem; }
.profile-image img { width: 100%; height: auto; aspect-ratio: .96; object-fit: cover; object-position: 50% 57%; background: var(--cream); border-radius: 4rem .35rem .35rem .35rem; }
.profile-copy h3 { margin-top: 1.5rem; color: var(--green-dark); font: 600 clamp(1.7rem, 2.8vw, 2.25rem)/1.45 var(--serif); letter-spacing: .07em; }
.profile-copy p { margin-top: .75rem; }
.profile-copy .profile-role { margin: .45rem 0 1.4rem; color: var(--green); font-weight: 700; }

.flow { border-top: 1px solid var(--line); }
.flow-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 2.35rem; list-style: none; }
.flow-list::before { content: ""; position: absolute; top: 1.14rem; inset-inline: 10%; height: 1px; background: #c4b38b; }
.flow-list li { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; font-weight: 700; padding-inline: .5rem; }
.flow-list span { z-index: 1; display: inline-grid; place-items: center; min-height: 2.3rem; min-width: 5.4rem; padding: .15rem .65rem; background: var(--paper); border: 1px solid #c4b38b; border-radius: 5rem; color: var(--gold-dark); font: 600 .86rem/1.3 Georgia, serif; letter-spacing: .1em; }
.flow .note { margin-top: 1.75rem; }

.contact { background: var(--green-dark); color: #fffdf5; padding-block: clamp(4rem, 7vw, 6.5rem); }
.contact-inner { text-align: center; }
.contact .section-title { margin-bottom: 1.45rem; }
.contact .section-title h2 { color: #fffdf5; text-wrap: balance; }
.contact .section-title::after { background: #c9b37c; }
.contact-break { display: none; }
.contact-inner > p + p { margin-top: .3rem; }
.contact-inner .contact-instruction { margin-top: 1.1rem; }
.contact-actions { margin-top: 1.3rem; }
.contact-button { min-width: min(100%, 13.5rem); background: #f1ecd9; color: #30402f; }
.contact-button[href]:hover { background: #fffcf0; }
.contact-button[aria-disabled="true"] { border-color: #aeb4a5; background: transparent; color: #e0e5d9; cursor: default; }
.contact :focus-visible { outline-color: #f1dcaa; }
.contact-status { margin-top: .5rem; font-size: .875rem; color: #e0e5d9; }
.contact-qr { margin: 1.25rem auto 0; font-size: .875rem; }
.contact-qr img { width: 9rem; height: 9rem; margin: 0 auto .45rem; padding: .4rem; border-radius: .3rem; object-fit: contain; background: white; }
.footer-inner small { font-size: .82rem; color: var(--muted); }

.future-section { border-bottom: 1px solid var(--line); }
.future-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.future-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--white); }
.future-card img { width: 100%; height: 14rem; margin-bottom: .9rem; object-fit: contain; background: var(--cream); }
.future-card video { display: block; width: 100%; margin-top: .7rem; }
.future-card h3 { font: 600 1.25rem/1.5 var(--serif); }
.future-card p { margin-top: .5rem; white-space: pre-line; }
.future-card a { display: inline-block; margin-top: .65rem; color: var(--green); text-underline-offset: .2em; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].arrived { animation: reveal .56s ease-out both; }
  @keyframes reveal { from { opacity: .57; transform: translateY(.7rem); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 66rem) {
  .shell { width: calc(100% - 4rem); }
  .service-grid { gap: .9rem; }
  .service-header, .service-body { padding-inline: 1rem; }
  .service-header { min-height: 12.9rem; }
}

@media (max-width: 55rem) {
  .hero-inner { gap: 1.75rem; }
  .hero-services { font-size: .875rem; }
  .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: minmax(0, 1fr); width: min(100%, 39rem); margin-inline: auto; gap: 1.15rem; }
  .service-header { min-height: auto; padding: 1rem 1.35rem 1.18rem; }
  .service-body { padding-inline: 1.35rem; }
  .future-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 49rem) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: .42rem; min-height: 2.75rem; padding: .3rem .15rem .3rem .3rem; list-style: none; cursor: pointer; color: var(--green); font-size: .875rem; font-weight: 700; }
  .menu-bars { display: block; width: .86rem; height: .64rem; border-block: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
  .mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; padding: .35rem max(1.2rem, (100vw - 38rem) / 2) .65rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 18px #38493615; }
  .mobile-menu nav a { min-height: 2.85rem; padding: .55rem .3rem; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
  .mobile-menu nav a:last-child { border-bottom: 0; }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2.5rem); }
  .section { padding-block: 3.65rem; }
  :where(main[id], section[id]) { scroll-margin-top: 4.5rem; }
  .header-inner { min-height: 3.7rem; }
  .wordmark { font-size: 1.06rem; }
  .wordmark svg { width: 1.5rem; height: 1.5rem; }
  .hero { padding-block: 2.4rem 2.75rem; }
  .hero-inner, .concerns-inner, .features-inner, .profile-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 1.85rem; }
  .hero h1 { font-size: clamp(2.05rem, 10vw, 3.7rem); }
  .hero-rule { margin-bottom: 1.1rem; }
  .hero-lead { margin-top: 1.05rem; }
  .hero-services { margin-top: 1.15rem; }
  .hero-button { margin-top: 1.28rem; }
  .hero-image { margin: 0 .38rem .38rem 0; }
  .hero-image::after { inset: .38rem -.38rem -.38rem .38rem; }
  .hero-image img { aspect-ratio: 1.6; object-position: 50% 56%; }
  .achievements { padding-block: 2.5rem; }
  .achievement-grid { gap: .6rem; margin-top: 1.45rem; }
  .achievement { padding: .95rem .43rem 1rem; }
  .award { width: 2.9rem; height: 1.9rem; }
  .achievement h3 { font-size: .89rem; }
  .achievement strong span { font-size: 2.12rem; }
  .concerns-inner, .features-inner { gap: 1.5rem; }
  .concerns .section-title br { display: none; }
  .service-grid { margin-top: 1.7rem; }
  .profile-inner { gap: 1.85rem; }
  .profile-image { width: min(87%, 25rem); margin-inline: auto; }
  .profile-image img { aspect-ratio: 1.25; }
  .flow-list { width: min(100%, 25rem); display: flex; flex-direction: column; gap: .8rem; margin: 1.6rem auto 0; }
  .flow-list::before { inset: 1rem auto 1rem 2.7rem; width: 1px; height: auto; }
  .flow-list li { min-height: 2.55rem; display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 1rem; text-align: left; padding: 0; }
  .flow-list li br { display: none; }
  .contact-break { display: initial; }
  .contact .section-title h2 { font-size: clamp(1.6rem, 5.7vw, 2.3rem); }
  .future-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 24.5rem) {
  .shell { width: calc(100% - 2rem); }
  .hero-services li { padding-inline: .4rem; }
  .achievement h3, .achievement p { font-size: .82rem; }
  .section-title h2 { letter-spacing: .025em; }
}
