@charset "UTF-8";
/*===========================================================================*/
/*  media quary  */
/*===========================================================================*/
@import "/css/common.css";
/*==================================================================*/
/* department css　*/
/*==================================================================*/
/* -------------------------------------------- */
/* title */
/* -------------------------------------------- */
.title-bg {
  margin-bottom: 4rem;
  background: url("/department/image/department_main_bg.jpg") no-repeat center bottom/cover;
}

.top-read {
  margin-bottom: 4rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}
.top-read span {
  color: #1d233a;
}

section {
  position: relative;
  padding-top: 8rem;
  margin-bottom: 6.25rem;
}
section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: #1d233a;
}
section .photo-box {
  position: relative;
  margin-bottom: 2rem;
}
section .photo-box:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.6)));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}
section .photo-box .photo {
  line-height: 0;
}
section .photo-box .text-box {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 3rem 3rem;
  color: #fff;
  z-index: 2;
}
section .photo-box .text-box h2 {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 3.25rem;
  font-weight: 400;
  border-left: 3px solid #fff;
  line-height: 1.375;
}
section .photo-box .text-box .read {
  font-weight: 400;
}
section .photo-box .lb {
  position: absolute;
  top: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 5.625rem;
  color: #fff;
  mix-blend-mode: difference;
}
section .photo-box .lb.right {
  right: 0;
}
section .photo-box .lb.left {
  left: 0;
}
section .f-photo-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
section .f-photo-area .photo {
  width: 31%;
  line-height: 0;
}

/*===========================================================================*/
/*  media quary:1025px  */
/*===========================================================================*/
@media screen and (max-width: 1025px) {
  section .photo-box:before {
    height: 65%;
  }
  section .photo-box .text-box {
    padding: 0 2rem 2rem;
  }
  section .photo-box .text-box h2 {
    font-size: 2.875rem;
  }
  section .photo-box .lb {
    font-size: 4.5rem;
  }
}
/*===========================================================================*/
/*  media quary:769px  */
/*===========================================================================*/
@media screen and (max-width: 769px) {
  section {
    margin-bottom: 4rem;
    padding-top: 5rem;
  }
  section:before {
    height: 280px;
  }
  section .photo-box:before {
    content: none;
  }
  section .photo-box .photo {
    margin-bottom: 1rem;
  }
  section .photo-box .text-box {
    position: relative;
    padding: 0;
    color: #000;
  }
  section .photo-box .text-box h2 {
    font-size: 2.25rem;
    color: #1d233a;
    border-left: 3px solid #1d233a;
  }
  section .photo-box .lb {
    font-size: 3.85rem;
  }
}
@media screen and (max-width: 670px) {
  section {
    padding-top: 4rem;
  }
  section:before {
    height: 250px;
  }
  section .photo-box .lb {
    font-size: 3.25rem;
  }
}
@media screen and (max-width: 550px) {
  section:before {
    height: 180px;
  }
  section .photo-box .lb {
    font-size: 2.875rem;
  }
  section .photo-box .text-box h2 {
    font-size: 2rem;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  .top-read {
    font-size: 1rem;
  }
  section:before {
    height: 180px;
  }
  section .photo-box .lb {
    font-size: 2.25rem;
  }
  section .photo-box .text-box h2 {
    padding-left: 1rem;
    font-size: 1.625rem;
  }
  section .f-photo-area {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  section .f-photo-area .photo {
    width: 48%;
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 390px) {
  section:before {
    height: 150px;
  }
  section .photo-box .lb {
    font-size: 2.125rem;
  }
  section .photo-box .text-box h2 {
    font-size: 1.5rem;
  }
}