:root {
  --ink: #2c1d12;
  --ink-soft: #6f5643;
  --paper: #fffaf2;
  --cream: #f6ead6;
  --accent: #e2572f;
  --accent-2: #f39a3d;
  --lab: #3a4bd6;
  --line: rgba(80, 50, 25, 0.14);
  --radius: 22px;
  --shadow: 0 14px 40px rgba(70, 40, 15, 0.12);
  --font: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Zen Maru Gothic', 'Noto Sans JP', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(255, 250, 242, 0.82); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.04em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.9rem; font-weight: 900; transform: rotate(-6deg); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.nav a:hover { background: var(--cream); }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; border: 0; border-radius: 999px; padding: 0.9em 1.8em; font: inherit; font-weight: 800; font-size: 1.05rem; text-decoration: none; color: #fff; background: linear-gradient(180deg, #f6874f, var(--accent)); box-shadow: 0 5px 0 #b13e1d, var(--shadow); transition: transform 0.12s, box-shadow 0.12s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b13e1d; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #dcc6a4, var(--shadow); }
.btn.big { font-size: 1.25rem; padding: 1em 2.2em; }

/* sections */
section { padding: 84px 0; }
.eyebrow { font-weight: 800; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--accent); text-transform: uppercase; }
h1, h2, h3 { line-height: 1.3; margin: 0.2em 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* lab top */
.lab-hero { padding: 110px 0 90px; background: radial-gradient(circle at 80% 10%, #ffe2c7 0, transparent 45%), radial-gradient(circle at 10% 90%, #dfe4ff 0, transparent 45%); }
.lab-hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: 0.02em; margin: 0.1em 0 0.2em; }
.lab-hero h1 small { display: block; font-size: 0.32em; letter-spacing: 0.3em; color: var(--ink-soft); }
.flask { display: inline-block; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(4deg); } }
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.work { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: transform 0.15s; }
.work:hover { transform: translateY(-4px); }
.work img { aspect-ratio: 16 / 10; object-fit: cover; }
.work .body { padding: 18px 22px 22px; }
.work .tag { display: inline-block; font-size: 0.75rem; font-weight: 800; color: var(--lab); background: #e7eaff; border-radius: 999px; padding: 2px 10px; }
.work h3 { margin: 0.5em 0 0.2em; }
.work p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.work.soon { background: repeating-linear-gradient(45deg, #fff, #fff 12px, #fbf5ea 12px, #fbf5ea 24px); justify-content: center; align-items: center; text-align: center; min-height: 260px; color: var(--ink-soft); }
.work.soon b { font-size: 2.4rem; display: block; }
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.about-grid div { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.about-grid b { display: block; font-size: 1.6rem; }

/* onigiri page */
.og-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #fff3e2, var(--paper)); overflow: hidden; }
.og-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.og-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(226, 87, 47, 0.18); }
.og-hero .shot { border-radius: 26px; box-shadow: 0 24px 60px rgba(70, 40, 15, 0.22); border: 5px solid #fff; transform: rotate(1.5deg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.note { font-size: 0.85rem; color: var(--ink-soft); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(70, 40, 15, 0.06); }
.feature .ic { font-size: 2rem; }
.feature h3 { font-size: 1.1rem; margin: 0.4em 0 0.3em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.steps { display: grid; gap: 26px; margin-top: 36px; }
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: center; }
.step:nth-child(even) .txt { order: 2; }
.step img { border-radius: 18px; box-shadow: var(--shadow); border: 4px solid #fff; }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; }
.titles { background: var(--ink); color: #fff; }
.titles .eyebrow { color: var(--accent-2); }
.titles .lead { color: #d8c8b8; }
.title-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.title-cloud span { padding: 8px 16px; border-radius: 12px; font-weight: 800; background: #ffffff14; border: 1px solid #ffffff22; transform: rotate(var(--r, 0deg)); }
.title-cloud span.god { background: linear-gradient(100deg, #b8860b, #ffe680, #b8860b); color: #3a2800; }
.title-cloud span.hot { background: var(--accent); }
.cert { display: grid; grid-template-columns: 0.8fr 1fr; gap: 40px; align-items: center; }
.cert img { border-radius: 10px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; }
.final { background: radial-gradient(circle at 50% 0, #ffe2c7, var(--paper) 60%); }
.site-foot { border-top: 1px solid var(--line); padding: 34px 0; font-size: 0.85rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; }
.breadcrumb a { text-decoration: none; font-weight: 700; }

@media (max-width: 820px) {
  section { padding: 60px 0; }
  .og-hero .wrap, .step, .cert { grid-template-columns: 1fr; }
  .step:nth-child(even) .txt { order: 0; }
  .og-hero .shot { transform: none; }
  .nav a.hide-sm { display: none; }
}
