@charset "UTF-8";

.fit-hero {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  color: var(--text-light);
}

.fit-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 56, 0.65) 0%, rgba(10, 28, 56, 0.25) 55%, rgba(10, 28, 56, 0.1) 100%);
}

.fit-hero-inner {
  position: absolute;
  inset: 0;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fit-hero-title {
  font-family: var(--font-serif-en);
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.fit-hero-lead {
  font-family: var(--font-serif-ja);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.fit-hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.fit-main {
  max-width: 1260px;
  margin: 32px auto 60px;
  padding: 0 24px;
}

.course-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  background-color: #ffffff;
  border: 1px solid #e2e6ed;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-main-img {
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  background-color: #dde3ec;
}

.course-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-main-img img {
  transform: scale(1.04);
}

.course-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-family: var(--font-serif-ja);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.course-desc {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 14px;
  flex-grow: 1;
}

.course-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.course-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background-color: #e6ebf2;
}

.btn-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--gold-accent);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.btn-inquiry:hover {
  background-color: var(--gold-hover);
}

.btn-inquiry .mail-icon {
  font-size: 15px;
  line-height: 1;
}

.btn-inquiry .arrow {
  font-size: 13px;
  margin-left: 2px;
}

@media (max-width: 1100px) {
  .course-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .fit-hero {
    height: auto;
    min-height: 290px;
  }
  .fit-hero-inner {
    position: relative;
  }
  .fit-hero-bg {
    position: absolute;
    inset: 0;
  }
  .fit-hero-title {
    font-size: 44px;
  }
  .fit-hero-lead {
    font-size: 21px;
  }
  .course-grid-3col {
    grid-template-columns: 1fr;
  }
}