  .modal_body {
    margin: 0;
    overflow: hidden;
  }

  .fancybox__content {
    width: 988px !important;
    padding: 0 !important;
    border-radius: 5px;
  }


  /* Scene Modal */
  .fancybox__html5video,
  .fancybox__iframe {
    border-radius: 5px;
  }

  .fancybox__backdrop {
    background: rgba(0, 0, 0, 0.8);
  }

  .fancybox__carousel {
    flex: inherit;
    width: 100%;
    max-width: 980px;
    height: 680px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }

  .f-button {
    border-radius: 0px;
    background-color: #000;
    width: 25px;
    height: 25px;
  }

  .f-button svg {
    width: 16px;
    height: 16px;
  }

  .is-horizontal .fancybox__nav .f-button.is-next,
  .is-horizontal .fancybox__nav .f-button.is-prev {
    top: auto;
    bottom: 10px;
  }

  .fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn {
    padding-top: 0;
  }

  .fancybox__content>.f-button.is-close-btn {
    top: 8px;
    right: 10px;
    opacity: .75;
  }

  @media screen and (max-width: 767px) {
    .modal_body {
      overflow-y: scroll;
    }

    .fancybox__carousel {
      width: calc(100% - 20px*2);
      max-width: 500px;
      height: calc(100vh - 50px*2);
      margin: auto;
      /* margin: 20px auto; */
    }
  }

  @media screen and (max-width: 539px) {}

  @media screen and (max-width: 480px) {}
  .scene_modal {
    display: block;
  }

  .scene_modal {
    display: flex;
    max-width: 980px;
    width: 100%;
    /* height: 680px; */
    border-radius: 5px;
    background-color: #fff;
    padding: 0px;
    flex-direction: row;
    overflow: hidden;
    border: none;
  }

  .scene_modal .media {
    width: 50%;
  }

  .scene_modal .media img {
    width: 100%;
    height: 680px;
    object-fit: cover;
  }

  .scene_modal>.content {
    width: 50%;
    padding: 20px 50px 50px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 680px;
    overflow: hidden;
    overflow-y: auto;
    color: #000;
  }

  .scene_modal>.content::-webkit-scrollbar {
    width: 6px;
    border-radius: 6px;
  }

  .scene_modal>.content::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #E9E8E8;
  }

  .scene_modal>.content::-webkit-scrollbar-thumb {
    background-color: #CFCFCE;
  }

  .scene_modal > .content .first_view {
    min-height: 680px;
  }

  .scene_modal .content .scroll {
    position: absolute;
    text-align: center;
    top: 515px;
    left: calc(50% - 50px);
    transform: translateX(50%);
  }

  .scene_modal .content .scroll>span {
    transform: none;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 27px;
    color: #b46ea5;
    ;
  }

  .scene_modal .content .scroll svg {
    width: 16px;
    height: 90px;
  }

  .scene_modal .content .scroll .cls-1 {
    fill: #b46ea5;
    ;
  }

  .scene_modal .content .scroll .cls-2 {
    fill: none;
    stroke: #b46ea5;
    ;
    stroke-miterlimit: 10;
    stroke-width: 1.04px;
  }

  .scene_modal .content p small {
    font-size: 12px;
    line-height: 18px;
  }

  .scene_modal .content h2 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 40px;
    color: #b46ea5;
  }
  .scene_modal .content .first_view h2 {
    padding-top: 160px;
  }

  .scene_modal > .content > .action_wrap > .btnStripe {
    font-family: "YuGothic", "Noto Sans JP", sans-serif;
    font-weight: 500;
  }

  @media screen and (max-width:1279px){
    .scene_modal {
      max-width: 980px;
    }
    .scene_modal > .content .first_view > h2 > br {
      display: block;
    }
  }
  /* ↓fancy-box用左右979pxから4pxずつ差し引いて*/
  @media screen and (max-width:971px){
    .scene_modal > .content .first_view > h2 > br {
      display: none;
    }
  }
  /* ↓fancy-box用左右4pxずつ差し引いて833px-8px=825px*/
  @media screen and (max-width: 825px) {
    .is-idle .fancybox__nav {
      animation: none!important;
    }
  }
  /* ↓fancy-box用左右4pxずつ差し引いて767px-8px=759pxでSPレイアウトに*/
  @media screen and (max-width: 759px) {
    .is-idle .fancybox__nav {
      animation: .15s ease-out both f-fadeOut !important;
    }
    .scene_modal {
      flex-direction: column;
    }
    .scene_modal > .content {
      width: 100%;
      padding: 50px 30px 65px;
      height: 50%;
    }
    .scene_modal > .content .first_view {
      justify-content: flex-start;
      min-height: auto;
    }
    .scene_modal .content .first_view h2 {
      padding-top: 0px;
    }
    /* .scene_modal > .content .first_view > h2 > br {
      display: none;
    } */
    .scene_modal .media {
      width: 100%;
      aspect-ratio: 1/1;
    }
    .scene_modal .media img {
      height: 100%;
      aspect-ratio: 1
    }
    .scene_modal .content .scroll {
      left: 50%;
      bottom: 10%;
      transform: none;
      flex-direction: column;
      position: static;
      margin-top: 40px;
      text-align: center;
      padding-bottom: 60px;
    }
    .scene_modal .content h2 {
      font-size: 20px;
      line-height: 30px;
    }
  }

  @media screen and (max-width: 539px) {}

  @media screen and (max-width: 480px) {}



  .modal_grid_wrap > .grid_footer .action_wrap > .btnStripe {
    font-family: "YuGothic", "Noto Sans JP", sans-serif;
    font-weight: 500;
    width: 13em;
  }

  .modal_grid_wrap .grid_header p {
    margin-bottom: 0px;
  }

  .modal_grid_wrap .grid_footer {
    margin-top: 40px;
    margin-bottom: 60px;
  }
  .modal_grid_wrap .grid_footer.two-btnStripe {
    margin-bottom: 0;
  }
  .modal_grid_wrap .grid_footer.two-btnStripe .action_wrap:last-of-type {
    margin-top: 30px;
  }

  .grid_layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    row-gap: 40px;
  }

  .grid_layout .item {}

  .grid_layout .item .thumbnail {
    margin-bottom: 10px;
  }

  .grid_layout .item .content {}

  .modal_grid_wrap .grid_footer .action_wrap {
    text-align: center;
  }

  .modal_list_content {
    background-color: #dcb4d7;
    margin-left: -50px;
    margin-right: -50px;
    padding: 50px;
    position: relative;
    margin-top: 20px;
  }

  .modal_list_content .more {
    max-width: 55px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -75px;
  }

  .modal_list_content .content {
    padding-top: 30px;
  }

  .modal_list_content .content .item {
    margin-bottom: 20px;
    color: #000;
  }

  .modal_list_content .content .item a {
    font-weight: bold;
    color: #000;
    transition: 0.3s ease-in-out;
    text-decoration: underline;
  }

  .modal_list_content .content .item h2 {
    font-weight: bold;
    color: #000;
    font-size: 20px;
    line-height: 30px;
  }


  .modal_list_content .content .item p {
    margin-bottom: 0px;
  }

  .scene_modal > .content > .action_wrap {
    margin-top: 40px;
    text-align: center;
  }
  @media screen and (max-width:1279px) {
    .modal_list_content .content .item h2 > br {
      display: block;
    }
  }
/* ↓fancy-box用左右979pxから4pxずつ差し引いて*/
  @media screen and (max-width:971px) {
    .modal_list_content .content .item h2 > br {
      display: none;
    }
  }
/* ↓fancy-box用左右4pxずつ差し引いて767px-8px=759pxでSPレイアウトに*/
  @media screen and (max-width: 759px) {
    .modal_grid_wrap .grid_footer {
      margin-top: 50px;
      margin-bottom: 80px;
    }
    .grid_layout {
      gap: 25px;
      row-gap: 30px;
    }
    .modal_list_content .content .item h2 {
      font-size: 16px;
      line-height: 28px;
    }
    .modal_list_content {
      margin-left: -30px;
      margin-right: -30px;
      padding: 30px;
    }
    .modal_list_content .more {
      margin-top: -55px;
    }
    .modal_list_content .content {
      padding-top: 20px;
    }
    .scene_modal > .content > .action_wrap {
      margin-top: 50px;
    }
  }

  @media screen and (max-width: 539px) {
    .grid_layout {
      grid-template-columns: auto;
    }
  }

  @media screen and (max-width: 480px) {}

  /* color */
  .factory .content h2,
  .factory .content .scroll > span {
    color: #4b87c3;
    }
  .factory .content .scroll .cls-1 {
    fill:#4b87c3;
  }
  .factory .content .scroll .cls-2 {
    stroke: #4b87c3;
  }
  .factory .modal_list_content {
    background-color: #a5c3e6;
  }

  .construction .content h2,
  .construction .content .scroll > span {
    color: #e99594;
    }
  .construction .content .scroll .cls-1 {
    fill:#e99594;
  }
  .construction .content .scroll .cls-2 {
    stroke: #e99594;
  }
  .construction .modal_list_content {
    background-color: #f4cac9;
  }

  .medical_care .content h2,
  .medical_care .content .scroll > span {
    color: #7ac5e3;
    }
  .medical_care .content .scroll .cls-1 {
    fill:#7ac5e3;
  }
  .medical_care .content .scroll .cls-2 {
    stroke:#7ac5e3;
  }
  .medical_care .modal_list_content {
    background-color: #bce2f1;
  }

  .school .content h2,
  .school .content .scroll > span {
    color: #f0c900;
    }
  .school .content .scroll .cls-1 {
    fill:#f0c900;
  }
  .school .content .scroll .cls-2 {
    stroke:#f0c900;
  }
  .school .modal_list_content {
    background-color: #f9f297;
  }

  .store .content h2,
  .store .content .scroll > span {
    color: #4ba97c;
    }
  .store .content .scroll .cls-1 {
    fill:#4ba97c;
  }
  .store .content .scroll .cls-2 {
    stroke:#4ba97c;
  }
  .store .modal_list_content {
    background-color: #a5d4b4;
  }

  .home .content h2,
  .home .content .scroll > span {
    color: #d26938;
    }
  .home .content .scroll .cls-1 {
    fill:#d26938;
  }
  .home .content .scroll .cls-2 {
    stroke:#d26938;
  }
  .home .modal_list_content {
    background-color: #f3cab9;
  }


  /* class-name */
  .tape__name {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
  }
  .scene_modal > .content > .action_wrap > .btnStripe {
    font-family: "YuGothic", "Noto Sans JP", sans-serif;
    font-weight: 500;
    width: 13em;
  }

