/* ========================================
   トップページ新規セクション用CSS
   中井国際特許事務所 - 2026年モダンリデザイン
   ======================================== */

/* ===== 共通コンテナ ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ===== セクション共通スタイル ===== */
section {
  padding: 8rem 0;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1.7rem;
  text-align: center;
  color: #64748b;
  margin-bottom: 5rem;
  font-weight: 400;
}

/* ===== 新ヒーローセクション（画像背景 + オーバーレイ） ===== */
.hero-section-modern {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 58, 138, 0.70) 100%),
    url('../img/aj100_sc002.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 8rem 3rem;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content-modern {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-title-modern {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.3;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
  color: #fff;
}

.hero-subtitle-modern {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 3.5rem;
  line-height: 1.9;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 統計表示 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1.4rem;
  color: #cbd5e1;
  font-weight: 500;
}

.hero-cta-modern {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3.5rem;
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff !important;
  border: none;
}

.btn-primary-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.btn-secondary-modern {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
}

.btn-secondary-modern:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.btn-secondary-modern svg {
  flex-shrink: 0;
}

.hero-info-modern {
  font-size: 1.5rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.hero-info-modern p {
  margin-bottom: 0.8rem;
}

.hero-access {
  font-size: 1.4rem;
  color: #94a3b8;
  margin-top: 1rem;
}

/* ===== 取扱業務セクション ===== */
.services-section {
  background-color: #f8fafc;
}

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

.service-card {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
}

.service-icon-modern {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-radius: 16px;
  color: #3b82f6;
  transition: all 0.3s;
}

.service-card:hover .service-icon-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  color: #3b82f6 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.service-link:hover {
  color: #2563eb !important;
  transform: translateX(4px);
}

/* ===== 事務所の強みセクション ===== */
.strengths-section {
  background-color: #fff;
}

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

.strength-card {
  padding: 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s;
}

.strength-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.strength-number {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.strength-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.strength-description {
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1.8;
}

/* ===== ご相談の流れセクション ===== */
.flow-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-step {
  flex: 1;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.flow-step-number {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.flow-step-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.flow-step-description {
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1.7;
}

.flow-arrow {
  font-size: 3rem;
  color: #3b82f6;
  font-weight: 700;
  margin: 0 2rem;
  flex-shrink: 0;
}

/* ===== お問い合わせ・アクセスセクション ===== */
.contact-access-section {
  background-color: #fff;
}

.contact-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card,
.access-card {
  background: #f8fafc;
  padding: 4rem 3rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  text-align: center;
}

.card-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.card-description {
  font-size: 1.6rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-tel,
.contact-fax {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #334155;
}

.contact-tel a {
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.contact-tel a:hover {
  color: #2563eb !important;
}

.access-station {
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-primary-large {
  display: inline-block;
  padding: 1.6rem 4rem;
  background-color: #3b82f6;
  color: #fff !important;
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #3b82f6;
  transition: all 0.3s;
}

.btn-primary-large:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  display: inline-block;
  padding: 1.4rem 3rem;
  background-color: transparent;
  color: #3b82f6 !important;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #3b82f6;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: #3b82f6;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ===== レスポンシブデザイン ===== */

/* タブレット */
@media (max-width: 900px) {
  section {
    padding: 4rem 0;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flow-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }

  .contact-access-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* スマートフォン */
@media (max-width: 568px) {
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

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

  .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  /* ヒーロー */
  .hero-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    min-width: auto;
  }

  .hero-info {
    font-size: 1.2rem;
  }

  /* 取扱業務 */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }

  .service-icon {
    font-size: 4rem;
  }

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

  .service-description {
    font-size: 1.4rem;
  }

  /* 強み */
  .strength-card {
    padding: 2.5rem 2rem;
  }

  .strength-title {
    font-size: 2rem;
  }

  .strength-description {
    font-size: 1.4rem;
  }

  /* 相談フロー */
  .flow-step {
    padding: 2.5rem 1.5rem;
  }

  .flow-step-title {
    font-size: 1.8rem;
  }

  .flow-step-description {
    font-size: 1.4rem;
  }

  /* お問い合わせ・アクセス */
  .contact-card,
  .access-card {
    padding: 3rem 2rem;
  }

  .card-title {
    font-size: 2.4rem;
  }

  .card-description {
    font-size: 1.5rem;
  }

  .contact-tel,
  .contact-fax {
    font-size: 1.6rem;
  }

  .btn-primary-large {
    width: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
  }

  .btn-outline {
    width: 100%;
    padding: 1.2rem 2rem;
  }
}


/* ===== モダンヒーロー: レスポンシブ ===== */
@media (max-width: 900px) {
  .hero-section-modern {
    padding: 7rem 2rem;
  }

  .hero-title-modern {
    font-size: 3.6rem;
  }

  .hero-subtitle-modern {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 2.5rem;
  }

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

@media (max-width: 568px) {
  .hero-section-modern {
    padding: 5rem 1.5rem;
  }

  .hero-title-modern {
    font-size: 2.8rem;
  }

  .hero-subtitle-modern {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-cta-modern {
    flex-direction: column;
    width: 100%;
  }

  .btn-modern {
    width: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
    justify-content: center;
  }

  .hero-info-modern {
    font-size: 1.3rem;
  }

  .hero-access {
    font-size: 1.2rem;
  }
}
