:root {
  --bg: #ffffff;
  --bg-2: #f4f4f5;
  --line: #e2e2e6;
  --text: #121215;
  --muted: #62626b;
  --accent: #d4111b;
  --ink: #121215;
}

/* Black accent bands (ticker, quality) reuse the same tokens */
.dark {
  --bg: #121215;
  --bg-2: #1a1a1f;
  --line: #2b2b31;
  --text: #f2f2f2;
  --muted: #9a9aa3;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--text); font-family: "Barlow", "Noto Sans JP", system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html[lang="ja"] body { font-family: "Noto Sans JP", system-ui, sans-serif; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Display type: condensed italic in English, heavy oblique gothic in Japanese */
.display { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
html[lang="ja"] .display { font-family: "Noto Sans JP", sans-serif; font-weight: 900; text-transform: none; letter-spacing: .02em; line-height: 1.25; }
.en { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand img { height: 22px; width: auto; }
nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
nav a { transition: color .2s; }
nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { font: 700 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; color: var(--muted); background: none; border: 0; padding: 8px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.btn { display: inline-block; background: var(--accent); color: var(--on-accent, #fff); padding: 13px 28px; font-weight: 700; font-size: 14px; letter-spacing: .06em; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .2s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(.88); }
.btn.ghost { background: var(--ink); color: #fff; }
.btn.ghost:hover { background: #33333a; filter: none; }
.btn.sm { padding: 10px 20px; font-size: 13px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 112px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(0,0,0,.03) 46px 48px); }
.hero::after { content: ""; position: absolute; right: -10%; top: -10%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(212,17,27,.08), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(54px, 8.4vw, 116px); }
html[lang="ja"] .hero h1 { font-size: clamp(40px, 6vw, 80px); }
.hero h1 em { font-style: inherit; color: var(--accent); }
.nb { display: inline-block; }
.hero p { margin-top: 28px; max-width: 540px; font-size: 18px; color: var(--muted); }
html[lang="ja"] .hero p { font-size: 16px; }
.hero .actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark { justify-self: end; width: min(100%, 440px); filter: drop-shadow(0 24px 40px rgba(0,0,0,.12)); animation: rise 1s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translate(40px, 20px); } to { opacity: 1; transform: none; } }

/* Ticker */
.ticker { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: italic 800 22px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6b6b74; padding: 18px 0; white-space: nowrap; }
.ticker span b { color: var(--accent); margin: 0 28px; font-weight: 800; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(42px, 5.4vw, 68px); }
html[lang="ja"] .sec-head h2 { font-size: clamp(32px, 4vw, 48px); }
.sec-head p { margin-top: 16px; color: var(--muted); max-width: 560px; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.about-body h3 { font-size: 26px; font-weight: 800; line-height: 1.4; padding-left: 24px; border-left: 3px solid var(--accent); }
html[lang="ja"] .about-body h3 { font-weight: 900; }
.about-body p { margin-top: 24px; color: var(--muted); font-size: 17px; }
html[lang="ja"] .about-body p { font-size: 16px; }

/* Business */
.biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card { border-top: 3px solid var(--ink); padding-top: 24px; }
.biz-card .n { font: italic 800 20px/1 "Barlow Condensed", sans-serif; color: var(--accent); letter-spacing: .1em; }
.biz-card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 8px; line-height: 1.4; }
.biz-card p { font-size: 15px; color: var(--muted); }

/* Products: entrances to the two category pages */
.photo { aspect-ratio: 4/3; background: var(--bg-2); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.entrances { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entrance { display: block; border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: border-color .2s; }
.entrance .photo { aspect-ratio: 16/9; }
.entrance:hover .photo img { transform: scale(1.04); }
.entrance:hover { border-top-color: var(--accent); }
.entrance .body { padding: 28px 32px 32px; }
.entrance h3 { font-size: 40px; }
html[lang="ja"] .entrance h3 { font-size: 30px; }
.entrance p { margin-top: 10px; color: var(--muted); }
.entrance .more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--accent); }

/* Category pages */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 88px; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(0,0,0,.03) 46px 48px); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(56px, 8vw, 104px); }
html[lang="ja"] .page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.page-hero p { margin-top: 24px; max-width: 520px; font-size: 17px; color: var(--muted); }
html[lang="ja"] .page-hero p { font-size: 16px; }
.page-hero .actions { margin-top: 32px; }
.page-hero .hero-mark { width: min(100%, 380px); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumb a { color: var(--accent); font-weight: 700; }
.hero-photo { aspect-ratio: 4/3; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.tile .body { padding: 28px 32px 32px; }
.tile h3 { font-size: 22px; font-weight: 800; }
.tile p { margin-top: 8px; color: var(--muted); }
.tile ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile li { font-size: 13px; background: var(--bg-2); padding: 4px 12px; color: var(--muted); }

.group { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.group + .group { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.group-media h3 { margin-top: 20px; font-size: 24px; font-weight: 900; padding-left: 16px; border-left: 3px solid var(--accent); line-height: 1.3; }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.sub { border-top: 2px solid var(--ink); padding-top: 16px; }
.sub .n { font: italic 800 18px/1 "Barlow Condensed", sans-serif; color: var(--accent); letter-spacing: .08em; }
.sub h4 { margin: 10px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.sub p { font-size: 14px; color: var(--muted); }

.cta-band { text-align: center; background: var(--bg-2); }
.cta-band h2 { font-size: clamp(36px, 4.6vw, 56px); }
html[lang="ja"] .cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin: 16px auto 32px; color: var(--muted); max-width: 520px; }

/* Strengths / standards (dark band) */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.point { background: var(--bg); padding: 36px 28px; }
.point .n { font: italic 800 60px/1 "Barlow Condensed", sans-serif; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.point h3 { font-size: 20px; margin: 18px 0 8px; font-weight: 700; }
.point p { font-size: 15px; color: var(--muted); }
.points.three { grid-template-columns: repeat(3, 1fr); }

/* Company */
.profile { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
dl { display: grid; grid-template-columns: 180px 1fr; border-top: 2px solid var(--ink); }
dt, dd { padding: 18px 0; border-bottom: 1px solid var(--line); }
dt { font-size: 14px; font-weight: 600; color: var(--muted); }
dd small { display: block; color: var(--muted); font-size: 13px; }

/* Contact */
.contact { background: var(--bg-2); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact .sec-head { margin-bottom: 32px; }
.contact-info { grid-template-columns: 110px 1fr; font-size: 15px; }
.contact-info dt, .contact-info dd { padding: 14px 0; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
form .note { font-size: 12px; font-weight: 400; color: var(--muted); }
form .btn { justify-self: start; }
form .btn:disabled { opacity: .6; cursor: wait; }
form .note a { color: var(--accent); text-decoration: underline; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1a7f37; }
.form-status.error { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy policy */
.policy { max-width: 760px; }
.policy .intro { color: var(--muted); }
.policy h2 { font-size: 18px; font-weight: 800; margin: 40px 0 10px; padding-left: 14px; border-left: 3px solid var(--accent); }
.policy p { color: #2c2c33; }
.policy p a { color: var(--accent); text-decoration: underline; }
.policy .date { margin-top: 48px; color: var(--muted); font-size: 14px; }
footer .legal a { text-decoration: underline; }

/* Footer */
footer { padding: 56px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
footer .logo img { height: 72px; width: auto; }
footer .legal { justify-self: end; text-align: right; line-height: 1.8; }

@media (max-width: 900px) {
  nav { display: none; }
  .header-right { margin-left: auto; }
  .hero .wrap, .about .wrap, .profile, .contact .wrap { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .entrances, .tiles, .page-hero .wrap, .points.three, .group { grid-template-columns: 1fr; }
  .group { gap: 28px; }
  .group + .group { margin-top: 48px; padding-top: 48px; }
  .page-hero { padding: 64px 0 72px; }
  .page-hero .hero-mark { position: absolute; right: -40px; top: -30px; width: 260px; opacity: .1; z-index: -1; animation: none; filter: none; }
  .entrance .body, .tile .body { padding: 24px 20px 28px; }
  .about .wrap { gap: 0; }
  .hero-mark { position: absolute; right: -40px; top: -30px; width: 300px; opacity: .1; z-index: -1; animation: none; filter: none; }
  .points { grid-template-columns: 1fr 1fr; }
  .profile, .contact .wrap { gap: 32px; }
  dl { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 100px 1fr; }
  .contact-info dt { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  dt { padding-bottom: 0; border-bottom: 0; }
  section { padding: 72px 0; }
  .hero { padding: 80px 0 88px; }
  footer .wrap { grid-template-columns: 1fr; }
  footer .legal { justify-self: start; text-align: left; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .points, .biz { grid-template-columns: 1fr; }
  .brand img { height: 18px; }
  .btn.sm { padding: 9px 14px; }
  header .wrap { gap: 12px; }
  .header-right { gap: 10px; }
  .cat .body { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-mark { animation: none; }
  html { scroll-behavior: auto; }
}
