@charset "UTF-8";

:root {
  --color-bg: #faf8f5;
  --color-white: #ffffff;
  --color-earth-dark: #4a3f30;
  --color-earth: #7a6a52;
  --color-earth-light: #a89579;
  --color-clay: #b08d5b;
  --color-text: #3a332a;
  --color-text-light: #6f6558;
  --color-border: #ddd4c4;
  --color-black: #1c1a17;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  --font-en: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-jp);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled,
.site-header.static {
  background-color: rgba(250, 248, 245, 0.94);
  padding: 14px 28px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.site-logo {
  font-size: 15px;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--color-white);
  transition: color 0.4s ease;
}

.site-header.is-scrolled .site-logo,
.site-header.static .site-logo,
.site-header.nav-open .site-logo {
  color: var(--color-earth-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-white);
  transition: color 0.4s ease, opacity 0.2s ease;
}

.site-nav a.nav-lang {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header.is-scrolled .nav-lang,
.site-header.static .nav-lang {
  border-left-color: var(--color-border);
}

.site-header.is-scrolled .site-nav a,
.site-header.static .site-nav a {
  color: var(--color-earth-dark);
}

.site-nav a:hover {
  opacity: 0.6;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--color-white);
  transition: background-color 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .nav-toggle span,
.site-header.static .nav-toggle span,
.site-header.nav-open .nav-toggle span {
  background-color: var(--color-earth-dark);
}

/* ---------- Hero (legacy single-image, still used by index-en.html) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #8d7d63 0%, #6b5c47 55%, #4a3f30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-placeholder-label {
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 28px 32px;
  max-width: 320px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}

.hero-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px 112px;
  text-align: center;
}

.hero-brand {
  font-size: 13px;
  letter-spacing: 0.4em;
  margin-bottom: 22px;
  opacity: 0.9;
}

.hero-copy {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

.hero .hero-scroll {
  color: var(--color-white);
}

.hero .hero-scroll::after {
  background: rgba(255, 255, 255, 0.6);
}

/* ---------- Hero collage (index.html main visual) ---------- */
.hero-collage {
  position: relative;
  min-height: 100svh;
  background: var(--color-white);
}

.hero-collage-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

.hero-collage-tile {
  position: relative;
  overflow: hidden;
}

.hero-collage-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage-tile-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero-collage-tile:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.hero-collage-tile:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

/* Copy overlay on the mud close-up tile */
.hero-collage-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-collage-overlay::before {
  content: "";
  position: absolute;
  inset: -15% -25%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 72%);
  opacity: 0;
  animation: heroTextFadeIn 2.3s ease-out 1.5s both;
}

.hero-collage-brand {
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--color-white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroTextFadeUp 2.2s ease-out 1.2s both;
}

.hero-collage-copy {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Noto Serif JP", var(--font-jp);
  font-weight: 600;
  font-size: clamp(30px, 2.6vw, 44px);
  letter-spacing: 0.3em;
  line-height: 2;
  color: var(--color-white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: heroTextFadeUp 2.3s ease-out 1.5s both;
}

.hero-collage-copy:lang(en) {
  writing-mode: horizontal-tb;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

@keyframes heroTextFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTextFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collage-overlay::before,
  .hero-collage-brand,
  .hero-collage-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Copy overlay straddling the boundary between the two right-hand tiles */
.hero-collage-mid-overlay {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-collage-mid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 220px 260px at center, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  animation: heroTextFadeIn 2.3s ease-out 1.5s both;
}

.hero-collage-copy-mid {
  text-align: center;
}

/* English version has no vertical-text equivalent for the mid overlay;
   keep it horizontal and noticeably smaller than the left-hand copy. */
@media (min-width: 861px) {
  .hero-collage-copy-mid:lang(en) {
    font-size: clamp(16px, 1.6vw, 24px);
    padding: 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collage-mid-overlay::before {
    animation: none;
    opacity: 1;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.75);
  margin: 10px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Section generic ---------- */
.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-tight {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-alt {
  background-color: var(--color-white);
}

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-clay);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(21px, 3.4vw, 28px);
  font-weight: 400;
  letter-spacing: 0.14em;
  margin-bottom: 40px;
}

.section-title.center {
  text-align: center;
}

.lead-text {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2.1;
  color: var(--color-text);
}

.body-text {
  font-size: 14.5px;
  color: var(--color-text-light);
  line-height: 2.1;
}

/* fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Concept section ---------- */
.concept {
  text-align: center;
}

.concept-intro {
  max-width: 640px;
  margin: 0 auto 64px;
}

.concept-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

.concept-keywords span {
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  color: var(--color-earth);
  border-radius: 2px;
}

.concept-photo {
  max-width: 720px;
  margin: 0 auto;
}

.concept-photo img {
  width: 100%;
  height: auto;
}

.concept-photo-media {
  position: relative;
  overflow: hidden;
}

.concept-photo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.concept-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

.concept-photo-copy {
  color: var(--color-white);
  font-family: "Noto Serif JP", var(--font-jp);
  font-weight: 600;
}

.concept-photo-copy-main {
  display: block;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  opacity: 0;
}

.reveal.is-visible .concept-photo-copy-main {
  animation: heroTextFadeUp 2.2s ease-out 1.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .concept-photo-copy-main {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.concept-caption {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

/* ---------- Two-col media block (Story / About lead-ins) ---------- */
.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.media-block .media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-block .media-text {
  padding: 56px 60px;
}

.media-block.reverse {
  direction: rtl;
}

.media-block.reverse .media-text {
  direction: ltr;
}

.media-block .media-text .eyebrow {
  margin-bottom: 14px;
}

.media-block .media-text h3 {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.media-block .media-text p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 16px 40px;
  border: 1px solid var(--color-earth-dark);
  color: var(--color-earth-dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: var(--color-earth-dark);
  color: var(--color-white);
}

.btn-center {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Product grid (index teaser) ---------- */
.product-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.product-teaser-grid a {
  display: block;
}

.product-teaser-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-earth-light);
}

.product-teaser-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-teaser-grid a:hover img {
  transform: scale(1.05);
}

.product-teaser-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-earth-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 32px;
  text-align: center;
}

.footer-logo {
  font-size: 14px;
  letter-spacing: 0.28em;
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  width: 100%;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-company {
  font-size: 12.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}

.footer-copyright {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
  padding-top: 168px;
  padding-bottom: 64px;
  text-align: center;
}

.page-header .eyebrow {
  display: inline-block;
}

.page-header .lead-text {
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--color-earth-dark);
}

/* ---------- Product grid (product.html) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border);
}

.product-grid > :last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-earth-light);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

a.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: var(--color-clay);
  padding: 5px 12px;
}

.product-card-body h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.product-card-body p {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.product-card-price {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-clay);
}

.product-card-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-clay);
}

a.product-card:hover .product-card-link {
  text-decoration: underline;
}

.product-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
}

/* ---------- Product detail (product-pack.html) ---------- */
.detail-hero {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-earth-light);
}

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

/* ---------- Product detail gallery (swipeable) ---------- */
.detail-gallery-viewport {
  position: relative;
}

.detail-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.detail-gallery-track::-webkit-scrollbar {
  display: none;
}

.detail-gallery-track .detail-hero {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.detail-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(20, 17, 13, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.detail-gallery-arrow:hover {
  background: rgba(20, 17, 13, 0.55);
}

.detail-gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.detail-gallery-arrow.prev {
  left: 12px;
}

.detail-gallery-arrow.next {
  right: 12px;
}

.detail-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.detail-gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.detail-gallery-dots span.is-active {
  background: var(--color-clay);
}

.detail-gallery-section {
  padding-bottom: 28px;
}

.detail-info.section-tight {
  padding-top: 40px;
}

.detail-info .eyebrow {
  margin-bottom: 10px;
}

.detail-info .section-title {
  margin-bottom: 24px;
}

.table-scroll + .detail-section {
  margin-top: 36px;
}

.table-scroll + .detail-section h3 {
  margin-bottom: 14px;
}

.detail-body {
  max-width: 720px;
  margin: 0 auto;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  min-width: 320px;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 300;
  font-size: 13.5px;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.spec-table th {
  width: 26%;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  background: var(--color-white);
}

.detail-section {
  margin-top: 72px;
}

.detail-section h3 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  color: var(--color-earth-dark);
}

.detail-photo-secondary {
  margin: 40px 0;
}

.detail-photo-secondary img {
  width: 100%;
  height: auto;
}

.usage-list {
  list-style: none;
  counter-reset: usage;
}

.usage-list li {
  counter-increment: usage;
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.usage-list li::before {
  content: counter(usage);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: var(--color-clay);
  border: 1px solid var(--color-clay);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-box {
  font-size: 12px;
  line-height: 2;
  color: var(--color-text-light);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 24px 26px;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: visible;
  max-height: none;
}

/* ---------- Story timeline (story.html) ---------- */
.story-year {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-clay);
  margin-bottom: 14px;
  display: block;
}

.story-closing {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 24px;
}

.story-closing p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2.2;
}

.silica-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 56px;
}

.silica-card h4 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--color-earth-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.silica-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* ---------- Video placeholder (index ABOUT) ---------- */
.video-placeholder {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #8d7d63 0%, #6b5c47 55%, #4a3f30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-label {
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 24px 40px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Video embed (index ABOUT) ---------- */
.video-embed {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Stat row (company.html) ---------- */
.stat-row {
  display: flex;
  justify-content: center;
  max-width: 720px;
  margin: 56px auto 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid var(--color-border);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  color: var(--color-earth-dark);
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 11.5px;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---------- Company timeline ---------- */
.company-timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 32px;
  position: relative;
}

.company-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--color-border);
}

.company-timeline li {
  position: relative;
  padding-bottom: 44px;
}

.company-timeline li:last-child {
  padding-bottom: 0;
}

.company-timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-clay);
}

.timeline-year {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--color-clay);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* ---------- Business grid (company.html) ---------- */
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.business-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 36px 32px;
}

.business-card h4 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-earth-dark);
}

.business-card p {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 22px;
}

.business-meta {
  font-size: 12px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.business-meta div {
  margin-bottom: 6px;
}

.business-meta div:last-child {
  margin-bottom: 0;
}

.business-meta strong {
  color: var(--color-earth-dark);
  font-weight: 400;
  margin-right: 8px;
}

.business-footnote {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 34px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.form-required {
  color: #a3593c;
  font-size: 10px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-earth-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

.form-submit {
  text-align: center;
  margin-top: 48px;
}

.btn-black {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  padding: 17px 52px;
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
  transition: opacity 0.3s ease;
}

.btn-black:hover {
  opacity: 0.82;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-collage {
    min-height: auto;
  }

  .hero-collage-grid {
    position: static;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .hero-collage-tile-main {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 16 / 9;
  }

  .hero-collage-grid .hero-collage-tile:not(.hero-collage-tile-main) {
    aspect-ratio: 4 / 3;
  }

  .hero-collage-tile:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-collage-tile:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-collage-brand {
    margin-bottom: 20px;
  }

  .hero-collage-copy {
    font-size: clamp(24px, 3.6vw, 32px);
    letter-spacing: 0.26em;
  }

  .hero-collage-mid-overlay {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .hero-collage-mid-overlay::before {
    background: radial-gradient(ellipse 200px 140px at center, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 100%);
  }

  .hero-collage-copy-mid {
    writing-mode: horizontal-tb;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.7;
    font-size: clamp(16px, 3.2vw, 22px);
  }

  .hero-scroll {
    display: none;
  }

  .media-block,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .media-block .media-photo {
    aspect-ratio: 4 / 3;
  }

  .media-block .media-text {
    padding: 44px 24px;
  }

  .media-block.reverse {
    direction: ltr;
  }

  .media-block.reverse .media-photo {
    order: -1;
  }

  .business-grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: 74%;
    max-width: 320px;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 0 40px;
    overflow-y: auto;
    z-index: 1002;
    transition: right 0.4s ease;
  }

  .site-header.nav-open .site-nav {
    right: 0;
  }

  .site-nav a {
    color: var(--color-earth-dark) !important;
    font-size: 14px;
  }

  .site-nav a.nav-lang {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .hero-collage-tile-main {
    aspect-ratio: 4 / 3;
  }

  .hero-collage-overlay {
    padding: 0 20px;
  }

  .hero-collage-mid-overlay {
    padding: 0 16px;
  }

  .hero-collage-brand {
    margin-bottom: 14px;
  }

  .hero-collage-copy {
    writing-mode: horizontal-tb;
    text-align: center;
    font-size: clamp(19px, 5.4vw, 24px);
    letter-spacing: 0.1em;
    line-height: 1.6;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-tight {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .detail-gallery-section {
    padding-bottom: 8px;
  }

  .detail-info.section-tight {
    padding-top: 12px;
  }

  .detail-info .spec-table th,
  .detail-info .spec-table td {
    padding: 10px 12px;
  }

  .table-scroll + .detail-section {
    margin-top: 16px;
  }

  .product-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .concept-keywords span {
    font-size: 11px;
    padding: 8px 16px;
  }

  .page-header {
    padding-top: 128px;
    padding-bottom: 48px;
  }

  .product-grid {
    gap: 40px;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 40px;
  }

  .spec-table th,
  .spec-table td {
    padding: 14px 12px;
    font-size: 12.5px;
  }

  .spec-table th {
    width: 30%;
  }

  .silica-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-row {
    flex-direction: column;
    gap: 28px;
  }

  .stat-item {
    border-left: none;
    padding: 20px 0 0;
    border-top: 1px solid var(--color-border);
  }

  .stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }

  .company-timeline {
    padding-left: 26px;
  }

  .company-timeline li::before {
    left: -26px;
  }
}
