/* Generated utility classes replacing former inline style attributes. */
.u-inline-01 { padding:10px 20px;font-size:13.5px; }
.u-inline-02 { margin-top:8px; }
.u-inline-03 { border-bottom: none; }
.u-inline-04 { font-size:12px; color:var(--ink-soft); font-weight:400; }
.u-inline-05 { color:#fff;border-color:rgba(255,255,255,0.6); }
.u-inline-06 { display:inline-flex; text-decoration:none; }
.u-inline-07 { border-bottom:none; }
.u-inline-08 { background:var(--price-low); }
.u-inline-09 { background:var(--price-high); }
.u-inline-10 { background:var(--line); }
.u-inline-11 { padding:10px 20px;font-size:13.5px; width:auto; }
.u-inline-12 { width:auto; display:inline-flex; }
.u-inline-13 { background:var(--primary); }
.u-inline-14 { background:var(--accent); }
.u-inline-15 { background:var(--herb-brown); }
.u-inline-16 { background:#6A4A40; }

/* =========================================================
   2026-09 SUBPAGE HERO UNIFICATION
   Index hero visual language: deep black/red glow + yellow accent
   ========================================================= */

/* Generic subpage hero */
.page-hero {
  position: relative !important;
  min-height: 430px !important;
  padding: 112px 0 104px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: radial-gradient(120% 100% at 48% -8%, #251013 0%, #140b0d 38%, #0d0d0f 76%, #0b0b0d 100%) !important;
  color: #fff !important;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 520px;
  left: 50%;
  top: -250px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 18, .38) 0%, rgba(230, 0, 18, .12) 42%, rgba(230, 0, 18, 0) 72%);
  filter: blur(64px);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  right: max(-110px, calc((100vw - 1200px) / 2 - 150px));
  bottom: -245px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012);
  pointer-events: none;
}

.page-hero-media {
  display: none !important;
}

.page-hero-overlay {
  display: none !important;
}

.page-hero > .container {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.page-hero .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 0 22px !important;
  padding: 7px 15px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.075) !important;
  color: #ffd60a !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.page-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ffd60a;
  box-shadow: 0 0 10px rgba(255,214,10,.72);
}

.page-hero h1 {
  max-width: 820px !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: clamp(42px, 5vw, 62px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  font-weight: 850 !important;
  word-break: keep-all !important;
}

.page-hero p {
  max-width: 760px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  letter-spacing: -.018em !important;
  word-break: keep-all !important;
}

/* Product detail hero: keep product image, use same index visual system */
.product-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  padding: 76px 0 94px !important;
  background: radial-gradient(120% 100% at 48% -8%, #251013 0%, #140b0d 38%, #0d0d0f 76%, #0b0b0d 100%) !important;
  color: #fff !important;
}

.product-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 520px;
  left: 50%;
  top: -280px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,18,.36) 0%, rgba(230,0,18,.11) 43%, rgba(230,0,18,0) 72%);
  filter: blur(64px);
  pointer-events: none;
}

.product-hero .ph-grid {
  position: relative !important;
  z-index: 2 !important;
  align-items: center !important;
  gap: clamp(44px, 6vw, 82px) !important;
}

.product-hero .ph-img {
  position: relative !important;
  padding: clamp(20px, 3vw, 34px) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 34px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.product-hero .ph-img::before {
  content: "";
  position: absolute;
  inset: 12% 15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,18,.19), rgba(230,0,18,0) 68%);
  filter: blur(28px);
}

.product-hero .ph-img img {
  position: relative !important;
  z-index: 1 !important;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.2)) !important;
}

.product-hero .ph-line-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.075) !important;
  color: #ffd60a !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

.product-hero .ph-info h1,
.product-hero .ph-title {
  color: #fff !important;
}

.product-hero .ph-info h1 {
  margin-top: 18px !important;
  font-size: clamp(40px, 4.6vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}

.product-hero .ph-sub {
  color: rgba(255,255,255,.76) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.product-hero .ph-spec-list {
  margin-top: 28px !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

.product-hero .ph-spec-row {
  border-color: rgba(255,255,255,.1) !important;
}

.product-hero .ph-spec-row dt {
  color: rgba(255,255,255,.5) !important;
}

.product-hero .ph-spec-row dd {
  color: rgba(255,255,255,.9) !important;
}

.product-hero .ph-spec-row .price-em {
  color: #ffd60a !important;
}

/* Product breadcrumb should visually connect header and hero */
.breadcrumb {
  background: #101012 !important;
  border-color: rgba(255,255,255,.08) !important;
}
.breadcrumb,
.breadcrumb a,
.breadcrumb span {
  color: rgba(255,255,255,.58) !important;
}
.breadcrumb a:hover { color: #ffd60a !important; }

@media (max-width: 820px) {
  .page-hero {
    min-height: 360px !important;
    padding: 92px 0 78px !important;
  }
  .page-hero::before {
    width: 520px;
    height: 420px;
    top: -230px;
  }
  .page-hero::after { display: none; }
  .page-hero h1 {
    font-size: clamp(36px, 10vw, 48px) !important;
  }
  .page-hero p {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }
  .product-hero {
    padding: 48px 0 72px !important;
  }
  .product-hero .ph-grid {
    gap: 34px !important;
  }
  .product-hero .ph-img {
    max-width: 430px !important;
    margin: 0 auto !important;
    border-radius: 28px !important;
  }
}

@media (max-width: 520px) {
  .page-hero {
    min-height: 330px !important;
    padding: 78px 0 66px !important;
  }
  .page-hero .eyebrow { margin-bottom: 18px !important; }
  .page-hero h1 { margin-bottom: 18px !important; }
  .product-hero .ph-info h1 {
    font-size: 38px !important;
  }
}

/* =========================================================
   2026-09 HERO CENTERING + HISTORY SECTION REFINEMENT
   User feedback: generic subpage hero should feel centered,
   and company-history colors should be more harmonious.
   ========================================================= */

/* 1) Generic subpage hero: make the content block truly centered */
.page-hero > .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 860px !important;
}

.page-hero .eyebrow {
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-hero h1,
.page-hero p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.page-hero::after {
  opacity: .42;
}

@media (max-width: 820px) {
  .page-hero > .container {
    max-width: 720px !important;
  }
}

@media (max-width: 520px) {
  .page-hero > .container {
    max-width: 100% !important;
  }
}

/* 2) History section redesign */
#company-history {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(215,25,32,.08), rgba(215,25,32,0) 38%),
    linear-gradient(180deg, #fff8f2 0%, #fff3e8 52%, #fffaf7 100%);
}

#company-history::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.36), rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,.32));
  pointer-events: none;
}

#company-history .container {
  position: relative;
  z-index: 1;
}

#company-history .section-head {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

#company-history .section-head .eyebrow {
  color: #b3242a;
  font-weight: 800;
  letter-spacing: .14em;
}

#company-history .section-head h2 {
  color: #1f1d22;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

#company-history .section-head p {
  max-width: 700px;
  margin: 18px auto 0;
  color: #5c5053;
  font-size: 17px;
  line-height: 1.8;
}

#company-history .history-hscroll-wrap {
  gap: 18px;
}

#company-history .history-hscroll {
  position: relative;
  gap: 22px;
  padding: 10px 18px 24px;
}

#company-history .history-hscroll::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(215,25,32,.12), rgba(247,200,75,.4), rgba(215,25,32,.12));
  pointer-events: none;
}

#company-history .h-card {
  position: relative;
  flex-basis: 280px;
  min-height: 256px;
  border-radius: 28px;
  border: 1px solid rgba(143,16,21,.08);
  padding: 30px 24px 26px;
  box-shadow: 0 18px 40px rgba(34,22,24,.08);
  backdrop-filter: blur(2px);
}

#company-history .h-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 5px;
  border-radius: 999px;
}

#company-history .h-card-era {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .95;
  margin-bottom: 12px;
}

#company-history .h-card-year {
  color: #bf1c24 !important;
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1;
  margin-bottom: 14px;
}

#company-history .h-card h3 {
  color: #1e191a !important;
  font-size: 20px;
  line-height: 1.32;
  margin-bottom: 10px;
}

#company-history .h-card p {
  color: #56484b !important;
  font-size: 14.5px;
  line-height: 1.72;
  opacity: 1;
}

#company-history .h-card.era-meiji {
  background: linear-gradient(180deg, #fffaf4 0%, #ffeedf 100%);
  color: #5f4640;
}
#company-history .h-card.era-meiji::before {
  background: linear-gradient(90deg, #ffcf9a, #f4a25d);
}

#company-history .h-card.era-taisho {
  background: linear-gradient(180deg, #fff6eb 0%, #ffdcbc 100%);
  color: #5f4640;
}
#company-history .h-card.era-taisho::before {
  background: linear-gradient(90deg, #f0b062, #dd7f2d);
}

#company-history .h-card.era-showa {
  background: linear-gradient(180deg, #fff4f5 0%, #ffd7db 100%);
  color: #5f4640;
}
#company-history .h-card.era-showa::before {
  background: linear-gradient(90deg, #db2b33, #a90f16);
}
#company-history .h-card.era-showa .h-card-era {
  color: #b3242a;
}

#company-history .h-card.era-heisei {
  background: linear-gradient(180deg, #fff8db 0%, #ffe98f 100%);
  color: #5f4640;
}
#company-history .h-card.era-heisei::before {
  background: linear-gradient(90deg, #ffd748, #f1b800);
}
#company-history .h-card.era-heisei .h-card-era {
  color: #a36d00;
}

#company-history .h-nav {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(191,28,36,.18);
  background: rgba(255,255,255,.92);
  color: #25181a;
  box-shadow: 0 10px 24px rgba(31,16,18,.08);
  font-size: 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

#company-history .h-nav:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(191,28,36,.3);
  box-shadow: 0 14px 28px rgba(31,16,18,.12);
}

@media (max-width: 860px) {
  #company-history .section-head h2 {
    font-size: clamp(30px, 8vw, 46px);
  }

  #company-history .history-hscroll {
    gap: 18px;
    padding: 8px 8px 20px;
  }

  #company-history .history-hscroll::before {
    left: 8px;
    right: 8px;
  }

  #company-history .h-card {
    flex-basis: 250px;
    min-height: 244px;
    border-radius: 24px;
    padding: 26px 20px 22px;
  }
}

@media (max-width: 560px) {
  #company-history .section-head p {
    font-size: 15px;
  }

  #company-history .history-hscroll::before {
    display: none;
  }

  #company-history .h-card {
    flex-basis: 224px;
    min-height: 232px;
    padding: 22px 18px 20px;
  }

  #company-history .h-card h3 {
    font-size: 17px;
  }

  #company-history .h-card-year {
    font-size: 30px;
  }
}
