/* ============================================================
   FOCUS WIRELESS JAPAN — style.css
   構成:
     1. BASE
     2. LAYOUT (header / main / footer)
     3. COMPONENTS (fade-in / typography)
     4. TOP / HERO
     5. STATEMENT
     6. SERVICE
     7. SOLUTION
     8. ABOUT
     9. COMPANY
    10. NAV / HAMBURGER / DRAWER
============================================================ */

/* ============================================================
   1. BASE
============================================================ */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.8;
  color: #94a3b8;
  overflow-x: hidden;
  min-height: 100vh;
}

p {
  margin: 0;
}

/* ============================================================
   2. LAYOUT
============================================================ */

/* --- header --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 6rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 169, 120, 0.2);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2rem;
  box-sizing: border-box;
  transform: translateY(-100%);
}

/* --- main --- */
main {
  position: relative;
  margin-top: 100vh;
  z-index: 100;
  background-color: #1c1b18;
}

main section {
  position: relative;
  overflow: hidden;
}

/* セクション下部の影（次セクションの浮き上がり） */
main section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  box-shadow: 0 12px 32px 8px rgba(0, 0, 0, 0.8);
}

/* 光のパルスライン */
main section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30%;
  max-width: 300px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #39ff14,
    #ffffff,
    #39ff14,
    transparent
  );
  transform: translateX(-100%) translateZ(0);
  opacity: 0;
  will-change: transform, opacity;
}

main section.is-pulsing::after {
  animation: pulseLine 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pulseLine {
  0% {
    transform: translateX(-100%) translateZ(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw)) translateZ(0);
    opacity: 0;
  }
}

/* --- section base --- */
section {
  scroll-margin-top: 6rem;
  padding: 6rem 4rem;
  background-color: #1c1b18;
  color: #e2e8f0;
  position: relative;
  min-height: 50vh;
}

.section-inner {
  padding: 0 5rem;
  margin: 0 auto;
  max-width: 1280px;
}

/* --- footer --- */
footer {
  background-color: #111;
  border-top: 1px solid rgba(10, 169, 120, 0.2);
  padding: 1rem;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-family: "Orbitron", sans-serif;
  color: #555;
  letter-spacing: 0.1em;
}

.em-line ::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #0aa978 15%,
    #0aa978 85%,
    transparent
  );
}

/* ============================================================
   3. COMPONENTS
============================================================ */

/* --- fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- typography --- */
.contents-title {
  font-family: "Orbitron", sans-serif;
  color: #0aa978;
  font-size: 10rem;
  overflow: hidden;
  margin-bottom: 4rem;
  line-height: 1.1;
  text-shadow:
    0 0 10px rgba(10, 169, 120, 0.8),
    0 0 30px rgba(10, 169, 120, 0.2),
    0 0 20px rgba(10, 169, 120, 0.3);
}

.sub-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: #0aa978;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(10, 169, 120, 0.3);
}

.ceo-message .sub-title {
  margin-bottom: 3rem;
}

.block {
  margin-bottom: 5rem;
}

/* ============================================================
   4. TOP / HERO
============================================================ */
.top {
  width: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 500;
}

.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10, 169, 120, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 200px;
  height: 200px;
}
.ring-2 {
  width: 340px;
  height: 340px;
}
.ring-3 {
  width: 480px;
  height: 480px;
  border-color: rgba(10, 169, 120, 0.07);
}

.corp-logo {
  opacity: 0;
  transition: opacity 1s ease;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 600;
  max-width: 480px;
  width: 60%;
  pointer-events: none;
}

/* ============================================================
   5. STATEMENT
============================================================ */
#statement {
  position: relative;
  height: 230vh;
  background-color: #1c1b18;
  padding: 0 !important;
  margin: 0 !important;
  font-size: clamp(2rem, 4vw, 3rem);
}

#statement .statement-inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100dvh;
  box-sizing: border-box;
  padding: 0 2.4rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

#statement.is-visible .statement-inner {
  position: fixed;
  top: 0;
}

#statement.is-passed .statement-inner {
  position: absolute;
  top: auto;
  bottom: 0;
  transform: translateX(-50%);
}

#statement .emphasis,
#statement .mission {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4.8rem);
  box-sizing: border-box;
}

#statement .emphasis {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: #0aa978;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-shadow: 0 0 15px rgba(10, 169, 120, 0.7);
  text-align: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
  white-space: normal;
  word-break: normal;
}

#statement.is-visible .emphasis {
  opacity: 1;
}

#statement .mission {
  max-width: 660px;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

#statement .cm-sp {
  display: none;
}

#statement.step-active .emphasis {
  opacity: 0.08;
  text-shadow: none;
  transform: translate(-50%, -50%) scale(1);
}

#statement.step-active .mission {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.cm-pc {
  display: block;
}
.cm-sp {
  display: none;
}

@media (max-width: 768px) {
  #statement .cm-pc {
    display: none !important;
  }
  #statement .cm-sp {
    display: block !important;
  }

  .emphasis {
    font-size: clamp(1.4rem, 5vw, 2.4rem);
    letter-spacing: 0.15em;
  }
}

/* ============================================================
   6. SERVICE
============================================================ */

/* PC: サイドバーレイアウト */

.svc-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  gap: 0;
}

.svc-side-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #444;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.svc-side-btn:hover .svc-side-dot {
  border-color: #94a3b8;
}

.svc-side-btn.active .svc-side-dot {
  background: #0aa978;
  border-color: #0aa978;
  box-shadow: 0 0 6px rgba(10, 169, 120, 0.6);
}

.svc-side-label {
  font-size: 1.6rem;
  font-weight: 500;
  color: #556;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.svc-side-btn:hover .svc-side-label {
  color: #aab;
}
.svc-side-btn.active .svc-side-label {
  color: #e2e8f0;
}

.svc-content {
  padding-left: 3.2rem;
  display: grid;
}

.svc-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.svc-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.svc-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 2px solid #0aa978;
  padding: 1.6rem 2rem;
}

.svc-card-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.svc-card p {
  color: #94a3b8;
  line-height: 1.9;
}

/* SP: アコーディオン */
.acc-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.acc-head-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #aab;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.acc-head[aria-expanded="true"] .acc-head-title {
  color: #e2e8f0;
}

.acc-arrow {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  position: relative;
}

.acc-arrow::before,
.acc-arrow::after {
  content: "";
  position: absolute;
  background: #0aa978;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.acc-arrow::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.acc-arrow::after {
  width: 1.5px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.acc-head[aria-expanded="true"] .acc-arrow::after {
  transform: translateX(-50%) scaleY(0);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.acc-body.is-open {
  grid-template-rows: 1fr;
}

.acc-body-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

.acc-body.is-open .acc-body-inner {
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  #services {
    padding: 5rem 2rem;
  }

  .svc-layout {
    display: none;
  }
  .svc-accordion {
    display: block;
  }

  .svc-card p {
    font-size: 1.4rem;
  }
}

/* ===========================
   SERVICE — キャッチコピー
=========================== */
.svc-catch {
  padding: 1.4rem 2.4rem;
  margin-bottom: 4rem;
}

.svc-catch-main {
  font-size: 3rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.svc-catch-sub {
  font-size: 2rem;
  color: #94a3b8;
  line-height: 1.8;
}

/* ===========================
   SERVICE — CORE SERVICE（デバイス再生）
=========================== */
.svc-hero {
  padding: 2.8rem 3.2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.01);
}

.svc-hero-eyebrow {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: #0aa978;
  margin-bottom: 1rem;
}

.svc-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.svc-hero-card {
  border-left: 2px solid rgba(10, 169, 120, 0.4);
  padding: 1.4rem 1.6rem;
}
.svc-hero-card--featured {
  border-left: 2px solid #0aa978;
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.svc-hero-card--featured .card-text {
  padding: 1.6rem 1.8rem;
}

.card-image {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.svc-hero-card-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  margin-bottom: 0.6rem;
}

.svc-hero-card p {
  font-size: 1.8rem;
  color: #94a3b8;
  line-height: 1.8;
}

/* ===========================
   SERVICE — OTHER SERVICES
=========================== */
.svc-other-label {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.2rem;
  color: rgba(10, 169, 120, 0.6);
}

.svc-hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #e2e8f0;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* PC: カード左・画像右 */
.svc-hero-body {
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr);
  gap: 2.4rem;
  align-items: center;
}

/* カード縦並び */
.svc-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.svc-hero-card {
  border-left: 2px solid rgba(10, 169, 120, 0.4);
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.01);
}

.svc-hero-card p {
  color: #94a3b8;
  line-height: 1.8;
}

/* 画像エリア */
.svc-hero-image {
  width: 100%;
  min-width: 300px;
  flex-shrink: 0;
  align-self: center;
  position: relative;
}

.ba-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.ba-caption span {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #0aa978;
}

.svc-hero-image img {
  width: 100%;
  display: block;
  border-radius: 2px;
  filter: brightness(0.92);
}

.svc-other {
  padding: 2.8rem 3.2rem;
}

.svc-other-wrap {
  display: grid;
  grid-template-columns: 25rem 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-other-accordion {
  display: none;
}

.svc-other-nav {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.svc-other-btn {
  font-weight: 500;
  font-size: 1.6rem;
  color: #445;
  padding: 1.4rem 1.6rem 1.4rem 1.2rem;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
  white-space: nowrap;
}

.svc-other-btn:hover {
  color: #aab;
  background: rgba(255, 255, 255, 0.02);
}

.svc-other-btn.active {
  color: #e2e8f0;
  border-left-color: #0aa978;
  background: rgba(10, 169, 120, 0.04);
}

.svc-other-dot {
  width: 5px;
  height: 5px;
  margin-right: 1rem;
  border-radius: 50%;
  border: 1px solid #444;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.svc-other-btn:hover .svc-other-dot {
  border-color: #94a3b8;
}

.svc-other-btn.active .svc-other-dot {
  background: #0aa978;
  border-color: #0aa978;
  box-shadow: 0 0 5px rgba(10, 169, 120, 0.6);
}

.svc-other-content {
  display: grid;
  padding: 1.6rem 2rem;
}

.svc-other-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.svc-other-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.svc-other-card {
  border-left: 2px solid rgba(10, 169, 120, 0.25);
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.01);
}

.svc-other-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.svc-other-card p {
  color: #94a3b8;
  line-height: 1.8;
}

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 768px) {
  .svc-hero {
    padding: 2rem 1.8rem;
  }

  .svc-hero-cards {
    grid-template-columns: 1fr;
  }

  .svc-hero-card--featured {
    grid-template-columns: 1fr;
  }

  .card-image {
    width: 100%;
  }

  /* PCサイドバーを非表示、アコーディオンを表示 */
  .svc-other-wrap {
    display: none;
  }

  .svc-other-accordion {
    display: block;
  }

  .svc-hero-body {
    display: flex;
    flex-direction: column;
  }

  .svc-hero-image {
    order: -1;
    width: 100%;
    margin-top: 1.6rem;
  }

  /* アコーディオン内のカード */
  .svc-other-accordion .svc-other-card {
    margin-bottom: 0;
  }

  .svc-other-accordion .acc-body-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Technology Vision */

.tv-block {
  margin-top: 5rem;
}

.vision-wrap {
  margin-top: 2rem;
  position: relative;
  min-height: 400px;
}

.vision-lead {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 580px;
  font-size: 1.8rem;
}

.roadmap-stair {
  margin-left: calc(100% - 750px);
  min-width: 0;
}
.rm-stair-item {
  display: flex;
  align-items: stretch;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.rm-stair-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rm-stair-item:nth-child(5) {
  transition-delay: 0s;
  padding-left: 0;
}
.rm-stair-item:nth-child(4) {
  transition-delay: 0.1s;
  padding-left: 6rem;
}
.rm-stair-item:nth-child(3) {
  transition-delay: 0.2s;
  padding-left: 12rem;
}
.rm-stair-item:nth-child(2) {
  transition-delay: 0.3s;
  padding-left: 18rem;
}
.rm-stair-item:nth-child(1) {
  transition-delay: 0.4s;
  padding-left: 24rem;
}

.rm-stair-line {
  width: 1px;
  background: rgba(10, 169, 120, 0.2);
  flex-shrink: 0;
  margin-right: 2rem;
  position: relative;
}

.rm-stair-item:nth-child(1) .rm-stair-line {
  background: linear-gradient(
    to bottom,
    transparent 2rem,
    rgba(10, 169, 120, 0.2) 2rem
  );
}

.rm-stair-line::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0aa978;
  box-shadow: 0 0 8px rgba(10, 169, 120, 0.6);
}

.rm-stair-body {
  padding: 1.6rem 0;
  flex: 1;
  min-width: 480px;
}

.rm-stair-num {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.2em;
  color: #0aa978;
  margin-bottom: 0.4rem;
}

.rm-stair-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.rm-stair-body p {
  color: #94a3b8;
  line-height: 1.8;
}

@media (max-width: 1320px) {
  .vision-wrap {
    min-height: unset;
  }

  .vision-lead {
    position: static;
    max-width: 100%;
    margin-bottom: 2.4rem;
  }
}

@media (max-width: 880px) {
  .vision-wrap {
    min-height: unset;
  }

  .vision-lead {
    position: static;
    max-width: 100%;
    margin-bottom: 2.4rem;
  }

  .roadmap-stair {
    margin-left: 0;
    width: 100%;
  }
  .rm-stair-body {
    min-width: 0;
    word-break: break-word;
  }

  .rm-stair-item:nth-child(n) {
    padding-left: 0;
  }
}

/* ============================================================
   7. SOLUTION
============================================================ */
.sol-lead {
  font-size: 1.8rem;
  line-height: 2;
  padding: 1.4rem 0 1.4rem 2.4rem;
  margin-bottom: 3.2rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.solution {
  display: flex;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.4rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.sol-num {
  font-family: "Orbitron", sans-serif;
  font-size: 2.4rem;
  color: #0aa978;
  line-height: 1;
  flex-shrink: 0;
}

.sol-content .card-title {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.sol-content p {
  font-size: 1.6rem;
  color: #94a3b8;
  line-height: 1.9;
}

.card-title {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

/* Global Partners */
.gp-block {
  margin-top: 5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.partner-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid #0aa978;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.partner-name {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.partner-loc {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: #0aa978;
  margin-bottom: 1.2rem;
}

.partner-card p {
  font-size: 1.6rem;
  color: #94a3b8;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   8. ABOUT
============================================================ */

/* History */
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.history-table td {
  padding: 2rem 0;
  vertical-align: top;
}

.history-table .tl-label {
  color: #0aa978;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding-right: 3.2rem;
  width: 1%;
}

.tl-body {
  font-size: 1.8rem;
  color: #94a3b8;
  line-height: 1.9;
}

/* CEO Message */
.ceo-message {
  position: relative;
  padding: 2.8rem 0 2.8rem 3.2rem;
}

#about .ceo-message p {
  font-size: 2rem;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  margin: 0 0 0.8rem 0;
}

#about .right-set {
  text-align: right;
  margin-top: 3.5rem;
}

#about .right-set p {
  color: #747d8c;
  line-height: 1.5;
  margin: 0 0 0.1rem 0;
}

#about .ceo-name {
  font-size: clamp(1.6rem, 3.8vw, 1.65rem);
}

#about .right-set .com-name {
  font-size: clamp(1.2rem, 3.2vw, 1.35rem);
}

@media (max-width: 768px) {
  .cm-pc {
    display: none !important;
  }
  .cm-sp {
    display: block !important;
  }

  #about .cm-sp p {
    line-height: 1;
  }
  #about .right-set {
    margin-top: 2.5rem;
  }
  #about .ceo-message p {
    font-size: 1.6rem;
  }
  .tl-body {
    font-size: 1.6rem;
  }
}

/* ============================================================
   9. COMPANY
============================================================ */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-table td {
  padding: 1.4rem 2rem;
  font-size: 1.8rem;
  vertical-align: top;
}

.td-en {
  color: #777788;
  font-size: 1.6rem;
}

.td-en--block {
  display: block;
  margin-top: 0.6rem;
}

.table-label {
  color: #0aa978;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  width: 110px;
  font-family: "Orbitron", sans-serif;
  padding-top: 1.6rem !important;
}

.contact-box {
  border: 1px solid rgba(10, 169, 120, 0.3);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-lead {
  color: #94a3b8;
  line-height: 1.8;
}

.contact-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.6rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.contact-btn:hover {
  border-color: #0aa978;
  background: rgba(10, 169, 120, 0.05);
}

.contact-btn-icon {
  font-size: 1.4rem;
  color: #0aa978;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.contact-btn-label {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.contact-btn-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .company-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .company-table td {
    padding: 1.4rem 0;
  }
}

/* ============================================================
   10. NAV / HAMBURGER / DRAWER
============================================================ */
.nav-list {
  display: flex;
  justify-content: flex-end;
  margin: 0 2rem 0 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

.menu-item {
  font-family: "Orbitron", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
}

.menu-item::after {
  content: "";
  width: 0.1rem;
  height: 1.4rem;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 1.5rem;
}

.menu-item:last-child::after {
  display: none;
}

.menu-item a {
  text-decoration: none;
  color: #0d2b20;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.menu-item a:hover {
  color: #0aa978;
}

.hamburger {
  display: none;
  position: relative;
  width: 3rem;
  height: 2.4rem;
  margin: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 0.2rem;
  background-color: #aab;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background-color 0.3s,
    box-shadow 0.3s;
}

.hamburger:hover span {
  background-color: #0aa978;
  box-shadow: 0 0 10px #0aa978;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 13, 0.97);
  backdrop-filter: blur(15px);
  z-index: 150;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}

.drawer.is-active {
  opacity: 1;
  visibility: visible;
}

.drawer-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.drawer-item {
  margin: 3rem 0;
  transform: translateX(-30px);
  opacity: 0;
  transition:
    transform 0.4s,
    opacity 0.4s;
}

.drawer.is-active .drawer-item {
  transform: translateX(0);
  opacity: 1;
}

.drawer-item:nth-child(1) {
  transition-delay: 0.1s;
}
.drawer-item:nth-child(2) {
  transition-delay: 0.2s;
}
.drawer-item:nth-child(3) {
  transition-delay: 0.3s;
}
.drawer-item:nth-child(4) {
  transition-delay: 0.4s;
}

.drawer-item a {
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  color: #e2e8f0;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  transition: color 0.3s;
}

.drawer-item a:hover {
  color: #0aa978;
}

@media (max-width: 768px) {
  section {
    padding: 5rem 2rem;
  }

  .nav-container.pc-nav {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    margin-right: 0;
    z-index: 700;
  }

  .corp-logo {
    width: 70%;
    max-width: 320px;
  }

  .section-inner {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .contents-title {
    font-size: 5rem;
  }
}
