/* ========================================
   SHALLBE Corporate Site - style.css
   Mobile-first responsive design
   Breakpoints: ~767px / 768~1024px / 1025px~
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  color: #3D3530;
  background-color: #FAFAF7;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8FAF8F;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  text-decoration: underline;
  opacity: 1;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography (mobile base) --- */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.4;
  color: #223351;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

.heading-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.pc-only {
  display: none;
}

/* --- Section alternating backgrounds --- */
.section {
  padding: 48px 0;
  border-bottom: 1px solid #E0DBD5;
}

.section:last-of-type {
  border-bottom: none;
}

.section:nth-child(odd) {
  background-color: #FAFAF7;
}

.section:nth-child(even) {
  background-color: #F5F2ED;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title .heading-en {
  display: block;
  font-size: 1.75rem;
  color: #C4956A;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.section-title .heading-ja {
  display: block;
  font-size: 0.8125rem;
  color: #3D3530;
  opacity: 0.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  border: 1px solid #8FAF8F;
  border-radius: 4px;
  color: #8FAF8F;
  font-size: 0.875rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.btn:hover {
  background-color: #C4956A;
  border-color: #C4956A;
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.btn--accent {
  border-color: #C4956A;
  color: #C4956A;
}

.btn--accent:hover {
  background-color: #C4956A;
  border-color: #C4956A;
  color: #fff;
}

/* --- Placeholder Image --- */
.placeholder-img {
  background-color: #F0EDE6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3D3530;
  opacity: 0.4;
  font-size: 0.875rem;
  overflow: hidden;
}

/* --- Image with fallback --- */
.img-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-fallback-wrap {
  position: relative;
  overflow: hidden;
}

.img-fallback-wrap .placeholder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.img-fallback-wrap .img-fallback {
  position: relative;
  z-index: 1;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0DBD5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.logo a {
  display: flex;
  flex-direction: column;
  color: #3D3530;
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
}

.logo a:hover {
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.5625rem;
  opacity: 0.5;
  letter-spacing: 0.08em;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  color: #3D3530;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #8FAF8F;
  transition: width 0.3s;
}

.nav-desktop a:hover {
  text-decoration: none;
  opacity: 1;
  color: #8FAF8F;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Shop link — outline button */
.nav-desktop .nav-shop {
  border: 1px solid #8FAF8F;
  border-radius: 4px;
  padding: 6px 16px;
  color: #8FAF8F;
  font-size: 0.8125rem;
}

.nav-desktop .nav-shop::after {
  display: none;
}

.nav-desktop .nav-shop:hover {
  background-color: #8FAF8F;
  color: #fff;
}

.nav-mobile .nav-shop {
  color: #8FAF8F;
  font-weight: 500;
}

/* Hamburger — 44px tap target */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #3D3530;
  transition: all 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav — overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 99;
  padding: 24px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.is-open {
  display: block;
}

/* Overlay backdrop */
.nav-mobile::before {
  content: '';
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(61, 53, 48, 0.3);
  z-index: -1;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 8px;
  color: #3D3530;
  font-size: 1rem;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile a:hover {
  color: #8FAF8F;
  text-decoration: none;
}

/* ========================================
   Hero — Mobile: background overlay
   ======================================== */
.hero {
  position: relative;
  padding: 0;
  background-color: #FAFAF7;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 280px;
  order: -1;
}

.hero-content {
  padding: 32px 16px 40px;
  position: relative;
  z-index: 2;
}

/* Mobile overlay mode */
.hero--overlay .hero-inner {
  position: relative;
}

.hero--overlay .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  order: 0;
}

.hero--overlay .hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 53, 48, 0.35);
  z-index: 1;
}

.hero--overlay .hero-content {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero--overlay .hero-catch,
.hero--overlay .hero-sub {
  color: #fff;
}

.hero--overlay .hero-sub {
  opacity: 0.9;
}

.hero-catch {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #223351;
}

.hero-sub {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 2;
}

/* ========================================
   News
   ======================================== */
.news-list {
  max-width: 720px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  color: #3D3530;
  opacity: 0.5;
  white-space: nowrap;
}

.news-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6875rem;
  border: 1px solid #8FAF8F;
  border-radius: 20px;
  color: #8FAF8F;
  white-space: nowrap;
}

.news-title {
  font-size: 0.875rem;
  grid-column: 1 / -1;
}

.news-title a {
  color: #3D3530;
  display: inline-block;
  min-height: 44px;
  line-height: 1.6;
  padding: 4px 0;
}

.news-title a:hover {
  color: #8FAF8F;
}

/* ========================================
   About (3 Commitments)
   ======================================== */
.commitments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.commitment-card {
  text-align: center;
  padding: 24px 16px;
}

.commitment-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 2.5rem;
  color: #8FAF8F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #223351;
}

.commitment-card p {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.9;
}

.commitment-card ul {
  text-align: left;
  display: inline-block;
  margin-top: 12px;
}

.commitment-card li {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 2;
  padding-left: 1em;
  position: relative;
}

.commitment-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #C4956A;
}

/* ========================================
   Products
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(61, 53, 48, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 12px 40px rgba(61, 53, 48, 0.16);
  transform: translateY(-4px);
}

.product-card-image {
  width: 100%;
  height: 220px;
}

.product-card-body {
  padding: 20px 16px;
}

.product-card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.8125rem;
  opacity: 0.7;
  margin-bottom: 16px;
  line-height: 1.8;
}

.product-card-body .btn {
  font-size: 0.8125rem;
  padding: 8px 24px;
}

/* ========================================
   OEM Section (index.html)
   ======================================== */
.oem-section-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.oem-section-content p {
  font-size: 0.9375rem;
  line-height: 2;
  margin-bottom: 24px;
}

.oem-recommend-list {
  text-align: left;
  display: inline-block;
  margin-bottom: 32px;
}

.oem-recommend-list li {
  font-size: 0.875rem;
  line-height: 2.2;
  padding-left: 1.2em;
  position: relative;
}

.oem-recommend-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #C4956A;
}

/* ========================================
   Company Info
   ======================================== */
.company-image {
  max-width: 720px;
  margin: 0 auto 32px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
}

/* Mobile: vertical stacked table */
.company-table {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid #E0DBD5;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.company-table th,
.company-table td {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  display: block;
  width: 100%;
}

.company-table th {
  font-weight: 500;
  opacity: 0.6;
  padding-bottom: 4px;
  font-size: 0.8125rem;
}

/* ========================================
   Contact
   ======================================== */
.contact-frame-wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-frame-wrapper p {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D3530;
}

.form-required {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.625rem;
  font-weight: 500;
  color: #fff;
  background-color: #C4956A;
  border-radius: 3px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E0DBD5;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #3D3530;
  background-color: #fff;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8FAF8F;
  box-shadow: 0 0 0 3px rgba(143, 175, 143, 0.12);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #d9534f;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #3D3530;
  opacity: 0.3;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D3530' stroke-width='1.5' fill='none' opacity='.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  line-height: 1.8;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 32px;
  background-color: #C4956A;
  border: 1px solid #C4956A;
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.form-submit:hover {
  background-color: #B8865E;
  border-color: #B8865E;
}

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.5;
  margin-top: 16px;
}

/* --- Thanks Page --- */
.thanks-content {
  text-align: center;
  padding: 80px 16px 120px;
  max-width: 640px;
  margin: 0 auto;
}

.thanks-content h2 {
  font-size: 1.5rem;
  border: none;
  margin: 0 0 24px;
  padding: 0;
}

.thanks-content p {
  font-size: 0.9375rem;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: #1A1A1A;
  color: #FFFFFF;
  padding: 40px 0 28px;
  font-size: 0.8125rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-info {
  margin-bottom: 24px;
  line-height: 2;
  opacity: 0.7;
}

.footer-company {
  font-size: 0.9375rem;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-weight: 500;
  opacity: 1;
}

.footer-info a {
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-links a {
  color: #FFFFFF;
  font-size: 0.8125rem;
  opacity: 0.6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  opacity: 0.4;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ========================================
   Sub Page
   ======================================== */
.page-header {
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

.page-header .heading-en {
  font-size: 1.75rem;
  color: #C4956A;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.page-header .heading-ja {
  font-size: 0.8125rem;
  opacity: 0.5;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.page-content h2 {
  font-size: 1.25rem;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
  color: #223351;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.125rem;
  margin: 28px 0 12px;
  color: #8FAF8F;
}

.page-content p {
  font-size: 0.9375rem;
  line-height: 2;
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  margin-bottom: 16px;
  padding-left: 1.5em;
}

.page-content li {
  font-size: 0.9375rem;
  line-height: 2;
  position: relative;
  padding-left: 0.8em;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #C4956A;
}

.page-content ol {
  list-style: decimal;
}

.page-content ol li::before {
  display: none;
}

.page-content blockquote {
  border-left: 3px solid #C4956A;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  opacity: 0.8;
}

/* --- History Page --- */
.history-section {
  margin-bottom: 40px;
  text-align: center;
}

.history-section h2 {
  font-size: 1.25rem;
  border-bottom: none;
  text-align: center;
  padding-bottom: 0;
}

.history-section p {
  text-align: center;
  font-size: 0.9375rem;
}

/* History alternating layout */
.history-section:nth-child(even) {
  background-color: #F5F2ED;
  margin-left: -16px;
  margin-right: -16px;
  padding: 40px 16px;
  border-radius: 12px;
}

.history-highlight {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #3D3530;
  text-align: center;
  margin: 24px 0;
  line-height: 1.8;
}

.history-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}

.history-value-card {
  padding: 24px 16px;
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: 12px;
}

.history-value-card h3 {
  margin-top: 0;
}

.history-value-card p {
  text-align: left;
  margin-bottom: 0;
}

/* --- Products Page — card grid --- */
.products-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-detail-card {
  background-color: #fff;
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61, 53, 48, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-detail-card:hover {
  box-shadow: 0 12px 40px rgba(61, 53, 48, 0.16);
  transform: translateY(-4px);
}

.product-detail-card-image {
  width: 100%;
  height: 240px;
}

.product-detail-card-body {
  padding: 24px 16px;
}

.product-detail-card-body h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

.product-detail-card-body .product-concept {
  font-weight: 500;
  color: #C4956A;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.product-detail-card-body p {
  font-size: 0.875rem;
  line-height: 1.9;
  margin-bottom: 12px;
}

.product-detail-card-body h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
  color: #8FAF8F;
}

.product-detail-card-body .product-list {
  margin-top: 0;
}

.product-detail-card-body .product-list li {
  font-size: 0.875rem;
}

/* --- OEM Page --- */
.oem-flow {
  margin: 24px 0;
}

/* Mobile: vertical */
.oem-flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(61, 53, 48, 0.06);
  position: relative;
}

.oem-flow-step:last-child {
  border-bottom: none;
}

.oem-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #8FAF8F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
}

.oem-flow-step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #223351;
}

.oem-flow-step p {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* OEM horizontal flow (PC only) */
.oem-flow-horizontal {
  display: none;
}

.oem-strengths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.oem-strength-card {
  padding: 20px 16px;
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: 12px;
}

.oem-strength-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #8FAF8F;
}

.oem-strength-card p {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.7;
  line-height: 1.8;
}

.oem-lot-info {
  background-color: rgba(143, 175, 143, 0.08);
  border-radius: 12px;
  padding: 24px 16px;
  margin: 24px 0;
}

.oem-lot-info p {
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.oem-lot-info p:last-child {
  margin-bottom: 0;
}

/* --- Legal Pages --- */
.legal-content h2 {
  font-size: 1.0625rem;
}

/* Mobile: stacked table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-table tr {
  border-bottom: 1px solid #E0DBD5;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.legal-table th,
.legal-table td {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  display: block;
  width: 100%;
}

.legal-table th {
  font-weight: 500;
  opacity: 0.6;
  padding-bottom: 4px;
  font-size: 0.8125rem;
}

/* ========================================
   Responsive — Tablet (768px~)
   ======================================== */
@media (min-width: 768px) {
  body {
    font-size: 0.9375rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title .heading-en {
    font-size: 2rem;
  }

  .header-inner {
    height: 80px;
    padding: 0 24px;
  }

  .logo-img {
    height: 60px;
  }

  .logo-main {
    font-size: 1.5rem;
  }

  .logo-sub {
    font-size: 0.625rem;
  }

  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .pc-only {
    display: inline;
  }

  /* Hero split: image right, text left */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    min-height: 420px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .hero--overlay .hero-image {
    position: relative;
    height: auto;
  }

  .hero--overlay .hero-image::after {
    display: none;
  }

  .hero--overlay .hero-content {
    min-height: auto;
    color: #3D3530;
  }

  .hero--overlay .hero-catch {
    color: #223351;
  }

  .hero--overlay .hero-sub {
    color: #3D3530;
  }

  .hero--overlay .hero-sub {
    opacity: 0.7;
  }

  .hero-content {
    flex: 1;
    padding: 48px 40px 48px 24px;
  }

  .hero-image {
    flex: 1;
    height: 420px;
    order: 0;
  }

  .hero-catch {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.9375rem;
  }

  /* News: single row */
  .news-item {
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .news-title {
    grid-column: auto;
  }

  /* Commitments: 3-col */
  .commitments {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
  }

  /* Products: 2-col */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .product-card-image {
    height: 280px;
  }

  .product-card-body {
    padding: 24px;
  }

  /* OEM strengths: 2-col */
  .oem-strengths {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* OEM flow: horizontal */
  .oem-flow {
    display: none;
  }

  .oem-flow-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 40px 0;
  }

  .oem-flow-h-step {
    flex: 1;
    text-align: center;
    position: relative;
  }

  .oem-flow-h-step .oem-step-num {
    margin: 0 auto 12px;
  }

  .oem-flow-h-step h3 {
    font-size: 0.9375rem;
    margin: 0 0 6px;
    color: #223351;
  }

  .oem-flow-h-step p {
    font-size: 0.8125rem;
    opacity: 0.7;
    padding: 0 8px;
    margin: 0;
  }

  .oem-flow-h-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 10px;
    color: #C4956A;
    font-size: 1.25rem;
    opacity: 0.5;
  }

  /* Company: horizontal table */
  .company-image {
    height: 400px;
    margin-bottom: 40px;
  }

  .company-table tr {
    display: table-row;
    padding: 0;
  }

  .company-table th,
  .company-table td {
    display: table-cell;
    padding: 16px 0;
  }

  .company-table th {
    width: 180px;
    font-weight: 400;
    padding-right: 16px;
    white-space: nowrap;
    font-size: 0.9375rem;
  }

  /* Legal: horizontal table */
  .legal-table tr {
    display: table-row;
    padding: 0;
  }

  .legal-table th,
  .legal-table td {
    display: table-cell;
    padding: 14px 0;
  }

  .legal-table th {
    width: 180px;
    font-weight: 400;
    padding-right: 16px;
    font-size: 0.9375rem;
  }

  /* Contact form */
  .form-submit {
    width: auto;
    min-width: 240px;
    margin: 0 auto;
    display: flex;
  }

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

  .thanks-content {
    padding: 100px 24px 160px;
  }

  .thanks-content h2 {
    font-size: 1.75rem;
  }

  /* History */
  .history-section {
    margin-bottom: 56px;
  }

  .history-section h2 {
    font-size: 1.5rem;
  }

  .history-section:nth-child(even) {
    margin-left: -24px;
    margin-right: -24px;
    padding: 48px 24px;
  }

  .history-values {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Products page */
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .product-detail-card-image {
    height: 300px;
  }

  .product-detail-card-body {
    padding: 28px;
  }

  .product-detail-card-body h2 {
    font-size: 1.375rem;
  }

  /* Page content */
  .page-header {
    padding: 48px 0;
  }

  .page-header .heading-en {
    font-size: 2rem;
  }

  .page-content {
    padding: 60px 24px 80px;
  }

  .page-content h2 {
    font-size: 1.5rem;
    margin: 48px 0 20px;
  }

  .page-content h3 {
    font-size: 1.25rem;
  }

  .page-content p {
    font-size: 1rem;
  }

  .page-content li {
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 48px 0 32px;
  }

  .footer-inner {
    padding: 0 24px;
  }

  .footer-links {
    flex-direction: row;
    gap: 24px;
  }

  .footer-links a {
    font-size: 0.75rem;
  }
}

/* ========================================
   Responsive — PC (1025px~)
   ======================================== */
@media (min-width: 1025px) {
  body {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    margin-bottom: 48px;
  }

  /* Hero */
  .hero-inner {
    min-height: 500px;
  }

  .hero-content {
    padding: 60px 48px 60px 24px;
  }

  .hero-image {
    height: 500px;
  }

  .hero-catch {
    font-size: 3.5rem;
  }

  /* Products: 3-col on index */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* OEM lot info */
  .oem-lot-info {
    padding: 28px;
  }

  .oem-strength-card {
    padding: 24px;
  }
}
