@charset "utf-8";

/* =============================================================================
   TOP PAGE
   ============================================================================= */
#TopPage {
  background-color: #fff;
}
#TopMainText {
  position: absolute;
  inset: 0;
  z-index: 10;
}
#TopMainText img {
  width: 55%;
  padding-left: 3rem;
}
.top-dark-section {
  color: #111;
  background-color: #fff;
}
.top-section-heading {
  color: #111;
  background-color: #fff;
}
.top-learning-lead {
  color: #fff;
  background-color: #6fba2c;
}
.top-section-heading h2 {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.8;
}
.top-heading-copy {
  padding: 0.75rem 1rem;
  color: #fff;
  background-color: #ee869a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
}
.top-heading-copy span,
.top-learning-lead span {
  color: #fff100;
}

/* 締切 */
.top-deadline-image {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
}
.top-deadline-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border: 2px dashed #999;
  border-radius: 1.5rem;
  color: #666;
  background: repeating-linear-gradient(-45deg, #f7f7f7, #f7f7f7 12px, #eee 12px, #eee 24px);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

/* 入学前の準備 */
.top-prep-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.top-prep-group {
  position: relative;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}
.top-prep-group:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 29px;
  bottom: calc(-3rem - 29px);
  left: 29px;
  width: 2px;
  background-color: #b5b5b5;
}
.top-prep-group > .row {
  margin-right: 0;
  margin-left: 55px;
}
.top-prep-group > .top-prep-card {
  width: calc(100% - 70px);
  margin-left: 70px;
}
.top-prep-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 54px;
  margin-bottom: 1rem;
  color: #111;
  line-height: 1.3;
}
.top-prep-title-copy {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
  column-gap: 0.35rem;
}
.top-prep-title-light {
  font-size: 19px;
  font-weight: 400;
}
.top-prep-title-bold {
  font-size: 25px;
  font-weight: 700;
}
.top-prep-badge {
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-right: 0.75rem;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 0 0 5px #fff;
}
.top-prep-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 190px;
  padding: 1rem;
  border: 1px solid #2e2624;
  border-radius: 1.2rem;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.08);
  color: #111;
  background-color: #fff;
  text-align: center;
}
.top-prep-card:hover {
  color: #111;
}
.top-prep-card strong {
  font-size: 18px;
}
.top-prep-card-wide {
  min-height: 210px;
}
.top-prep-card-auto {
  min-height: 0;
}
.top-prep-card-compact {
  min-height: 110px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.top-prep-card .btn {
  width: min(100%, 260px);
  color: #fff;
}
.top-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 80px;
  border: 2px dashed #999;
  border-radius: 0.5rem;
  color: #666;
  background: repeating-linear-gradient(-45deg, #f7f7f7, #f7f7f7 8px, #eee 8px, #eee 16px);
  font-size: 0.8rem;
}
.top-tool-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 110px;
  height: auto;
}
.top-tool-card {
  align-items: stretch;
}
.top-tool-card-main {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: #111;
  text-align: left;
}
.top-tool-card-main strong {
  flex: 1 1 auto;
  line-height: 1.35;
}
.top-tool-card-main .top-tool-image {
  flex: 0 1 auto;
  width: auto;
  max-width: 34%;
  height: 100px;
  max-height: 100px;
}
.top-tool-card .btn {
  width: 100%;
  max-width: none;
}

/* VOICE */
.top-voice-section-title {
  min-height: 78px;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}
.top-voice-section-title strong {
  font-size: 1.35rem;
}
.top-voice-card {
  overflow: visible;
  border: 4px solid #fff100;
  border-radius: 1.25rem;
  color: #111;
  background-color: #fff;
}
.top-voice-card h2 {
  min-height: 78px;
  padding: 1rem 1.25rem 1rem 4.5rem;
  font-size: 1.15rem;
}
.top-voice-label {
  z-index: 2;
  top: -4px;
  left: -4px;
  width: 72px;
  height: auto;
}
.top-voice-card .collapse,
.top-voice-card .collapsing {
  width: 100%;
}
.top-voice-body {
  padding: 0 1.25rem 1.25rem;
}

/* 大学生活の3つのポイント */
.top-learning-lead h2 {
  font-size: 1.5rem;
  line-height: 1.45;
}
.top-learning-card {
  overflow: hidden;
  color: #111;
  background-color: #fff;
}
.top-learning-card h3 {
  min-height: 100px;
  padding: 0.75rem;
  background-color: #fff;
  background-image: url("../img/top/a1-hbg1.svg.gif");
  background-repeat: repeat;
  background-size: 420px auto;
  font-size: 1rem;
  line-height: 1.4;
}
.top-learning-number {
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-right: 0.75rem;
  border-radius: 50%;
  color: #fff;
  background-color: #6fba2c;
  font-size: 2rem;
  font-style: italic;
}
.top-learning-body {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 1rem;
  background-color: #fff;
}
.top-icon-placeholder {
  width: 110px;
  margin-left: auto;
}

/* 3点セット・商品カード */
.top-product-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #6fba2c;
  border-radius: 1.5rem;
  color: #111;
  background-color: #fff;
}
.top-product-pc {
  border-color: #00aeeb;
}
.top-support-card {
  border-color: #ee869a;
}
.top-product-card h2 {
  font-size: 1.5rem;
}
.top-product-title {
  display: flex;
  align-items: flex-start;
}
.top-product-title .num-dot {
  flex: 0 0 1.3em;
}
.top-product-title-text {
  flex: 1 1 auto;
  min-width: 0;
}
.top-pc-heading {
  min-height: 94px;
  padding: 0.85rem;
  color: #fff;
  background-color: #00aeeb;
  font-size: 1.05rem;
  line-height: 1.4;
}
.top-pc-body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1rem 0;
}
.top-pc-body .btn {
  margin-top: auto;
}
.top-small-placeholder {
  width: 120px;
  min-height: 75px;
  margin: 0 auto 1rem;
}
.top-pc-model {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #fff;
  color: #111;
  background-color: #eaf5de !important;
}
.top-pc-model:hover {
  color: #111;
}
.top-pc-model strong {
  grid-column: 1 / -1;
  padding: 0.6rem 0.75rem;
  color: #fff;
  font-size: 1.25rem;
}
.top-pc-model.bg-base strong {
  background-color: #6fba2c;
}
.top-pc-model.bg-sub strong {
  background-color: #ee869a;
}
.top-pc-model.bg-sub {
  background-color: #fcebef !important;
}
.top-pc-model img {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  width: 100%;
  max-height: 130px;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  object-fit: contain;
}
.top-pc-model-copy {
  grid-row: 2;
  grid-column: 2;
  align-self: center;
  padding: 1rem 0.75rem 2rem;
}
.top-pc-model-more {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  padding: 0 0.75rem 0.25rem;
  font-size: 0.75rem;
}
.top-skill-banner {
  display: block;
  margin-top: 1.5rem;
}
.top-skill-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.top-ipad-section {
  color: #111;
}
.top-ipad-title {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.top-ipad-title strong {
  font-size: inherit;
  font-weight: inherit;
}
.top-plus-mark {
  display: inline-flex;
  flex: 0 0 1.25em;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  color: #fff;
  background-color: #2e2624;
  font-size: 0.85em;
  line-height: 1;
}
@media (min-width: 768px) {
  #TopPage .headline-acco .a1-caret {
    display: none;
  }
}

@media (max-width: 767px) {
  #TopMainText img {
    width: 95%;
    padding-left: 0;
  }
  .top-section-heading h2 {
    font-size: 1.5rem;
  }
  .top-heading-copy,
  .top-learning-lead h2 {
    font-size: 1.3rem;
  }
  .top-prep-title-light {
    font-size: 17px;
  }
  .top-prep-title-bold {
    font-size: 22px;
  }
  .top-prep-card {
    min-height: 150px;
  }
  .top-prep-card strong {
    font-size: 16px;
  }
  .top-prep-card-compact {
    min-height: 100px;
  }
  .top-prep-card-auto {
    min-height: 0;
  }
  .top-learning-card h3 {
    min-height: 88px;
  }
  .top-learning-body,
  .top-pc-body {
    min-height: 0;
  }
  .top-product-card {
    padding: 1rem;
  }
  .top-pc-heading {
    min-height: 0;
  }
}
