/* =========================================
   Vuzix page (static) - page specific styles
   ========================================= */

.l-page .l-section::before {
    top: 230px;
}

.vuzix-page .l-section::before {
  pointer-events: none; 
  z-index: 0;
}
.vuzix-page .l-section > * {
  position: relative;
  z-index: 1;
}

.vuzix-container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.vuzix-section {
  padding: 40px 0;
}

.vuzix-page {
  --vuzix-accent: #08192D;
  --vuzix-text: #2B2B2B;
  --vuzix-hr: #9C9C9C;
  --vuzix-font-en: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.vuzix-hr {
  height: 2px;
  border: 0;
  margin: 0 0 50px;
  background: var(--vuzix-hr);
}

.vuzix-hr--after-table {
  margin-top: 56px;
  margin-bottom: 0;
}

.vuzix-h2 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--vuzix-accent);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* 「Vuzix M400」の見出しだけ大きく */
.vuzix-intro .vuzix-h2 {
  font-size: 48px;
}

.vuzix-h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #08192D;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.vuzix-text {
  margin: 0;
  font-size: 16px;
  line-height: 2.2;
  color: var(--vuzix-text);
  letter-spacing: 0.04em;
}

.vuzix-kicker {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5;
  letter-spacing: 0.06em;
  color: var(--vuzix-text);
}

.vuzix-list strong {
  font-weight: 700;
}

.vuzix-muted {
  color: #6b6b6b;
}

/* Hero */
.vuzix-hero {
  padding: 0;
}
.vuzix-hero .p-page-header__title {
  letter-spacing: 0.6em;
}
.vuzix-hero .p-page-header__txt {
  letter-spacing: 0.06em;
}

/* Two column layout */
.vuzix-two-col {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 505px);
  gap: 40px;
  align-items: start;
}

.vuzix-intro .vuzix-two-col {
  grid-template-areas:
    "heading media"
    "text media";
}

.vuzix-intro .vuzix-two-col__heading {
  grid-area: heading;
  margin: 0 0 18px; /* .vuzix-h2 と同等 */
}

.vuzix-intro .vuzix-two-col__text {
  grid-area: text;
}

.vuzix-intro .vuzix-two-col__media {
  grid-area: media;
}

.vuzix-two-col--reverse {
  grid-template-columns: minmax(280px, 505px) 1fr;
}

.vuzix-intro .vuzix-two-col--reverse {
  grid-template-areas:
    "media heading"
    "media text";
}

.vuzix-two-col__media {
  align-self: center;
}

.vuzix-two-col__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards */
.vuzix-models__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vuzix-model {
  padding: 0 0 56px;
  border-bottom: 2px solid var(--vuzix-hr);
}

.vuzix-inquiry-btn {
  margin: 24px 0 0;
}

.vuzix-model:not(:last-child) {
  margin-bottom: 40px;
}

.vuzix-model:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vuzix-label {
  margin: 0 0 14px;
  font-family: var(--vuzix-font-en);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--vuzix-accent);
}

/* Specs table */
.vuzix-table-wrap {
  margin: 18px auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: none;
  background: transparent;
  max-width: 905px;
}

.vuzix-table {
  width: 100%;
  min-width: 905px;
  max-width: 905px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.vuzix-table th,
.vuzix-table td {
  border: none;
  padding: 18px 16px;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
  word-break: break-word;
  text-align: center;
}

.vuzix-table thead th {
  background: #E9E9E9;
  color: #2B2B2B;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vuzix-table thead th:first-child {
  background: #727272;
  color: #F6F6F6;
}

.vuzix-table tbody th {
  background: #727272;
  color: #F6F6F6;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: 30%;
}

.vuzix-table td {
  background: #E9E9E9;
  font-weight: 700;
}

.vuzix-table thead tr th,
.vuzix-table tbody tr > * {
  height: 70px;
}

.vuzix-table tbody tr + tr > * {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.vuzix-table thead tr > * {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.vuzix-table thead th:nth-child(1),
.vuzix-table tbody th {
  border-right: 5px solid #fff;
}
.vuzix-table thead th:nth-child(2),
.vuzix-table tbody td:nth-child(2) {
  border-right: 5px solid #fff;
}

/* Lists */
.vuzix-list {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: #2B2B2B;
}
.vuzix-list li {
  margin: 0 0 10px;
  line-height: 1.9;
}

.vuzix-links {
  margin: 18px 0 0;
  padding-left: 1.2em;
}
.vuzix-links li {
  margin: 0 0 10px;
  line-height: 1.9;
}
.vuzix-links a {
  color: #08192D;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vuzix-links a:hover {
  opacity: 0.8;
}

/* Usecase */
.vuzix-usecase__media {
  margin-top: 18px;
}
.vuzix-usecase__media img {
  width: 100%;
  height: auto;
  display: block;
  background: #e9e9e9;
}
.vuzix-usecase__body {
  margin-top: 18px;
}
.vuzix-usecase__body .vuzix-list {
  margin-top: 14px;
}

/* CTA */
.vuzix-cta-heading {
  margin: 0 0 12px;
  font-family: var(--vuzix-font-en);
  font-weight: 600;
  font-size: 24px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--vuzix-accent);
}

.vuzix-cta-heading__link {
  color: inherit;
  text-decoration: none;
}

.vuzix-cta-heading__link:hover {
  opacity: 0.85;
}

/* Contact banner */
.vuzix-contact {
  padding: 32px 0 80px;
}

.vuzix-contact .vuzix-container {
  width: min(1200px, 92%);
}

.vuzix-contact__banner {
  display: block;
  background: var(--vuzix-accent);
  color: #fff;
  height: 310px;
  padding: 0 120px 0 124px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  clip-path: polygon(
    40px 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%,
    0 40px
  );
}

.vuzix-contact__banner::after {
  content: '';
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 14px;
  background-image: url('../images/common/btn_anchor_w.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.95;
}

.vuzix-contact__banner::before {
  content: '';
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  width: 133px;
  height: 94px;
  background-image: url('../images/common/cta-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
}

.vuzix-contact__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vuzix-contact__banner > * {
  position: relative;
  z-index: 1;
}

.vuzix-contact__title {
  font-size: clamp(28px, 4.5vw, 56px);
  letter-spacing: 0.4em;
  font-weight: 400;
  line-height: 1.3;
}

.vuzix-contact__sub {
  margin-top: 10px;
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vuzix-contact__banner:hover {
  opacity: 0.92;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .vuzix-section {
    padding: 40px 0;
  }

  .vuzix-h2 {
    font-size: clamp(24px, 5vw, 36px); /* タブレット〜モバイル: 24px〜36px */
  }

  /* 「Vuzix M400」の見出しもレスポンシブ対応 */
  .vuzix-intro .vuzix-h2 {
    font-size: clamp(28px, 6vw, 42px); /* タブレット〜モバイル: 28px〜42px */
  }

  .vuzix-two-col,
  .vuzix-two-col--reverse {
    grid-template-columns: 1fr;
  }

  /* SP: 見出し → 画像 → 本文 の順にする */
  .vuzix-intro .vuzix-two-col,
  .vuzix-intro .vuzix-two-col--reverse {
    grid-template-areas:
      "heading"
      "media"
      "text";
  }

  .vuzix-models__grid {
    grid-template-columns: 1fr;
  }

  .vuzix-contact__banner {
    height: auto;
    padding: 42px 28px;
  }

  .vuzix-contact__banner::before {
    display: none; /* SPはロゴを隠して読みやすさ優先 */
  }

  .vuzix-hr {
    margin-bottom: 34px;
  }

  .vuzix-hero .p-page-header__title {
    letter-spacing: 0.12em;
  }
}

@media screen and (max-width: 390px) {
  .vuzix-contact__banner {
    padding: 32px 18px;
  }
  .vuzix-contact__banner::after {
    right: 16px;
  }
}

/* =========================================
   製品概要テーブル：小さい幅ではカラムを詰めて見やすくする
   ========================================= */
@media screen and (max-width: 820px) {
  .vuzix-table {
    /* iPad〜小さめ幅は横スクロール量を減らす */
    min-width: 720px;
  }
}

@media screen and (max-width: 520px) {
  .vuzix-table {
    min-width: 520px; /* 390pxでも「左カラム＋M400列」が見える量を増やす */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  .vuzix-table thead tr th,
  .vuzix-table tbody tr > * {
    height: auto;
    min-height: 52px;
  }

  .vuzix-table th,
  .vuzix-table td {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .vuzix-table tbody th {
    width: 28%;
  }

  .vuzix-table thead th:nth-child(1),
  .vuzix-table tbody th {
    border-right-width: 3px;
  }
  .vuzix-table thead th:nth-child(2),
  .vuzix-table tbody td:nth-child(2) {
    border-right-width: 3px;
  }
}

@media screen and (max-width: 768px) {
  .vuzix-page.l-page::before {
    width: 300px;
    height: 212px;
    left: -10%;
    top: 5%;
    opacity: 0.12;
  }
}
