/* =================================
   Base
================================= */

body {
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.8;
  margin: 0;
  background-color: #f7f7f7;
  padding-top: 60px;
}


section {
  margin-bottom: 80px;
}

h1, h2 {
  color: #1f3c88;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 60px 0 20px;
  border-left: 6px solid #1f3c88;
  padding-left: 12px;
}

/* =================================
   Header
================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #1f3c88;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  box-sizing: border-box;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.nav {
  display: block;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* =================================
   Hero
================================= */

.hero {
  height: 60vh;
  background-image: url("../images/photo1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
}

.hero-text {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 16px;
}

.hero-text h1 {
  font-size: clamp(24px, 4vw, 48px);
}

/* =================================
   Mission & Vision
================================= */

.mv-section {
  padding: 120px 16px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.mv-section.vision {
  background: #f8f9fb;
}

.mv-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mv-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1f3c88;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}

.mv-catch {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
  color: #111;
}

.mv-text {
  font-size: 17px;
  line-height: 1.9;
  max-width: 720px;
  color: #444;
}

.mv-section::before {
  content: attr(data-bg);
  position: absolute;
  top: 40px;
  right: -40px;
  font-size: 120px;
  font-weight: 800;
  color: rgba(31, 60, 136, 0.05);
  letter-spacing: 0.1em;
  z-index: 0;
}

/* 中間ビジュアル */

.vision-image {
  height: 45vh;
  background-image: url("../images/photo2.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.vision-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
}

/* =================================
   Services
================================= */

.services {
  padding: 100px 16px;
  background: #1f3c88;
  color: #fff;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  color: #fff;
  border-left: 6px solid #ffffff;
  margin-bottom: 60px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: #ffffff;
  color: #333;
  padding: 40px 32px;
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-top: 24px;
  font-size: 18px;
  color: #1f3c88;
}

.service-card p {
  margin-top: 16px;
  line-height: 1.7;
}

.number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 40px;
  font-weight: 800;
  color: #1f3c88;
  opacity: 0.1;
}

/* =================================
   Plans
================================= */

.plans {
  padding: 120px 16px;
  background: #ffffff;
}

.plans-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.plan-card {
  background: #f8f9fb;
  padding: 32px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.plan-card h3 {
  margin-top: 0;
  color: #1f3c88;
}

.plan-term {
  font-size: 14px;
  color: #555;
  margin: 12px 0;
  font-weight: 600;
}

.plan-group-title {
  font-size: 20px;
  margin-top: 100px;
  position: relative;
}

.plan-group-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #1f3c88;
  margin-bottom: 16px;
}


.plan-description {
  font-size: 17px;
  color: #555;
  margin-bottom: 50px;
  letter-spacing: 0.03em;
}

.system-table-wrapper {
  margin-top: 40px;
}


.system-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  font-size: 14px;
}

.system-table thead {
  background: #eef2f8;
}

.system-table th,
.system-table td {
  text-align: center;
  padding: 22px 24px;
}


.system-table th:first-child,
.system-table td:first-child {
  border-right: 1px solid #e5e7eb;
}

.system-table th {
  text-align: center;
  padding: 22px 24px;
  font-weight: 700;
  color: #1f3c88;
  background: #eef2f8;
  font-size: 16px;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #1f3c88;
}



.system-table td {
  padding: 20px 24px;
  border-top: 1px solid #eef1f5;
  color: #444;
}

.system-table td:first-child {
  font-weight: 600;
  color: #1f3c88;
  width: 35%;
}

.system-table tr:hover {
  background: #f8f9fb;
  transition: background 0.2s ease;
}

.large-card {
  padding: 60px 40px;
}


.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: #1f3c88;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #294fa6;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.plan-cta {
  margin-top: 100px;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa, #eef2f8);
  border-radius: 20px;
}

.plan-cta-text {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: #333;
}



/* =================================
   Company
================================= */

.company {
  width: 100%;
  background: #f5f7fa;
  padding: 120px 0;
}

.company-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.company-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.company-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.company-card .label {
  display: block;
  font-size: 14px;
  color: #005bac;
  margin-bottom: 8px;
  font-weight: bold;
}

.company-card p {
  margin: 0;
}

.company-card a {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 600;
}

.company-card a:hover {
  text-decoration: underline;
}


/* =================================
   Footer
================================= */

.footer-simple {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 32px 16px;
}

.copyright {
  font-size: 12px;
  opacity: 0.7;
}

/* =================================
   Responsive
================================= */

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 24px;
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav a {
    color: #333;
  }
}
