/* 2026-04-21 00:00:00 */
/* components.css — 共通コンポーネント */

/* ============================================================
   Section Labels & Titles
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 56px;
  line-height: 1.25;
  text-wrap: balance;
}

/* ============================================================
   Tech Ticker
   ============================================================ */
.tech-ticker {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 168, 255, 0.08);
  border-bottom: 1px solid rgba(0, 168, 255, 0.08);
  overflow: hidden;
  background: rgba(26, 26, 46, 0.3);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(224, 224, 224, 0.35);
  letter-spacing: 0.08em;
  padding: 0 40px;
  white-space: nowrap;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.ticker-item:hover {
  color: var(--blue);
  text-shadow: 0 0 8px var(--blue-glow);
}

.ticker-sep {
  color: rgba(0, 168, 255, 0.2);
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   Service Cards
   ============================================================ */
.services {
  position: relative;
  z-index: 1;
  padding: 120px 0 100px;
  background: rgba(10, 10, 10, 0.93);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 168, 255, 0.08);
  border-top: 3px solid transparent;
  padding: 40px 32px;
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  border-color: rgba(0, 168, 255, 0.2);
  box-shadow: inset 0 0 30px rgba(0, 168, 255, 0.03);
}

.service-card:hover {
  box-shadow:
    0 0 30px var(--blue-glow),
    0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--blue);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card .service-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.65);
  line-height: 1.85;
}

/* ============================================================
   Numbers
   ============================================================ */
.numbers {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(26, 26, 46, 0.3);
  border-top: 1px solid rgba(0, 168, 255, 0.06);
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-item {
  padding: 24px 16px;
}

.number-value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  transition: text-shadow 0.5s ease;
}

.number-value.glow {
  text-shadow:
    0 0 20px var(--blue-glow),
    0 0 40px var(--blue-glow);
}

.number-suffix {
  font-size: 0.5em;
  color: rgba(0, 168, 255, 0.6);
}

.number-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(224, 224, 224, 0.5);
  letter-spacing: 0.04em;
}

/* ============================================================
   Company Info Table
   ============================================================ */
.company-info-table {
  margin-top: 40px;
  width: 100%;
}

.company-info-table dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  border: 1px solid rgba(0, 168, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.company-info-table dt,
.company-info-table dd {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
  font-size: 0.8125rem;
}

.company-info-table dt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.04);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.company-info-table dd {
  color: rgba(224, 224, 224, 0.75);
}

.company-info-table dl > dt:last-of-type,
.company-info-table dl > dd:last-of-type {
  border-bottom: none;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.15), rgba(224, 64, 251, 0.15));
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 168, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 168, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition:
    background 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow: hidden;
}

.cta-btn::after {
  content: "\2192";
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-out);
}

.cta-btn:hover::after {
  transform: translateX(4px);
}

.cta-btn:hover {
  background: var(--blue);
  color: var(--black);
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-2px);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.cta-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(0, 168, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ctaRipple 3s infinite;
  pointer-events: none;
  z-index: 0;
}

.cta-pulse-ring:nth-child(2) {
  animation-delay: 1s;
}

.cta-pulse-ring:nth-child(3) {
  animation-delay: 2s;
}

@keyframes ctaRipple {
  0% {
    width: 80px;
    height: 80px;
    opacity: 0.5;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
  }
}

/* ============================================================
   Back to Top Button
   位置は reCAPTCHA バッジ(bottom:14px 高さ60px)と被らないよう
   PC: bottom:96px / SP(@media 768px): bottom:140px に調整済
   ============================================================ */
.btn-top {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(224, 64, 251, 0.4);
  background: rgba(0, 168, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0, 168, 255, 0.3);
}

.btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-top:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 24px rgba(224, 64, 251, 0.5),
    0 0 48px rgba(0, 168, 255, 0.3);
  border-color: rgba(224, 64, 251, 0.7);
}

.btn-top:focus-visible {
  outline: 3px solid rgba(0, 168, 255, 0.5);
  outline-offset: 3px;
}

/* ============================================================
   Page Hero (sub pages)
   ============================================================ */
.page-hero {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 5% 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 168, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 168, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 168, 255, 0.25);
  border-radius: 2px;
}

.page-hero-tag::before {
  content: ">";
  font-weight: 700;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 0.9375rem;
  color: rgba(224, 224, 224, 0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 1;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
  background: rgba(26, 26, 46, 0.2);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(224, 224, 224, 0.4);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(0, 168, 255, 0.3);
}

.breadcrumb a {
  color: rgba(0, 168, 255, 0.6);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

/* ============================================================
   Filter Tabs (Works page)
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(224, 224, 224, 0.5);
  background: none;
  border: 1px solid rgba(0, 168, 255, 0.15);
  padding: 8px 20px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
  text-transform: uppercase;
}

.filter-tab.active,
.filter-tab:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(0, 168, 255, 0.06);
}

/* ============================================================
   Works Cards
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 168, 255, 0.08);
  padding: 32px;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.works-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}

.works-card:hover::before {
  opacity: 1;
}

.works-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 24px var(--blue-glow),
    0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 168, 255, 0.2);
}

.works-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.1);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.works-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.works-card .works-desc {
  font-size: 0.8125rem;
  color: rgba(224, 224, 224, 0.55);
  line-height: 1.7;
  margin-bottom: 16px;
}

.works-tech-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.works-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: rgba(224, 64, 251, 0.7);
  border: 1px solid rgba(224, 64, 251, 0.2);
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

.works-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 168, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(0, 168, 255, 0.6);
}

/* ============================================================
   Timeline (Company page)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), var(--purple));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-glow);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timeline-event {
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.7);
}

/* ============================================================
   Job Cards (Recruit page)
   ============================================================ */
.job-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 168, 255, 0.12);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.job-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.job-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.2);
  padding: 4px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.job-table {
  width: 100%;
  margin-top: 24px;
}

.job-table dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border: 1px solid rgba(0, 168, 255, 0.08);
}

.job-table dt,
.job-table dd {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
  font-size: 0.8125rem;
}

.job-table dt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.04);
}

.job-table dd {
  color: rgba(224, 224, 224, 0.75);
}

.job-table dl > dt:last-of-type,
.job-table dl > dd:last-of-type {
  border-bottom: none;
}

/* table要素向け（バックエンド/フロントエンド求人カード用） */
table.job-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  border: 1px solid rgba(0, 168, 255, 0.08);
  table-layout: fixed;
}

table.job-table th,
table.job-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
  font-size: 0.8125rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

table.job-table th {
  width: 140px;
  min-width: 140px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.04);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

table.job-table td {
  color: rgba(224, 224, 224, 0.78);
  word-break: break-word;
}

table.job-table tr:last-child th,
table.job-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   Contact Form
   ============================================================ */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(224, 224, 224, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--blue);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(0, 168, 255, 0.12);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 12px 16px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ff4d6d;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300a8ff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #1a1a2e;
  color: var(--text);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.65);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ff4d6d;
  margin-top: 6px;
  font-family: var(--font-mono);
}

.form-error-msg.visible {
  display: block;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  background: var(--blue);
  padding: 16px 48px;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.submit-btn:hover {
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.form-result {
  margin-top: 24px;
  padding: 16px 20px;
  font-size: 0.875rem;
  display: none;
  border-radius: 2px;
}

.form-result.success {
  display: block;
  background: rgba(0, 255, 128, 0.08);
  border: 1px solid rgba(0, 255, 128, 0.2);
  color: #00ff80;
}

.form-result.error {
  display: block;
  background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.2);
  color: #ff4d6d;
}

/* Contact sidebar card */
.contact-info-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 168, 255, 0.1);
  padding: 32px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.7);
}

.contact-info-value a {
  color: var(--blue);
  transition: text-shadow 0.3s;
}

.contact-info-value a:hover {
  text-shadow: 0 0 8px var(--blue-glow);
}

/* ============================================================
   About / General Content Sections
   ============================================================ */
.about {
  position: relative;
  z-index: 1;
  padding: 120px 0 100px;
  background: rgba(10, 10, 10, 0.92);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-title-block .section-title {
  margin-bottom: 24px;
}

.about-detail {
  font-size: 0.9375rem;
  color: rgba(224, 224, 224, 0.65);
  line-height: 2;
}

.about-detail code {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 0.85em;
  background: rgba(0, 168, 255, 0.06);
  padding: 2px 6px;
  border-radius: 2px;
}

.about-detail p + p {
  margin-top: 20px;
}

/* Content section wrapper */
.content-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(0, 168, 255, 0.06);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 168, 255, 0.05);
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.7);
}

.feature-list li::before {
  content: "▶";
  color: var(--blue);
  font-size: 0.625rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Steps flow */
.steps-flow {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
}

.step-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(0, 168, 255, 0.08);
  border-right: none;
}

.step-item:last-child {
  border-right: 1px solid rgba(0, 168, 255, 0.08);
}

.step-item::after {
  content: "›";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.5rem;
  z-index: 1;
}

.step-item:last-child::after {
  display: none;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ============================================================
   サブページ背景画像
   ============================================================ */
.page-business .page-hero {
  background:
    linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.84)),
    url("/assets/images/bg/bg-business.jpg") center / cover no-repeat;
  background-color: var(--black);
}

.page-company .page-hero {
  background:
    linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.84)),
    url("/assets/images/bg/bg-company.jpg") center / cover no-repeat;
  background-color: var(--black);
}

.page-recruit .page-hero {
  background:
    linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.84)),
    url("/assets/images/bg/bg-recruit.jpg") center / cover no-repeat;
  background-color: var(--black);
}

.page-works .page-hero {
  background:
    linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.84)),
    url("/assets/images/bg/bg-works.jpg") center / cover no-repeat;
  background-color: var(--black);
}

/* Price table */
.price-table {
  width: 100%;
  border: 1px solid rgba(0, 168, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 32px;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0, 168, 255, 0.06);
  text-align: left;
}

.price-table th {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.04);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.price-table td {
  color: rgba(224, 224, 224, 0.75);
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 0 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .numbers {
    padding: 60px 0;
  }

  .numbers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .about {
    padding: 80px 0 60px;
  }

  .cta-section {
    padding: 80px 0;
  }

  .company-info-table dl {
    grid-template-columns: 1fr;
  }

  .company-info-table dt {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .company-info-table dd {
    padding-top: 0;
  }

  .btn-top {
    bottom: 140px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .job-table dl {
    grid-template-columns: 1fr;
  }

  .job-table dt {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .job-table dd {
    padding-top: 0;
  }

  /* table要素のSPレイアウト: 縦スタック */
  table.job-table,
  table.job-table tbody,
  table.job-table tr {
    display: block;
    width: 100%;
  }

  table.job-table th,
  table.job-table td {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }

  table.job-table th {
    width: 100%;
    min-width: 0;
    background: rgba(0, 168, 255, 0.06);
    border-bottom: none;
    padding-bottom: 6px;
  }

  table.job-table td {
    padding-top: 4px;
    padding-bottom: 14px;
  }

  .steps-flow {
    flex-direction: column;
  }

  .step-item {
    border-right: 1px solid rgba(0, 168, 255, 0.08);
    border-bottom: none;
  }

  .step-item:last-child {
    border-bottom: 1px solid rgba(0, 168, 255, 0.08);
  }

  .step-item::after {
    content: "›";
    right: auto;
    bottom: -16px;
    top: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .page-hero {
    min-height: 280px;
    padding: 120px 5% 60px;
  }
}

@media (max-width: 480px) {
  .number-value {
    font-size: 2rem;
  }

  .cta-btn,
  .hero-cta {
    padding: 14px 28px;
    font-size: 0.875rem;
  }
}

/* ============================================================
   WIP Banner (全ページ共通・本番で非表示、制作中のみ表示)
   ============================================================ */
#wip-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(10, 12, 24, 0.95);
  border-bottom: 1px solid rgba(255, 180, 0, 0.5);
  padding: 8px 24px;
  font-size: 0.8125rem;
  color: rgba(255, 200, 60, 0.9);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(255, 180, 0, 0.1);
}

#wip-banner .wip-icon {
  animation: wip-spin 3s linear infinite;
  display: inline-block;
  font-size: 1rem;
}
@media (max-width: 900px) {
  #wip-banner {
    display: none !important;
  }
}

/* ============================================================
   Back to Top Button (reCAPTCHA badge と重ならない位置に配置)
   reCAPTCHA badge: fixed bottom:14px right:14px / 幅70px 高さ60px
   PC: badge上端より1個分上 / SP: 1.5個分上
   ============================================================ */
.btn-top {
  position: fixed;
  right: 24px;
  bottom: 96px; /* PC: reCAPTCHA(74) + 余白 + ボタン高の半分 */
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 168, 255, 0.4);
  background: rgba(10, 10, 10, 0.85);
  color: var(--blue, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-top:hover {
  background: rgba(0, 168, 255, 0.15);
  border-color: rgba(0, 168, 255, 0.7);
  color: #fff;
}

.btn-top:focus-visible {
  outline: 2px solid var(--blue, #00a8ff);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .btn-top {
    right: 16px;
    bottom: 140px; /* SP: reCAPTCHA上端より1.5個分上 */
    width: 40px;
    height: 40px;
  }
}
