@charset "utf-8";
/* CSS Document */
.pagevisual {
  background: url("../img/page_visual.webp")no-repeat center;
  background-size: cover;
}
/* crosstalk */
.crosstalk {
  margin-bottom: 78px;
}
.cro_inner {
  max-width: 1280px;
  margin: auto;
  position: relative;
  h2 {
    color: #fff;
    font-size: 3.6rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.4;
    position: absolute;
    top: 54px;
    left: 128px;
    text-shadow: 2px 2px 10px #000;
    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
      top: 10px;
      left: 10px;
    } 
  }
}
.name_box_outer {
  display: flex;
  justify-content: space-between;
  max-width: 1024px;
  margin: -130px auto 0;
  @media screen and (max-width: 767px) {
    margin-top: 20px;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    padding: 0 5%;
  } 
}
.name_box {
  max-width: 328px;
  min-height: 328px;
  .name {
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 3.2px;
    line-height: 1.4;
    min-height: 103px;
    padding-left: 16px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    .department {
      font-size: 1.4rem;
      font-weight: 400;
      letter-spacing: 0px;
      display: block;
      width: 100%;
    }
    .year {
      font-size: 1.4rem;
      font-weight: 400;
      letter-spacing: 0px;
      margin-left: 20px;
    }
  }
  .text {
    text-align: justify;
    padding: 14px;
    background: #fff;
  }
  &:nth-child(1) {
    border: 2px solid #1580EC;
    .name {
      color: #fff;
      background: #0959E2;
    }
  }
  &:nth-child(2) {
    border: 2px solid #D91579;
    .name {
      color: #fff;
      background: #D91579;
    }
  }
  &:nth-child(3) {
    border: 2px solid #063380;
    .name {
      color: #fff;
      background: #063380;
    }
  }
}
@media screen and (max-width: 767px) {
  .name_box {
    min-height: 245px;
    .name {
      font-size: 2.4rem;
      min-height: 80px;
      .year {
        font-size: 1.2rem;
        margin-left: 4px;
      }
    }
    .text {
      font-size: 1.4rem;
      line-height: 1.8;
    }
  }
  .name_box:nth-child(1) .name::after {
    content: "";
    background: url(../img/ikeda_sp.webp) no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  .name_box:nth-child(2) .name::after {
    content: "";
    background: url(../img/iimori_sp.webp) no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  .name_box:nth-child(3) .name::after {
    content: "";
    background: url(../img/umezawa_sp.webp) no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
}
/* talk */
.talk_bg {
  &:not(:first-child) .talk_inner {
    margin-top: 70px;
  }
  &:nth-child(odd) .talk_text_outer:last-child {
    margin-bottom: 70px;
  }
  &:nth-child(even) {
    background: #F8F8F8;
    padding: 30px 0;
    .talk_inner .title_box {
      flex-direction: row-reverse;
    }
    .talk_inner {
      margin-top: 0;
    }
  }
  .talk_inner {
    max-width: 1024px;
    width: 90%;
    margin: 0 auto;
    .title_box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 5px;
      border-bottom: 1px solid #0959E2;
      padding-bottom: 32px;
      margin-bottom: 42px;
      width: 100%;
      @media screen and (max-width: 767px) {
        display: contents;
        figure {
          text-align: center;
          margin-bottom: 20px;
        }
      }
      h2 {
        font-size: 4rem;
        font-weight: bold;
        font-style: italic;
        line-height: 1.2;
        color: #0959E2;
        max-width: 516px;
        @media screen and (max-width: 767px) {
          font-size: 2.4rem;
          padding-bottom: 16px;
          margin-bottom: 20px;
          border-bottom: 1px solid #0959E2;
          width: 100%;
          max-width: none;
        }
      }
    }
  }
}
.talk_text_outer {
  display: flex;
  gap: 15px;
  margin-bottom: 32px;
  @media screen and (max-width: 767px) {
    margin-bottom: 16px;
  }
  .talk_text {
    width: 100%;
    p {
      width: 100%;
      padding: 30px;
      border-radius: 10px;
      text-align: justify;
      @media screen and (max-width: 767px) {
        padding: 20px 5%;
        font-size: 1.4rem;
        line-height: 1.7;
      }
    }
  }

  &.ikeda {
    flex-direction: row-reverse;
  }
  &.iimori {
    flex-direction: row-reverse;
  }
  &.umezawa .talk_text p {
    background: rgba(6,51,128,.1);
  }
  &.ikeda .talk_text p {
    background: rgba(21,128,236,.1);
  }
  &.iimori .talk_text p {
    background:rgba(217,21,121,.1);
  }
}