/* R&M Creative — rmcreative.jp
   Design tokens follow the Claude Design canvas (style guide v2). */
:root {
  --ink: #1C1B19;
  --ink-2: #3A3732;
  --sub: #5C5852;
  --muted: #6E6962;
  --gold: #9A8363;
  --gold-text: #7A6646;
  --gold-light: #C9B48F;
  --paper: #FFFFFF;
  --cream: #F5F3EF;
  --line: #E2DED6;
  --line-2: #D8D2C7;
  --on-dark: #D9D4CB;
  --serif-en: 'Cormorant Garamond', Georgia, serif;
  --serif-ja: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 10; }
.site-header .container { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; }
.wordmark { font-family: var(--serif-en); font-size: 26px; letter-spacing: .06em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 0; }
.wordmark .amp { color: var(--gold); }
.wordmark .sub { font-size: 13px; letter-spacing: .34em; font-weight: 500; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { font-size: 14px; letter-spacing: .14em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn { display: none; width: 48px; height: 48px; background: transparent; border: 0; padding: 0; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 767px) {
  .site-header .container { min-height: 68px; padding-right: 12px; }
  .wordmark { font-size: 23px; gap: 10px; }
  .wordmark .sub { font-size: 11px; letter-spacing: .32em; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-text); }
}

/* ---------- Common type ---------- */
.label { font-family: var(--serif-en); font-size: 14px; letter-spacing: .32em; color: var(--gold-text); font-weight: 500; }
.label-rule { display: flex; align-items: center; gap: 18px; }
.label-rule::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.h2 { font-family: var(--serif-ja); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .08em; line-height: 1.5; }
.h2-sm { font-family: var(--serif-ja); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: .08em; line-height: 1.5; }
.lead { font-size: 15px; line-height: 2.1; color: var(--sub); }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--cream { background: var(--cream); }
.section--rule { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }
.tlink { font-size: 14px; letter-spacing: .14em; text-decoration: none; display: inline-flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ink); }
.side-link { padding-top: 8px; }
.cta-actions { padding-top: 8px; width: 100%; display: flex; justify-content: center; }
.tlink:hover { border-bottom-color: var(--gold); color: var(--ink); }

/* side heading + body layout */
.split { display: flex; flex-wrap: wrap; gap: 32px 96px; }
.split > .side { flex: 0 1 280px; display: flex; flex-direction: column; gap: 20px; }
.split > .body { flex: 1 1 520px; min-width: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(104px, 14vw, 200px) 0 clamp(96px, 12vw, 180px); }
.hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(40px, 5vw, 56px); }
.hero h1 { width: 100%; max-width: 440px; }
.hero h1 img { width: 100%; }
.hero p { font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; letter-spacing: .08em; color: var(--ink-2); }

/* ---------- Business ---------- */
.biz-top { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 88px; }
.biz-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.biz-intro .lead { max-width: 440px; }
.biz-figure { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.biz-figure > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.product { display: flex; align-items: center; gap: 18px; }
.product img { width: 56px; height: 56px; border-radius: 13px; flex: 0 0 auto; }
.product .name { font-family: var(--serif-ja); font-size: 20px; letter-spacing: .08em; }
.product .meta { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 48px; margin-top: 72px; }
.point { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--ink); min-width: 0; }
.point .num { font-family: var(--serif-en); font-size: 28px; color: var(--gold); line-height: 1; }
.point h3 { font-family: var(--serif-ja); font-weight: 500; font-size: 21px; letter-spacing: .08em; line-height: 1.6; }
.point p { font-size: 14px; line-height: 2.1; color: var(--sub); }

/* ---------- Background ---------- */
.prose p { font-size: 15px; line-height: 2.2; color: var(--ink-2); }
.prose p + p { margin-top: 20px; }

/* ---------- News ---------- */
.news { border-top: 1px solid var(--line); }
.news li { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-family: var(--serif-en); font-size: 16px; letter-spacing: .1em; color: var(--muted); flex: 0 0 120px; }
.news span { font-size: 15px; line-height: 1.8; flex: 1 1 300px; }

/* ---------- Definition table ---------- */
.deflist { border-top: 1px solid var(--ink); }
.deflist > div { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.deflist dt { flex: 0 0 140px; font-size: 13px; letter-spacing: .14em; color: var(--muted); padding-top: 2px; }
.deflist dd { flex: 1 1 280px; font-size: 15px; line-height: 1.9; }

/* ---------- Contact CTA ---------- */
.cta { background: var(--ink); color: #fff; padding: clamp(80px, 9vw, 136px) 0; }
.cta .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta .label { color: var(--gold-light); }
.cta h2 { color: #fff; letter-spacing: .1em; }
.cta p { max-width: 560px; font-size: 15px; line-height: 2.1; color: var(--on-dark); }
.btn-light, .btn-dark { font-family: var(--sans); font-size: 14px; letter-spacing: .16em; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 44px; border: 0; cursor: pointer; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #F0EDE7; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-dark[disabled] { opacity: .6; cursor: default; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; background: var(--paper); }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 64px; }
.site-footer .logo { width: 150px; margin-left: -8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.site-footer nav a { font-size: 13px; letter-spacing: .12em; text-decoration: none; color: var(--sub); padding: 4px 0; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .bottom { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-family: var(--serif-en); font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.site-footer--rule { border-top: 1px solid var(--line); }

/* ---------- Sub pages ---------- */
.page-head { padding: clamp(80px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); }
.page-head .container { display: flex; flex-direction: column; gap: 24px; }
.page-head h1 { font-family: var(--serif-ja); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.6; letter-spacing: .08em; }
.overview { padding-bottom: clamp(88px, 10vw, 144px); }
.overview .container { display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: flex-start; }
.logo-box { flex: 1 1 360px; min-width: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 64px 48px; min-height: 320px; }
.logo-box img { width: 100%; max-width: 340px; }
.overview .deflist { flex: 1 1 520px; min-width: 0; }
.overview .deflist > div { padding: 24px 0; }

/* Contact form */
.contact .container { display: flex; flex-wrap: wrap; gap: 56px 96px; }
.contact-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-intro .lead, .contact-intro .note { max-width: 400px; }
.note { font-size: 13px; line-height: 2; color: var(--muted); }
.form { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.form-row { display: flex; flex-wrap: wrap; gap: 24px; }
.form-row .field { flex: 1 1 220px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 13px; letter-spacing: .14em; }
.req { font-size: 11px; letter-spacing: .1em; color: var(--gold-text); margin-left: 10px; }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 0; padding: 0 16px; min-height: 52px; width: 100%; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { padding: 16px; min-height: 200px; line-height: 1.9; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.8; color: var(--sub); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; line-height: 1.9; min-height: 1.9em; }
.form-status.is-ok { color: #2F5D46; }
.form-status.is-error { color: #9B2C2C; }

/* Privacy */
.policy { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) clamp(96px, 10vw, 144px); }
.policy .intro { font-size: 15px; line-height: 2.1; color: var(--sub); margin-bottom: 48px; }
.policy .articles { border-top: 1px solid var(--ink); }
.policy section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.policy h2 { font-family: var(--serif-ja); font-weight: 500; font-size: 20px; letter-spacing: .08em; line-height: 1.6; margin-bottom: 14px; }
.policy p, .policy li { font-size: 15px; line-height: 2.1; color: var(--sub); }
.policy ul { list-style: disc; padding-left: 1.4em; }
.policy .sign { margin-top: 48px; font-size: 13px; letter-spacing: .08em; color: var(--muted); text-align: right; line-height: 1.9; }

/* 404 */
.notfound { padding: clamp(120px, 14vw, 200px) 0; text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 28px; }

@media (max-width: 767px) {
  .hero h1 { max-width: 280px; }
  .points { margin-top: 48px; }
  .product img { width: 48px; height: 48px; border-radius: 11px; }
  .product .name { font-size: 17px; }
  .news li { flex-direction: column; gap: 6px; }
  .news time { flex: none; }
  .deflist > div { flex-direction: column; gap: 6px; }
  .deflist dt { flex: none; }
  .cta .btn-light { width: 100%; }
  .site-footer nav { flex-direction: column; gap: 4px; }
  .logo-box { padding: 48px 32px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
