@charset "UTF-8";

/*
Theme Name: Nutmeg team
Description: Nutmeg team
Version: 2024.03
Author: YH
*/

#inner.team .visual {
  background-image: url(./images/bg_visual.jpg);
}

#inner.team .teamlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 7% 0 7%;
}

#inner.team .teamlist .box {
  width: 48%;
  margin-top: 40px;
}

#inner.team .teamlist .box.wide {
  width: 100%;
}

#inner.team .teamlist .box a {
  display: block;
  position: relative;
  color: #fff;
}

#inner.team .teamlist .box .img .img_wrap img {
  max-width: none;
  width: 140%;
  position: relative;
  left: -20%;
  margin: -8% 0;
}

#inner.team .teamlist .box.wide .img .img_wrap img {
  max-width: none;
  width: 110%;
  position: relative;
  left: -5%;
  margin: -6% 0 -17% 0;
}

#inner.team .teamlist .box .info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 18, 57, 0) 0%,
    rgba(0, 18, 57, 0.6) 100%
  );
  border-radius: 0 0 10px 10px;
  padding: 50px 25px 20px 25px;
  box-sizing: border-box;
}

#inner.team .teamlist .box .info .position {
  font-size: 24px;
  line-height: 1.3em;
  letter-spacing: 0.03em;
}

#inner.team .teamlist .box.wide .info .position {
  font-size: 40px;
  line-height: 1.2em;
}

#inner.team .teamlist .box .info .position span {
  display: block;
  font-size: 22px;
  line-height: 1.2em;
  margin-bottom: 5px;
}

#inner.team .teamlist .box .info .name {
  font-size: 16px;
  margin-top: 3px;
}

#inner.team .teamlist .box .info .more {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: transparent;
}
#inner.team .teamlist .box.wide .info .more {
  color: #fff;
}

.remodal-overlay {
  background: rgba(6, 20, 36, 0.7);
  z-index: 1000000;
}

.remodal-wrapper {
  z-index: 1000001;
  margin-right: 120px;
  padding: 0;
}

.remodal {
  width: 90%;
  padding: 0;
  background: none;
  padding: 20px 0;
  margin-bottom: 0;
  text-align: left;
  max-width: 1280px;
}

.remodal > .inner {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.remodal .img {
  width: 36%;
}

.remodal .img .img_wrap {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.remodal .img .img_wrap img {
  max-width: none;
  width: 100%;
  position: relative;
  left: auto;
  object-fit: cover;
  height: 100%;
}

.remodal .info {
  /* background: url(../common/images/bg_gray3.png) no-repeat left 0 bottom 0 / 650px auto; */
  padding: 70px 50px 60px 50px;
  box-sizing: border-box;
  width: 64%;
  position: relative;
  min-height: 550px;
}

.remodal .info::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 250px;
  left: 0;
  top: 0;
  background: url(./images/bg_modal1.jpg) no-repeat top left / 100% auto;
}
.remodal .info.bg2::before {
  background-image: url(./images/bg_modal2.jpg);
}
.remodal .info::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 250px;
  left: 0;
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 65%,
    rgba(255, 255, 255, 1) 100%
  );
}

.remodal .info .position {
  font-size: 22px;
  letter-spacing: 0.03em;
  line-height: 1.5em;
  position: relative;
  z-index: 100;
}

.remodal .info .fbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  position: relative;
  z-index: 100;
}

.remodal .info .fbox .name {
  font-size: 36px;
  line-height: 1.5em;
}

.remodal .info .fbox .sns {
  display: flex;
}

.remodal .info .fbox .sns a {
  display: block;
  width: 30px;
}

.remodal .info .fbox .sns a + a {
  margin-left: 12px;
}

.remodal .info .profile {
  font-size: 14px;
  margin-top: 20px;
  position: relative;
  z-index: 100;
}

.remodal .info .topics {
  margin-top: 40px;
  position: relative;
  z-index: 100;
}

.remodal .info .topics .title {
  color: #999;
  font-size: 14px;
}

.remodal .info .topics .title > span {
  color: #000;
  font-size: 26px;
  letter-spacing: 0.03em;
  margin-right: 20px;
}

.remodal .info .topics .title > span span {
  color: #3abdf3;
}

.remodal .info .topics ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
}

.remodal .info .topics ul li {
  width: 30%;
  margin: 30px 0 0 5%;
}

.remodal .info .topics ul li:nth-child(3n-2) {
  margin-left: 0;
}

.remodal .info .topics ul li:nth-child(-n + 3) {
  margin-top: 0;
}

.remodal .info .topics ul li a {
}

.remodal .info .topics ul li a .thumbnail {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 10px #ddd;
  position: relative;
}

.remodal .info .topics ul li a .thumbnail.video::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  background: #0469cf;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100px;
}

.remodal .info .topics ul li a .thumbnail.video::after {
  left: 50%;
  top: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #fff;
  border-width: 12px;
  margin-top: -12px;
  transform: translate(-20%, 0) scale(1, 0.6);
}

.remodal .info .topics ul li a .thumbnail.text {
  background: #ecf6f7;
  border-radius: 10px;
  padding-top: 59.4%;
  position: relative;
  box-sizing: border-box;
}

.remodal .info .topics ul li a .thumbnail.text p {
  padding: 0;
  margin: 0;
  font-size: 0.8vw;
  color: #58add9;
  text-align: justify;
  line-height: 1.6em;
  position: absolute;
  left: 10%;
  height: 7.6em;
  width: 80%;
  top: 50%;
  box-sizing: border-box;
  overflow: hidden;
  transform: translate(0, -50%);
}

.remodal .info .topics ul li a p {
  font-size: 13px;
  line-height: 1.5em;
  margin-top: 10px;
}

.remodal-close {
  left: auto;
  right: 16px;
  top: 39px;
  width: 45px;
  height: 42px;
  z-index: 100;
}

.remodal-close::before {
  display: none;
}

.remodal-close::before,
.remodal-close::after {
  display: block;
  position: absolute;
  content: "";
  width: 36px;
  height: 1px;
  background: #000;
  left: 3px;
  top: 50%;
  transform: rotate(-45deg);
}

.remodal-close::after {
  transform: rotate(45deg);
}

@media screen and (max-width: 960px) {
  #inner.team .visual {
    background-image: url(./images/bg_visual.jpg);
  }

  #inner.team .teamlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10px auto 0 auto;
    max-width: 500px;
  }

  #inner.team .teamlist .box {
    width: auto;
    margin-top: 30px;
  }

  #inner.team .teamlist .box.wide {
    width: 100%;
  }

  #inner.team .teamlist .box a {
    display: block;
    position: relative;
    color: #fff;
  }

  #inner.team .teamlist .box .img .img_wrap img {
    max-width: none;
    width: 160%;
    position: relative;
    left: -30%;
    margin: -12% 0 -28% 0;
  }

  #inner.team .teamlist .box.wide .img .img_wrap img {
    max-width: none;
    width: 160%;
    position: relative;
    left: -30%;
    margin: -6% 0 -17% 0;
  }

  #inner.team .teamlist .box .info {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 18, 57, 0) 0%,
      rgba(0, 18, 57, 0.6) 100%
    );
    border-radius: 0 0 10px 10px;
    padding: 50px 15px 15px 15px;
    box-sizing: border-box;
  }

  #inner.team .teamlist .box .info .position {
    font-size: 24px;
    line-height: 1.1em;
    letter-spacing: 0.03em;
  }

  #inner.team .teamlist .box.wide .info .position {
    font-size: 30px;
    line-height: 1.2em;
  }

  #inner.team .teamlist .box .info .position span {
    display: block;
    font-size: 18px;
    line-height: 1.2em;
    margin-bottom: 0px;
  }

  #inner.team .teamlist .box .info .name {
    font-size: 14px;
    margin-top: 3px;
    line-height: 1.6em;
  }

  #inner.team .teamlist .box .info .more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 11px;
    color: #fff;
  }

  .remodal-overlay {
    background: rgba(6, 20, 36, 0.7);
    z-index: 1000000;
  }

  .remodal-wrapper {
    z-index: 1000001;
    margin-right: 0;
    padding: 0;
  }

  .remodal {
    max-width: 500px;
    padding: 0;
    background: none;
    padding: 140px 0 60px 0;
    margin-bottom: 0;
    text-align: left;
    width: 90%;
  }

  .remodal > .inner {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
  }

  .remodal .img {
    width: auto;
  }

  .remodal .img .img_wrap {
    overflow: hidden;
    position: relative;
    height: 100%;
  }

  .remodal .img .img_wrap img {
    max-width: none;
    width: 160%;
    position: relative;
    left: auto;
    object-fit: cover;
    height: 100%;
    left: -30%;
    margin: -4% 0 0% 0;
  }

  .remodal .info {
    /* background: url(./images/bg_modal1.jpg) no-repeat top left / 100% auto; */
    padding: 70px 22px 60px 22px;
    box-sizing: border-box;
    width: auto;
    position: relative;
    min-height: 550px;
  }

  .remodal .info::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 240px;
    left: 0;
    top: 0;
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%); */
  }
  .remodal .info.bg2::before {
    background-image: url(./images/bg_modal2.jpg);
  }

  .remodal .info .position {
    font-size: 17px;
    letter-spacing: 0.03em;
    line-height: 1.5em;
    position: relative;
  }

  .remodal .info .fbox {
    display: block;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    position: relative;
  }

  .remodal .info .fbox .name {
    font-size: 30px;
    line-height: 1.5em;
  }

  .remodal .info .fbox .sns {
    display: flex;
    margin-top: 12px;
  }

  .remodal .info .fbox .sns a {
    display: block;
    width: 30px;
  }

  .remodal .info .fbox .sns a + a {
    margin-left: 10px;
  }

  .remodal .info .profile {
    font-size: 14px;
    margin-top: 20px;
    position: relative;
    text-align: justify;
  }

  .remodal .info .topics {
    margin-top: 60px;
    position: relative;
  }

  .remodal .info .topics .title {
    color: #999;
    font-size: 14px;
  }

  .remodal .info .topics .title > span {
    color: #000;
    font-size: 26px;
    letter-spacing: 0.03em;
    margin-right: 0;
    margin-bottom: 7px;
    display: block;
  }

  .remodal .info .topics .title > span span {
    color: #3abdf3;
  }

  .remodal .info .topics ul {
    display: block;
    flex-wrap: wrap;
    margin-top: 15px;
  }

  .remodal .info .topics ul li {
    width: auto;
    margin: 30px 0 0 0;
  }
  .remodal .info .topics ul li:nth-child(-n + 3) {
    margin-top: 30px;
  }
  .remodal .info .topics ul li:nth-child(1) {
    margin-left: 0px;
    margin-top: 0;
  }

  .remodal .info .topics ul li a {
  }

  .remodal .info .topics ul li a .thumbnail {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 10px #ddd;
    position: relative;
  }
  .remodal .info .topics ul li a .thumbnail .img_wrap {
  }
  .remodal .info .topics ul li a .thumbnail .img_wrap img {
    margin: -15% 0;
    width: 100%;
  }

  .remodal .info .topics ul li a .thumbnail.video::before {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    background: #0469cf;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100px;
  }

  .remodal .info .topics ul li a .thumbnail.video::after {
    left: 50%;
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #fff;
    border-width: 12px;
    margin-top: -12px;
    /* transform: scale(1, 0.6); */
  }

  .remodal .info .topics ul li a .thumbnail.text {
    background: #ecf6f7;
    border-radius: 10px;
    padding-top: 29.7%;
    position: relative;
    box-sizing: border-box;
  }

  .remodal .info .topics ul li a .thumbnail.text p {
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #58add9;
    text-align: justify;
    line-height: 1.6em;
    position: absolute;
    left: 7%;
    height: 4.6em;
    width: 86%;
    top: 50%;
    box-sizing: border-box;
    overflow: hidden;
    transform: translate(0, -50%);
  }

  .remodal .info .topics ul li a p {
    font-size: 13px;
    line-height: 1.5em;
    margin-top: 10px;
  }

  .remodal-close {
    left: auto;
    right: -4px;
    top: 89px;
    width: 45px;
    height: 42px;
    z-index: 100;
  }

  .remodal-close::before {
    display: none;
  }

  .remodal-close::before,
  .remodal-close::after {
    display: block;
    position: absolute;
    content: "";
    width: 36px;
    height: 1px;
    background: #fff;
    left: 3px;
    top: 50%;
    transform: rotate(-45deg);
  }

  .remodal-close::after {
    transform: rotate(45deg);
  }
}
@media screen and (max-width: 767px) {
  .remodal .info .topics ul li a .thumbnail .img_wrap img {
    margin: -10% 0;
  }
  .remodal .info .topics ul li a .thumbnail.txtimg .img_wrap img {
    margin: 0 0;
  }
  .remodal .info .topics ul li a .thumbnail.text {
    padding-top: 39.4%;
  }
  .remodal .info .topics ul li a .thumbnail.text p {
    font-size: 2.8vw;
  }
}

