/* ===== リセット・基本設定 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a2e;
  line-height: 1.8;
  background-color: #fff;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background-color: #fff;
  color: #2563eb;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #2563eb;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

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

.logo-main {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.6rem;
  color: #6b7280;
  letter-spacing: 0.05em;
}

.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-list a {
  font-size: 0.88rem;
  font-weight: 400;
  color: #374151;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #2563eb;
}

.nav-cta {
  background-color: #2563eb;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: background-color 0.3s !important;
}

.nav-cta:hover {
  background-color: #1d4ed8;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1a1a2e;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.portfolio-notice-header {
  text-align: center;
  font-size: 0.6rem;
  color: #9ca3af;
  padding: 0 24px 2px;
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.75) 0%,
    rgba(37, 99, 235, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  font-weight: 400;
  opacity: 0.85;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

/* ===== 数字実績 ===== */
.stats {
  background-color: #f8fafc;
  padding: 56px 0;
  border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 500;
}

.stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 400;
}

/* ===== セクション共通 ===== */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #2563eb;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

.section-label.center,
.section-title.center,
.section-desc.center {
  text-align: center;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 1.5;
}

.section-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ===== 会社概要 ===== */
.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.about-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: #4b5563;
  margin-bottom: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
  transition: opacity 0.3s;
}

.text-link:hover {
  opacity: 0.7;
}

/* ===== サービス ===== */
.service {
  padding: 100px 0;
  background-color: #f8fafc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.service-img-wrap {
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-body {
  padding: 24px 28px 28px;
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #2563eb;
  background-color: #eff6ff;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.service-desc-text {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.8;
}

/* ===== 導入の流れ ===== */
.flow {
  padding: 100px 0;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.flow-item {
  text-align: center;
  position: relative;
  padding: 32px 20px;
}

.flow-item::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -16px;
  width: 32px;
  height: 2px;
  background-color: #d1d5db;
}

.flow-item:last-child::after {
  display: none;
}

.flow-num {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  display: block;
  margin-bottom: 16px;
  opacity: 0.2;
  line-height: 1;
}

.flow-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.8;
}

/* ===== 導入実績 ===== */
.results {
  padding: 100px 0;
  background-color: #f8fafc;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.result-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s;
}

.result-card:hover {
  transform: translateY(-4px);
}

.result-img-wrap {
  height: 180px;
  overflow: hidden;
}

.result-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-body {
  padding: 24px;
}

.result-industry {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
  background-color: #f3f4f6;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.result-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.5;
}

.result-text {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.8;
}

/* ===== お客様の声 ===== */
.voice {
  padding: 100px 0;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.voice-card {
  background: #f8fafc;
  padding: 32px 28px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
}

.voice-quote p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 2;
  margin-bottom: 24px;
}

.voice-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
}

.voice-role {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* ===== CTA・お問い合わせ ===== */
.cta {
  padding: 100px 0;
  background-color: #f8fafc;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 48px;
  line-height: 1.9;
}

.contact-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #1a1a2e;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* ===== フッター ===== */
.footer {
  background-color: #1a1a2e;
  color: #9ca3af;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.logo-mark-footer {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-logo-jp {
  font-size: 0.6rem;
  color: #6b7280;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-links h4,
.footer-info h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f9fafb;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.83rem;
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f9fafb;
}

.footer-info p {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 2;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
}

.portfolio-notice {
  font-size: 0.6rem;
  color: #4b5563;
  margin-bottom: 6px;
}

.copyright {
  font-size: 0.72rem;
  color: #4b5563;
  letter-spacing: 0.04em;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }

  .nav.open .nav-list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav.open .nav-list a {
    font-size: 1.05rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 280px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-item::after {
    display: none;
  }

  .results-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .voice-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-label {
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .service,
  .flow,
  .results,
  .voice,
  .cta {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.35rem;
  }
}
