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

:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-sub: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 100px 0; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,86,219,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.4);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-full { width: 100%; }

/* ===== セクションヘッダー ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-desc {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 16px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s;
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  transition: color 0.35s;
}
.header.scrolled .logo { color: var(--text); }
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.header.scrolled .nav-list a { color: var(--text); }
.nav-list a:hover { background: rgba(255,255,255,0.15); opacity: 1; }
.header.scrolled .nav-list a:hover { background: var(--primary-light); color: var(--primary); }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.header.scrolled .hamburger span { background: var(--text); }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(245,158,11,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(99,102,241,0.2) 0%, transparent 60%);
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 700px; }

.hero-sub {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--accent); }

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-num em {
  font-style: normal;
  font-size: 22px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDown 1.5s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== ニュース ===== */
.news {
  background: var(--bg);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.news-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.news-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.news-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.news-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.news-date { color: var(--text-sub); font-size: 13px; white-space: nowrap; }
.news-list a { color: var(--text); }
.news-list a:hover { color: var(--primary); opacity: 1; }

/* ===== About ===== */
.about { background: var(--white); }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text);
}
.about-lead strong { color: var(--primary); }
.about-text p {
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-image { display: flex; justify-content: center; }
.about-img-block {
  position: relative;
  width: 320px;
  height: 320px;
}
.about-img-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  text-align: center;
  border: 1px solid var(--border);
}
.about-img-card .img-icon { font-size: 32px; margin-bottom: 8px; }
.about-img-card p { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.about-img-card.card1 { top: 0; left: 0; }
.about-img-card.card2 { top: 50%; right: 0; transform: translateY(-50%); }
.about-img-card.card3 { bottom: 0; left: 20px; }

/* ===== Services ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(26,86,219,0.15);
}

.service-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.badge-mid { background: #fef3c7; color: #d97706; }

.service-icon { font-size: 48px; margin-bottom: 16px; }
.service-title { font-size: 22px; font-weight: 900; margin-bottom: 16px; }
.service-desc { color: var(--text-sub); line-height: 1.8; margin-bottom: 24px; }

.service-features {
  margin-bottom: 32px;
}
.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Features ===== */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.feature-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-title { font-size: 20px; font-weight: 900; margin-bottom: 16px; }
.feature-desc { color: var(--text-sub); font-size: 14px; line-height: 1.9; margin-bottom: 24px; }

.feature-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag span {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== Voices ===== */
.voices { background: var(--bg); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.voice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.voice-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.voice-name { font-weight: 700; font-size: 16px; }
.voice-detail { font-size: 13px; color: var(--text-sub); margin-top: 2px; }
.voice-text { font-size: 14px; color: var(--text-sub); line-height: 1.9; margin-bottom: 16px; }
.voice-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }

/* ===== Flow ===== */
.flow { background: var(--white); }
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform 0.3s;
}
.flow-step:hover { transform: translateY(-4px); }
.flow-step.highlight {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.flow-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.flow-step.highlight .flow-step-num { color: rgba(255,255,255,0.7); }
.flow-step-icon { font-size: 36px; margin-bottom: 12px; }
.flow-step-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.flow-step-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.flow-step.highlight .flow-step-desc { color: rgba(255,255,255,0.8); }

.flow-arrow {
  font-size: 24px;
  color: var(--border);
  padding-top: 60px;
  flex-shrink: 0;
}

/* ===== Company ===== */
.company { background: var(--bg); }
.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
}
.company-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
  width: 160px;
  white-space: nowrap;
}
.company-table td { color: var(--text-sub); }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.contact-tel {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.contact-hours { font-size: 13px; color: var(--text-sub); margin-bottom: 32px; }
.contact-points { display: flex; flex-direction: column; gap: 16px; }
.contact-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.contact-point span { font-size: 20px; }

.contact-form-wrap {
  background: var(--bg);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.required {
  font-size: 11px;
  color: #ef4444;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; }

.form-privacy { display: flex; align-items: center; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; }
.checkbox-label a { color: var(--primary); text-decoration: underline; }

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.form-success p { color: var(--text-sub); }

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo-white .logo-text { color: var(--white); }
.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); opacity: 1; }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== アニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .voices-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav.open .nav-list { flex-direction: column; width: 100%; }
  .nav.open .nav-list a { color: var(--text); padding: 14px; width: 100%; text-align: center; }
  .hamburger { display: flex; }

  .hero-title { font-size: 32px; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 30px; }
  .sp-hide { display: none; }

  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-image { display: none; }

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

  .features-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }

  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; width: 100%; }
  .flow-arrow { transform: rotate(90deg); padding-top: 0; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .news-list { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  .footer-links { grid-template-columns: 1fr; }
}
