:root {
  --bg-page: #faf7f2;
  --bg-card: #f2ebe0;
  --bg-card-alt: #f5efe6;
  --bg-white: #ffffff;
  --bg-footer: #241f1e;
  --accent: #b3141c;
  --accent-dark: #8e0f15;
  --text-primary: #221d1b;
  --text-secondary: #4e4744;
  --text-muted: #6b635f;
  --border-subtle: rgba(34, 29, 27, 0.1);
  --shadow-card: 0 6px 20px rgba(34, 29, 27, 0.06);
  --shadow-photo: 0 12px 28px rgba(34, 29, 27, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Typography helpers */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 1.5px;
  background-color: var(--accent);
  opacity: 0.75;
}

.eyebrow-centered {
  justify-content: center;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.body-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background-color: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: rgba(179, 20, 28, 0.06);
}

/* Seigaiha CSS background pattern */
.seigaiha-corner,
.seigaiha-band {
  position: absolute;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 84px 42px;
}

.seigaiha-corner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='42' viewBox='0 0 84 42'%3E%3Cg fill='none' stroke='%23b3141c' stroke-opacity='0.14' stroke-width='1.2'%3E%3Ccircle cx='42' cy='42' r='36'/%3E%3Ccircle cx='42' cy='42' r='28'/%3E%3Ccircle cx='42' cy='42' r='20'/%3E%3Ccircle cx='42' cy='42' r='12'/%3E%3Ccircle cx='0' cy='21' r='36'/%3E%3Ccircle cx='0' cy='21' r='28'/%3E%3Ccircle cx='0' cy='21' r='20'/%3E%3Ccircle cx='0' cy='21' r='12'/%3E%3Ccircle cx='84' cy='21' r='36'/%3E%3Ccircle cx='84' cy='21' r='28'/%3E%3Ccircle cx='84' cy='21' r='20'/%3E%3Ccircle cx='84' cy='21' r='12'/%3E%3C/g%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 44px;
}

.brand-divider {
  width: 1px;
  height: 26px;
  background-color: var(--border-subtle);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background-color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  padding: 52px 0 64px;
  overflow: hidden;
}

.seigaiha-hero {
  left: 0;
  bottom: 0;
  width: 420px;
  height: 210px;
  mask-image: radial-gradient(ellipse at 0% 100%, rgba(0, 0, 0, 0.9) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, rgba(0, 0, 0, 0.9) 0%, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 44px;
}

.hero-content h1 {
  font-size: clamp(2.15rem, 4vw, 3.05rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  padding: 46px 16px 36px 24px;
}

.hero-brush-arc {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 90%;
  max-width: 520px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.hero-collage {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}

.hero-main-card {
  width: 86%;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-photo);
  background-color: #ffffff;
}

.hero-main-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-sub-card {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-photo);
  background-color: #ffffff;
}

.hero-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sub-shoyu {
  left: 0;
  bottom: 0;
  width: 38%;
  max-width: 215px;
  aspect-ratio: 1 / 1;
}

.hero-sub-basket {
  right: 12px;
  bottom: -6px;
  width: 31%;
  max-width: 175px;
  aspect-ratio: 3 / 4;
}

/* Feature strip */
.features-section {
  padding: 8px 0 36px;
}

.features-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background-color: var(--bg-card);
  border: 1px solid rgba(34, 29, 27, 0.07);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 12px;
}

.feature-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 22px;
}

.feature-item + .feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background-color: rgba(34, 29, 27, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* About */
.about-section {
  padding: 56px 0 68px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.about-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.65) 14%, #000000 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.65) 14%, #000000 30%);
}

/* Services */
.services-section {
  padding: 40px 0 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid rgba(34, 29, 27, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-body {
  padding: 22px 24px 26px;
}

.service-body h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Product range */
.products-section {
  padding: 36px 0 76px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.product-tile {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid rgba(34, 29, 27, 0.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(34, 29, 27, 0.05);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #ebe3d6;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-label {
  margin: 0;
  padding: 11px 8px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

/* Why JTT */
.why-section {
  position: relative;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(34, 29, 27, 0.06);
  border-bottom: 1px solid rgba(34, 29, 27, 0.06);
  padding: 60px 0 64px;
  overflow: hidden;
}

.seigaiha-band {
  top: 0;
  bottom: 0;
  width: 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='42' viewBox='0 0 84 42'%3E%3Cg fill='none' stroke='%239b8e7e' stroke-opacity='0.22' stroke-width='1.1'%3E%3Ccircle cx='42' cy='42' r='36'/%3E%3Ccircle cx='42' cy='42' r='28'/%3E%3Ccircle cx='42' cy='42' r='20'/%3E%3Ccircle cx='42' cy='42' r='12'/%3E%3Ccircle cx='0' cy='21' r='36'/%3E%3Ccircle cx='0' cy='21' r='28'/%3E%3Ccircle cx='0' cy='21' r='20'/%3E%3Ccircle cx='0' cy='21' r='12'/%3E%3Ccircle cx='84' cy='21' r='36'/%3E%3Ccircle cx='84' cy='21' r='28'/%3E%3Ccircle cx='84' cy='21' r='20'/%3E%3Ccircle cx='84' cy='21' r='12'/%3E%3C/g%3E%3C/svg%3E");
}

.seigaiha-band-left {
  left: 0;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.85), transparent);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.85), transparent);
}

.seigaiha-band-right {
  right: 0;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.85), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.85), transparent);
}

.why-inner {
  position: relative;
  z-index: 1;
}

.why-section .section-header {
  margin-bottom: 36px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 24px;
}

.why-item + .why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background-color: rgba(34, 29, 27, 0.12);
}

.why-icon {
  width: 46px;
  height: 46px;
  color: var(--accent);
  margin-bottom: 14px;
}

.why-label {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

/* Contact */
.contact-section {
  position: relative;
  padding: 68px 0 76px;
  overflow: hidden;
}

.seigaiha-contact {
  right: 0;
  bottom: 0;
  width: 360px;
  height: 220px;
  mask-image: radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 0.85) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 0.85) 0%, transparent 72%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 48px;
}

.contact-media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-media img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: left center;
  mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.65) 12%, #000000 28%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.65) 12%, #000000 28%);
}

.contact-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.contact-details {
  list-style: none;
  margin: 22px 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-primary);
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 20, 28, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-details a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.hours-list p {
  margin: 0;
  line-height: 1.55;
}

.hours-list p + p {
  margin-top: 4px;
}

.hours-label {
  color: var(--accent);
  font-weight: 700;
}

.driving-note {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-map-wrap {
  max-width: 360px;
  margin-bottom: 22px;
}

.contact-map {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

/* Footer */
.site-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.88);
  padding: 28px 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.footer-info p {
  margin: 0;
}

.footer-copy {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-meta a {
  text-decoration: none;
}

.footer-meta a:hover,
.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-card,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .feature-item:nth-child(3)::before,
  .why-item:nth-child(3)::before {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile breakpoint (<768px) */
@media (max-width: 767px) {
  .container {
    padding-inline: 18px;
  }

  .brand-divider {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  /* Without JS, nav wraps cleanly below brand; with JS, hamburger toggles drawer */
  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .site-nav {
    width: 100%;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 8px;
  }

  .js-nav .nav-toggle {
    display: inline-flex;
  }

  .js-nav .site-nav {
    display: none;
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
    padding: 8px 0 6px;
  }

  .js-nav .site-nav.is-open {
    display: block;
  }

  .js-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 0;
  }

  .js-nav .nav-link {
    padding: 8px 2px;
    width: 100%;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-visual {
    padding: 30px 4px 28px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-main-card {
    width: 90%;
  }

  .hero-sub-shoyu {
    width: 40%;
  }

  .hero-sub-basket {
    width: 33%;
    right: 4px;
  }

  .about-media img,
  .contact-media img {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .contact-media img {
    aspect-ratio: 1 / 1;
  }

  .services-grid,
  .features-card,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-item + .feature-item::before,
  .why-item + .why-item::before {
    display: none;
  }

  .feature-item + .feature-item,
  .why-item + .why-item {
    border-top: 1px solid rgba(34, 29, 27, 0.1);
    padding-top: 22px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .seigaiha-band {
    width: 96px;
  }
}

/* Footer social */
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social-label { font-size: 0.85rem; opacity: 0.75; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s; }
.footer-social a:hover, .footer-social a:focus-visible { background-color: var(--red, #b3141c); border-color: var(--red, #b3141c); }
@media (max-width: 767px) { .footer-social { margin: 12px 0; } }

/* Hero collage redesign: clear red sun disc, tidier photo layout */
.hero-brush-arc { display: none; }
.hero-visual { padding: 40px 12px 40px 12px; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 2%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c8222b 0%, #b3141c 55%, #98101a 100%);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.10), 0 18px 40px rgba(179,20,28,0.22);
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  top: 6%;
  right: 8%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(179,20,28,0.35);
  z-index: 0;
}
.hero-collage { padding: 56px 0 48px; }
.hero-main-card { width: 78%; margin-left: 12%; border-radius: 22px; }
.hero-main-card img { aspect-ratio: 5 / 4; }
.hero-sub-card { border-width: 5px; border-radius: 18px; }
.hero-sub-shoyu { left: 0; bottom: 4px; width: 30%; max-width: 190px; }
.hero-sub-basket { right: 0; top: 4px; bottom: auto; width: 24%; max-width: 150px; transform: rotate(3deg); }
@media (max-width: 767px) {
  .hero-visual::before { width: 74%; right: 0; }
  .hero-visual::after { display: none; }
  .hero-collage { padding: 36px 0 36px; }
  .hero-main-card { width: 82%; margin-left: 10%; }
  .hero-sub-shoyu { width: 34%; }
  .hero-sub-basket { width: 26%; right: 0; }
}

/* ===== Hero v3: clean bento layout ===== */
.hero { padding: 64px 0 80px; background: radial-gradient(120% 90% at 100% 0%, #f6e7e2 0%, rgba(246,231,226,0) 55%), var(--bg-page); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border-subtle); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); box-shadow: var(--shadow-card); }
.hero-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(179,20,28,.15); }
.hero-content h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.hero-accent { position: relative; color: var(--accent); white-space: nowrap; }
.hero-accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 99px; background: rgba(179,20,28,.18); }
.hero-stats { display: flex; gap: 0; margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border-subtle); }
.hero-stats > div { flex: 1; padding-right: 16px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--border-subtle); }
.hero-stats dt { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--text-primary); }
.hero-stats dd { margin: 2px 0 0; font-size: .85rem; color: var(--text-muted); }

.hero-visual { position: relative; padding: 24px 0 24px 24px; }
.hero-visual::before, .hero-visual::after { content: none; }
.hero-sun { position: absolute; top: -28px; right: -36px; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cf2a33 0%, var(--accent) 60%, var(--accent-dark) 100%); z-index: 0; }
.hero-bento { position: relative; z-index: 1; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 470px; }
.hero-tile { margin: 0; position: relative; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(34,29,27,.16); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-tile:hover img { transform: scale(1.04); }
.hero-tile-main { grid-row: 1 / span 2; }
.hero-tile-main img { object-position: 30% center; }
.hero-tile figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600; color: var(--text-primary); backdrop-filter: blur(4px); }
.hero-badge { position: absolute; z-index: 2; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(34,29,27,.18); }
.hero-badge img { width: 40px; height: 40px; object-fit: contain; }
.hero-badge strong { display: block; font-size: .92rem; color: var(--text-primary); }
.hero-badge span { display: block; font-size: .78rem; color: var(--text-muted); }

@media (max-width: 960px) {
  .hero-bento { height: 400px; }
}
@media (max-width: 767px) {
  .hero { padding: 36px 0 52px; }
  .hero-visual { padding: 12px 0 28px; }
  .hero-sun { width: 62%; top: -14px; right: -18px; }
  .hero-bento { height: 330px; gap: 10px; }
  .hero-tile { border-radius: 14px; }
  .hero-badge { left: 10px; bottom: 0; }
  .hero-stats dt { font-size: 1.15rem; }
  .hero-stats > div + div { padding-left: 12px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
h1, h2, h3 { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .hero-lead { word-break: auto-phrase; }

/* Powered by totio (same treatment as JUAN sites) */
.site-footer { padding-bottom: 28px; }
.powered-by-totio { padding: 24px 16px 96px; text-align: center; background: #f2ebe0; color: #625e55; font-size: 13px; }
.powered-by-totio a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; text-decoration: none; }
.powered-by-totio a:hover span { text-decoration: underline; }
.powered-by-totio img { width: 90px; height: auto; }
@media (max-width: 760px) { .powered-by-totio { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }


/* ===== Motion ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 120;
  pointer-events: none;
  will-change: transform;
}

.site-header {
  transition: transform 0.3s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header .header-inner {
  transition: min-height 0.25s ease;
}

.site-header .brand-logo {
  transition: height 0.25s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 26px rgba(34, 29, 27, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

.site-header.is-scrolled .brand-logo {
  height: 38px;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.hero {
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.seigaiha-hero {
  z-index: 1;
}

.hero-grid {
  z-index: 2;
}

html.js-motion .eyebrow::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-motion .eyebrow.is-revealed::after {
  transform: scaleX(1);
}

html.js-motion .btn {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.services-grid {
  perspective: 1000px;
}

.service-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.service-media {
  overflow: hidden;
}

.product-thumb img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-label {
  transition: color 0.25s ease;
}

.product-tile:hover .product-thumb img {
  transform: scale(1.08);
}

.product-tile:hover .product-label {
  color: var(--accent);
}

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

  .scroll-progress,
  .hero-canvas {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-tile:hover img,
  .product-tile:hover .product-thumb img {
    transform: none;
  }
}
