@charset "UTF-8";

.wrap *{
  box-sizing: border-box;
}
.flex {
  display: flex;
  align-items: center;
}
.flex.col {
  flex-direction: column;
  align-items: flex-start;
}
.flex.j-between {
  justify-content: space-between;
}
.flex.left{
  color: #fff;
  gap: 0.9rem;
}
.fs-40{
  font-size: 3.7rem;
  align-items: baseline;
  line-height: 1;
}
.fs-40 small{
  font-size: 50%
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/bg.jpg') no-repeat center center;
  background-size: cover;
  z-index: -1;
}
body:has(.login) .bg {
  background-image: url('../img/bg-login.jpg');
}
body:has(.login) .bg::after {
  content: '「夜景＋トキメイクをメインとしたデザインで本のページをめくることから次の段階・ステージに進むことをイメージした。」湯本 舜平';
  color: #fff;
  font-size: 0.87rem;
  bottom: 1.5rem;
  right: 2.8rem;
  position: absolute;
  letter-spacing: 0.02em;
}

header .flex.col{
  font-size: 1.1rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  gap: 0.1rem;
}
.border {
  width: 1px;
  border-left: 1px solid #fff;
  height: 2.7rem;
}
header a {
    background: #fff;
    padding: 0.7rem 1.6rem 0.5rem;
    color: #000a4b;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 0.3rem;
    transform: translateY(-4px);
}
.section-content.inview.slideIn{
  transition-delay: 0.8s;
}
.content{
  /* padding: calc(50vh - 120px) 0 20rem; */
  padding: calc(28vh - 120px) 0 11rem;
}
.date.right{
  font-size: 0.8rem;
  text-align: right;
  color: #fff;
  letter-spacing: 0;
  padding-right: 8px;
}
ul {
    display: flex;
    flex-direction: column;
    gap: 2rem; /*1rem*/
}
li a, .dept-title a{
    display: flex;
    background: #fff;
    padding: 1.1rem 1.2rem 1.2rem 2.1rem;
    border-radius: 0.5rem;
    color: #000a4b;
    font-weight: 500;
    position: relative;
    font-size: 1.48rem;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0;
}
li a::after, .dept-title a::before{
  content: "MORE"; 
  font-family: "Rajdhani", "Noto Sans JP","メイリオ", sans-serif;
  padding: 0.5rem 2rem 0.4rem;
  background: #000a4b;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 0.3rem;
}
li a small{
  font-size: 67%;
  letter-spacing: 0;
  display: contents;
}

.dept-title a {
    width: fit-content;
    min-width: 29rem;
    margin-top: 6rem;
    margin-left: 2.7rem;
    padding: 1.3rem;
    padding-right: 2rem;
    justify-content: flex-start;
    gap: 2.3rem;
    border-radius: 0.8rem;
}
.dept-title a::before {
    content: "BACK";
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

.staff-detail .content{
  padding-top: 6rem;
}

.staff-card {
    color: #fff;
    border-top: 1px solid;
    padding: 4.5rem 0 3.5rem;
}
.staff-card .flex {
    gap: 1.5rem;
    align-items: flex-start;
}
.staff-swiper-box, .img-box{
  width: 260px;              /* 固定 or 可変に調整 */
  flex-shrink: 0;            /* テキストに押し潰されない */
}

.staff-swiper-box .swiper {
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
}

.staff-card .swiper, .staff-card > .flex > .img-box{
  border-radius: 0.5rem;
  margin-top: 8px;
  /* background: rgba(255, 255, 255, 0.3); */
  text-align: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.img-box img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-slide {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.swiper-pagination{
  position: relative;
  margin: 0;
}
.title{
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  gap: 0.4rem;
  /* padding-left: 1.0rem; */
}
h3 {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  font-weight: 400;
  letter-spacing: 0.02em;
}
h3 small{ padding-left: 1rem; }
.title small {
  font-size: 1.05rem;
  letter-spacing: 0;
}
.text{
  font-family: "Noto Sans JP", "メイリオ", sans-serif;
  width: 100%;
}
h5 {
    padding: 0.8rem 1.2rem;
    background: rgba(0, 10, 75, 0.5);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 0.4rem;
    margin-top: 1rem;
}
.text p {
    font-size: 1.05rem;
    padding: 0.4rem 1.4rem;
    letter-spacing: 0;
    line-height: 1.9;
    font-weight: 300;
}


/* login page */
.page--special:has(.login) header a{
  display: none;
}
form.login-form {
    background: #fff;
    padding: 2.0rem 3.1rem 3rem;
    border-radius: 0.5rem;
}
form.login-form label{
  text-align: center;
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0;
  font-weight: 500;
  margin-bottom: 0.7rem;
}
form .flex{
  gap: 0.7rem;
}
input[type='password'] {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: auto;
    padding: 17px 10px;
    background-color: #f6f6f6;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button[type='submit'] {
    padding: 15px 31px;
    color: #fff;
    background: #000a4b;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-family: "Rajdhani", "メイリオ", sans-serif;
    font-size: 1.0rem;
  }
.page--special:has(.login) .content{
  padding: calc(50vh - 220px) 0 0;
}
.error-message {
    font-size: 0.8rem;
}
@media only screen and (min-width: 768px) {
  .sp{
    display: none;
  }
  header a:hover, button[type='submit']:hover{
      opacity: .7;
  }
   li a:hover::after, .dept-title a:hover::before {
      opacity: .7;
  }
}
@media only screen and (max-width: 767px) {
  .pc{
    display: none;
  }
  .bg{
    background-image: url('../img/bg_sp.jpg');
  }
  body:has(.login) .bg {
    background-image: url('../img/bg-login_sp.jpg');
    background-position: center bottom;
  }
  body:has(.login) .bg::after {
    content: '「夜景＋トキメイクをメインとしたデザインで本のページをめくることから\A次の段階・ステージに進むことをイメージした。」\A湯本 舜平';
    white-space: pre;
    font-size: 2.4vw;
    right: 6vw;
    bottom: 1.5vw;
    text-align: right;
    line-height: 1.7;
  }
  .flex.left {
    gap: 2vw;
  }
  .fs-40 {
    font-size: 9.4vw;
  }
  .border{
    height: 7vw;
  }
  header .flex.col{
    font-size: 3vw;
    gap: 0;
    line-height: 1.5;
  }
  header a{
    font-size: 3.2vw;
    padding: 1.2vw 3vw 1vw;
    border-radius: 0.8vw;
    margin-top: 1.2vw;
  }
  .content{
    padding: calc(28vh - 40px) 0 20rem;
    width: 90%;
  }
  ul{ gap: 5vw; }

  li a, .dept-title a{
    font-size: 4vw;
    padding: 2.6vw 3vw 2.6vw 4vw;
  }
  .dept-title a{
    gap: 4vw;
  }
  li a::after, .dept-title a::before{
    font-size: 3.2vw;
    padding: 0.2vw 4vw;
    border-radius: 1vw;
    margin-top: 2px;
  }
  li a{
    line-height: 1.1;
  }
  li a::after{
    height: 7vw;
    line-height: 7vw;
  }
  li a small{
    font-size: 65%;
  }

  .dept-title{
    width: 90%;
  }
  .dept-title a{
    min-width: fit-content;
    width: 70%;
    margin: 25.5vw 0 10vw 5vw;
    padding-left: 2.5vw;
    border-radius: 1vw;
  }
  .dept-title a::before{
    border-radius: 1vw;
    padding: 2.1vw 4.5vw 1.6vw;
  }
  .staff-detail .content{
    padding-top: 0;
  }
  .staff-card{
    padding: 9vw 0 4vw;
    border-width: 0.1vw;
  }
  .staff-card .flex{
    gap: 5vw;
    align-items: center;
  }
  .staff-swiper-box, .staff-card > .flex > .img-box{
    width: 45vw;
  }
  /* .staff-card .swiper, .staff-card > .flex > img{
    width: 33vw;
    margin: 2vw 5vw 0 6.5vw;
  } */
  .img-box{margin-bottom: 11vw;}
  .staff-card .swiper, .staff-card > .flex > img{
  border-radius: 1vw;
  }
  .staff-card > .flex > img{
    margin-bottom: 12vw;
  }
  h3{
    font-size: 5.8vw/*7vw*/;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 0;
  }
  .title{
    margin: auto 0 20vw;
    gap: 2vw;
    padding-left: 0;
  }
  .title small{
    font-size: 3.2vw;
  }
  h3 small{
    padding: 0;
  }
  .text.sp {
    margin-top: -3vw;
  }
  h5{
    margin-top: 3vw;
    padding: 2vw 2.4vw;
    font-size: 3.3vw;
  }
  .text p{
    font-size: 3.3vw;
    font-weight: 400;
    padding: 2vw 3vw;
    line-height: 2;
  }


  /* login page */
  .page--special:has(.login) .content {
    padding: calc(50vh - 105px) 0 0;
  }
  form.login-form{
    width: 65%;
    margin: 0 auto;
    padding: 3.2vw 7vw 4vw;
    border-radius: 0.8vw;
  }
  form.login-form label{
    font-size: 3.2vw;
    margin-bottom: 1vw;
  }
  form .flex{
    flex-direction: column;
    gap: 2vw;
  }
  input[type='password']{
    padding: 2vw;
  }
  button[type='submit']{
    padding: 2vw 4vw;
    font-size: 3.2vw;
    border-radius: 0.8vw;
  }
  .error-message {
    font-size: 1vw;
  }
}