@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: none;
  margin-top: 700px;
  height: auto;
}
.mainvisual .mainvisual-clip {
  position: absolute;
  top: -700px;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 700px;
  clip-path: inset(0);
  z-index: -1;
}
.mainvisual .mainvisual-clip .mainvisual-fixed {
  position: fixed;
  top: 80px;
  width: 100%;
  height: 100%;
  background-position: center 30%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-image: url(./img/parallax_words.jpg);
  background-color: #efefef;
}
.mainvisual .wrapper {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}
.mainvisual .main-ttl {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.mainvisual p {
  color: #334149;
}
@media screen and (min-width: 1600px) {
  .mainvisual .mainvisual-clip .mainvisual-fixed {
    background-position: center 60%;
  }
}
@media screen and (max-width: 1200px) {
  .mainvisual .wrapper {
    position: relative;
    width: 60%;
    margin: 0 auto 0 0;
  }
  .mainvisual p {
    text-align: left;
  }
  .mainvisual .mainvisual-clip .mainvisual-fixed {
    top: -45px;
  }
}
@media screen and (max-width: 880px) {
  .mainvisual {
    margin-top: 550px;
    padding: 0 6%;
  }
  .mainvisual .wrapper {
    top: 45%;
    left: 35%;
  }
  .mainvisual .mainvisual-clip {
    top: -550px;
    min-height: 550px;
  }
  .mainvisual .mainvisual-clip .mainvisual-fixed {
    background-position: 50% 30%;
    background-size: 140%;
    top: -5vw;
  }
  .mainvisual .main-ttl {
    width: 86vw;
    max-width: 400px;
  }
}

@media screen and (max-width: 420px) {
  .mainvisual .main-ttl{
    max-width: 250px;
  }
  .mainvisual .mainvisual-clip .mainvisual-fixed {
    top: -76px;
  }
}

/* --------------------------------------------------
contents
-------------------------------------------------- */
#contents {
  margin: 0;
}

/* --------------------------------------------------
sentence-block
-------------------------------------------------- */
.sentence-block {
  text-indent: 1em;
}

/* --------------------------------------------------
box-words
-------------------------------------------------- */
.box-words {
  padding: 0 0 4% 0;
  margin: 5% 0;
  color: #231815;
}
/* .col-item */
.box-words .col-item {
  margin: 5% 0;
  position: relative;
}
.box-words .col-item:has(.ttl-words) {
  padding-top: 10%;
}
.box-words .col-item:has(.ttl-words):first-of-type {
  margin-top: 0;
}
.box-words .col-item:has(.ttl-words):first-of-type:after {
  content: none;
}
.box-words .col-item:has(.ttl-words):after {
  content: "";
  display: block;
  width: 100vw;
  height: 1px;
  background: #e4e4e5;
  position: absolute;
  left: -6%;
  top: 0;
}
.box-words .col-item .ttl,
.box-words .col-item-pht .ttl {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.box-words .col-item .questions,
.box-words .col-item-pht .questions {
  color: #334149;
  margin-bottom: 2rem;
  position: relative;
}
.box-words .col-item .questions::before,
.box-words .col-item-pht .questions::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1px;
  margin: 0 0.3em;
  background: #334149;
}
.box-words .col-item .ttl-words,
.box-words .col-item-pht .ttl-words {
  position: absolute;
  top: 10%;
  right: 0;
  left: auto;
  min-width: 150px;
}
.box-words .col-item .ttl-words p,
.box-words .col-item-pht .ttl-words p {
  color: #334149;
  font-family: serif;
  font-size: 2.6rem;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  width: auto;
  white-space: pre;
}
.box-words .col-item .ttl-words span,
.box-words .col-item-pht .ttl-words span {
  display: inline-block;
  background-image: repeating-linear-gradient(
    -45deg,
    #e4e4e5,
    #e4e4e5 4px,
    #ffffff 4px,
    #ffffff 6px
  );
  padding: 0.2em 0;
}
.box-words .col-item .ttl,
.box-words .col-item .questions,
.box-words .col-item .sentence-block {
  max-width: 78%;
}
@media screen and (max-width: 800px) {
  .box-words .col-item .ttl,
  .box-words .col-item-pht .ttl {
    font-size: 2rem;
  }
  .box-words .col-item .ttl-words,
  .box-words .col-item-pht .ttl-words {
    position: inherit;
    top: auto;
    right: auto;
    margin: 0.5em 0;
  }
  .box-words .col-item .ttl-words p,
  .box-words .col-item-pht .ttl-words p {
    font-size: 2rem;
    -ms-writing-mode: initial;
    writing-mode: initial;
  }
  .box-words .col-item .ttl-words span,
  .box-words .col-item-pht .ttl-words span {
    padding: 0 0.2em;
  }
  .box-words .col-item .ttl,
  .box-words .col-item .questions,
  .box-words .col-item .sentence-block {
    max-width: 100%;
  }
}

.box-words .col-item .ttl-words.bottom {
  top: auto;
  bottom: 5%;
  left: 0;
  right: auto;
}
.box-words .col-item:has(.bottom) .ttl,
.box-words .col-item:has(.bottom) .questions,
.box-words .col-item:has(.bottom) .sentence-block {
  margin-left: auto;
  margin-right: auto;
  max-width: 58%;
}
@media screen and (max-width: 800px) {
  .box-words .col-item .ttl-words.bottom p {
    align-items: flex-start;
  }
  .box-words .col-item:has(.bottom) .ttl,
  .box-words .col-item:has(.bottom) .questions,
  .box-words .col-item:has(.bottom) .sentence-block {
    max-width: 100%;
  }
}

/* .col-item.reverse */
.box-words .col-item.reverse .ttl-words {
  left: 0;
}
.box-words .col-item.reverse .ttl,
.box-words .col-item.reverse .questions,
.box-words .col-item.reverse .sentence-block {
  margin-left: auto;
}
.box-words .col-item.reverse:has(.ttl-words):after {
  left: auto;
  right: -6%;
}
@media screen and (max-width: 800px) {
  .box-words .col-item.reverse .ttl-words p {
    align-items: flex-end;
  }
}

/* col-item-pht */
.box-words .col-item-pht {
  margin: 5% 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.box-words .col-item-pht figure {
  flex: 1;
  text-align: center;
}
.box-words .col-item-pht figure figcaption {
  text-align: left;
  font-size: 1.4rem;
}
.box-words .col-item-pht .txt {
  flex: 1.5;
}
.box-words .col-item-pht .txt .grade {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.box-words .col-item-pht .txt .name {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1em;
}
.box-words .col-item-pht .txt .name span {
  font-size: 1.8rem;
}
@media screen and (max-width: 800px) {
  .box-words .col-item-pht .txt {
    flex: auto;
    width: 0100%;
  }
}

/* col-item-pht.col6-4 */
.box-words .col-item-pht.col6-4 figure:last-child {
  text-align: right;
  align-self: self-end;
}
.box-words .col-item-pht.col6-4 figure:last-child img {
  max-width: 40%;
}
@media screen and (max-width: 800px) {
  .box-words .col-item-pht.col6-4 figure:last-child {
    align-self: self-start;
    margin-top: -4em;
  }
  .box-words .col-item-pht.col6-4 figure:last-child img {
    max-width: 60%;
  }
}

/* topic-col */
.box-words .topic-col {
  padding: 4%;
  margin: 5% 0;
  border: 1px solid #e4e4e5;
  position: relative;
  overflow: hidden;
}
.box-words .topic-col .ttl {
  color: #334149;
  font-family: serif;
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 0.5em;
  text-align: center;
  margin-bottom: 2rem;
}
.box-words .topic-col .sttl {
  color: #334149;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}
.box-words .topic-col .col2 {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin: 1em 0 8em;
}
.box-words .topic-col .col2 figure {
  flex: 1;
}
.box-words .topic-col .movie {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  color: #231815;
  position: absolute;
  left: -1%;
  bottom: -2%;
}
.box-words .topic-col .movie dd {
  position: relative;
}
.box-words .topic-col .movie dd span {
  font-weight: bold;
  position: relative;
}
.box-words .topic-col .movie dd:before {
  content: "";
  display: inline-block;
  vertical-align: baseline;
  width: 1em;
  height: 1em;
  clip-path: polygon(100% 100%, 0 50%, 100% 0);
  background: #231815;
  margin-right: 0.5em;
}
@media screen and (max-width: 800px) {
  .box-words .topic-col {
    margin: 10% 0;
  }
  .box-words .topic-col .ttl {
    font-size: 2rem;
    letter-spacing: 0.2em;
  }
  .box-words .topic-col .sttl {
    font-size: 1.8rem;
  }
}
