@charset "UTF-8";
@import url("style.css");

/* ベースレイアウト */
main section {
  width: 100%;
  margin-top: 4em;
  font-size: 1.2em;
}

div.preface {
  width: fit-content;
  margin: 0 auto 0;
  font-size: 1em;
  line-height: 3em;
  letter-spacing: 0.2em;
  text-align: center;
}

ul.anchor-list {
  margin-top: 6em;
  display: flex;
  justify-content: center;
  column-gap: 7.573em;
}

ul.anchor-list li {
  width: 18.833em;
}

ul.anchor-list li a {
  display: flex;
  justify-content: center;
}

ul.anchor-list li a .anchor-bg {
  width: 8vw;
  aspect-ratio: 83/338;
  background-size: auto 100%;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.7);
  background-blend-mode: lighten;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-size 0.6s ease, opacity 0.6s ease;
}

ul.anchor-list li.li-yakabe a .anchor-bg {
  background-image: url(../image/instructor/img-profile-yakabe.jpg);
}

ul.anchor-list li.li-yoshizawa a .anchor-bg {
  background-image: url(../image/instructor/img-profile-yoshizawa.jpg);
}

ul.anchor-list li a:hover .anchor-bg {
  background-size: auto 120%;
  background-color: rgba(255, 255, 255, 0);
}

ul.anchor-list li a .anchor-bg img {
  width: 33.9vw;
  position: relative;
  opacity: 1;
}

ul.anchor-list li a:hover .anchor-bg img {
  opacity: 0.2;
}

img.down-arrow {
  width: 2em;
  margin: 5em auto 0;
  display: block;
}

section.instructor-info {
  width: 100%;
  margin-top: 5em;
  padding-bottom: 0;
}

section.instructor-info h2 {
  width: 17.013em;
  margin: 0 auto 0;
  aspect-ratio: 441 / 157;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
}

section.instructor-info.info-yakabe h2 {
  background-image: url(../image/instructor/name-yakabe.png);
  background-size: contain;
}

section.instructor-info h2 rt {
  font-size: 0.4em;
  line-height: 1;
  margin-top: -0.8em;
}

div.profile-area {
  width: 95%;
  margin: 3.2em auto 0;
  display: flex;
  justify-content: center;
}

div.profile-txt {
  width: 50%;
  font-size: 1em;
  padding: 0 1em;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

div.profile-txt div.degree {
  margin-bottom: 3em;
}

div.profile-txt div.episode {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  height: 100%;
}

.instructor-img {
  width: 50%;
}

.instructor-img img {
  width: 100%;
  height: auto;
}

div.works-area {
  margin: 4em auto 0;
}

div.works-area h3 {
  width: 100%;
  font-size: 1.3em;
  letter-spacing: 0.2em;
  text-align: center;
}

div.performance {
  margin: 4em auto 2.5em;
  display: flex;
  justify-content: center;
  column-gap: 4%;
}

div.performance p {
  margin-top: -1.15em;
  text-align: right;
  padding-right: 1em;
}

div.performance img {
  width: 9em;
  box-shadow: 0 0 0 0.5em black, 0 0 0 0.85em #b5b5b5;
}

ul.work-list {
  width: 36em;
  margin: 8em auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}

ul.work-list li {
  display: flex;
  justify-content: center;
  width: 100%;
}

ul.work-list img {
  max-width: 8em;
  height: 100%;
  object-position: top;
  box-shadow: 0 0 0 0.5vw #b5b5b5;
}

ul.work-list li div.caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-left: 0.2em;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin-right: -0.7em;
}

ul.work-list li div.caption em {
  text-combine-upright: all;
  font-style: normal;
}

ul.work-list li p.caption {
  font-size: 0.7em;
  height: auto;
}

section.instructor-info.info-yoshizawa {
  margin-top: 8em;
}

section.instructor-info.info-yoshizawa h2 {
  background-image: url(../image/instructor/name-yoshizawa.png);
  background-size: contain;
}
section.instructor-info.info-yoshizawa div.profile-txt {
  text-align: left;
  align-items: flex-start;
}
section.instructor-info.info-yoshizawa .episode {
  align-items: flex-start;
}

section.instructor-info.info-yoshizawa ul.work-list {
  padding: 0 2em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  margin: 4em auto 0;
  width: auto;
  align-items: center;
  width: 100%;
}
section.instructor-info.info-yoshizawa ul.work-list li {
  display: block;
}
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(1) {
  grid-area: 1 / 3 / 2 / 4;
}
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(2) {
  grid-area: 1 / 2 / 3 / 3;
  display: flex;
  flex-wrap: nowrap;
}
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(3) {
  grid-area: 2 / 3 / 3 / 4;
}
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(4) {
  grid-area: 1 / 1 / 3 / 2;
  display: flex;
  flex-wrap: nowrap;
}

section.instructor-info.info-yoshizawa ul.work-list li div.caption {
  writing-mode: unset;
  margin: 0.2em 0 0 0;
  text-wrap: nowrap;
}
section.instructor-info.info-yoshizawa ul.work-list li img {
  max-width: none;
  width: 100%;
}
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(2) img,
section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(4) img {
  max-width: 8em;
}

section.instructor-info.info-yoshizawa
  ul.work-list
  li:nth-of-type(2)
  div.caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin: 0 0 0 0.2em;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

section.instructor-info.info-yoshizawa
  ul.work-list
  li:nth-of-type(2)
  div.caption
  p {
  height: auto;
}

section.instructor-info.info-yoshizawa
  ul.work-list
  li:nth-of-type(3)
  div.caption {
  justify-content: flex-start;
}

section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(3) img {
  width: 38.54vw;
}

section.instructor-info.info-yoshizawa
  ul.work-list
  li:nth-of-type(4)
  div.caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin: 0 0 0 0.2em;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

section.instructor-info.info-yoshizawa
  ul.work-list
  li:nth-of-type(4)
  div.caption
  p {
  height: auto;
}

/* 調整用 */
@media screen and (max-width: 1240px) {
}
@media screen and (max-width: 900px) {
}

/* SP */

/* 420px以下の画面対応 */
/* 420px以下の画面対応 */
@media screen and (max-width: 420px) {
  main section {
    width: 95vw;
    margin-top: 0;
    padding-top: 80px;
    font-size: 1em;
  }
  div.preface {
    font-size: 1em;
    line-height: 2em;
  }
  ul.anchor-list {
    margin-top: 150px;
    display: flex;
    justify-content: center;
    column-gap: 12.864vw;
    flex-direction: row;
  }
  ul.anchor-list li {
    width: 90%;
  }
  img.bg-img {
    width: 25vw;
  }
  section.instructor-info h2 {
    font-size: 2em;
    width: 100%;
  }
  div.profile-area {
    flex-direction: column;
    row-gap: 20px;
  }

  div.profile-txt {
    font-size: 1em;
  }

  div.profile-txt,
  .instructor-img {
    width: 100%;
  }

  div.profile-txt {
    white-space: unset;
  }

  div.profile-txt div.degree {
    position: static;
    font-size: 1em;
    padding-right: 1em;
  }

  div.profile-txt p {
    position: static;
    padding: 0 1em;
    font-size: 1em;
    word-wrap: normal;
    overflow: unset;
    text-align: left;
    margin-top: 60px;
  }

  div.works-area h3 {
    font-size: max(5vw, 16px);
    margin-bottom: 20px;
  }
  div.performance {
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  div.performance p {
    font-size: 5vw;
    white-space: unset;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 3em;
    padding: 0 1em;
  }
  div.performance img {
    width: 40vw;
    margin: 0 auto;
  }
  ul.work-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
  }

  ul.work-list li {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  ul.work-list li div.caption {
    writing-mode: unset;
    display: block;
  }

  ul.work-list li img {
    width: auto;
    max-height: 50vh;
  }
  ul.work-list li p.caption {
    font-size: 1em;
    width: fit-content;
  }

  section.instructor-info.info-yoshizawa div.profile-txt {
    white-space: unset;
    width: 100%;
    font-size: 1em;
  }
  section.instructor-info.info-yoshizawa div.profile-txt div.degree {
    position: static;
    margin-left: 1em;
  }

  section.instructor-info.info-yoshizawa div.profile-txt p {
    position: static;
  }

  section.instructor-info.info-yoshizawa ul.work-list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  section.instructor-info.info-yoshizawa ul.work-list li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(1) {
    grid-area: 2 / 1 / 3 / 2;
  }
  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(2) {
    grid-area: 3 / 1 / 4 / 2;
  }
  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(3) {
    grid-area: 4 / 1 / 5 / 2;
  }
  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(4) {
    grid-area: 1 / 1 / 2 / 2;
  }

  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(1) img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  section.instructor-info.info-yoshizawa
    ul.work-list
    li:nth-of-type(2)
    div.caption {
    display: block;
    writing-mode: unset;
  }

  section.instructor-info.info-yoshizawa
    ul.work-list
    li:nth-of-type(4)
    div.caption {
    display: block;
    writing-mode: unset;
  }

  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(2) img {
    width: auto;
    max-width: 100%;
  }

  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(3) img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  section.instructor-info.info-yoshizawa ul.work-list li:nth-of-type(4) img {
    width: auto;
    max-width: 100%;
  }
}
