#main {
  box-sizing: border-box;
  margin: 0;
  padding: 0; 
}

body {
  font-family: sans-serif;
  background: #f5f5f3;
  color: #111;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px;
}

    /* ===== グリッド ===== */

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* スマホ: 3列 */
      gap: 4px;
      width: 100%;        /* 親要素に合わせる */
      overflow: hidden;   /* 紫のはみ出し対策 */
    }


    /* タブレット（600px以上）: 4列 */
    @media (min-width: 600px) {
      .card-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    /* PC（1000px以上）: 5列 */
    @media (min-width: 1000px) {
      .card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px; /* 間隔を広げてカードを横に活かす */
      }
    }

    /* ===== カード ===== */
    .card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 12px;
      padding: 1.2rem 1.05rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }

    /* ===== 丸い画像 ===== */
    .avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;   /* 丸くする */
      overflow: hidden;     /* はみ出た部分を隠す */
      border: 3px solid #ddd; /* デフォルトはグレー */
      flex-shrink: 0;
    }

    /* 縁の色バリエーション */
    .avatar.border-blue { border-color: #7ec8e3; }
    .avatar.border-gray { border-color: #bbb; }

    .avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;    /* 比率を保ちながら枠いっぱいに広げる */
      display: block;
    }

    /* ===== テキスト ===== */
    .name {
      font-size: 13px;
      font-weight: 600;
      color: #111;
      text-align: center;
    }

    .role {
      font-size: 8px;
      color: #888;
      text-align: center;
      line-height: 1.4;
    }

/* ===== ヒーロー ===== */
.hero {
  background: #0C447C;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero2 {
  background: #0085ca;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-block;
  background: #378ADD;
  color: #E6F1FB;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 14px;
  color: #85B7EB;
  line-height: 1.7;
}

.hero-logo {
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== セクションラベル・タイトル ===== */
.section-label {
  font-size: 20px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 24px;
  line-height: 1.4;
}

/* ===== 概要 ===== */
.intro-card {
  background: #FDFDC9;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

/* ===== 4つの強みグリッド ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 14px;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #e8e8e6;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

.card-body {
  padding: 16px 18px;
}

.card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}


/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

}

.img-fit{
   width: 100%;
}

.mg32{

margin-bottom: 26px;
}

/* ===== タイムライン ===== */
.timeline {
  position: relative;
  margin-bottom: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 80px;
  bottom: 200px;
  width: 2px;
  background: linear-gradient(to bottom, #378ADD, #7F77DD);
  border-radius: 2px;
}

.step {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  position: relative;
}

.step:last-child { margin-bottom: 0; }

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.step-inner { flex: 1; }

/* details/summary でアコーディオン */
.step-accordion {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 12px;
  overflow: hidden;
}

.step-accordion summary {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  list-style: none; /* デフォルトの三角を消す */
}

.step-accordion summary::-webkit-details-marker {
  display: none; /* Safariの三角を消す */
}

.step-accordion summary:hover {
  background: #fafafa;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  flex: 1;
}

.chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .2s ease;
  color: #bbb;
}

/* 開いているときシェブロンを回転 */
.step-accordion[open] .chevron {
  transform: rotate(180deg);
}

/* パネル内容 */
.panel-inner {
  display: flex;
  flex-direction: row;
  border-top: 1px solid #e8e8e6;
}

.panel-img-wrap {
  padding: 16px 12px 16px 16px;
  flex-shrink: 0;
  width: 220px;
}

.panel-img-wrap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
  background: #e8e8e6;
}

.panel-text {
  padding: 16px 16px 16px 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.panel-heading {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.panel-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* ゴールステップ */
.step.goal .step-accordion {
  background: #0C447C;
  border-color: #0C447C;
}

.step.goal .step-title { color: #fff; font-size: 15px; }
.step.goal .step-num { color: #85B7EB; }
.step.goal .chevron { color: #85B7EB; }

.step.goal summary:hover {
  background: rgba(255,255,255,0.05);
}

.step.goal .panel-inner {
  border-top-color: rgba(255,255,255,0.1);
  background: #0a3a68;
}

.step.goal .panel-heading { color: #fff; }
.step.goal .panel-desc { color: #85B7EB; }

/* ===== CTA ===== */
.cta {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.cta-text strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 4px;
}

.cta-btn {
  background: #0C447C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .panel-inner {
    flex-direction: column;
  }

  .panel-img-wrap {
    width: 100%;
    padding: 16px 16px 8px 16px;
  }

  .panel-img-wrap img {
    height: 200px;
    width: 100%;
  }

  .panel-text {
    padding: 0 16px 16px;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}