@charset "utf-8";

.work__ttl-wrap {
  padding: 30px 0 70px 30px;
}

.work__inner {
  display: flex;
  flex-direction: row-reverse;
}

.work__head {
  position: sticky;
  top: 100px;
  right: 0;
  width: 28.5vw;
  height: fit-content;
  padding: 0 4vw 0 5%;
}

.work__head-mess {
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
}

.work__link {
  margin-top: 50px;
}

.work__box-area {
  position: relative;
  z-index: 2;
  /* margin-top: 100px; */
}

.work__box {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.work__box01 {
  position: sticky;
  z-index: 2;
  top: 0.1px;
  left: 0;
  height: 100vh;
}

.work__box02 {
  position: sticky;
  z-index: 2;
  top: 0.1px;
  left: 0;
  height: 100vh;
}

.work__box03 {
  position: sticky;
  z-index: 2;
  top: 0.1px;
  left: 0;
  height: 100vh;
}

.work__box04 {
  position: sticky;
  z-index: 2;
  top: 0.1px;
  left: 0;
  height: 100vh;
}

.work__box05 {
  position: sticky;
  z-index: 2;
  top: 0.1px;
  left: 0;
  height: 100vh;
}

.work__box picture {
  width: 100%;
  height: 100%;
}

.work__box picture img{
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

@supports (-webkit-touch-callout: none) {
  .work__box02 {
    z-index: 9999;
  }

  .work__box03 {
    z-index: 10000;
  }

  .work__box04 {
    z-index: 10001;
  }

  .work__box05 {
    z-index: 10002;
  }
}

.work__box-inner {
  position: absolute;
  height: 100%;
  width: 100%;
  /*bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 0 35px 5%;*/
}

.work__box-inner:after {
  position: absolute;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 35%;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.work__box-ttl__wrap{
  z-index: 1;
}

.work__box01 .work__box-inner .work__box-ttl__wrap{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}  

.work__box01 .work__box-inner .work__box-ttl__wrap h2{
  writing-mode: vertical-rl;
}

.work__box01 .work__box-inner .work__box-ttl__wrap .work__box-mess01{
  margin-top: 60px;
  writing-mode: horizontal-tb;
}

.work__box02 .work__box-inner .work__box-ttl__wrap,
.work__box04 .work__box-inner .work__box-ttl__wrap{
  position: absolute;
  left: auto;
  right: 5%;
  width: 45vw;
  bottom: 10%;
  display: flex;
  justify-content: flex-end;
} 

.work__box03 .work__box-inner .work__box-ttl__wrap{

  position: absolute;
  left: 5%;
  width: 45vw;
  bottom: 10%;
} 

.work__box05 .work__box-inner .work__box-ttl__wrap{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  width: 96%;
}  

@media (max-width: 1200px) {
    .sec__ttl-jp {
        font-size: 2.6rem;
    }
}

@media(max-width:1000px) {
  .work__ttl-wrap {
    padding: 30px 0 40px 30px;
  }

  .work__inner {
    display: flex;
    flex-direction: column;
  }

  .work__head {
    position: static;
    top: 0px;
    right: 0;
    width: 100%;
    height: fit-content;
    padding: 0px 5% 50px;
  }

  .work__head-mess {
    writing-mode: vertical-rl;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }

  .work__link {
    margin: 30px auto 0;
  }

  .work__box-area {
    width: 100%;
    position: relative;
    z-index: 2;
    /* margin-top: 100px; */
  }
}

@media(max-width:834px) {
  .work__box-inner {
    position: absolute;
    bottom: 0;
    /* left: 5vw; */
    /* width: calc(100% - 5vw); */
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 20px;
  }

.work__box02 .work__box-inner .work__box-ttl__wrap, 
.work__box03 .work__box-inner .work__box-ttl__wrap,
.work__box04 .work__box-inner .work__box-ttl__wrap{
    bottom: 25%;
    font-size: 1.7rem;
    text-shadow: 1px 2px 3px #333;
    width: 90vw;
}  

.work__box05 .work__box-inner .work__box-ttl__wrap{
    font-size: 2.3rem;
}

.work__box-inner:after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  height: 55%;
}


}

@media(max-width:500px) {
  .work__box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    width: 100%;
    /* aspect-ratio: 100 / 120; */
    aspect-ratio: 750 / 840;
  }

  img.work__box-img {
    height: 100%;
    object-fit: cover;
  }

  .work__box-inner {
    position: absolute;
    bottom: 0;
    /* left: 5vw; */
    /* width: calc(100% - 5vw); */
    height: 100%;
    display: flex;
    /* flex-direction: column;
        justify-content: end;
        align-items: start; */
    padding-bottom: 20px;
  }
}

.work__pro{
  margin: 0 auto;
  padding: 0 5%;
}

.work__pro-flex{
  display: flex;
  justify-content: space-between;
}

.work__pro-ttl__wrap{
  width: 430px;
  position: sticky;
  padding-top: 120px;
  height: -moz-fit-content;
  height: fit-content;
  top: 10px;
}

.work__pro-cont{
  border-left: 1px dotted #dddddd;
  padding-left: 7.5%;
  width: calc(100% - 430px);
  padding-top: 120px;
}

.work__pro-flex.last .work__pro-ttl__wrap{
  padding-bottom: 130px;
}

.work__pro-flex.last .work__pro-cont{
  padding-bottom: 130px;
}

.work__pro-cont-ttl{
  margin-bottom: 40px;
}

.work__pro-txt{
  margin-bottom: 70px;
}

.snl__list{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -50px;
  width: 100%;
  box-sizing: border-box;
}

.snl__ttl{
  margin: 0 auto -6%;
  width: 51vw;
  z-index: 2;
  position: relative;
}

.snl__ttl img{
  width: 62.5%;
}

.snl__list-item{
  width: 18vw;
  height: 18vw;
  background: url(../img/our-work/snl-bg.webp) no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 6%;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0 -1vw;
}

.snl-number{
  background: linear-gradient(to right, #d50000, #ff2c00);
  color: #fff;
  font-size: 14px;
  border-radius: 30px;
  padding: 2px 15px 2px;
  margin-right: 8px;
  margin-bottom: 20px;
  display: inline-block;
}

.snl-ttl{
  margin-bottom: 5px;
}

.pro__list-item{
  margin-bottom: 60px;
}

.pro__list-item:last-child{
  margin-bottom: 0;
}

.pro__list-item__wrap{
  position: relative;
  margin-bottom: 35px;
}

.pro__list-item__wrap:after{
  position: absolute;
  content: "";
  background: linear-gradient(0deg, rgba(228, 41, 30, 0.75) 0%, rgba(228, 41, 30, 0) 100%);
  width: 100%;
  height: 35%;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
}

.pro__list-item__wrap picture{
  height: 100%;
  width: 100%;
}

.pro__list-item-cont{
  position: absolute;
  bottom: 0;
  padding: 0 4% 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1;
}

.pro__list-ttl{
  display: flex;
  align-items: center;
  letter-spacing: 0.5rem;
  width: 30%;
}

.pro__list-ttl span{
  margin-left: 15px;
  letter-spacing: 0rem;
}

.pro__list-txt{
  text-align: right;
  width: 70%;
}


@media(max-width:1513px) {
.work__pro-cont-ttl {
  font-size: 3rem;
  margin-bottom: 30px;
}
}

@media(max-width:1350px) {
.work__pro-ttl__wrap {
  width: 380px;
}

.work__pro-cont {
  width: calc(100% - 380px);
}
}

@media(max-width:1150px) {
.work__pro-ttl__wrap {
  width: 330px;
}

.work__pro-cont {
  width: calc(100% - 330px);
}

.snl-number {
  padding: 0px 15px 1px;
  margin-bottom: 10px;
}

.snl-ttl {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.pro__list-ttl{
  font-size: 2.2rem;
}

.pro__list-ttl span {
  margin-left: 5px;
}

.pro__list-txt{
  font-size: 1.6rem;
}
}

@media(max-width:834px) {
.work__pro-flex {
    display: block;
}

.work__pro-ttl__wrap {
  width: 100%;
  position: static;
  padding-top: 60px;
}

.work__pro-flex.last .work__pro-ttl__wrap {
  padding-top: 70px;
  padding-bottom: 0px;
}

.work__pro-cont {
  width: 100%;
  padding-top: 30px;
  padding-left: 0;
  border-left: none;
}

.snl__list-item {
  width: 28vw;
  height: 28vw;
}

.snl__ttl {
  width: 81vw;
}

.work__pro-flex.last .work__pro-cont {
  padding-bottom: 50px;
}

.pro__list-item {
  margin-bottom: 30px;
}

.pro__list-item__wrap {
  margin-bottom: 15px;
}

.pro__list-item__wrap picture img{
  max-width: 100%;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 30% 0px;
}

.pro__list-item-cont {
  display: block;
  padding: 0 4% 5%;
}

.pro__list-ttl{
  width: 100%;
}

.pro__list-txt {
  font-size: 1.5rem;
  text-align: left;
  width: 100%;
}

.work__pro-cont-ttl {
  font-size: 2rem;
  margin-bottom: 20px;
}

.work__pro-txt {
  margin-bottom: 30px;
}
}

@media(max-width:500px) {

.snl__ttl {
  width: 100%;
  position: relative;
}

.snl-number{
  margin-right: 0;
}

.snl-ttl {
  margin: 0 auto;
  font-size: 2.3rem;
}

.snl-cont{
  font-size: 1.5rem;
}

.snl__ttl img {
  width: 300px;
  transform: rotate(-90deg);
  transform-origin: bottom;
  position: absolute;
  top: 100px;
  left: -100px;
}

.snl__list {
  display: block;
  margin-top: 60px;
}

.snl__list-item {
  width: 250px;
  height: 250px;
  margin: 0 0 -10% 20%;
  text-align: center;
}


}

@media(max-width:359px) {}