
@media screen and (min-width: 801px) {
  .pcHide-800{
    display: none!important;
  }
  }
@media screen and (max-width: 800px) {
.spHide-800{
  display: none!important;
}
}

#casestudy .casestudy-text-des p{
  padding: 5px 15px;
  margin-bottom: 25px;
}

.action-component .action .action-flexBox .action-casestudy {
    width: 525px;
    padding-left: 158px;
    position: relative;
  }

.casestudy-gridBox figure .img-size{
  width: 100%;

}
  @media screen and (max-width: 1090px) {
    .action-component .action .action-flexBox .action-casestudy {
      width: 66%;
      padding-left: 0;
      padding-bottom: 6.28%;
      margin-left: auto;
    }
  }
  .action-component .action .action-flexBox .action-casestudy::before {
    position: absolute;
    content: "";
    height: 1px;
    width: 90%;
    right: 7px;
    top: 50px;
    background-color: #3c3c3c;
  }
  @media screen and (max-width: 1090px) {
    .action-component .action .action-flexBox .action-casestudy::before {
      display: none;
    }
  }
  .action-component .action .action-flexBox .action-casestudy::after {
    position: absolute;
    content: "";
    display: inline-block;
    /* background: url(https://okamura.imgix.net/office/lp/office_iten/img/action-casestudy.png) no-repeat top center/contain; */
    height: 93px;
    width: 172px;
    top: -10px;
    left: -16px;
  }
  @media screen and (max-width: 1090px) {
    .action-component .action .action-flexBox .action-casestudy::after {
      top: 34%;
      transform: translateY(-50%);
      width: 55%;
      height: 100%;
      left: -55%;
    }
  }
  .action-component .action .action-flexBox .action-casestudy .action-casestudy_text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 10px;
  }
  @media screen and (max-width: 1090px) {
    .action-component .action .action-flexBox .action-casestudy .action-casestudy_text {
      font-size: 17.6px;
      margin-bottom: 0;
    }
  }
  @media screen and (max-width: 800px) {
    .action-component .action .action-flexBox .action-casestudy .action-casestudy_text {
      font-size: 2.37vw;
      margin-bottom: 0;
      font-feature-settings: "palt";
    }
  }
  .action-component .action .action-flexBox .action-casestudy .action-casestudy_title {
    font-size: 23px;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    color: #b28257;
  }
  @media screen and (max-width: 1090px) {
    .action-component .action .action-flexBox .action-casestudy .action-casestudy_title {
      font-size: 29px;
    }
  }
  @media screen and (max-width: 800px) {
    .action-component .action .action-flexBox .action-casestudy .action-casestudy_title {
      font-size: 3.86vw;
    }
  }
  #casestudy {
    margin-top: 60px;
    font-family: "UD Shin Go Medium", sans-serif;
  }
  @media screen and (max-width: 800px) {
    #casestudy {
      margin-top: 45px;
    }
  }
  #casestudy .casestudy {
    padding: 0;
    max-width: none;
    width: 100%;
  }
  #casestudy .casestudy .casestudy-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  #casestudy .casestudy .casestudy-title figure {
    height: 75px;
  }
  @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-title figure {
      height: auto;
      width: 44%;
    }
  }
  #casestudy .casestudy .casestudy-title figure img {
    height: 100%;
  }
  @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-title figure img {
      height: auto;
    }
  }
  #casestudy .casestudy .casestudy-title span {
    font-family: "UD Shin Go Regular", sans-serif;
  }
  #casestudy .casestudy .casestudy-gridBox {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  /* @media screen and (max-width: 1880px) and (min-width: 737px) {
    #casestudy .casestudy .casestudy-gridBox {
      grid-template-columns: repeat(2, 1fr);
    }
  } */

  @media screen and (max-width: 736px) {
    #casestudy .casestudy .casestudy-gridBox {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: 1fr 1fr; 
      grid-row-gap: 0;
    }
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem {
    position: relative;
    margin-top: -7px;
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem::before {
    content: "";
    transition: all ease 0.5s;
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover {
    cursor: pointer;
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover::before {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 98%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  /* @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover::before {
      background-color: transparent;
    }
  } */
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all ease 0.5s;
    padding: 24px 16px;
    overflow: hidden; 
    text-align: center;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox_sp {
    position: absolute;
    top: 10px;
    left: 0;
    transition: all ease 0.5s;
    padding: 5px 5px 5px 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    font-weight: bold;
    width: 180px;
  }
  /* @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox {
      opacity: 1;
      padding: 5.33% 0 0;
      top: 0;
      bottom: auto;
    }
  } */
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox h3 {
    font-size: 16px;
    letter-spacing: 0;
    font-family: "UD Shin Go Medium", sans-serif;
    color: #fff;
    margin-bottom: 24px;
    border-bottom: 1px solid #fff;
    
  }
  /* @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox h3 {
      font-size: 2.57vw;
      background-color: rgba(0, 0, 0, 0.6);
      padding: 0 2.267vw;
      line-height: 1;
      padding-top: 6px;
      padding-bottom: 6px;
    }
  } */
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox p {
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    font-family: "UD Shin Go Regular", sans-serif;
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox p span {
    /* background-color: #000; */
    position: relative;
  }
  /* #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox p span::before {
    content: "";
    position: absolute;
    display: inline-block;
    height: 1px;
    width: 250px;
    top: -20px;
    left: -30px;
    background-color: #fff;
  } */
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover .casestudy-gridItem_textBox {
    opacity: 1;
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem.active::before {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  @media screen and (max-width: 800px) {
    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem.active::before {
      background-color: transparent;
    }
  }
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem.active .casestudy-gridItem_textBox {
    opacity: 1;
  }

  @media screen and (max-width: 736px) {
    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover .casestudy-gridItem_textBox {
      opacity: 0;
    }

    #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem:hover::before {
      background-color: transparent;
    }

  }

  @media screen and (max-width: 400px){
  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox_sp h3{
    font-size: 12px!important;
  }

  #casestudy .casestudy .casestudy-gridBox .casestudy-gridItem .casestudy-gridItem_textBox_sp {
    width: 150px;
  }
}

  .casestudy-swiper {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    font-family: "UD Shin Go Medium", sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.3s;
  }
  .casestudy-swiper .swiper {
    overflow: visible;
    max-width: 1100px;
    width: 90%;
    position: relative;
  }
  .casestudy-swiper .swiper .casestudy-modal-close {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -50px;
    top: -50px;
  }

  .casestudy-swiper .casestudy-swiper_btn a:hover{
    text-decoration: none;
    opacity: 0.7;
  }

  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-modal-close {
      right: -23px;
    }
    .casestudy-swiper_btn{
      width: 100%;
    }

   
  }
  .casestudy-swiper .swiper .casestudy-modal-close::before, .casestudy-swiper .swiper .casestudy-modal-close::after {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    position: absolute;
    background-color: #fff;
    left: 0%;
    top: 50%;
  }
  .casestudy-swiper .swiper .casestudy-modal-close::before {
    transform: rotate(45deg);
  }
  .casestudy-swiper .swiper .casestudy-modal-close::after {
    transform: rotate(-45deg);
  }
  .casestudy-swiper .swiper .casestudy-modal-close:hover {
    cursor: pointer;
  }
  .casestudy-swiper .swiper .swiper-wrapper {
    overflow: visible;
    height: auto;
  }
  .casestudy-swiper .swiper .swiper-wrapper .swiper-slide {
    max-width: 1100px;
    padding: 40px 50px;
    border-radius: 10px;
    background-color: #fff;
    height: auto;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .swiper-wrapper .swiper-slide {
      padding-top: 4vw;
      padding-left: 5.33vw;
      padding-bottom: 11.67vw;
      height: 100%;
    }

    .casestudy-swiper .swiper .swiper-wrapper .swiper-slide {
      padding: 20px;
    }
  }
  /* .casestudy-swiper .swiper .casestudy-swiper_flexBox {
    display: flex;
    justify-content: space-between;
    gap: 23px;
    margin-bottom: 20px;
  } */
  .casestudy-swiper .swiper .casestudy-swiper_flexBox {
    display: block;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_flexBox {
      display: block;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_boxRight {
    position: relative;
    /* width: calc(30% - 23px); */
    width: 100%;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight {
      width: 100%;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_boxRight h4 {
    font-size: 20px;
    line-height: 1.72;
    letter-spacing: 0.05em;
  }

  .casestudy-swiper .swiper .casestudy-swiper_boxRight h2 {
    font-size: 26px;
    line-height: 1.72;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .casestudy-swiper .swiper .casestudy-swiper_boxRight figure {
    margin-top: 18px;
    margin-bottom: 20px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight h4 {
      font-size: 3vw;
      margin-bottom: 5px;
    }

    .casestudy-swiper .swiper .casestudy-swiper_boxRight h2 {
      font-size: 18px;
      margin-bottom: 5px;
      line-height: 1.25;
      
    }

    .casestudy-swiper .swiper .casestudy-swiper_boxRight figure {
      margin-top: 10px;
      margin-bottom: 15px;
    }
  }
 
  /* @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight figure {
      width: 46%;
      margin-bottom: 4.66vw;
    }
  } */

  .casestudy-swiper .swiper .casestudy-swiper_boxRight figure img {
    width: 100%;
  }
  /* @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight figure img {
      width: 100%;
    }
  } */
  .casestudy-swiper .swiper .casestudy-swiper_boxRight ul {
    display: flex;
    position: relative;
    white-space: nowrap;
    flex-wrap: wrap;
  }
  .casestudy-swiper .swiper .casestudy-swiper_boxRight ul li {
    margin-right: 10px;
    
  }
  /* @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight ul {
      position: absolute;
      top: 57%;
      left: 37%;
      transform: translateY(-50%);
    }
  } */
  .casestudy-swiper .swiper .casestudy-swiper_boxRight ul li span {
    padding: 0 10px;
    background-color: #000;
    color: #fff;
    display: inline-block;
    margin-bottom: 6px;
    font-size: 14px;
    border-radius: 5px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_boxRight ul li span {
      padding: 0 5px;
      font-size: 2.4vw;
    }
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_slide-4 ul,
  .casestudy-swiper .swiper .casestudy-swiper_slide-5 ul,
  .casestudy-swiper .swiper .casestudy-swiper_slide-7 ul,
  .casestudy-swiper .swiper .casestudy-swiper_slide-8 ul {
      position: static;
      transform: none;
      /* margin: 5vw 0; */
    }
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_slide-6 ul {
      top: 69%;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_boxLeft {
    width: 70%;
  }
  .casestudy-swiper .swiper .casestudy-swiper_desc {
    font-size: 26px;
    line-height: 1.46;
    letter-spacing: 0.05em;
    text-align: center;

    border-radius: 50px;
    background-color: rgb(0, 158, 183);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    display: block;
    width: 650px;
    margin: auto;

  }

  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_desc {
      width: 100%;
    }
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_desc {
      font-size: 3.46vw;
      padding-right: 5.33vw;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_linkButton {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 650px;
    font-size: 21px;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    background: linear-gradient(to right, #e60039, #9b0000);
    border-radius: 60px;
    transition: all ease 0.3s;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_linkButton {
      width: 95%;
      font-size: 3.5vw;
      height: 13.3vw;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_linkButton::before {
    content: "";
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    /* background: url(https://okamura.imgix.net/office/lp/office_iten/img/action-arrow.hov.svg) no-repeat center top/contain; */
    height: 16px;
    width: 8px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .casestudy-swiper_linkButton::before {
      height: 12px;
      right: 2.4vw;
    }
  }
  .casestudy-swiper .swiper .casestudy-swiper_linkButton::after {
    content: "";
    transition: all 0.3s ease;
  }
  .casestudy-swiper .swiper .casestudy-swiper_linkButton:hover::after {
    background: rgba(255, 255, 255, 0.3);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 60px;
  }
  .casestudy-swiper .swiper .swiper-button-prev,
  .casestudy-swiper .swiper .swiper-button-next {
    height: 60px;
    width: 60px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .swiper-button-prev,
  .casestudy-swiper .swiper .swiper-button-next {
      height: 8vw;
      width: 8vw;
    }
  }
  .casestudy-swiper .swiper .swiper-button-prev {
    left: -30px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .swiper-button-prev {
      left: -4.1vw;
    }
  }
  .casestudy-swiper .swiper .swiper-button-next {
    right: -30px;
  }
  @media screen and (max-width: 800px) {
    .casestudy-swiper .swiper .swiper-button-next {
      right: -4.1vw;
    }
  }
  .casestudy-swiper .swiper .swiper-button-prev::after,
  .casestudy-swiper .swiper .swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 50px;
    margin: auto;
    width: 50px;
  }
  .casestudy-swiper .swiper .swiper-button-prev::after {
    background-image: url(/business/solution/space-design/ad/service/img/casestudy-swiper-prevIcon.svg);
  }
  .casestudy-swiper .swiper .swiper-button-next::after {
    background-image: url(/business/solution/space-design/ad/service/img/casestudy-swiper-nextIcon.svg);
  }
  
  .casestudy-swiper.active {
    opacity: 1;
    visibility: visible;
  }
  