/* ==============================================
   styles.css — メルドワークス コーポレートサイト
   メインスタイルシート
   ============================================== */

/* ──────────────────────────────────────────────
   CSS カスタムプロパティ（変数）
   色・フォント・余白はここで一元管理
   ────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:          #090909;
  --color-bg-alt:      #0e0e0f;
  --color-bg-card:     #111113;
  --color-bg-card-hov: #16161a;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-hov:  rgba(255, 165, 50, 0.3);

  --color-text:        #e8e8e8;
  --color-text-muted:  #888899;
  --color-text-faint:  #444455;

  --color-accent:      #f07030;      /* オレンジ */
  --color-accent-dark: #c05020;
  --color-accent-glow: rgba(240, 112, 48, 0.15);

  --color-white:       #ffffff;

  /* Typography */
  --font-en: 'Inter', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;

  --size-hero-h1:   clamp(2.8rem, 8vw, 6rem);
  --size-h2:        clamp(1.8rem, 4vw, 3rem);
  --size-h3:        clamp(1.1rem, 2vw, 1.4rem);
  --size-body:      1rem;
  --size-small:     0.875rem;
  --size-label:     0.72rem;

  /* Spacing */
  --section-py:  clamp(80px, 12vw, 160px);
  --container-w: 1160px;
  --gap-grid:    clamp(24px, 4vw, 48px);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:    0.2s;
  --dur-mid:     0.4s;
  --dur-slow:    0.7s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ──────────────────────────────────────────────
   Container
   ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ──────────────────────────────────────────────
   Typography Utilities
   ────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-en);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-ja);
  font-size: var(--size-h2);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.pc-only {
  display: inline;
}

/* ──────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) var(--ease-smooth);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(240, 112, 48, 0.3);
}

.btn-primary.btn-large {
  padding: 18px 52px;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-block;
  padding: 13px 35px;
  border: 1px solid var(--color-border-hov);
  color: var(--color-text);
  font-family: var(--font-en);
  font-size: var(--size-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

.link-arrow {
  font-family: var(--font-en);
  font-size: var(--size-small);
  color: var(--color-accent);
  letter-spacing: 0.05em;
  transition: letter-spacing var(--dur-fast);
}

.link-arrow:hover {
  letter-spacing: 0.1em;
}

/* ──────────────────────────────────────────────
   HEADER / NAVIGATION
   ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-mid) var(--ease-smooth),
              border-bottom var(--dur-mid);
}

.site-header.scrolled {
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--dur-fast);
}
.nav-logo:hover { opacity: 0.7; }

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.logo-tag {
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}

.nav-links a:hover { color: var(--color-white); }

.nav-links .nav-cta {
  padding: 8px 22px;
  border: 1px solid var(--color-border-hov);
  border-radius: 2px;
  color: var(--color-accent);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.nav-links .nav-cta:hover {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  background: rgba(9, 9, 9, 0.97);
  border-bottom: 1px solid var(--color-border);
  padding: 24px clamp(20px, 5vw, 60px) 32px;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 20px; }
.nav-mobile a {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.nav-mobile a:hover { color: var(--color-white); }

/* ──────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px clamp(20px, 5vw, 60px) 80px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: var(--size-label);
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-ja);
  font-size: var(--size-hero-h1);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-subline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 48px;
}
.hero-subline strong {
  color: var(--color-accent);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-text-faint);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ──────────────────────────────────────────────
   MESSAGE SECTION
   ────────────────────────────────────────────── */
.section-message {
  padding: var(--section-py) 0;
  background: var(--color-bg-alt);
}

.message-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
}

.message-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 32px;
}

.message-body {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 2;
}

/* ──────────────────────────────────────────────
   ABOUT SECTION
   ────────────────────────────────────────────── */
.section-about {
  padding: var(--section-py) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: start;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 2;
}

.about-text .link-arrow {
  margin-top: 8px;
  display: inline-block;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.stat-item {
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color var(--dur-mid), background var(--dur-mid);
}

.stat-item:hover {
  border-color: var(--color-border-hov);
  background: var(--color-bg-card);
}

.stat-number {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  min-width: 52px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ──────────────────────────────────────────────
   WHY BRAINWAVE SECTION
   ────────────────────────────────────────────── */
.section-why {
  padding: var(--section-py) 0;
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}

.why-card {
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color var(--dur-mid), background var(--dur-mid), transform var(--dur-mid);
}

.why-card:hover {
  border-color: var(--color-border-hov);
  background: var(--color-bg-card);
  transform: translateY(-4px);
}

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

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.5;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ──────────────────────────────────────────────
   PRODUCT SECTION
   ────────────────────────────────────────────── */
.section-product {
  padding: var(--section-py) 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

/* Product Visual (device mockup) */
.product-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.product-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}


.device-label {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.device-sub {
  font-family: var(--font-en);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--color-text-faint);
}

.device-wave {
  position: relative;
  width: 200px;
  color: var(--color-accent);
  opacity: 0.5;
}

.wave-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: waveDraw 3s ease-in-out infinite alternate;
}

@keyframes waveDraw {
  to { stroke-dashoffset: 0; }
}

.product-description {
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 32px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   TECHNOLOGY SECTION
   ────────────────────────────────────────────── */
.section-technology {
  padding: var(--section-py) 0;
  background: var(--color-bg-alt);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}

.tech-item {
  padding: 48px 40px;
  background: var(--color-bg-card);
  transition: background var(--dur-mid), border var(--dur-mid);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.tech-item:hover::before { opacity: 1; }
.tech-item:hover { background: var(--color-bg-card-hov); }

.tech-number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-text-faint);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.tech-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
}

.tech-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.tech-cta {
  text-align: center;
}

/* ──────────────────────────────────────────────
   USE CASES SECTION
   ────────────────────────────────────────────── */
.section-use-cases {
  padding: var(--section-py) 0;
}

.usecase-tabs {
  width: 100%;
}

.tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 14px 28px;
  font-family: var(--font-ja);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--color-text); }

.tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  padding: 56px 0 0;
}

.tab-panel.active { display: block; }

.tab-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: center;
}

.tab-text h3 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 20px;
}

.tab-text p {
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 24px;
}

.tab-text ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-text ul li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.tab-text ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.tab-visual {
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: var(--color-bg-card);
  position: relative;
  overflow: hidden;
}

.tab-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, var(--color-accent-glow) 0%, transparent 60%);
}

.visual-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-faint);
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────────
   VISION SECTION
   ────────────────────────────────────────────── */
.section-vision {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.vision-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.vision-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
}

.vision-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: 36px;
}

.vision-body {
  color: var(--color-text-muted);
  line-height: 2.1;
  font-size: 0.95rem;
}

/* ──────────────────────────────────────────────
   COMPANY SECTION
   ────────────────────────────────────────────── */
.section-company {
  padding: var(--section-py) 0;
  background: var(--color-bg-alt);
}

.company-table-wrap {
  margin-bottom: 48px;
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.company-table th {
  width: 200px;
  color: var(--color-text-muted);
  font-weight: 400;
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-cta { text-align: center; }

/* ──────────────────────────────────────────────
   CONTACT CTA SECTION
   ────────────────────────────────────────────── */
.section-contact-cta {
  padding: var(--section-py) 0;
}

.contact-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.contact-cta-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.5;
}

.contact-cta-body {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 40px;
  background: var(--color-bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

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

.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-address {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  font-family: var(--font-en);
}

/* ──────────────────────────────────────────────
   SCROLL REVEAL (JS-driven)
   ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ──────────────────────────────────────────────
   PAGE HEADER (for inner pages)
   ────────────────────────────────────────────── */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
}

.page-header .section-label { margin-bottom: 20px; }

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.3;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tab-panel-inner { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }
  .footer-nav ul { gap: 20px; }

  .pc-only { display: none; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .tab-buttons { gap: 0; }
  .tab-btn { padding: 12px 16px; font-size: 0.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .company-table th { width: 120px; }
}
