:root {
  --paper: #faf6f0;
  --paper-deep: #f1e9de;
  --card: #fffdfa;
  --ink: #22332c;
  --ink-soft: #5b6a62;
  --line: #ddd3c5;
  --sage: #dbe4d6;
  --leaf: #2f5d4a;
  --rose: #b85c48;
  --rose-deep: #96442f;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Cormorant Garamond", "Shippori Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", 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 { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.45; margin: 0; text-wrap: balance; word-break: auto-phrase; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 14px 0; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.brand-mark { font-family: var(--latin); font-style: italic; font-size: 28px; font-weight: 500; letter-spacing: .01em; color: var(--leaf); margin: 0; }
.brand-sub { font-size: 11px; letter-spacing: .18em; color: var(--ink-soft); }
.site-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 14px; }
.site-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--rose); color: var(--rose-deep); }

/* Hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 88% 20%, var(--sage) 0 180px, transparent 181px),
  radial-gradient(circle at 78% 85%, var(--paper-deep) 0 120px, transparent 121px); }
.eyebrow { font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--rose-deep); margin: 0 0 10px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); letter-spacing: .04em; max-width: 14em; }
.hero-lead { max-width: 34em; margin: 22px 0 30px; color: var(--ink-soft); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--leaf); background: var(--leaf); color: #fff; transition: background .2s, color .2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--leaf); }
.btn-ghost:hover { background: var(--leaf); color: #fff; }
.btn-line { background: #06c755; border-color: #06c755; }
.btn-line:hover { background: #049a42; border-color: #049a42; }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: .06em; }
.section-head .en { font-family: var(--latin); font-style: italic; color: var(--rose-deep); font-size: 20px; }
.band { background: var(--paper-deep); border-block: 1px solid var(--line); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(34, 51, 44, .1); }
/* The image is positioned inside a fixed-ratio frame so no photo size can push past the card. */
.card-img { aspect-ratio: 5 / 3; background: #fff; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; flex: none; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tag { align-self: flex-start; font-size: 12px; letter-spacing: .1em; color: var(--leaf); background: var(--sage); padding: 1px 10px; border-radius: 999px; }
.card h3 { font-size: 19px; }
.card-summary { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin: 0; flex: 1; }
.price { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--rose-deep); margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.empty { color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px; font-size: 15px; line-height: 1.75; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--latin); font-style: italic; font-size: 34px; line-height: 1; color: var(--rose); margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }

/* Contact strip */
.contact { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.contact img { width: 150px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.contact h2 { font-size: 26px; margin-bottom: 10px; }

/* Page / product detail */
.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: .05em; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { text-underline-offset: 3px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 21px; margin: 40px 0 14px; padding-left: 14px; border-left: 3px solid var(--rose); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
/* Same fixed-ratio frame on every product page, with the photo centred inside it. */
.product-img { background: #fff; border: 1px solid var(--line); border-radius: 6px; position: sticky; top: 96px; overflow: hidden; aspect-ratio: 1 / 1; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product h1 { font-size: clamp(24px, 3.6vw, 34px); margin: 10px 0 4px; }
.product .name-en { font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--ink-soft); margin: 0 0 18px; }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.spec th, .spec td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-soft); }
.spec td.num { text-align: right; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--rose-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notice { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; font-size: 14px; line-height: 1.8; }
.notice ul { margin: 0; padding-left: 1.3em; }
.fine { font-size: 13px; color: var(--ink-soft); }

.table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 9em; font-weight: 500; color: var(--ink-soft); }

.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 17px; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--latin); font-style: italic; color: var(--rose); font-size: 22px; line-height: 1.3; }
.faq details p { margin: 12px 0 0 28px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #e9e4da; margin-top: 40px; padding-top: 44px; font-size: 14px; }
.site-footer .brand-mark { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 28px; padding-bottom: 32px; }
.footer-note { color: #b9c2bb; margin: 6px 0 0; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.copyright { text-align: center; border-top: 1px solid rgba(255, 255, 255, .14); margin: 0; padding: 16px; font-size: 12px; color: #b9c2bb; }

@media (max-width: 760px) {
  .hero { padding: 48px 0; background: none; }
  .section { padding: 44px 0; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product-img { position: relative; top: auto; aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .table th { width: 6.5em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #b9ae9d; border-radius: 6px; background: #fff; font: inherit; color: var(--ink); }
.form textarea { resize: vertical; }
.req { font-size: 11px; font-weight: 500; color: #fff; background: var(--rose); border-radius: 3px; padding: 1px 6px; margin-left: 4px; }
.hp { position: absolute; left: -9999px; }
.form-error { background: #f6e0d9; color: #7d2f1e; border-radius: 6px; padding: 10px 16px; }
.contact-side { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.contact-side h2 { font-size: 19px; margin: 0 0 8px; }
.contact-side h2:not(:first-child) { margin-top: 26px; }
.contact-side img { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 6px; }
.contact-side p { font-size: 14px; overflow-wrap: anywhere; }

/* Floating chat / contact launcher */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.chat summary { list-style: none; cursor: pointer; background: var(--rose); color: #fff; font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: 0 6px 18px rgba(34, 51, 44, .25); user-select: none; }
.chat summary::-webkit-details-marker { display: none; }
.chat summary:hover { background: var(--rose-deep); }
.chat[open] summary span { display: none; }
.chat[open] summary::after { content: "✕ 閉じる"; }
.chat-panel { width: min(290px, calc(100vw - 36px)); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: 0 12px 32px rgba(34, 51, 44, .2); display: flex; flex-direction: column; gap: 8px; }
.chat-panel .btn { text-align: center; padding: 10px 16px; font-size: 14px; }
.chat-title { font-family: var(--serif); font-weight: 700; font-size: 17px; margin: 0; }
.chat-note { font-size: 13px; color: var(--ink-soft); margin: 0 0 4px; }
.site-footer { padding-bottom: 56px; }

@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; gap: 28px; } }
