:root {
  --primary: #0a2540;
  --secondary: #00aeef;
  --accent: #eab308;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
}

/* 横スクロール防止（画面外に退避しているモバイルメニュー対策） */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  vertical-align: middle;
}

/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* Custom Container */
.container-hgc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 8rem 0;
  }
}

/* Subhero Reference Style */
.subhero {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  color: white;
}

.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
}

.subhero > div {
  position: relative;
  z-index: 1;
}

/* ユーザーリクエストに基づき、フッター等の背景色をネイビーに固定 */
.bg-primary {
  background-color: #0a2540 !important;
}

/* Extracted from Templates */
/* From ./parts/index-hero.html */

.index-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary);
  text-align: center;
}

.index-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.index-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* 写真の可視性を高めるため少し上げる */
  filter: saturate(0.8) contrast(1.1);
}

.index-hero__overlay {
  position: absolute;
  inset: 0;
  /* 青のオーバーレイを薄く調整 (opacityを0.4から0.25、0.9から0.7へ) */
  background: radial-gradient(circle, rgba(10, 37, 64, 0.25) 0%, rgba(10, 37, 64, 0.7) 100%);
  z-index: 1;
}

.index-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.index-hero__label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--secondary);
  padding: 0 0.5rem 0.5rem 0.5rem;
}

.index-hero__title {
  font-family: var(--sans);
  line-height: 1.4;
  color: #ffffff;
}

.index-hero__description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.index-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0.6;
}

.index-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, transparent);
}

/* From ./parts/index-stats.html */

.index-stats {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  /* 画像まわりの余白を詰める（上下ともコンパクトに） */
  padding-top: 4rem;
  padding-bottom: 1rem;
}

@media (min-width: 1024px) {
  .index-stats {
    padding-top: 6rem;
    padding-bottom: 1.5rem;
  }
}

/* 図版のすぐ下（参画メンバー）との間隔も詰める */
#members {
  padding-top: 3rem;
}
@media (min-width: 1024px) {
  #members {
    padding-top: 4rem;
  }
}

.index-stats .concept-text {
  font-size: 1.125rem;
  line-height: 2;
  color: #334155;
}

/* From ./parts/index-paradigm.html */

#paradigm {
  background-color: #ffffff;
}

.paradigm-image-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 1rem;
  background-color: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.1);
  border: 1px solid rgba(10, 37, 64, 0.05);
  overflow: hidden;
}

.paradigm-image-fit {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.paradigm-image-container:hover .paradigm-image-fit {
  transform: scale(1.02);
}

.paradigm-bg-decoration {
  position: absolute;
  top: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .paradigm-image-fit {
    max-height: none;
  }
}

/* From ./parts/index-partners.html */

.index-partners {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.index-partners .partner-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.index-partners .partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: var(--secondary);
}

.index-partners .partner-logo-box {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.index-partners .partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.index-partners .partner-card:hover .partner-logo-box img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.index-partners .partner-logo-box::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: -1;
}

.index-partners .industry-tag {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* From ./parts/index-model.html */

.index-model {
  background-color: #ffffff;
  overflow: hidden;
}

.index-model .model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .index-model .model-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.index-model .icon-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.index-model .model-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.index-model .card:hover .model-icon-img {
  transform: scale(1.1) translateY(-5px);
}

.index-model .step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(10, 37, 64, 0.05);
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.index-model .model-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.index-model .model-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;
}

.index-model .conclusion-box {
  margin-top: 5rem;
  padding: 3rem;
  background: var(--primary);
  color: white;
  border-radius: 0.5rem;
  text-align: center;
}

/* From ./parts/index-cost.html */

.section-cost {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}
.cost-card {
  transition:
    transform 0.3s ease,
    opacity 0.5s ease;
}
.cost-card:hover {
  transform: translateY(-5px);
}
.price-tag {
  font-family: 'Playfair Display', serif;
}
.cost-reduction-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
}

/* From ./parts/index-skills.html */

.index-skills {
  position: relative;
  overflow: hidden;
}
.index-skills .section-title {
  font-family: 'Playfair Display', serif;
}
.index-skills .skill-card {
  background: white;
  border-radius: 4px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  border-left: 4px solid transparent;
}
.index-skills .skill-card:hover {
  transform: translateY(-5px);
}
.index-skills .skill-card.logistics {
  border-left-color: var(--secondary);
}
.index-skills .skill-card.care {
  border-left-color: var(--accent);
}
.index-skills .intersection-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.index-skills .arrow-divider {
  position: relative;
  height: 1px;
  background: #e2e8f0;
  margin: 1.5rem 0;
}
.index-skills .arrow-divider::after {
  content: '▼';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 0.5rem;
  font-size: 0.6rem;
  color: #94a3b8;
}

/* From ./parts/index-academia.html */

.index-academia {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.index-academia .section-title-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15rem;
  font-weight: 900;
  color: rgba(10, 37, 64, 0.02);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.index-academia .content-wrapper {
  position: relative;
  z-index: 1;
}

.index-academia .academia-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.index-academia .academia-card:hover {
  transform: translateY(-8px);
}

.index-academia .connection-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
  margin: 0 auto;
}

/* From ./parts/index-safetynet.html */

.safetynet-section {
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.safetynet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(0, 174, 239, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.flow-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  transition: transform 0.3s ease;
}

.flow-node:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.flow-arrow {
  color: var(--secondary);
  font-size: 2rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #0082b3 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .flow-container {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  .flow-arrow {
    animation: bounceHorizontal 2s infinite;
    align-self: center;
  }
}

@keyframes bounceHorizontal {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(5px);
  }
}

/* From ./parts/index-operation.html */

.section-operation {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 1024px) {
  .operation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.operation-card {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 2.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.operation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.operation-card.featured {
  border-top: 4px solid var(--secondary);
  background: white;
  box-shadow: 0 10px 15px -3px rgba(10, 37, 64, 0.1);
}

.role-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.operation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.operation-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.operation-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}

.operation-list li::before {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1.25rem;
  color: var(--secondary);
}

.operation-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

.cost-tag {
  display: inline-block;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  color: var(--primary);
}

/* From ./parts/index-benefits.html */

.benefits-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.benefit-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border-color: #00aeef;
}

.benefit-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(10, 37, 64, 0.05);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-style: italic;
}

.benefit-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: #0a2540;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.partner-placeholder {
  background-color: #f1f5f9;
  border: 2px dashed #cbd5e1;
}

/* 修正: 写真全体を完全に見せるため、アスペクト比を維持しつつ高さを自動(または十分な高さ)に調整 */
.benefits-full-image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.benefits-full-image {
  width: 100%;
  height: auto; /* 縦幅を固定せず、写真の全体が表示されるように自動調整 */
  max-height: 850px; /* PCでの過大な広がりを抑えつつ、十分な高さを確保 */
  object-fit: contain; /* 写真が切れないように全体を収める */
  background-color: #f8fafc; /* 余白が出る場合の背景色 */
  display: block;
}

@media (max-width: 768px) {
  .benefits-full-image {
    max-height: 500px;
  }
}

/* From ./parts/index-solutions.html */

.index-solutions {
  background-color: #ffffff;
}
.index-solutions .accordion-item {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.index-solutions .accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  text-align: left;
}
.index-solutions .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.index-solutions .accordion-item.is-active .accordion-content {
  max-height: 2000px;
  transition: max-height 1s ease-in-out;
}
.index-solutions .icon-rotate {
  transition: transform 0.3s ease;
}
.index-solutions .accordion-item.is-active .icon-rotate {
  transform: rotate(180deg);
}
.index-solutions .issue-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.index-solutions .solution-box {
  background-color: #f8fafc;
  border-left: 4px solid #00aeef;
  padding: 1.5rem;
  margin-top: 1rem;
}

/* From ./parts/index-public.html */

.section-public {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* 右上のうっすらとした水色。幅を区切ると縦の境界線が見えてしまうため、
   セクション全面に敷いたうえで楕円グラデーションを完全に透明まで落とす */
.section-public::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 55% at 100% 0%, rgba(0, 174, 239, 0.07), rgba(0, 174, 239, 0) 70%);
  pointer-events: none;
}

/* 写真が切れないよう、アスペクト比を保ちつつ全表示（contain）に設定 */
.public-visual-container {
  position: relative;
  width: 100%;
  background-color: #f8fafc; /* 余白が出る場合の背景色 */
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.public-visual-img {
  width: 100%;
  height: auto;
  max-height: 600px; /* 広がりすぎ防止 */
  object-fit: contain; /* 写真をすべて表示 */
}

.public-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.public-card:hover {
  transform: translateY(-5px);
}

.badge-hgc-public {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
}

.border-accent-left {
  border-left: 4px solid var(--secondary);
}

.text-balance {
  text-wrap: balance;
}

/* From ./parts/index-steps.html */

.steps-section {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}
.steps-section .step-card {
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.steps-section .step-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--secondary);
}
.steps-section .step-number {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
  opacity: 0.2;
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-style: italic;
}
.steps-section .connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, #e2e8f0 0, #e2e8f0 10px, transparent 10px, transparent 20px);
  z-index: 0;
}

/* From ./parts/index-contact.html */

.section-contact {
  position: relative;
  overflow: hidden;
  background-color: #f8fafc;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Members Grid Styles */
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .member-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #00aeef;
}

.member-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #e2e8f0;
  transition: transform 0.5s ease;
}

/* 写真未登録メンバー用のプレースホルダー */
.member-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #94a3b8;
}
.member-image--placeholder .material-symbols-outlined {
  font-size: 4.5rem;
}

.member-card:hover .member-image {
  transform: scale(1.05);
}

.member-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f5f9;
}

.member-role {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
  background-color: #00aeef;
  padding: 0.1rem 0.4rem;
  border-radius: 0.2rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.member-role.leader {
  background-color: #0a2540;
}

.member-org {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.member-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a2540;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-name::after {
  content: 'open_in_new';
  font-family: 'Material Symbols Outlined';
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #00aeef;
}

.member-card:hover .member-name::after {
  opacity: 1;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 0.5rem;
  letter-spacing: 0.025em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #1e293b;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.submit-btn {
  width: 100%;
  background-color: #0a2540;
  color: #ffffff;
  font-weight: 700;
  padding: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #00aeef;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 174, 239, 0.3);
}

/* =====================================================
   PDF 最終版に合わせた追加コンポーネント
   ===================================================== */

/* --- カラーユーティリティ（Tailwind CDN に未定義のため補完） --- */
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.border-secondary {
  border-color: var(--secondary);
}
.text-accent {
  color: var(--accent);
}

/* =========================================
   法務ページ（プライバシーポリシー／利用規約）
   ========================================= */
/* トップページのヒーローと同じく、ヘッダーが透過で重なる濃紺の帯 */
.legal-header {
  background-color: var(--primary);
  padding: 9rem 0 3rem;
}

.legal-header h1 {
  color: #ffffff;
}

.legal-header .badge-hgc-public {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}
@media (min-width: 1024px) {
  .legal-header {
    padding: 12rem 0 4rem;
  }
}

.legal-body {
  max-width: 48rem;
  margin: 0 auto;
  color: #334155;
  font-size: 0.95rem;
  line-height: 2;
}

.legal-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--secondary);
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.legal-body h2:first-of-type {
  margin-top: 2.5rem;
}

.legal-body p + p {
  margin-top: 1rem;
}

.legal-body ol {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
  list-style: decimal;
}

.legal-body ol li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  line-height: 1.9;
}

.legal-date {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: right;
  font-size: 0.85rem;
  color: #64748b;
}

/* --- 共通：セクション余白 --- */
.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .section-pad {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* =========================================
   比較表①  従来（単独雇用） vs HGC
   ========================================= */
.cmp1 {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.18);
  overflow: hidden;
}
.cmp1-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  align-items: stretch;
}
.cmp1-row + .cmp1-row {
  border-top: 1px solid #eef2f7;
}
.cmp1-head .cmp1-cell {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cmp1-head .area {
  background: #f1f5f9;
  color: #475569;
}
.cmp1-head .old {
  background: #64748b;
  color: #fff;
}
.cmp1-head .new {
  background: var(--primary);
  color: #fff;
}
.cmp1-cell {
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cmp1-area {
  background: #f8fafc;
  font-weight: 700;
  color: var(--primary);
  justify-content: flex-start;
}
.cmp1-area .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cmp1-area .ic .material-symbols-outlined {
  font-size: 20px;
}
.cmp1-old {
  color: #64748b;
  border-left: 1px solid #eef2f7;
}
.cmp1-new {
  color: #0f3a5f;
  font-weight: 600;
  background: #f0f9ff;
  border-left: 1px solid #e0f2fe;
  position: relative;
}
.cmp1-new .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cmp1-new .ic .material-symbols-outlined {
  font-size: 20px;
}
@media (max-width: 768px) {
  .cmp1-row {
    grid-template-columns: 1fr;
  }
  .cmp1-head {
    display: none;
  }
  .cmp1-area {
    background: var(--primary);
    color: #fff;
  }
  .cmp1-area .ic {
    background: #fff;
    color: var(--primary);
  }
  .cmp1-old::before {
    content: '従来（単独雇用）';
    display: block;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.25rem;
  }
  .cmp1-new::before {
    content: 'HGC（プラットフォーム）';
    display: block;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
  }
  .cmp1-old,
  .cmp1-new {
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid #eef2f7;
  }
}

/* =========================================
   比較表②  仲介会社 / 登録支援機関 / HGC
   ========================================= */
.cmp2 {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(10, 37, 64, 0.18);
  background: #fff;
}
.cmp2-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.cmp2-row + .cmp2-row {
  border-top: 1px solid #eef2f7;
}
.cmp2-row > div {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-align: center;
}
.cmp2-head > div {
  font-weight: 700;
  color: #fff;
  gap: 0.4rem;
}
.cmp2-head .h-item {
  background: var(--primary);
  justify-content: flex-start;
}
.cmp2-head .h-a {
  background: #475569;
}
.cmp2-head .h-b {
  background: #0f766e;
}
.cmp2-head .h-hgc {
  background: var(--secondary);
}
.cmp2-item {
  justify-content: flex-start !important;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--primary);
  background: #f8fafc;
}
.cmp2-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary);
}
.cmp2-mark {
  font-weight: 700;
  font-size: 1.2rem;
}
.cmp2-mark.x {
  color: #cbd5e1;
}
.cmp2-mark.tri {
  color: #f59e0b;
}
.cmp2-mark.cir {
  color: #64748b;
}
.cmp2-hgc {
  background: #f0f9ff;
  position: relative;
}
.cmp2-hgc .dbl {
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 700;
}
.cmp2-note {
  display: block;
  font-size: 0.68rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 0.15rem;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .cmp2-row {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
  .cmp2-row > div {
    padding: 0.6rem 0.4rem;
    font-size: 0.78rem;
  }
  .cmp2-item {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }
  .cmp2-note {
    display: none;
  }
}

/* =========================================
   パートナーボックス（ロゴ枠）
   ========================================= */
.partner-grid {
  display: grid;
  /* minmax(0, 1fr) にしないと、中の長い文字列で列幅が広がり画面外にはみ出す */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.partner-box {
  min-width: 0;
  aspect-ratio: 4 / 3;
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #475569;
  font-weight: 700;
  font-size: 1.05rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.partner-box small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 0.35rem;
}
.partner-box.soon {
  color: #94a3b8;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}
.partner-box.has-logo {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-style: solid;
  padding: 1.5rem;
}
.partner-box.has-logo img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
}
.partner-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  max-width: 100%;
}

/* height:100% を外す。指定すると枠を目一杯埋め、その下の
   「東京マザーズ上場企業」の分だけ枠がZENKEN側より縦に伸びてしまう */
.partner-box .logo-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
/* 正方形ロゴを枠の高さ（ZENKEN側と同じ）を超えない範囲で最大化 */
.partner-box .logo-pair img {
  max-width: 47%;
  max-height: 9rem;
}
@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  /* 狭い画面では高さを固定せず、ロゴ＋バッジが収まるまで伸ばす */
  .partner-box {
    aspect-ratio: auto;
    min-height: 8.5rem;
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
  .partner-box.has-logo {
    padding: 1rem 0.75rem;
  }
  .partner-box.has-logo img {
    max-width: 100%;
    max-height: 3.5rem;
  }
  .partner-box .logo-pair {
    gap: 0.4rem;
  }
  .partner-box .logo-pair img {
    max-width: 47%;
    max-height: 4rem;
  }
  .partner-box.soon {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
  .partner-badge {
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0;
  }
}

/* =========================================
   共同化ダイアグラム（これまで → HGC）
   ========================================= */
.consol-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}
.consol-before {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.consol-company {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 0.5rem;
  text-align: center;
}
.consol-company h4 {
  font-weight: 700;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.consol-company ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.consol-company li {
  font-size: 0.72rem;
  color: #475569;
  background: #f8fafc;
  border-radius: 0.35rem;
  padding: 0.25rem;
}
.consol-company .cost {
  margin-top: 0.5rem;
  font-size: 0.65rem;
  color: #ef4444;
  font-weight: 600;
}
.consol-arrow {
  font-size: 2.5rem;
  color: var(--secondary);
  text-align: center;
}
.consol-after {
  background: linear-gradient(135deg, #0a2540 0%, #123a5f 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
}
.consol-hub {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--secondary);
  margin: 0 auto 1rem;
  font-weight: 700;
}
.consol-hub span {
  font-size: 1.4rem;
}
.consol-hub small {
  font-size: 0.6rem;
  opacity: 0.8;
}
.consol-after .shared {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.consol-after .shared span {
  background: rgba(0, 174, 239, 0.18);
  color: #bae6fd;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .consol-wrap {
    grid-template-columns: 1fr;
  }
  .consol-arrow {
    transform: rotate(90deg);
  }
}

/* =========================================
   地域循環サイクルモデル
   ========================================= */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.cycle-model {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
}
.cycle-model > .cy-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.cycle-model > .cy-title .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.cycle-model > .cy-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.cycle-ring {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.cycle-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.9rem;
  position: relative;
}
.cycle-step .st-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.cycle-step h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}
.cycle-step p {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.5;
}
.cycle-center {
  margin-top: 1.25rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.cycle-center small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--secondary);
  margin-top: 0.2rem;
}
@media (max-width: 900px) {
  .cycle-grid {
    grid-template-columns: 1fr;
  }
}
