/* JFL Yaki Nori: product first, consultation at the reader's pace. */
:root {
  color-scheme: light;
  --ink: #203b30;
  --green: #173b2f;
  --muted: #41564a;
  --paper: #faf9f3;
  --line: #cdd3c6;
  --white: #fffefa;
  --serif: Georgia, 'Noto Serif JP', 'Yu Mincho', serif;
  --sans: Arial, 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button { border: 0; color: inherit; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #9d681f; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.35; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 3.8vw, 54px); }
h2 { font-size: 36px; }
h3 { font-size: 21px; line-height: 1.5; font-weight: 600; }
p, h1, h2, h3, a, button, label, summary, dt, dd { overflow-wrap: anywhere; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
[hidden], img[hidden] { display: none !important; }
.section-shell { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 64px; }
.section-space { padding-block: 72px; }
.eyebrow { font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: .075em; margin-bottom: 20px; }
.muted { color: var(--muted); font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; max-width: 100%; min-height: 52px; padding: 14px 22px; border-radius: 2px; font-size: 16px; line-height: 1.5; font-weight: 600; text-align: center; }
.primary { background: var(--green); color: var(--white); }
.primary:hover { background: #2d5140; }
.secondary { background: transparent; border: 1px solid #6f8272; }
.secondary:hover { background: #edf0e5; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; max-width: 100%; padding-block: 8px; background: transparent; font-size: 16px; line-height: 1.6; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover, .header-inquiry:hover { color: #526340; }

/* Header and first product view. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 48px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; }
.brand-mark { flex-shrink: 0; font: 600 46px/1 Georgia, serif; letter-spacing: -5px; }
.brand-mark > span { color: #96723d; letter-spacing: 0; }
.brand-name { font-size: 16px; line-height: 1.5; letter-spacing: .035em; font-weight: 600; }
.brand-name > span { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.header-tools { display: flex; align-items: center; gap: 28px; }
.header-inquiry { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.language-toggle { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0 8px 8px; background: transparent; font-size: 16px; white-space: nowrap; }
.language-toggle > span:first-child { font-size: 24px; line-height: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 18px; max-width: 52ch; line-height: 1.8; }
.product-facts { margin-top: 24px; border-block: 1px solid var(--line); }
.product-facts > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px; padding-block: 12px; font-size: 16px; line-height: 1.7; }
.product-facts > div + div { border-top: 1px solid var(--line); }
.product-facts dt { font-weight: 600; }
.product-facts dd { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.hero-note { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 16px; }
.photo-frame { position: relative; width: 100%; height: auto; overflow: visible; background: transparent; }
.photo-frame img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; }
.hero-image { max-width: 560px; justify-self: end; }
.image-caption { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Each photo keeps its full aspect ratio. Short uses lead to the form. */
.uses { padding-top: 16px; padding-bottom: 40px; }
#use-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.use-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 24px; border-top: 1px solid var(--line); }
.use-image { max-width: 112px; }
.use-copy { min-width: 0; }
.use-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.use-copy .text-link { margin-top: 8px; }
.use-details { margin-top: 8px; }
.use-details summary { cursor: pointer; min-height: 44px; padding-block: 8px; color: var(--muted); font-size: 16px; }
.use-details p { font-size: 16px; line-height: 1.8; margin-top: 12px; }
.use-question { color: var(--muted); }

/* Context starts as one summary. Each setting remains independent. */
.entry { padding-block: 24px; border-block: 1px solid var(--line); }
.context-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.context-bar > div { min-width: 0; }
.context-bar h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.7; }
.context-bar p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 4px; }
.context-bar .text-link { flex-shrink: 0; }
#context-controls { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-selectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.entry-selectors .field { min-width: 0; margin-bottom: 0; }
.buyer-note { font-size: 16px; line-height: 1.8; margin-block: 24px 12px; max-width: 960px; }
#context-done { margin-top: 20px; }

/* Optional inquiry details and a short reorder route. */
.inquiry { background: #eeeee3; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.inquiry-copy, .form-panel { min-width: 0; }
.inquiry-copy h2 { margin-bottom: 20px; }
.inquiry-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; }
.inquiry-copy > .muted { font-size: 16px; }
.reorder-entry { margin-block: 32px; padding-block: 24px; border-block: 1px solid #bdc7b8; }
.reorder-entry h3 { font-size: 20px; margin-bottom: 12px; }
.reorder-entry p { font-size: 16px; line-height: 1.8; }
.reorder-entry .button { margin-top: 16px; }
.contact-email { margin-bottom: 12px; overflow-wrap: anywhere; }
.form-panel { padding: 36px; background: var(--white); }
.form-intro { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.inquiry-context { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.inquiry-context > div { min-width: 0; }
.inquiry-context h3 { font-size: 17px; margin-bottom: 8px; }
.inquiry-context p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.inquiry-context .text-link { flex-shrink: 0; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field-row > * { min-width: 0; }
.field label, legend { display: block; font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 8px; }
input, select, textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 52px; border: 1px solid #8c9c88; border-radius: 2px; background: #fffefa; color: var(--ink); padding: 13px 14px; font-size: 16px; line-height: 1.5; }
textarea { resize: vertical; }
::placeholder { color: #50624f; font-size: 16px; opacity: 1; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-inline-size: 0; }
legend { padding: 0; }
.use-choices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 52px; padding: 12px; border: 1px solid #a9b4a1; border-radius: 2px; cursor: pointer; font-size: 16px; line-height: 1.6; }
.choice:has(input:checked) { background: #e9eee0; border-color: #586e4d; }
.choice input { width: 20px; height: 20px; min-height: 20px; padding: 0; flex-shrink: 0; accent-color: var(--green); margin: 0; }
.reorder-recheck { font-size: 16px; line-height: 1.8; margin-bottom: 22px; padding-inline-start: 16px; border-inline-start: 3px solid #899779; }
#new-inquiry { margin-top: -8px; margin-bottom: 18px; }
.form-details { border-block: 1px solid var(--line); }
.form-details summary { min-height: 52px; padding-block: 14px; font-size: 16px; line-height: 1.6; font-weight: 600; cursor: pointer; }
.form-details[open] summary { margin-bottom: 12px; }
.form-details > .field:last-child { margin-bottom: 20px; }
.trade-summary { margin-block: 24px; }
.trade-summary-title { font-size: 16px; font-weight: 600; line-height: 1.65; }
.trade-summary-copy, .trade-summary-flow { font-size: 16px; line-height: 1.8; color: var(--muted); margin-top: 8px; }
.unsent-note { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.submit { width: 100%; }
.privacy { font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.clear-panel { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.clear-panel .muted { margin-top: 8px; }
#clear-status { margin-top: 12px; font-size: 16px; }
#clear-status:empty { margin: 0; }
.draft { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 28px; scroll-margin-top: 24px; }
.draft .eyebrow { margin-bottom: 12px; }
.draft h3 { font-size: 24px; margin-bottom: 12px; }
.draft p { font-size: 16px; line-height: 1.8; }
.draft textarea { margin-block: 20px; font-size: 16px; line-height: 1.8; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.draft-actions .button { min-height: 52px; padding: 14px 18px; }
.draft-notice { background: #eeeee3; padding: 18px; margin-bottom: 20px; }
.draft-help { margin-top: 18px; color: var(--muted); }
#copy-status { margin-top: 16px; }

/* Five agreed stages; longer product and business explanations open on demand. */
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 36px; }
.section-heading > p { max-width: 56ch; }
.process ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.process li { border-top: 1px solid var(--line); padding-top: 20px; min-width: 0; }
.step-number { font: italic 20px/1.5 Georgia, serif; color: #6d5631; }
.process h3 { font-size: 20px; margin-block: 12px; }
.process li p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.process-note { font-size: 16px; line-height: 1.8; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.further { padding-bottom: 56px; }
.product-details { border-block: 1px solid var(--line); }
.product-details > summary { cursor: pointer; min-height: 64px; padding-block: 20px; font-size: 19px; font-weight: 600; line-height: 1.6; }
.intro { max-width: 780px; padding-block: 32px; }
.intro h2 { margin-bottom: 20px; }
.intro p + p { margin-top: 20px; }
.selection { padding: 32px; margin-block: 20px 48px; background: #edf0e6; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.spec-item { border-top: 1px solid #b8c3b3; padding-top: 20px; min-width: 0; }
.spec-item > span { font: italic 18px/1.5 Georgia, serif; color: var(--muted); }
.spec-item h3 { font-size: 20px; margin-block: 12px; }
.spec-item p { font-size: 16px; line-height: 1.8; }
.selection-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid #c5cebe; font-size: 16px; color: var(--muted); }
.business { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 48px; }
.business-image { max-width: 336px; justify-self: center; }
.business-copy { min-width: 0; }
.business-copy h2 { margin-bottom: 24px; }
.business-item { border-top: 1px solid var(--line); padding-block: 20px; }
.business-item h3 { font-size: 20px; margin-bottom: 10px; }
.business-item p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.inquiry-photo-detail { max-width: 304px; margin: 0 auto 48px; }
.inquiry-photo-detail p { margin-top: 16px; }
.faq { padding-bottom: 36px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.faq summary { min-height: 48px; padding-block: 10px; padding-inline-end: 20px; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.7; }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.8; padding-block: 12px 8px; }
.related { margin-top: 32px; }
.related h3 { font-size: 18px; }
.related > div { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-block: 10px; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; border-top: 1px solid var(--line); padding-block: 40px; }
.site-footer > .text-link { justify-self: end; align-self: center; }
.site-footer > p { font-size: 16px; color: var(--muted); }
.translation-note { text-align: end; }
.mobile-consult { display: none; }
.skip { position: absolute; top: -120px; inset-inline-start: 20px; z-index: 20; padding: 14px 20px; background: var(--green); color: var(--white); min-height: 48px; font-size: 16px; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
dialog { border: 0; border-radius: 2px; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #15261f33; }
dialog::backdrop { background: #14291ed9; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dialog-head h2 { font-family: var(--sans); font-size: 22px; letter-spacing: 0; }
.close-button { flex-shrink: 0; display: grid; place-items: center; background: transparent; font-size: 30px; width: 48px; height: 48px; line-height: 1; }
#language-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#language-options button { min-width: 0; min-height: 56px; padding: 12px 8px; border: 1px solid #9da996; border-radius: 2px; font-size: 16px; line-height: 1.5; background: transparent; }
#language-options button:hover { background: #e9eee0; }
#language-options button[aria-current=true] { background: var(--green); color: var(--white); border-color: var(--green); }
#load-error { position: fixed; inset-inline: 16px; bottom: 20px; max-width: 760px; margin-inline: auto; padding: 24px; z-index: 50; background: #fff5d7; border: 1px solid #927340; font-size: 16px; }
[dir=rtl] .brand, [dir=rtl] .eyebrow { direction: ltr; }
[dir=rtl] .brand-name { text-align: left; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { font-family: Arial, sans-serif; letter-spacing: 0; }
[dir=rtl] body { line-height: 1.9; }

@media (max-width: 1100px) {
  .section-shell { padding-inline: 40px; }
  .site-header { padding-inline: 32px; }
  .hero { gap: 32px; }
  #use-list { gap: 20px; }
  .use-row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .section-heading, .business, .inquiry-layout { gap: 36px; }
  .form-panel { padding: 28px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { padding-bottom: 100px; }
  .section-shell { padding-inline: 24px; }
  .section-space { padding-block: 48px; }
  .site-header { padding: 18px 24px; gap: 8px 20px; flex-wrap: wrap; }
  .brand-mark { font-size: 40px; letter-spacing: -4px; }
  .brand-name { letter-spacing: 0; }
  .header-inquiry { display: none; }
  .header-tools { margin-inline-start: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; padding-bottom: 24px; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 0; margin-bottom: 12px; }
  .hero h1 { order: 1; font-size: clamp(34px, 8vw, 46px); margin-bottom: 20px; }
  .hero-image { order: 2; justify-self: center; width: 100%; max-width: 380px; margin-bottom: 20px; }
  .hero-lead { order: 3; font-size: 17px; }
  .product-facts { order: 4; margin-top: 20px; }
  .hero-actions { order: 5; margin-top: 20px; }
  .hero-note { order: 6; }
  h2 { font-size: 30px; }
  .eyebrow { letter-spacing: .05em; }
  .image-caption { font-size: 16px; margin-top: 10px; }
  .uses { padding-top: 12px; padding-bottom: 24px; }
  #use-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .use-row { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; padding-block: 20px; }
  .use-copy h3 { font-size: 22px; }
  .entry { padding-block: 20px; }
  .entry-selectors { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .context-bar, .inquiry-context { gap: 12px; }
  .inquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reorder-entry { margin-block: 24px; padding-block: 20px; }
  .form-panel { padding: 28px 24px; }
  .draft h3 { font-size: 22px; }
  .draft-actions { align-items: stretch; }
  .draft-actions .button { flex: 1 1 180px; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
  .process ol { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .process li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 16px; }
  .step-number { grid-row: 1 / 3; }
  .process h3 { margin-block: 0 10px; }
  .process li p { grid-column: 2; }
  .process-note { margin-top: 24px; padding-top: 20px; }
  .further { padding-bottom: 40px; }
  .product-details > summary { font-size: 18px; }
  .selection { padding: 24px; margin-bottom: 36px; }
  .business { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px; }
  .site-footer > .text-link { justify-self: start; }
  .translation-note { text-align: start; }
  .mobile-consult { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; inset-inline: 16px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 56px; padding: 15px 20px; background: var(--green); color: var(--white); border-radius: 2px; box-shadow: 0 4px 20px #14261e26; z-index: 5; font-size: 16px; line-height: 1.5; transition: transform .2s, visibility .2s; }
  .mobile-consult.is-hidden { visibility: hidden; transform: translateY(calc(100% + 40px)); pointer-events: none; }
}
@media (max-width: 480px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr); }
  .site-header .header-tools { justify-self: end; }
  .section-shell, .site-header { padding-inline: 20px; }
  .product-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .text-link { align-self: flex-start; }
  .use-row { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .use-copy h3 { font-size: 20px; }
  .context-bar, .inquiry-context { align-items: start; flex-wrap: wrap; }
  .context-bar > div, .inquiry-context > div { flex: 1 1 200px; }
  .form-panel { padding: 24px 20px; }
  .use-choices { grid-template-columns: minmax(0, 1fr); }
  .spec-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .selection { padding: 20px; }
  dialog { padding: 24px 20px; }
  #language-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .section-shell, .site-header { padding-inline: 16px; }
  .brand-mark { font-size: 38px; }
  .brand { gap: 10px; }
  .form-panel { padding-inline: 16px; }
  .hero h1 { font-size: 32px; }
  .use-row { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .mobile-consult { inset-inline: 12px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Original JFL logo: preserve the supplied 2:1 artwork. */
.site-header .brand-mark--official{display:block;flex:0 0 auto;width:72px;height:36px;padding:0;background:transparent;font-size:0;line-height:0;letter-spacing:0}
.site-header .brand-mark--official img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
@media(max-width:600px){.site-header .brand-mark--official{width:64px;height:32px}}
