@charset "utf-8";
/* CSS Document */

/* --------------------------------------------------
all
-------------------------------------------------- */
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
@media screen and (max-width: 800px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
/* --------------------------------------------------
mainvisual
-------------------------------------------------- */
.mainvisual {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  height: 300px;
  padding: 30px 0 10px 0;
}
.mainvisual .wrapper {
  position: relative;
  width: 100%;
}
.mainvisual .main-ttl {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 3rem;
}
@media screen and (max-width: 900px) {
  .mainvisual {
    height: 200px;
  }
  .mainvisual .wrapper p {
    position: relative;
    z-index: 10;
  }
  .mainvisual .main-ttl {
    width: 48%;
  }
}
@media screen and (max-width: 800px) {
  .mainvisual {
    padding: 0 6%;
  }
}

/* --------------------------------------------------
contents
-------------------------------------------------- */
#contents {
  margin: 0;
}

/* --------------------------------------------------
box-word-attempt
-------------------------------------------------- */

section.box-word-attempt {
  position: relative;
  margin: -3px 0 0 0;
  padding: 5% 0 5% 0;
}
section.box-word-attempt.preschoolers {
  margin-top: 8%;
}

section.box-word-attempt.university {
  background: linear-gradient(
    180deg,
    #e4e4e5 0%,
    transparent 50%,
    #e4e4e5 50%,
    #d3d3d4 100%
  );
}

section.box-word-attempt:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #e4e4e5;
  transform: skewY(-3deg) translateY(0);
}

section.box-word-attempt.preschoolers:before,
section.box-word-attempt.junior:before {
  background-color: #e4e4e5;
}

section.box-word-attempt.elementary:before,
section.box-word-attempt.university:before {
  background-color: #d3d3d4;
}

.box-word-attempt-lead .ttl img {
  max-height: 120px;
  position: relative;
}

.box-word-attempt-lead > * {
  width: 90%;
}

.box-word-attempt-lead:before {
  content: "";
  display: block;
  position: absolute;
  width: 160px;
  height: 400px;
  right: 0;
  top: 0;
}
.box-word-attempt-lead.preschoolers:before {
  background: url(img/bg_txt_preschoolers.png) no-repeat center center / contain;
}
.box-word-attempt-lead.elementary:before {
  background: url(img/bg_txt_elementary.png) no-repeat center center / contain;
}
.box-word-attempt-lead.junior:before {
  background: url(img/bg_txt_junior.png) no-repeat center center / contain;
}
.box-word-attempt-lead.university:before {
  background: url(img/bg_txt_university.png) no-repeat center center / contain;
}

@media screen and (max-width: 800px) {
  .box-word-attempt-lead > * {
    width: 100%;
  }
  .box-word-attempt-lead .ttl img {
    max-height: 100px;
  }
}

.box-school-intro {
  margin: 1.6rem 0;
}

.box-school-intro dt {
  color: #fff;
  font-weight: bold;
  background: #334149;
  display: inline-block;
  padding: 2px 16px;
}
.box-school-intro dd {
  text-indent: 1em;
}

/* box-life */
.box-life {
  background: #fff;
  border-radius: 30px;
  padding: 2em;
  margin: 6.4rem 0 3.2rem 0;
}
.box-life .row {
  display: flex;
  justify-content: space-between;
}

.box-life .row > div {
  width: 36%;
}
.box-life .row > figure {
  width: 31%;
}
.box-life .row > figure figcaption {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  text-align: left;
}
.box-life .ttl {
  margin-top: -5.6rem;
}
.box-life .ttl img {
  max-height: 8rem;
}
.box-life .ttl.lines-1-5 {
  margin-top: -8rem;
}
.box-life .ttl.lines-1-5 img {
  max-height: 10rem;
}
.box-life .ttl.lines-2 {
  margin-top: -10rem;
}
.box-life .ttl.lines-2 img {
  max-height: 12rem;
}
.box-life p {
  margin: 0.8rem 0 2.4rem 0;
}
.box-life p.txt-category {
  margin-bottom: 0;
}
.box-life p.txt-category span {
  color: #334149;
  border: 1px solid #334149;
  font-weight: bold;
  border-radius: 40px;
  padding: 0 16px;
}
.box-life figure {
  text-align: center;
}

.box-life.book {
  position: relative;
}
.box-life.book:before {
  content: "";
  display: block;
  position: absolute;
  background: url(img/deco_book.png) no-repeat center center / contain;
  width: 85px;
  height: 122px;
  bottom: -30px;
  right: -20px;
}

@media screen and (max-width: 800px) {
  .box-life .row {
    flex-wrap: wrap;
  }

  .box-life .row > div {
    width: 100%;
  }
  .box-life .row > figure {
    width: 48%;
  }
}

/* topic-col */
.box-word-attempt .topic-col {
  padding: 4%;
  margin: 5% 0;
  position: relative;
  overflow: hidden;
}
.box-word-attempt .topic-col .ttl {
  color: #334149;
  font-family: serif;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.5em;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.box-word-attempt .topic-col .ttl:before,
.box-word-attempt .topic-col .ttl:after {
  content: "";
  display: block;
  position: absolute;
  background: #334149;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}
.box-word-attempt .topic-col .ttl:before {
  width: calc(50% - 5em);
  left: 0;
}
.box-word-attempt .topic-col .ttl:after {
  width: calc(50% - 5em);
  right: 0;
}
.box-word-attempt .topic-col .sttl {
  color: #334149;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}
.box-word-attempt .topic-col .name-block {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  word-break: keep-all;
}
.box-word-attempt .topic-col .name-block p {
  font-size: 90%;
}
.box-word-attempt .topic-col .name-block p.name {
  font-size: 2.2rem;
  font-weight: bold;
}
@media screen and (max-width: 800px) {
  .box-word-attempt .topic-col {
    margin: 10% 0;
  }
  .box-word-attempt .topic-col .name-block p {
    font-size: 100%;
  }
  .box-word-attempt .topic-col .name-block {
    display: block;
    text-align: right;
    margin-top: 1.6rem;
  }
  .box-word-attempt .topic-col .ttl {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
  }
  .box-word-attempt .topic-col .sttl {
    font-size: 2rem;
  }
}
