:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --soft: #eeece3;
  --ink: #172322;
  --dark: #111c1a;
  --muted: #4f5d56;
  --line: #d9dcd1;
  --gold: #cfbc94;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  --gutter: clamp(24px, 6.2vw, 96px);
  --shell: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.85 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p, figure, ul, dl, dd, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h1, h2 { font-family: var(--serif); letter-spacing: .06em; line-height: 1.3; }
h2 { font-size: clamp(2rem, 4.25vw, 3.75rem); }
h3 { line-height: 1.45; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #85714f; outline-offset: 5px; }
.hero :focus-visible, .about :focus-visible, .contact :focus-visible { outline-color: #ead8a9; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 20; padding: 8px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 142px); }
.section-label { margin-bottom: 20px; color: #536358; font-weight: 700; font-size: .84rem; letter-spacing: .19em; }
.section-label::before { display: inline-block; width: 22px; height: 1px; margin-right: 11px; vertical-align: middle; background: currentColor; content: ""; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #e1e1d8; }
.header-shell { display: flex; align-items: center; justify-content: space-between; width: min(1420px, calc(100% - var(--gutter) * 1.2)); min-height: 78px; margin-inline: auto; gap: 30px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; grid-auto-flow: column; place-content: center; align-items: center; gap: 2px; width: 42px; height: 42px; color: var(--paper); background: var(--ink); font: 600 24px/1 Georgia, serif; }
.brand-mark span { align-self: end; color: var(--gold); font-size: 21px; }
.brand-name { font-size: 1.26rem; font-weight: 700; letter-spacing: .04em; }
.brand-name small { display: block; margin-top: 6px; font-family: Arial, sans-serif; font-size: .64rem; font-weight: 600; letter-spacing: .19em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 51px); }
.site-nav a { font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.header-contact):hover { text-decoration: underline; text-underline-offset: 6px; }
.header-contact { display: flex; align-items: center; min-height: 45px; padding-inline: 21px; border: 1px solid #a9b1a6; transition: background .2s, color .2s; }
.header-contact:hover { color: var(--paper); background: var(--ink); }
.menu-button { display: none; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(590px, 78svh, 860px); isolation: isolate; overflow: hidden; background: var(--dark); color: #fffdf6; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(12 21 19 / .88) 1%, rgb(12 21 19 / .69) 34%, rgb(12 21 19 / .14) 68%, transparent 88%); content: ""; }
.hero-content { padding-block: 70px 86px; }
.hero-category { margin-bottom: 29px; color: #ece0be; font-size: .85rem; font-weight: 700; letter-spacing: .17em; }
.hero-category::before { display: inline-block; width: 30px; height: 1px; margin-right: 13px; vertical-align: middle; background: currentColor; content: ""; }
.hero h1 { max-width: 780px; font-size: clamp(3rem, 5.9vw, 6.1rem); font-weight: 600; line-height: 1.24; letter-spacing: .075em; }
.hero-description { margin-top: 24px; font-size: clamp(.94rem, 1.4vw, 1.16rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-caption { position: absolute; right: var(--gutter); bottom: 20px; padding: 2px 8px; color: #f5eee0; background: rgb(17 28 26 / .72); font-size: .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 12px 22px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.button-light { background: #eee5d1; color: var(--ink); }
.button-light:hover { background: #fff9ea; }
.button-outline-light { border-color: #b7b4a6; color: #fffbf1; background: rgb(13 24 22 / .26); }
.button-outline-light:hover { border-color: #fff9ea; background: rgb(255 249 234 / .12); }
.button-dark { color: #fffdf5; background: var(--ink); }
.button-dark:hover { background: #384b3e; }
.text-link { display: inline-block; width: fit-content; font-size: .91rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link:hover { text-decoration-thickness: 2px; }

.section-intro { display: grid; grid-template-columns: 1.07fr .93fr; align-items: end; gap: 5vw; margin-bottom: clamp(36px, 5vw, 69px); }
.section-intro > p { max-width: 480px; padding-bottom: 5px; color: var(--muted); }
.product { display: grid; grid-template-columns: .87fr 1.18fr; align-items: stretch; gap: 22px; }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(25px, 4.2vw, 58px); background: #e9ede1; }
.product-label { margin-bottom: 11px; color: #4a5b50; font-size: .83rem; font-weight: 700; letter-spacing: .12em; }
.product-copy h3 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 700; line-height: 1.16; letter-spacing: .08em; }
.product-lead { margin-top: 18px; font-weight: 700; }
.service-list { display: grid; gap: 5px; margin-block: 16px 23px; padding-left: 1.05em; color: #3a4c41; font-size: .93rem; }
.service-list li::marker { color: #6f7d61; }
.comparison { margin: 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; background: #e8e8df; }
.comparison-frame { position: relative; display: block; isolation: isolate; min-width: 0; overflow: hidden; aspect-ratio: 3/2; background: #d3d0c3; }
.comparison-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-after { clip-path: inset(0 0 0 var(--comparison)); }
.comparison-label { position: absolute; top: 13px; padding: 3px 9px; color: white; background: #172322; font-size: .75rem; line-height: 1.7; white-space: nowrap; pointer-events: none; }
.label-before { left: 13px; }
.label-after { right: 13px; }
.comparison-handle { position: absolute; top: 0; bottom: 0; left: var(--comparison); width: 2px; background: #fffcf4; transform: translateX(-50%); pointer-events: none; }
.comparison-handle::before { position: absolute; top: 50%; left: 50%; width: 42px; aspect-ratio: 1; border: 1px solid #f8f5ed; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); content: ""; }
.comparison-handle i { position: absolute; z-index: 1; top: 50%; display: block; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.comparison-handle i:first-child { left: -10px; transform: translateY(-50%) rotate(-135deg); }
.comparison-handle i:last-child { left: 5px; transform: translateY(-50%) rotate(45deg); }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison-frame:focus-within .comparison-handle::before { outline: 3px solid #f3d99c; outline-offset: 3px; }
.comparison figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; padding: 11px 14px; color: #47534b; font-size: .76rem; line-height: 1.55; }
.comparison figcaption span:first-child { color: var(--ink); font-weight: 700; }
.service-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.detail { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line); }
.detail-copy { padding: clamp(22px, 3.5vw, 39px); }
.detail h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
.detail p { max-width: 400px; margin-block: 9px 15px; color: var(--muted); font-size: .95rem; }
.brochure-images { display: flex; justify-content: center; align-items: flex-start; gap: 13px; height: clamp(170px, 24vw, 290px); overflow: hidden; padding: 25px 22px 0; background: #e9e9e1; }
.brochure-images img { width: min(38%, 210px); height: auto; box-shadow: 0 6px 22px #24342224; }
.brochure-images img:first-child { transform: translateY(9px) rotate(-5deg); }
.brochure-images img:last-child { transform: translateY(5px) rotate(4deg); }
.consulting-image { position: relative; min-height: clamp(170px, 24vw, 290px); }
.consulting-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.consulting-image small { position: absolute; right: 10px; bottom: 9px; padding: 2px 7px; color: white; background: #172322d9; font-size: .69rem; }

.about { background: var(--dark); color: #f5f1e7; }
.about .section-label, .contact .section-label { color: #dfcea6; }
.about-intro { display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: clamp(28px, 7vw, 86px); }
.about-intro h2 { color: #fffaf0; }
.about-intro h2 + p { max-width: 620px; margin-top: 23px; color: #d9e0d7; }
.experience { padding: 4px 0 12px clamp(22px, 3.6vw, 44px); border-left: 1px solid #677465; }
.experience strong { display: block; color: #e8d5ad; font: 500 clamp(5.3rem, 9.4vw, 9.5rem)/.9 Georgia, serif; letter-spacing: -.055em; }
.experience strong span { margin-left: 12px; font: 700 1.5rem/1 var(--sans); letter-spacing: .03em; }
.experience p { margin-top: 15px; color: #ecede3; font-weight: 700; }
.owner-record { margin-top: clamp(37px, 6vw, 81px); padding-top: clamp(26px, 4vw, 50px); border-top: 1px solid #415048; }
.record-intro { display: grid; grid-template-columns: .85fr 1fr; align-items: baseline; gap: 22px; margin-bottom: 22px; }
.record-intro h3 { font-size: clamp(1.25rem, 2.4vw, 1.86rem); }
.record-intro p, .record-note, .record-field { color: #d2d9cf; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; padding: 1px; list-style: none; background: #bbbfb133; }
.logo-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(66px, 8vw, 104px); gap: 3px; padding: 12px 13px; background: #f6f5ef; color: #344034; }
.logo-grid img { width: min(100%, 130px); height: 28px; object-fit: contain; }
.logo-grid small { font-size: .63rem; line-height: 1.2; white-space: nowrap; }
.record-note { margin-top: 14px; font-size: .78rem; }
.record-field { margin-top: 14px; font-size: .9rem; }
.record-field strong { margin-right: 8px; color: #ecdbb8; }

.company-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(38px, 7vw, 97px); }
.message, .company { min-width: 0; }
.message h2 { font-size: clamp(1.95rem, 3.35vw, 3.35rem); }
.message > p:not(.section-label) { margin-top: 18px; color: var(--muted); }
.message .signature { margin-top: 26px; color: var(--ink); font-size: .9rem; }
.signature strong { display: inline-block; margin-left: 7px; color: var(--ink); font-family: var(--serif); font-size: 1.27rem; }
.company { align-self: start; padding: clamp(24px, 3.6vw, 47px); background: #eeeee4; }
.company h2, .faq h2 { font-family: var(--sans); font-size: clamp(1.4rem, 2.8vw, 2.1rem); letter-spacing: .08em; }
.company-list { margin-top: 20px; border-top: 1px solid #d2d8cb; }
.company-list > div { display: grid; grid-template-columns: 5.1rem minmax(0, 1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid #d2d8cb; }
.company-list dt { color: #526158; font-size: .83rem; font-weight: 700; }
.company-list dd { font-size: .89rem; line-height: 1.75; }
.faq { display: grid; grid-column: 1 / -1; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 29px; padding-top: 30px; border-top: 1px solid var(--line); }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 13px 28px 13px 0; font-size: .93rem; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 13px; right: 2px; color: #445a4b; content: "+"; font-size: 1.13rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 14px 0; color: var(--muted); font-size: .9rem; }
.faq details .text-link { margin-bottom: 16px; }

.contact { padding-block: clamp(61px, 8vw, 114px); color: #fffaf0; background: #223a31; }
.contact .shell { display: grid; grid-template-columns: 1.1fr .75fr; gap: clamp(24px, 7vw, 80px); align-items: end; }
.contact h2 { max-width: 680px; font-size: clamp(2.1rem, 4.1vw, 3.85rem); }
.contact h2 + p { margin-top: 20px; color: #e2e7d9; }
.contact-options { display: grid; width: min(100%, 380px); gap: 11px; }
.contact-email { width: fit-content; margin-top: 4px; color: #f3e9d1; font: 400 .86rem/1.6 Arial, sans-serif; overflow-wrap: anywhere; text-underline-offset: 4px; }
.site-footer { padding-block: 27px; background: var(--paper); }
.site-footer .shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 21px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { font-size: .78rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer .shell > small { color: var(--muted); font: .73rem/1.5 Arial, sans-serif; }

@media (max-width: 920px) {
  .product { grid-template-columns: .9fr 1.1fr; gap: 14px; }
  .service-details { gap: 14px; margin-top: 14px; }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .company-list > div { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 8px; }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(20px, 5.8vw, 38px); }
  html { scroll-padding-top: 76px; }
  .header-shell { width: calc(100% - var(--gutter) * 2); min-height: 66px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand-mark span { font-size: 18px; }
  .brand-name { font-size: 1.13rem; }
  .menu-button { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 5px 0 5px 9px; border: 0; color: var(--ink); background: none; font-size: .78rem; font-weight: 700; }
  .has-menu .menu-button { display: flex; }
  .menu-icon { position: relative; width: 17px; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-button[aria-expanded="true"] .menu-icon { height: 1px; border-bottom: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon::after { position: absolute; inset: -1px 0 0; height: 1px; background: currentColor; transform: rotate(90deg); content: ""; }
  .site-nav { flex-wrap: wrap; gap: 8px 15px; }
  .has-menu .site-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 13px var(--gutter) 20px; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 16px 24px #15231b19; }
  .has-menu .site-nav.is-open { display: flex; }
  .has-menu .site-nav a { min-height: 46px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
  .has-menu .site-nav .header-contact { justify-content: center; margin-top: 12px; border: 1px solid #adb8aa; }
  .hero { min-height: clamp(535px, 77svh, 700px); align-items: end; }
  .hero-image { object-position: 68% 50%; }
  .hero::after { background: linear-gradient(90deg, #0c1513aa, #0c15130d 92%), linear-gradient(0deg, #0c1513f0 2%, #0c1513b8 45%, #0c151333 90%); }
  .hero-content { padding-block: 61px 63px; }
  .hero-category { margin-bottom: 18px; font-size: .76rem; }
  .hero h1 { font-size: clamp(2.35rem, 8.7vw, 4.1rem); letter-spacing: .04em; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 23px; }
  .hero-caption { bottom: 12px; font-size: .65rem; }
  .section-intro, .product, .about-intro, .record-intro, .company-wrap, .faq, .contact .shell { grid-template-columns: 1fr; gap: 20px; }
  .section-intro > p { max-width: 570px; }
  .service-details { margin-top: 14px; }
  .about-intro h2 + p { margin-top: 15px; }
  .experience { width: fit-content; margin-top: 8px; padding: 12px 0 7px 18px; }
  .experience strong { font-size: clamp(5rem, 16vw, 7rem); }
  .experience p { margin-top: 10px; }
  .owner-record { margin-top: 39px; }
  .record-intro { gap: 7px; margin-bottom: 16px; }
  .company-wrap { gap: 38px; }
  .faq { padding-top: 23px; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 46px; padding: 10px 11px; font-size: .76rem; }
  .comparison-label { top: 8px; font-size: .67rem; }
  .label-before { left: 8px; }
  .label-after { right: 8px; }
  .comparison figcaption { padding: 8px 10px; font-size: .69rem; }
  .service-details { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid li { min-height: 63px; padding-inline: 7px; }
  .logo-grid img { height: 23px; }
  .logo-grid small { font-size: .57rem; }
  .company-list > div { grid-template-columns: 4rem minmax(0, 1fr); }
  .site-footer .shell { flex-direction: column; align-items: flex-start; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
