@charset "UTF-8";

body {
    font-family: "Noto Sans JP", sans-serif;
}

.col_1920 {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.you_tube_inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

.sns {
    background: #000;
    padding: 45px 0 60px;
    text-align: center;
}

a:hover {
    opacity: .8;
}

.you_tube {
    /* padding: 250px 0; */
    padding: 11.8vw 0;
    background: url(../img/bg01.webp) no-repeat center top;
}

.you_tube iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

footer {
    background: #000;
    padding: 70px 0 50px;
    color: #FFF;
    text-align: center;
}

.copy {
    margin-top: 40px;
}

.sp_block {
    display: none;
}

/* モーダル */

#myModal {
    overflow: hidden;
}

.modal iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
    
  .modal-content {
    /* background-color: #fefefe; */
    /* モーダルウィンドウの背景色 */
    /* margin: 5% auto; */
    width: 60%;  /* モーダルウィンドウの横幅 */
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  /* .modal-title {
    color: #800000;
    font-size: 18px;
    font-weight: bold;
    line-height: 200%;
    text-align: center;
  } */
  .close-button {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .close-button:hover,
  .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* .modal-content iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  } */


  /* html:has(#myModal) {
    overflow: hidden;
  }

  html.auto {
    overflow: inherit !important;
  } */

    

/* モーダル */

@media screen and (max-width:1240px) {
    .you_tube_inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width:1023px) {
    .modal-content {
        width: 80%;
    }
}

@media screen and (max-width:900px) {
    .sns {
        padding: 30px 50px;
    }
}

@media screen and (max-width:600px) {
    footer {
        padding: 30px 0;
    }

    .copy {
        margin-top: 20px;
        font-size: 12px;
    }

    .sp_block {
        display: block;
    }

    .ft_logo {
        max-width: 125px;
        margin-left: auto;
        margin-right: auto;
    }

    .you_tube {
        padding: 14vw 0;
        background-size: cover;
    }

}

/* モーダル you tube */

.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .6s;
  }
  .popup.is-show {
    opacity: 1;
    visibility: visible;
  }
  .popup-inner {
    position: absolute;
    left: 49%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 600px;
    background-color: #000;
    z-index: 2;
    border-radius: 3px;
  }
  .popup-inner img {
    width: 100%;
    border-radius: 3px 3px 0 0;
  }
  div#modalCloseCloss:hover {
      opacity: 0.7;
  }
  .modalCloseButton {
      position: absolute;
      left: 100%;
      top: -48px;
      width: 50px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      cursor: pointer;
  }
  .lineClose {
      display: inline-block;
      vertical-align: middle;
      color: #FFF;
      line-height: 1;
      width: 2rem;
      height: 0.2rem;
      background: currentColor;
      border-radius: 0.1rem;
      position: relative;
      transform: rotate(45deg);
  }
  .lineClose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
  }
  .black-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 1;
    cursor: pointer;
  }
  .modalBottom {
      padding: 22px 30px;
  }
  .modalBottom p {
      margin: 0;
  }
  
    @media screen and (max-width:700px) { 
      .popup-inner {
        max-width: 300px !important;
      }
  
      .popup-inner iframe {
        /* width: 100%;
        height: 160px; */
  
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
      }
    }

    /* モーダル you tube */