/* =========================================
   受験生ページ - 共通
   ========================================= */

.examinee-wrap {
  --examinee-color-text: #2c364b;
  --examinee-color-green: #5ebc88;
  --examinee-color-line: #6a7a9c;
  --examinee-content-width: 1100px;
  --examinee-banner-width: 1100px;
  color: var(--examinee-color-text);
}

.examinee-content {
  overflow: hidden;
}

.examinee-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.examinee-hero-inner {
  max-width: var(--examinee-content-width);
  margin: 0 auto;
}

/* =========================================
   受験生向けバナー
   ========================================= */

.examinee-hero {
  padding: 42px 20px 64px;
  background-color: #fff;
}

.examinee-hero-title {
  margin: 0 0 36px;
  color: var(--examinee-color-text);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.2em;
  text-align: center;
}

.examinee-main-link {
  display: block;
  width: min(100%, var(--examinee-banner-width));
  margin: 0 auto;
  transition: opacity 0.2s;
}

.examinee-main-link img {
  width: 100%;
}

.examinee-main-link:hover {
  opacity: 0.85;
}

.examinee-banner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, var(--examinee-banner-width));
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
}

.examinee-banner-link {
  display: block;
  transition: opacity 0.2s;
}

.examinee-banner-link img {
  width: 100%;
}

.examinee-banner-link:hover {
  opacity: 0.85;
}

.examinee-link-list {
  display: grid;
  gap: 14px;
  width: min(100%, var(--examinee-banner-width));
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}

.examinee-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 24px;
  border-radius: 999px;
  background-color: var(--examinee-color-green);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s;
}

.examinee-link-btn:hover {
  opacity: 0.75;
}

@media (min-width: 940px) {
  .examinee-hero {
    padding: 54px 40px 94px;
  }

  .examinee-hero-title {
    margin-bottom: 58px;
    font-size: 4.5rem;
  }

  .examinee-banner-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 72px;
  }

  .examinee-link-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 86px;
  }

  .examinee-link-item {
    position: relative;
    padding: 0 16px;
  }

  .examinee-link-item + .examinee-link-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--examinee-color-line);
    transform: translateY(-50%);
  }

  .examinee-link-btn {
    min-height: 42px;
    font-size: 1.4rem;
  }
}
