body {
 background-color: #000;
 /* font-family: neue-haas-grotesk-text, zen-kaku-gothic-new, sans-serif; */
 font-family: 'Rubik Dirt', cursive;
 overflow-x: hidden;
}
#grid {
 overflow-x: hidden; /* スクロールバー非表示 */
}
.item {
 z-index: 1;
 /* border: solid 1px #fff; */
}
 #grid .item .wrapper {
    position: absolute;
    display: table;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 24px;
    background-color: rgba(0,0,0,.7);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}

#grid .item a div.wrapper div.project-title h2 {
    color: #fff;
    font-size: 15px;
    font-family: 'Rubik Dirt', cursive;
    font-weight: normal;
    letter-spacing: 0px;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
    letter-spacing: 2px;
    text-transform: none;
    margin: 0 0 10px;
    padding: 0 24px;
}
#grid .item a div.wrapper div.project-title h3 {
    color: #fff;
    margin-top: 0;
    font-family: 'Rubik Dirt', cursive;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0px;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
    letter-spacing: .5em;
    text-transform: none;
    padding: 0 24px;
}
#grid .item a div.wrapper div.project-title {
    display: table-cell;
    vertical-align: middle;
}
@media screen and (max-width: 1024px) { /* 幅1024px以下の場合に適用されるCSS */
/*モーダル本体の指定 + モーダル外側の背景の指定*/
 .modal-container{
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   text-align: center;
   background: rgba(0,0,0,50%);
   padding: 0;
   overflow: auto;
   opacity: 0;
   visibility: hidden;
   transition: .3s;
   box-sizing: border-box;
  }
  /*モーダル枠の指定*/
  .modal-body{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 655px;
    /* width: 95%; */
    padding: .5rem;
   }
  .modal-content iframe {
     /* width: initial;
     height: initial; */
     max-width: 100%;
  }
   /*モーダル内のコンテンツの指定*/
   .modal-content{
     color: #fff;
     background: #000;
     text-align: left;
     padding: 15px;
   }
   .sp-center {
    text-align: center;
   }
   .big_text {
    font-size: 1.8rem;
  }
  }

@media screen and (min-width: 1024px) { /* 幅1024px以上の場合に適用されるCSS */
 /*モーダル本体の指定 + モーダル外側の背景の指定*/
 .modal-container{
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   text-align: center;
   background: rgba(0,0,0,50%);
   padding: 40px 20px;
   overflow: auto;
   opacity: 0;
   /* visibility: hidden; */
   display: none;
   transition: .3s;
   box-sizing: border-box;
 }
 /*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 655px;
  width: 90%;
 }
 /*モーダル内のコンテンツの指定*/
  .modal-content{
    color: #fff;
    background: #000;
    text-align: left;
    padding: 30px;
  }
  .big_text {
    font-size: 48px;
  }
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
  opacity: 1;
  visibility: visible;
  display: block;
}

/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.name-size {
 font-size: 90%;
}

.section-title {
 color: #fff;
 font-size: 1.2rem;
 margin-left: 10px;
 padding-top: 15px;
 padding-bottom: 15px;
}

table th, 
table td {
  padding-left: 10px;
}

.movie-font,
.table-font {
  font-size: 18px;
  font-family: sans-serif;
  color: #bcbcbc;
}

.movie-btn-style,
.sns-btn-style,
.modal__button--close {
  color: #bcbcbc !important; 
  border:#bcbcbc solid !important; 
  cursor: pointer !important;
}

.movie-btn-style:hover ,
.sns-btn-style:hover,
.modal__button--close:hover  {
  opacity: .8 !important;
}

table, 
td, 
th {
  border: #bcbcbc solid 2px;
}

.thumbnail {
  width: 100%;
}

/* snsモーダル */
content {
  margin: 0 auto;
  max-width: 1000px;
  padding: 40px;
}

.modal__button, .modal__button--close, .modal__button--open {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.16);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  padding: 10px 20px;
}

.modal__button--close {
  margin-top: 20px;
}

.modal__item {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  overflow-y: scroll;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  min-height: 120vh;
  position: absolute;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .modal__bg {
    background: rgba(0, 0, 0, 0.8);
    min-height: 270vh;
    position: absolute;
    width: 100%;
  }
}

.modal__content {
  background-color: #000;
  color: #bcbcbc;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 1100px;
  padding: 40px;
  position: relative;
  width: 90%;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .modal__content {
    padding: 10px;
  }
}


.modal__content p {
  text-align: center;
}