.works_s__main {
  background: #f7f5f2;
  padding-top: 6rem;
}
.works_s__head {
  padding: 0 8%;
}
.works_head_img{
  height: 18.6rem;
  object-fit: cover;
  object-position: center;
}
.works_s__head_title{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin: 3.3rem 0 2.1rem;
}
.works_s__case {
  font-size: 12px;
  font-family: 'Fjalla One', serif;
  font-weight: 300;
  letter-spacing: 0.6px;
  border: 1px solid #3B3B3B;
  border-radius: 25px;
  display: inline-block;
  padding: 0.7rem 0;
  width: 75px;
  text-align: center;
  color: #3B3B3B;
}
.works_s__head h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.9px;
  line-height: 1.8;
  margin: 0 0 3.3rem;
}
.works_s__area {
  font-size: 14px;
  letter-spacing: 1.5px;
}

/*works_s_contents*/
.works_s_details{
  padding: 0 8%;
}
.works_s_detail_container{
  padding: 2.2rem 3%;
  border-top: 1px solid #B4B4B4;
  border-bottom: 1px solid #B4B4B4;
}
.works_s_detail_container div{
  display: flex;
  align-items: flex-start;
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 0.8px;
  line-height: 2.2;
}
.works_s_detail_container dt{
  width: 40%;
  font-size: 1.2rem;
  font-weight: initial;
  color: #464646;
}
.works_s_detail_container dd{
  width: 60%;
  margin: initial;
  font-weight: 500;
}
.w_plan_container{
  display: inline-block;
  padding: 3.6rem 0 6rem;
}
.w_plan_container.is-flex .w_plan_box.is-first{
  margin: 0 0 3.6rem;
}
.w_plan_box p{
  margin: 0 0 1.3rem;
  text-align: center;
  font-family: 'Fjalla One', serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/*works_s_media_contents*/
/*YouTube*/
.works_pc{
  display: none;
}
.works_movie_content{
  padding: 0 0 1rem;
}
.works_movie_title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1.5rem 0;
}
.works_movie_title.works_pc{
  display: none;
}
.works_movie_title img{
  width: 2.2rem;
}
.works_movie_title h3{
  font-size: 14px;
  text-align: center;
  letter-spacing: 1.7px;
  line-height: 1.8;
}
.works_movie iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: none;
}
/*//YouTube*/

.works_s__content_l {
  padding: 6.3rem 8% 9.2rem;
}
.works_s__content_l h3 {
  font-size: 14px;
  letter-spacing: 1.7px;
  line-height: 1.8;
  margin: 0 0 15px;
}
.works_s__content_l h3 br {
  display: none;
}
.works_s__content_l p {
  font-size: 12px;
  letter-spacing: 0.8px;
  line-height: 2;
}
.works_s__img_block {
  position: relative;
  margin-bottom: 1rem;
}
.works_s__img{
  display: grid;
}
.works_s__img_content {
  grid-area: 1 / 1;
  opacity: 0;
  transition: 0.3s;
}
.works_s__img_content.active {
  opacity: 1;
}
.toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8.7rem;
  padding: 0.6rem;
  z-index: 1;
  background: #F7F6F2;
  user-select: none;
  pointer-events: auto;
  touch-action: manipulation;
}
.toggle-label {
  font-weight: 400;
  min-width: 3rem;
  color: #454545;
  font-family: 'Fjalla One', serif;
  letter-spacing: 0.4px;
}
.toggleButton {
  position: relative;
  width: 3.2rem;
  height: 1.7rem;
  border-radius: 9999px;
  background-color: #cbcbcb;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.toggleButton,
.toggle-label {
  pointer-events: none;
}
.toggleButton.is-on {
  background-color: #930b0b;
}
.toggleButton::after {
  content: "";
  position: absolute;
  top: 50%; left: 2px;
  width: 13.25px; height: 13.25px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: translateY(-50%);
  transition: left 0.2s;
}
.toggleButton.is-on::after {
  left: calc(100% - 15.25px);
}
.works_s__other {
  margin: 45px 2.5rem;
}
.works_s__other a {
  color: #000;
}
.works_s__other_title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-align: center;
}
.works_s__other_list li {
  margin-bottom: 40px;
}
.works_s__other_list li:last-child {
  margin-bottom: 0;
}
.works_s__other_list a {
  display: block;
}
.works_s__other_case {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  border-radius: 25px;
  display: inline-block;
  padding: 0.4rem 0;
  margin: 4% 0 4% 0.5rem;
  text-align: center;
  color: #3B3B3B;
  vertical-align: middle;
  height: initial;
}
.works_s__other_case:first-of-type{
  margin-left: initial;
}
.works_s__other_case.new {
  background-color: #930B0B;
  color: #fff;
  font-family: 'Fjalla One', serif;
}
.works_s__other_case.new, .works_s__other_case.movie{
  width: 7.5rem;
  border: 1px solid #3B3B3B;
}
.movie-label{
  border: initial;
}
.movie-icon{
  width: 1.4rem;
  margin: 0 0.5rem 0 0;
}
.movie-text{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
.works_s__other_case.new {
  background-color: #930B0B;
  color: #fff;
  margin-left: 5px;
}
.works_s__other h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.9px;
  line-height: 1.5;
}
.works_s__to_all {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  letter-spacing: 1px;
  text-align: center;
  margin: 70px 0 80px;
}
.works_s__to_all a {
  position: relative;
  padding-right: 30px;
  line-height: 1;
}
.works_s__to_all a::before {
  content: '';
  width: 40px;
  height: 40px;
  display: inline-block;
  border: 1px solid #000;
  border-radius: 30px;
  position: absolute;
  left: -60px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transition: 0.3s;
}
.works_s__to_all a::after {
  content: '';
  line-height: 1;
  width: 10px;
  height: 3px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: skew(-45deg);
  position: absolute;
  left: -43px;
  top: -1px;
  bottom: 0;
  margin: auto 0;
  transition: 0.3s;
}
.image-overlay{
  display: none;
}

@media (min-width: 768px) {
  .works_s__head{
    text-align: center;
  }
  .works_s__head_title{
    justify-content: center;
  }
  .works_s__head h2{
    margin: 0 0 6rem;
  }
  .works_s_details{
    width: initial;
    width: 24rem;
    padding: initial;
    position: sticky;
    top: 12rem;
    flex-shrink: 0;
max-height: calc(100vh - 14rem);
overflow-y: auto;

  }
  .works_s_contents{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 6rem;
    padding: 0 4%;
  }
  .works_movie{
    margin: initial;
  }
.image-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 36%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  cursor: zoom-out;
}
.image-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.overlay-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.js-expand {
  cursor: zoom-in;
}
body.is-fixed {
  overflow: hidden;
}
}

@media (min-width: 1024px) {
.works_s__head_title{
  margin: 9.6rem 0 2rem;
}
.works_s__case {
  margin: 0;
  padding: 0.4% 0;
}
.works_movie_title h3{
  font-size: 16px;
}
.works_s__head h2 {
  font-size: 21px;
  margin-bottom: 90px;
}
.works_s__head h2 br {
  display: none;
}
.works_s__area {
  font-size: 16px;
}
.works_s_contents{
  margin: 0 auto;
  padding: 0 10.7rem 0 7.7rem;
  max-width: 1366px;
}
.works_s_details{
  width: initial;
  width: 37rem;
  padding: initial;
  position: sticky;
  top: 12rem;
  flex-shrink: 0;
}
.works_s_details .works_pc{
  margin: 0 0 1.4rem;
  font-family: 'Fjalla One', serif;
  color: #3B3B3B;
  font-size: 1.5rem;
  letter-spacing: 0.8px;
}
.works_s_detail_container{
  padding: 1.5rem 0;
  border-bottom: initial;
}
.w_plan_box_container{
  display: flex;
}
.w_plan_box{
  max-width: 17rem;
}
.w_plan_container.is-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8.5px;
}
.w_plan_arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w_plan_arrow {
  width: 0;
  height: 0;
  border-left: 17px solid #D6D3C8;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.w_plan_container.is-flex .w_plan_box.is-first{
  margin: initial;
}
.w_plan_box p{
  font-size: 1.2rem;
  text-align: left;
  color: #3B3B3B;
}
.toggle-wrapper{
  width: 9.5rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
}
.toggle-label{
  font-size: 1.2rem;
}
.works_s_container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.works_s_media_content {
  flex: 1;
}

/*YouTube*/
.works_movie_title.works_pc{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1.5rem 0;
}
.works_sp{
  display: none;
}
.works_pc{
  display: block;
}
.works_movie{
  margin : 0 0 4px 0;
}
/*//YouTube*/

.works_s__content {
  display: flex;
  gap: 18rem;
  justify-content: space-between;
  max-width: 632px;
  padding: 0;
}
.works_s__content_l {
  padding: 6.3rem 0 9.2rem;
}
.works_s__content_l h3 {
  font-size: 16px;
  margin: 0 0 25px;
}
.works_s__content_l h3 br {
  display: block;
}
.works_s__content_l p {
  line-height: 2.5;
  font-size: 13px;
}
.works_s__img_block {
  margin-bottom: 4px;
}
.works_s__switch {
  right: 10px;
  bottom: 10px;
}
.works_s__switch li {
  font-size: 12px;
  width: 73px;
  transition: 0.3s;
}
.works_s__switch li:hover {
  color: #fff;
}
.works_s__switch li.active {
  cursor: unset;
}
.works_s__switch li.active:hover {
  color: #000;
}
.works_s__other {
  margin: 80px auto;
  max-width: 1366px;
  padding: 0 4.5rem;
}
.works_s__other_title {
  margin-bottom: 50px;
  font-size: 18px;
}
.works_s__other_list {
  display: flex;
  justify-content: space-between;
}
.works_s__other_list li {
  width: 30%;
}
.works_s__other_img {
  overflow: hidden;
}
.works_s__other_img img {
  transition: 0.5s;
}
.works_s__other_list a:hover img {
  scale: 1.1;
}
.works_s__to_all a:hover::before {
  background-color: #000;
}
.works_s__to_all a:hover::after {
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
}

@media (min-width: 1366px) {
  .w_plan_box{
    max-width: initial;
  }
}