@charset "UTF-8";

/*-------------------------------------------------------

メインビジュアル

----------------------------------------------------------*/
.gallery_h2-img-ttl {
  padding-top: 228px;
  background-color: #f7f6f0;
}

@media screen and (max-width: 767px) {
  .gallery_h2-img-ttl {
    padding-top: 44vw;
  }
}

.posi-rel {
  position: relative;
}

.mv-txt {
  display: inline-block;
  color: #fff;
  background-color: #ebb912;
  padding: 40px 80px 25px 45px;
  position: absolute;
  right: 0;
  bottom: -110px;
  -webkit-font-smoothing: subpixel-antialiased;
}

.mv-txt span {
  margin-left: 13px;
  font-weight: 700;
}

.mv-txt__wrapper {
  display: flex;
}

@media screen and (max-width: 767px) {
  .mv-txt {
    padding: 30px;
    bottom: -180px;
  }

  .mv-txt__wrapper {
    flex-direction: column;
  }
}

.mv-txt img {
  padding-bottom: 10px;
}

.mv-txt_ttl {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.5;
}

.mv-txt__occupation {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  padding-top: 10px;
  margin-top: 22.8px;
  border-top: 1px solid #fff;
}

.mv-txt__year {
  display: inline-block;
  padding-top: 34px;
  margin-left: 16px;
}

@media screen and (max-width: 767px) {
  .mv-txt img {
    width: 159.63px;
  }

  .mv-txt_ttl {
    font-size: 18px;
  }

  .mv-txt__occupation {
    font-size: 16px;
    margin-top: 15px;
    width: fit-content;
  }

  .mv-txt__year {
    padding-top: 0;
    margin-left: 0;
  }
}

/*-------------------------------------------------------


----------------------------------------------------------*/

.gallery_mv-txt {
  display: inline-block;
  color: #000;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
  .gallery_mv-txt {
    width: 100%;
  }
}

.gallery-maintxt {
  text-align: center;
  color: #000;
  line-height: 2;
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .gallery-maintxt {
    text-align: left;
    font-size: 16px;
    padding: 0 5%;
    margin-top: 216px;
  }
}

.gallery-maintxt p {
  padding-top: 30px;
}

@media screen and (max-width: 767px) {
  .gallery-maintxt p:first-child {
    padding-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .gallery_mv-txt img {
    width: 75%;
    margin: 0 auto;
  }
}

.gallery_mv-txt_ttl_01 {
  font-size: 34px;
  font-weight: bold;
}

.gallery_mv-txt_ttl_02 {
  font-size: 16px;
  font-weight: bold;
  padding-top: 15px;
}

@media screen and (max-width: 767px) {
  .gallery_mv-txt_ttl_01 {
    font-size: 28px;
    padding-bottom: 10px;
  }

  .gallery_mv-txt_ttl_02 {
    font-size: 14px;
    padding-top: 10px;
  }
}

/*-------------------------------------------------------



----------------------------------------------------------*/

.gallery-01 {
  width: 80%;
  max-width: 1000px;
  margin: -100px auto 100px;
  display: block;
  padding-top: 100px;
}

@media screen and (max-width: 767px) {
  .gallery-01 {
    margin-top: -80px;
    width: 90%;
    font-size: 16px;
    padding-top: 80px;
  }
}

.gallery-01__ttl {
  margin: 0 auto;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #000;
  letter-spacing: 0.03em;
  position: relative;
}

.gallery-01__ttl img {
  display: inline;
}

.gallery-01 p {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .gallery-01__ttl {
    font-size: 20px;
  }

  .gallery-01 p {
    text-align: left;
  }
}

.gallery-01 p img {
  display: inline;
  margin-top: 70px;
  margin-right: auto;
  margin-left: auto;
}

.gallery-01__ttl:before {
  display: inline-block;
  position: absolute;
  content: "";
  bottom: -24px;
  /*下線の上下の位置*/
  left: 50%;
  width: 50px;
  /*下線の幅*/
  height: 3px;
  /*下線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%);
  /*位置の調整*/
  background-color: #e2ba42;
  /*下線の色*/
}

#sec02 .gallery-01__ttl:before {
  background-color: #d07370;
  /*下線の色*/
}

#sec03 .gallery-01__ttl:before {
  background-color: #7e70b0;
  /*下線の色*/
}

/** 矢印用スタイル */
.prev-arrow,
.next-arrow {
  position: absolute;
  top: 50%;
  margin: 0;
  padding: 0;
  line-height: 1;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  font-weight: bold;
}

.prev-arrow {
  left: -20px;
}

.next-arrow {
  right: -20px;
}

.anchor-area {
  width: 36%;
  max-width: 1000px;
  margin: 100px auto;
}

.anchor-list {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.anchor-list img {
  margin-top: 20px;
}

.anchor-list li {
  width: 100%;
  height: 97px;
  border-left: 1px solid;
  position: relative;
  font-weight: bold;
  font-size: 20px;
}

.anchor-list li:first-child {
  border-left: none;
}

.lead {
  margin: 48px auto 0px;
  width: 85%;
  line-height: 2;
}

.noteList {
  margin-top: 40px;
  margin-bottom: 13px;
  font-size: 14px;
  color: #e06d6d;
}

.img_layout-2 figure {
  max-width: 39vw;
  overflow: hidden;
}

.anchor-list a:after {
  content: url(/recruit/graduate/images/gallery/btn-anchor_white.svg);
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%, 50%);
}

.anchor-list a:hover:after {
  content: url(/recruit/graduate/images/gallery/btn-anchor_black.svg);
}

.anchor-list li:first-child:before {
  content: none;
}

@media screen and (min-width: 768px) {
  .img_layout-2 img:hover {
    transform: scale(1.2, 1.2);
    transition: 0.5s all;
  }
}

.img_layout-2 img {
  transition: 0.5s all;
}

.img_layout-2 + .img_layout-3 {
  margin-top: 20px;
  justify-content: space-between;
}

.img_layout-3 figure {
  max-width: 25.5vw;
  overflow: hidden;
}

.img_layout-3 img {
  transition: 0.5s all;
}

@media screen and (min-width: 768px) {
  .img_layout-3 img:hover {
    transform: scale(1.2, 1.2);
    transition: 0.5s all;
  }
}

.img_layout-3 figure:nth-child(n + 4) {
  margin-top: 20px;
}

#sec03 {
  margin-bottom: 126px;
}

@media screen and (max-width: 767px) {
  .anchor-list {
    flex-direction: column;
  }

  .anchor-list li {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid;
    padding-top: 14px;
    padding-bottom: 10px;
    height: 55px;
    border-left: none;
    text-align: left;
    font-size: 16px;
  }

  .anchor-list li:first-child {
    border-top: 2px solid;
  }

  .anchor-area {
    width: 75%;
    margin-top: 80px;
  }

  .anchor-list a:after {
    content: url(/recruit/graduate/images/gallery/btn-anchor_white_sp.svg);
    position: absolute;
    left: 100%;
    /* right: 0; */
    top: 50%;
    transform: translate(-100%, -50%);
    height: 35px;
  }

  .anchor-list a:hover:after {
    content: url(/recruit/graduate/images/gallery/btn-anchor_black_sp.svg);
  }

  .lead {
    margin: 48px auto 0px;
    width: 100%;
    line-height: 2;
  }

  .img_layout-2 figure {
    max-width: 100%;
  }

  .img_layout-2 figure + figure {
    margin-top: 12px;
  }

  .img_layout-2 + .img_layout-3 {
    margin-top: 12px;
  }

  .img_layout-3 figure {
    max-width: 43.5vw;
  }

  .img_layout-3 figure:first-child {
    margin-top: 0;
  }

  .img_layout-3 figure:nth-child(n + 3) {
    margin-top: 12px;
  }
}

.text-center a {
  color: #000;
}
/*----------------------
modal
-------------------------*/

.modal-white {
  background-color: #fff;
}

.modal-red {
  background-color: #fff;
}

.modal-purple {
  background-color: #ece9f4;
}

.modal-overlay {
  z-index: 500;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(68, 68, 68, 0.8);
}

.modal-content {
  position: fixed;
  display: none;
  z-index: 1000;
  width: 1000px;
  margin: 0 4%;
  background-color: #fff;
}

.modalContentWrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 0 40px;
}

.modalContentWrap .modalText {
  font-size: 16px;
  font-weight: 500;
}

.modal-content .close-link {
  position: absolute;
  top: 15px;
  right: 15px;
}

.modal-content .modal-close {
  display: block;
  width: 50px;
  height: 50px;
}

.modal-content ul {
  display: flex;
  justify-content: space-between;
  max-width: 100px;
  margin: 0 auto 50px;
}

.modal-content .none-link {
  display: block;
  width: 30px;
}

.modal-content ul a:hover {
  opacity: 0.6;
}

/*.modal-content ul a .prev{
    position: relative;
}

.modal-content ul a .prev:after{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    content: "＜"
}

.modal-content ul a .next{
    position: relative;
}

.modal-content ul a .next:after{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    content: "＞"
}*/

@media screen and (min-width: 1024px) {
  .modal-open:hover img,
  .modal-content .modal-close:hover {
    cursor: pointer;
    opacity: 0.8;
  }

  .modal-open:hover img {
    opacity: 0.4;
  }
}

@media screen and (max-width: 1023px) {
  .modal-content {
    max-width: 92%;
    margin: 0 auto;
  }

  .modalContentWrap {
    padding: 60px 6vw 20px;
  }
}

.modal-image {
  width: 647px;
  margin: 0 auto;
}

.modalText {
  padding-top: 30px;
  border-top: 1px solid;
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .modalContentWrap .modalText {
    font-size: 16px;
    line-height: 2;
    padding-top: 30px;
    margin-top: 18px;
  }
}

.modal-box {
  position: relative;
}

.modal_link_left {
  position: absolute;
  right: 400px;
}

.modal_link_right {
  position: absolute;
  left: 400px;
}

.modal_link_center {
  max-width: 173px;
  position: absolute;
  left: -20px;
}

.modal_link_black {
  position: absolute;
  left: 30px;
  top: -30px;
}

@media screen and (max-width: 767px) {
  .modal_link_left {
    right: 38.4vw;
  }

  .modal_link_right {
    left: 37.4vw;
  }

  .modal_link_center {
    left: -10.4vw;
  }
}

/* ============================================================
fix 2022/08/22
============================================================ */

.noteList b {
  font-weight: bold;
}

div.modal-open img,
a.close-link span,
ul.modal-box a.close-btn,
ul.modal-box a.modal_switch {
  opacity: 1 !important;
  cursor: pointer;
}

ul.modal-box a.close-btn {
  position: relative;
  display: block;
  width: 173px;
  height: 50px;
}

ul.modal-box a.close-btn img {
  left: 0;
  display: block;
  width: 173px;
  height: 50px;
}

@media screen and (min-width: 768px) {
  header.overlay-mode div.header__container,
  main.overlay-mode {
    overflow-y: scroll;
  }

  div.modal-content.on {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
  }

  ul.modal-box a.close-btn {
    left: -37px;
  }
}

@media screen and (max-width: 767px) {
  .anchor-list li {
    border-bottom: 1px solid;
  }

  .anchor-list li:first-child {
    border-top: 1px solid;
  }

  .modalContentWrap {
    padding-top: 20px;
  }

  .modalContentWrap p.modalText {
    padding-top: 10px;
  }

  .modal-box {
    margin-bottom: 20px !important;
  }

  a.close-link span img {
    top: -43px;
  }

  ul.modal-box a.close-btn {
    left: -38px;
  }
}

@media screen and (max-width: 320px) {
  div.modal-content {
    transform: translate(0, 8vh);
  }

  p.modalText {
    margin-bottom: -13px !important;
    line-height: 1.6 !important;
    font-size: 1.4rem !important;
  }

  ul.modal-box {
    margin-bottom: 10px !important;
  }

  ul.modal-box a.modal_switch span img {
    transform: scale(0.75);
  }

  ul.modal-box a.close-btn {
    transform: scale(0.75);
  }
}
