:root {
  --bg: #15171a;
  --bg-2: #1b1e22;
  --surface: #22262c;
  --surface-2: #2a2f36;
  --line: #363c44;
  --line-soft: #2c3138;
  --text: #e8eaed;
  --text-muted: #9aa1a9;
  --accent: #e07b39;
  --accent-dark: #b45f26;
  --steel: #5b6b7a;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 2px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21,23,26,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #15171a; font-weight: 800; font-size: 20px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.logo-text { line-height: 1.2; }
.logo-text strong { font-size: 18px; color: var(--text); display: block; letter-spacing: .06em; font-weight: 700; }
.logo-text span { font-size: 10px; color: var(--text-muted); letter-spacing: .24em; }

.nav ul { list-style: none; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 8px 16px; font-size: 14px; font-weight: 600;
  transition: .2s; text-align: center; line-height: 1.3;
  color: var(--text-muted); border-bottom: 2px solid transparent;
}
.nav a small { display: block; font-size: 9px; color: var(--accent); letter-spacing: .16em; font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--text); border-bottom-color: var(--accent); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21,23,26,.55), rgba(21,23,26,.92)),
    repeating-linear-gradient(-45deg, #1d2024 0 22px, #191c1f 22px 44px);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #15171a 14px 28px);
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 130px 24px 120px 48px; position: relative; z-index: 1; }
.hero h1 { font-size: 44px; line-height: 1.4; font-weight: 800; letter-spacing: .02em; }
.hero .en { display: block; margin-top: 20px; font-size: 14px; color: var(--text-muted); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.hero-sub { margin-top: 26px; font-size: 16px; max-width: 580px; color: #c7ccd2; }

/* Page header */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(21,23,26,.5), rgba(21,23,26,.9)),
    repeating-linear-gradient(-45deg, #1d2024 0 22px, #191c1f 22px 44px);
  padding: 72px 24px; text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 34px; letter-spacing: .06em; font-weight: 800; }
.page-hero .en { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .32em; color: var(--accent); font-weight: 700; }

/* Breadcrumb */
.breadcrumb { background: var(--bg-2); font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--line-soft); }
.breadcrumb ul { max-width: var(--max); margin: 0 auto; padding: 12px 24px; list-style: none; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--accent); }

/* Section */
section.block { padding: 90px 0; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { text-align: center; margin-bottom: 54px; }
.section-head .en { display: block; font-size: 12px; letter-spacing: .34em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.section-head h2 { font-size: 30px; margin-top: 12px; letter-spacing: .04em; font-weight: 800; position: relative; display: inline-block; padding-bottom: 16px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; background: var(--accent); }
.section-head p { margin-top: 18px; color: var(--text-muted); }

/* Grid / cards */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; transition: .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 32px rgba(0,0,0,.4); }
.card .thumb {
  height: 172px; display: flex; align-items: center; justify-content: center;
  color: var(--text); font-weight: 800; letter-spacing: .18em; font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.card .body { padding: 24px; }
.card .body h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; font-weight: 700; }
.card .body h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; transform: skewX(-12deg); vertical-align: middle; }
.card .body p { font-size: 14px; color: var(--text-muted); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .visual {
  height: 320px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: .18em; border: 1px solid var(--line);
}
.split h3 { font-size: 26px; color: var(--text); margin-bottom: 18px; font-weight: 800; }
.split p { color: var(--text-muted); margin-bottom: 16px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 34px; background: var(--accent); color: #15171a;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; transition: .2s;
  border: 2px solid var(--accent); border-radius: 2px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #15171a; }
.btn.white { background: var(--accent); color: #15171a; border-color: var(--accent); }
.btn.white:hover { background: transparent; color: var(--accent); }

/* Tables */
.table-info { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.table-info th, .table-info td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table-info tr:last-child th, .table-info tr:last-child td { border-bottom: none; }
.table-info th { width: 30%; background: var(--surface); color: var(--accent); font-weight: 700; letter-spacing: .03em; }
.table-info td { color: var(--text); background: var(--bg-2); }

/* CTA band */
.cta-band {
  text-align: center; padding: 74px 24px; position: relative;
  background:
    linear-gradient(rgba(21,23,26,.6), rgba(21,23,26,.85)),
    repeating-linear-gradient(-45deg, #24282c 0 22px, #1e2225 22px 44px);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: 28px; margin-bottom: 14px; font-weight: 800; letter-spacing: .04em; }
.cta-band p { margin-bottom: 28px; color: var(--text-muted); }

/* Form */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; letter-spacing: .02em; }
.form-row label .req { color: var(--accent); font-size: 11px; margin-left: 8px; font-weight: 700; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 15px; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 2px; font-size: 15px; font-family: inherit;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #6b727a; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 13px; color: var(--text-muted); background: var(--surface); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 2px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: #101215; color: var(--text-muted); padding: 60px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-top h4 { color: var(--text); font-size: 14px; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; position: relative; padding-left: 14px; }
.footer-top h4::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 14px; background: var(--accent); }
.footer-top ul { list-style: none; }
.footer-top ul li { margin-bottom: 10px; }
.footer-top a:hover { color: var(--accent); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo .logo-mark { width: 36px; height: 36px; font-size: 17px; }
.footer-logo strong { color: var(--text); font-size: 17px; letter-spacing: .05em; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; text-align: center; font-size: 12px; color: #6b727a; }
.map-embed { height: 340px; border: 1px solid var(--line); width: 100%; border-radius: 2px; }

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 17px; color: var(--text-muted); max-width: 1200px; margin: 0 auto; }

/* Responsive */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 32px; }
  .hero-inner { padding: 90px 24px 80px 40px; }
  .nav {
    position: fixed; top: 76px; right: 0; width: 250px; height: calc(100vh - 76px);
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: .3s; padding: 20px;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { text-align: left; border-bottom: 1px solid var(--line-soft); }
  .menu-toggle { display: flex; }
  .table-info th { width: 40%; }
}

/* Photo blocks (replace placeholder gradients) */
.thumb.photo, .visual.photo {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/factory.jpg");
  background-size: cover;
  background-position: center;
  background-color: #1b1e22;
  color: transparent;
  font-size: 0;
}
.visual.photo2 {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/company.jpg");
  background-size: cover;
  background-position: center;
  background-color: #1b1e22;
  color: transparent;
  font-size: 0;
}
.visual.photo3 {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/factory.jpg");
  background-size: cover;
  background-position: center;
  background-color: #1b1e22;
  color: transparent;
  font-size: 0;
}

/* News list */
.news-list { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 10px; border-bottom: 1px solid var(--line);
  transition: .2s; color: var(--text);
}
.news-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.news-date { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .04em; }
.news-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: #15171a; background: var(--accent); padding: 3px 12px; border-radius: 2px; white-space: nowrap;
}
.news-cat.steel { background: var(--steel); color: #fff; }
.news-title { font-size: 15px; line-height: 1.7; }
@media (max-width: 640px) {
  .news-item { flex-direction: column; gap: 8px; }
}

/* Hero slideshow */
.hero { min-height: 600px; display: flex; align-items: center; }
.hero .hero-inner { position: relative; z-index: 2; padding: 56px 24px 72px 48px; width: 100vw; height: 100vh;}
.hero::before { z-index: 1; }
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out;
  background-image: linear-gradient(rgba(21,23,26,.58), rgba(21,23,26,.82));
  background-size: cover; background-color: #15171a; will-change: opacity;
}
.hero-slide1 {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/factory.jpg");
}
.hero-slide2 {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/factory.jpg");
}
.hero-slide3 {
  background-image: linear-gradient(rgba(21,23,26,.20), rgba(21,23,26,.45)), url("../images/factory.jpg");
}
.hero-slide:nth-child(1) { background-position: center; }
.hero-slide:nth-child(2) { background-position: left center; }
.hero-slide:nth-child(3) { background-position: right center; }
.hero-slide.is-active { opacity: 1; }
.hero-copy-wrap { position: relative; min-height: 224px; }
.hero-copy {
  position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease; pointer-events: none;
}
.hero-copy.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots .dot { width: 34px; height: 4px; padding: 0; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: .2s; }
.hero-dots .dot:hover { background: rgba(255,255,255,.6); }
.hero-dots .dot.is-active { background: var(--accent); }
@media (max-width: 900px) {
  .hero { min-height: 520px; }
  .hero .hero-inner { padding: 44px 24px 64px 40px; }
  .hero-copy-wrap { min-height: 260px; }
}

/* Business page helpers */
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid.cols-4 { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px 22px; transition: .2s; }
.tile:hover { border-color: var(--accent); }
.tile .num { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.tile h3 { font-size: 16px; margin: 8px 0 8px; font-weight: 700; color: var(--text); }
.tile p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.card.plain .body { padding-top: 24px; }
.lead-left { max-width: 100%; margin: 0 auto; color: var(--text-muted); font-size: 16px; }
small { margin-top: 4px;}
/* Hero: cinematic full-screen (photo only) */
.hero.cinematic { min-height: calc(100vh - 76px); padding: 0; overflow: hidden; position: relative; display: block; }
.hero.cinematic::before { display: none; }
.hero.cinematic .hero-slides, .hero.cinematic .hero-inner, .hero.cinematic .hero-dots { display: none; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: url("../images/factory.jpg");
  background-size: cover; background-position: center; background-color: #15171a;
  transform: scale(1.12);
  animation: heroPan 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroPan {
  from { transform: scale(1.12) translate3d(-1.6%, -1%, 0); }
  to   { transform: scale(1.19) translate3d(1.6%, 1.2%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21,23,26,.50) 0%, rgba(21,23,26,.18) 42%, rgba(21,23,26,.74) 100%),
    radial-gradient(125% 95% at 50% 32%, transparent 52%, rgba(21,23,26,.62) 100%);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 1px; height: 58px; overflow: hidden; z-index: 2;
  background: rgba(255,255,255,.16);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -45%; width: 100%; height: 45%;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2.6s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scrollLine { 0% { top: -45%; } 62% { top: 100%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: scale(1.1); }
  .scroll-cue::after { animation: none; opacity: .5; top: 0; height: 60%; }
}

/* Hero: animated brand background (no photo) */
.hero.brandhero {
  min-height: calc(80vh - 76px); position: relative; overflow: hidden; padding: 0;
  display: flex; align-items: center; justify-content: center; background: #14161a;
}
.hero.brandhero::before { display: none; }
.bh-bg { position: absolute; inset: 0; z-index: 0; }
.bh-weave {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.032) 0 1px, transparent 1px 38px);
  background-size: 38px 38px, 38px 38px;
  animation: weaveDrift 22s linear infinite;
}
@keyframes weaveDrift { from { background-position: 0 0, 0 0; } to { background-position: 38px 38px, -38px 38px; } }
.blob { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); }
.b1 { background: radial-gradient(circle, rgba(224,123,57,.50), transparent 70%); top: -14%; left: -8%; animation: floatA 19s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(circle, rgba(91,107,122,.45), transparent 70%); bottom: -18%; right: -10%; animation: floatB 24s ease-in-out infinite alternate; }
@keyframes floatA { from { transform: translate(0,0) scale(1); } to { transform: translate(90px,64px) scale(1.12); } }
@keyframes floatB { from { transform: translate(0,0) scale(1); } to { transform: translate(-76px,-54px) scale(1.1); } }
.bh-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 45%, rgba(18,20,23,.78) 100%);
}
.bh-center { position: relative; z-index: 2; text-align: center; padding: 24px; }
.bh-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 104px; height: 104px; background: var(--accent); color: #14161a;
  font-weight: 800; font-size: 52px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  animation: markPulse 4.5s ease-in-out infinite;
}
@keyframes markPulse {
  0%,100% { box-shadow: 0 0 46px rgba(224,123,57,.26); }
  50%     { box-shadow: 0 0 86px rgba(224,123,57,.52); }
}
.bh-name { margin-top: 30px; font-size: 32px; font-weight: 800; letter-spacing: .16em; color: #fff; }
.bh-en { margin-top: 10px; font-size: 12px; letter-spacing: .44em; color: var(--text-muted); }
.bh-en::after {
  content: ""; display: block; width: 46px; height: 2px; background: var(--accent);
  margin: 18px auto 0; animation: linePulse 4.5s ease-in-out infinite;
}
@keyframes linePulse { 0%,100% { width: 40px; opacity: .7; } 50% { width: 70px; opacity: 1; } }
@media (max-width: 640px) {
  .bh-mark { width: 84px; height: 84px; font-size: 42px; }
  .bh-name { font-size: 24px; letter-spacing: .12em; }
  .bh-en { letter-spacing: .3em; }
  .blob { width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-weave, .blob, .bh-mark, .bh-en::after { animation: none; }
}

/* Logo images (header/footer) */
.logo-img { height: 34px; width: auto; display: block; }
.logo-img.foot { height: 30px; }
.footer-logo { align-items: center; }

/* Brand hero: logo image + bolder animated background */
.bh-logo { height: 92px; width: auto; display: block; margin: 0 auto; filter: drop-shadow(0 8px 26px rgba(0,0,0,.55)); }
@media (max-width: 640px) { .bh-logo { height: 62px; } }

/* Bolder background overrides */
.hero.brandhero .blob { filter: blur(80px); }
.hero.brandhero .b1 { background: radial-gradient(circle, rgba(224,123,57,.62), transparent 68%); width: 620px; height: 620px; }
.hero.brandhero .b2 { background: radial-gradient(circle, rgba(74,120,152,.55), transparent 68%); width: 600px; height: 600px; }
.b3 { position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(224,123,57,.34), transparent 70%);
  top: 34%; left: 52%; animation: floatC 21s ease-in-out infinite alternate; }
@keyframes floatC { from { transform: translate(0,0) scale(1); } to { transform: translate(-64px,48px) scale(1.16); } }
.hero.brandhero .bh-weave {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px);
  background-size: 34px 34px, 34px 34px;
}
.bh-beams {
  position: absolute; inset: -30%;
  background: repeating-linear-gradient(115deg, transparent 0 88px, rgba(255,255,255,.035) 88px 90px, transparent 90px 176px);
  animation: beams 16s linear infinite;
}
@keyframes beams { from { transform: translateX(-140px); } to { transform: translateX(140px); } }
.bh-sheen {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(224,123,57,.14) 50%, transparent 60%);
  background-size: 260% 260%;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } 100% { background-position: 0% 0%; } }
@media (prefers-reduced-motion: reduce) { .bh-beams, .bh-sheen, .b3 { animation: none; } }

/* Hero particle canvas */
#bh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero.brandhero .bh-vignette { z-index: 1; }

/* Logo mark image (icon) + text name */
.logo-mark-img { width: 40px; height: 40px; display: block; }
.logo-mark-img.foot { width: 36px; height: 36px; }
.hero.brandhero .bh-logo { height: 108px; width: auto; }

/* ===== Font variables (single point of control) ===== */
:root {
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en:   "Saira Stencil One", sans-serif;
}
body { font-family: var(--font-body); }
h1, h2, .section-head h2, .page-hero h1, .cta-band h2, .hero h1 { font-family: var(--font-head); }
.section-head .en, .page-hero .en, .nav a small, .logo-text span, .hero .en, .bh-en { font-family: var(--font-en); }

/* Product list (non-card layout) */
.prod-list { max-width: 100%; margin: 0 auto; border-top: 1px solid var(--line); }
.prod-item { display: flex; gap: 26px; align-items: baseline; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: .2s; }
.prod-item:hover { background: var(--surface); }
.prod-item .no { font-family: var(--font-en); color: var(--accent); font-size: 22px; min-width: 44px; }
.prod-item .pt { flex: 0 0 240px; font-size: 18px; font-weight: 700; color: var(--text); }
.prod-item .pd { flex: 1; color: var(--text-muted); font-size: 14px; line-height: 1.75; }
@media (max-width: 720px) {
  .prod-item { flex-wrap: wrap; gap: 6px 18px; padding: 20px 8px; }
  .prod-item .pt { flex: 1 1 auto; }
  .prod-item .pd { flex-basis: 100%; }
}

/* ===== Hero: cinescope (B) — not full screen, letterbox + caption ===== */
.hero.cine { min-height: 80vh; position: relative; overflow: hidden; padding: 0; display: block; background: #14161a; }
.hero.cine::before { display: none; }
.cine-stage { position: absolute; inset: 0; z-index: 0; }
.cine-slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center; background-color: #14161a;
  transition: opacity 2.6s ease-in-out;
  animation: cineKen 22s ease-in-out infinite alternate; will-change: opacity, transform;
}
.cine-slide:nth-child(1) { background-position: center; animation-delay: 0s; }
.cine-slide:nth-child(2) { background-position: 32% center; animation-delay: -7s; }
.cine-slide:nth-child(3) { background-position: 68% center; animation-delay: -14s; }
.cine-slide.is-active { opacity: 1; }
@keyframes cineKen { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.cine-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,22,26,.22), transparent 40%, rgba(20,22,26,.5)); }
/* letterbox bars */
.cine-bar { position: absolute; left: 0; right: 0; height: 46px; background: #0b0c0e; z-index: 3; }
.cine-bar.top { top: 0; } .cine-bar.bottom { bottom: 0; }
/* caption */
.cine-caption { position: absolute; left: 44px; bottom: 66px; z-index: 4; }
.cine-caption .cc-jp { display: block; color: #fff; font-family: var(--font-body); font-size: 22px; font-weight: 700; margin-top: 8px; letter-spacing: .04em; }
.cine-caption .cc-en { display: inline-block; }
/* EN caption styles (swap the class on .cine-caption) */
.en-wide .cc-en { color: var(--accent); font-family: "Inter", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; }
@media (max-width: 640px) {
  .cine-bar { height: 34px; }
  .cine-caption { left: 24px; bottom: 46px; }
  .cine-caption .cc-jp { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cine-slide { animation: none; transform: scale(1.06); } }

/* EN caption style variants (swap class on .cine-caption) */
.en-rule .cc-en { color: var(--accent); font-family: "Inter", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; }
.en-rule .cc-en::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.en-mono .cc-en { color: #fff; font-family: "Space Mono", monospace; font-weight: 700; font-size: 24px; letter-spacing: .14em; }
/* .en-mono .cc-en::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; } */
.en-mono .cc-en::after { content: "_"; color: var(--accent); margin-left: 2px; animation: cineCaret 1s steps(1) infinite; }
@keyframes cineCaret { 50% { opacity: 0; } }
.en-serif .cc-en { color: #f1e9dd; font-family: "EB Garamond", serif; font-style: italic; font-weight: 500; font-size: 23px; letter-spacing: .01em; }
.en-serif .cc-jp { margin-top: 4px; }
.cc-en {margin-left: 5vw;}
/* Thank-you page */
.thanks { padding: 100px 0; }
.thanks-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-mark { width: 82px; height: 82px; margin: 0 auto 30px; background: var(--accent);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); display: flex; align-items: center; justify-content: center; }
.thanks-mark svg { width: 40px; height: 40px; }
.thanks .en { display: block; font-family: var(--font-en); color: var(--accent); letter-spacing: .32em; font-size: 13px; text-transform: uppercase; }
.thanks h1 { font-size: 30px; margin: 14px 0 22px; font-weight: 800; letter-spacing: .03em; }
.thanks .lead { color: var(--text-muted); }
.thanks .sub { color: var(--text-muted); font-size: 14px; margin-top: 18px; }
.thanks-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
