/* ----------------------------------------------
 * * staff page
 * *----------------------------------------------*/
.post-type-staff main {
  background-image: url(../../img/back01-btm.webp), url(../../img/back01.webp);
  background-repeat: no-repeat, repeat;
  background-position: center bottom, center top;
  padding-bottom: 224px;
}
.post-type-staff h2 {
  position: relative;
  z-index: 0;
  padding-bottom: 0.5em;
  padding-left: 0.4em;
  text-align: center;
  font-size: 2.5rem;
  color: var(--black02);
  letter-spacing: 0.4em;
}
.post-type-staff h2::before {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 50%;
  translate: 50% 50%;
  z-index: -1;
  width: 305px;
  height: 144px;
  border-radius: 50%;
  background-color: #fff;
  filter: blur(25px);
}
.post-type-staff h2 .icon {
  display: block;
  margin: 0 auto 10px;
  width: 58px;
}
.message {
  position: relative;
  z-index: 0;
  width: 100%;
  border-radius: 0 0 0 min(23.05vh, 16.5625vw);
  background-color: #fff;
  background-image: url(../img/flower01.webp), url(../img/flower02.webp);
  background-position: right calc((100% - var(--basew)) / 2 + 122px) top 90px, right calc((100% - var(--basew)) / 2 + 284px) top 168px;
  background-repeat: no-repeat;
  padding: 150px 0 max(50px, 7.682565vh);
  display: flex;
  flex-direction: column;
  color: var(--black02);
  line-height: 2.1212;
  letter-spacing: 0.06em;
  box-shadow: 15px 15px 25px rgba(var(--black-rgb), 0.1);
  overflow: hidden;
}
.message .thumbInner {
  position: absolute;
  z-index: -1;
  left: calc(50% + 30px);
  bottom: 0;
  width: 720px;
}
.message .thumbInner::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 205px;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 59.11%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.message .thumb .name {
  position: absolute;
  z-index: 1;
  left: calc(50% + 1em);
  top: 300px;
  padding-left: 0.2em;
  font-size: 1.7rem;
  line-height: 1.5987;
  letter-spacing: 0.18em;
  color: #fff;
}
.message .thumb .name::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 112px;
  background-color: #81cde4;
  border-radius: 50%;
  right: 50%;
  bottom: 50%;
  translate: 50% 50%;
  filter: blur(15px);
}
.message .thumb .name span {
  display: inline-block;
  margin-left: 10px;
  font-size: 2rem;
}
.message h1 {
  margin: 0 auto 160px;
  width: var(--basew);
}
.message dl {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 60px;
  margin-left: calc((100% - var(--basew)) / 2);
  order: 1;
  font-size: 1.5rem;
  line-height: 1.4667;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.message dt {
  color: var(--blue02);
}
.message dd:nth-of-type(n+2) {
  border-top: 1px solid var(--blue02);
  margin-top: 0.75em;
  padding-top: 0.75em;
}
.message dd li {
  list-style: none;
}
.message dd ol > li {
  display: flex;
}
.message dd ol .year {
  flex: 0 0 5em;
}
.message dd ol .text {
  flex: 1 0 auto;
}
.message dd ol .text br {
  display: none;
}
.message .textbox {
  width: var(--basew);
  margin: 0 auto;
}

.staff {
  padding: 125px 0 78px;
}
.staff .lead {
  width: -moz-fit-content;
  width: fit-content;
  margin: 110px auto 0;
  text-align: center;
  font-weight: bold;
  font-size: 2.5rem;
  letter-spacing: 0.24em;
  color: var(--blue02);
  position: relative;
  z-index: 0;
}
.staff .lead::before {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 50%;
  translate: 50% 50%;
  z-index: -1;
  width: calc(100% + 2em);
  height: calc(100% + 1em);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 3em;
  filter: blur(20px);
}
.staff .lead br {
  display: none;
}
.staff ul {
  width: var(--basew);
  margin: 50px auto 0;
  list-style: none;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  background: url(../img/staff-bg.webp) no-repeat right 30px center;
}
.staff li {
  position: relative;
  z-index: 0;
}
.staff li::before {
  content: "";
  position: absolute;
  z-index: -1;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0 0;
  opacity: 0.5;
}
.staff li:first-child {
  margin-left: auto;
  margin-right: -50px;
  rotate: 10deg;
  z-index: 2;
  transform-origin: left top;
}
.staff li:first-child::before {
  background-image: url(../img/photo01-bg.webp);
}
.staff li:nth-child(2) {
  position: absolute;
  left: -20px;
  top: 136px;
  rotate: -10deg;
  transform-origin: right top;
}
.staff li:nth-child(2)::before {
  background-image: url(../img/photo02-bg.webp);
}
.staff li:last-child {
  margin: 140px auto 0 438px;
}
.staff li:last-child::before {
  background-image: url(../img/photo03-bg.webp);
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .post-type-staff main {
    background-image: url(../../img/blue-bg-btm.webp), url(../../img/back01-sp.jpg);
    background-size: 100% auto, 375px auto;
    padding-bottom: 13.3333vw;
    margin-bottom: 24vw;
  }
  .post-type-staff h2 {
    font-size: 1.8rem;
  }
  .post-type-staff h2::before {
    width: 244px;
    height: 115px;
    filter: blur(24px);
  }
  .post-type-staff h2 .icon {
    width: 9.8667%;
  }
  .message {
    border-bottom-left-radius: 68px;
    padding: 5.3333vw 0 18.66vw;
    background: #fff url(../img/flower01.webp) no-repeat right 30.93vw top 30.93vw;
    background-size: 57px auto;
    font-size: 1.4rem;
  }
  .message h1 {
    width: var(--basew);
    margin-bottom: 16vw;
    order: -1;
  }
  .message .thumbInner {
    position: static;
    left: auto;
    bottom: auto;
  }
  .message .thumbInner::before {
    display: none;
  }
  .message .thumb img {
    width: 64.8%;
    max-height: calc(255px + 32vw);
    object-fit: contain;
    position: absolute;
    z-index: -1;
    right: -16.5333vw;
    top: 11.2vw;
  }
  .message .thumb .name {
    width: -moz-fit-content;
    width: fit-content;
    margin-left: calc((100% - var(--basew)) / 2);
    position: relative;
    left: auto;
    top: auto;
    padding: 0 1em 0 2em;
    font-size: 1.3rem;
  }
  .message .thumb .name::before {
    width: 100%;
    height: 82px;
  }
  .message .thumb .name span {
    font-size: 1.5rem;
  }
  .message dl {
    order: 0;
    margin-top: 16vw;
    font-size: 1rem;
  }
  .message dd ol .text br {
    display: inline;
  }
  .message .textbox {
    width: var(--basew);
    margin: 12vw auto 0;
    text-align: justify;
  }
  .message .textbox p br {
    display: none;
  }
  .staff {
    padding-top: 25.3333vw;
    padding-bottom: 10.6667vw;
  }
  .staff .lead {
    margin-top: 7vw;
    font-size: 1.8rem;
    line-height: 1.7778;
    letter-spacing: 0.15em;
  }
  .staff .lead::before {
    width: 100%;
  }
  .staff .lead br {
    display: inline;
  }
  .staff ul {
    width: auto;
    margin-top: 8vw;
    display: block;
    background-image: url(../img/staff-bg-sp.webp);
    background-size: 78.4vw auto;
    background-position: right 2.933vw top 2.133vw;
  }
  .staff ul li {
    position: relative;
  }
  .staff ul li:nth-child(1) {
    z-index: 0;
    margin-left: -2.5vw;
    margin-right: 0;
    width: 80%;
    rotate: -4deg;
  }
  .staff ul li:nth-child(1)::before {
    background-image: url(../img/photo01-bg-sp.webp);
  }
  .staff ul li:nth-child(2) {
    width: 69.3333%;
    position: relative;
    left: auto;
    top: auto;
    margin: -8vw -4vw 0 auto;
    rotate: 6deg;
  }
  .staff ul li:nth-child(2)::before {
    background-image: url(../img/photo02-bg-sp.webp);
  }
  .staff ul li:nth-child(3) {
    width: 65.6vw;
    margin: -18vw auto 0 2.5vw;
    rotate: -4deg;
  }
  .staff ul li:nth-child(3)::before {
    background-image: url(../img/photo03-bg-sp.webp);
  }
}