@charset "utf-8";

/* =========================
   other
========================= */

.other-cont {
  max-width: 980px;
  margin: 0 auto 5rem;
}

.other-cont + .other-cont {
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 90px 0 120px;
  border-top: 1px solid #e5e5e5;
}

.other-cont + .other-cont .other-fv {
  max-width: 980px;
  margin: 0 auto;
}

/* =========================
   FV
========================= */

.other-fv {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.other-fv-left-tit {
  position: relative;
  display: inline-block;
  margin-bottom: 52px;
}

.other-fv-left-tit .ot-fv-back {
  position: absolute;
  top: -26px;
  left: -15%;
  width: 40%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  z-index: -1;
}

.other-fv-left-tit h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.other-fv-left-tit img:not(.ot-fv-back) {
  display: block;
  width: 290px;
  height: auto;
}

.other-fv-left-text h3 {
  margin: 0 0 28px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.other-fv-left-text p {
  margin: 0;
  font-size: 13px;
  line-height: 2.2;
  font-weight: 500;
}

.other-fv-right-img {
  display: block;
  width: 100%;
  height: 90%;
  object-fit: cover;
}

/* =========================
   こんな学生を支えています
========================= */

.other-worry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 16px 32px;
  align-items: center;
  margin: 0 0 110px;
  padding: 2rem 0 0 3rem;
  border-top: 1px solid #7B7B7B;
}

.other-worry h2 {
  grid-column: 1 / -1;
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  font-size: 20px;
  font-weight: bold;
}

.other-worry h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #000;
}

.other-worry-list {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #777;
  background: #fff;
}

.other-worry-list:nth-child(1) {
  animation-delay: 0s;
}
.other-worry-list:nth-child(2) {
  animation-delay: 0.3s;
}
.other-worry-list:nth-child(3) {
  animation-delay: 0.6s;
}
.other-worry-list:nth-child(4) {
  animation-delay: 0.9s;
}
.other-worry-list:nth-child(5) {
  animation-delay: 1.2s;
}
.other-worry-list:nth-child(6) {
  animation-delay: 1.5s;
}
.other-worry-list:nth-child(7) {
  animation-delay: 1.8s;
}

.other-worry-list img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.other-worry-list p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}


.other-worry-img {
  grid-column: 3;
  grid-row: 2 / span 3;
  width: 180px;
  align-self: end;
  justify-self: center;
}

/* =========================
   3つの特徴
========================= */

.other-fea {
  margin-bottom: 80px;
}

.other-fea > h2 {
  position: relative;
  margin: 0 0 58px;
  text-align: center;
  font-size: 24px;
}

.other-fea-item {
  position: relative;
  max-width: 960px;
  margin: 0 auto 90px;
  padding-bottom: 8px;
}

.other-fea-item-img {
  display: block;
  width: 78%;
  height: auto;
  margin-left: auto;
  object-fit: cover;
}

.other-fea-item-text {
  position: absolute;
  top: -28px;
  left: 0;
  width: 360px;
  min-height: 150px;
  padding: 56px 28px 24px;
  background: #fff;
  border: 1px solid #222;
  z-index: 2;
}

.other-fea-item-text p:first-child {
  position: absolute;
  top: 1rem;
  left: -10px;
  margin: 0;
  padding: 8px 16px;
  background: #fe4401;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.other-fea-item-text h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.7;
}

.other-fea-item-text p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.other-fea-item:nth-of-type(2) .other-fea-item-img {
  margin-left: 0;
  margin-right: auto;
}

.other-fea-item:nth-of-type(2)::after {
  left: -6px;
  right: auto;
}

.other-fea-item:nth-of-type(2) .other-fea-item-text {
  left: auto;
  right: -20px;
}

/* =========================
   CTA
========================= */

.other-cta {
  position: relative;
  max-width: 640px;
  height: auto;
  margin: 3rem auto;
  padding: 32px 48px;
  color: #fff;
  background: #000;
  overflow: hidden;
}

.other-cta-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.other-cta-desc-s,
.other-cta-desc,
.other-cta-btn {
  position: relative;
  z-index: 2;
}

.other-cta-desc-s {
  margin: 0 0 8px 1rem;
  font-size: 15px;
  font-weight: 500;
}

.other-cta-desc {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.other-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  margin: 1.5rem 0 1.5rem 1rem;
  text-decoration: none;
}

.other-cta-btn:hover {
  opacity: .6
}

.other-cta-btn p {
  margin: 0;
  font-size: 12px;
}

/* =========================
   1024px
========================= */

@media screen and (max-width: 1024px) {
  .other-cont,
  .other-cont + .other-cont .other-fv {
    max-width: 860px;
  }

  .other-fv {
    grid-template-columns: 1fr 280px;
    gap: 56px;
  }

  .other-worry {
    padding-left: 40px;
  }
}

/* =========================
   768px
========================= */

@media screen and (max-width: 768px) {
  .content-wrap {
    padding-bottom: 100px;
  }

  .other-fv {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .other-fv-left-tit {
    margin-bottom: 40px;
  }

  .other-fv-right-img {
    width: 70%;
    height: 220px;
    margin-left: auto;
  }

  .other-worry {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }

  .other-worry-img {
    grid-column: 2;
    grid-row: auto;
    justify-self: end;
  }

  .other-fea-item {
    max-width: 100%;
  }

  .other-fea-item-img {
    width: 76%;
  }

  .other-fea-item-text {
    width: 240px;
  }

  .other-cont + .other-cont {
    padding: 80px 32px 100px;
  }
}

/* =========================
   414px
========================= */

@media screen and (max-width: 414px) {
  .content-wrap {
    padding-bottom: 80px;
  }

  .other-cont + .other-cont {
    padding: 64px 20px 80px;
  }

  .other-fv {
    margin-bottom: 44px;
  }

  .other-fv-left-tit img:not(.ot-fv-back) {
    width: 230px;
  }

  .other-fv-left-text h3 {
    font-size: 18px;
  }

  .other-fv-left-text p {
    font-size: 12px;
    line-height: 2;
  }

  .other-fv-left-text p br {
    display: none;
  }

  .other-fv-right-img {
    width: 100%;
    height: 190px;
  }

  .other-worry {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 80px;
  }

  .other-worry h2 {
    font-size: 18px;
  }

  .other-worry p {
    font-size: 12px;
  }

  .other-worry-img {
    grid-column: auto;
    width: 82px;
    margin-top: 10px;
  }

  .other-fea {
    margin-bottom: 60px;
  }

  .other-fea > h2 {
    margin-bottom: 44px;
    font-size: 22px;
  }

  .other-fea-item {
    margin-bottom: 64px;
    padding-bottom: 8px;
  }

  .other-fea-item-img,
  .other-fea-item:nth-of-type(2) .other-fea-item-img {
    width: 100%;
    height: 190px;
    margin: 0;
  }

  .other-fea-item-text,
  .other-fea-item:nth-of-type(2) .other-fea-item-text {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 32px);
    min-height: auto;
    margin: -32px auto 0;
    padding: 3rem 1.5rem 1rem;
  }

  .other-fea-item::after,
  .other-fea-item:nth-of-type(2)::after {
    left: auto;
    right: -4px;
    width: 88%;
  }

  .other-cta {
    height: auto;
    padding: 30px 24px;
  }

  .other-cta-desc {
    font-size: 20px;
  }

  .other-cta-btn {
    width: 180px;
  }
}
