@charset "UTF-8";

/*
======= xx: 画像を正方形にする =======
*/
.box-100{
  background-color: #fff;
  width: 240px;
  height: 240px;
  object-fit: cover;
}
.rooms {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 10px;
}
.box-wh{
background-color:#fff;
  width: 240px;
  height: 240px;
}
.name {
  position: relative;
  }

.name a {/*aタグを画像の真ん中に*/
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  /*以下装飾*/
  margin:0;/*余計な隙間を除く*/
  font-size: 17px;/*文字サイズ*/
  border: solid white 2px; /*線で囲う*/
  padding: 7px;/*文字と線の間の余白*/
  color: #fff;/*文字色*/
  text-decoration: none;/*下線を表示させない*/
  font-weight: bold;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  }


.name:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 6px;
  background-color: rgba(0,0,0,0.2); /*半透明のフィルターをかける*/
}
.name a:hover{/*カーソルを当てたとき*/
  background: rgba(255, 255, 255, 0.5);/*背景を半透明に*/
  }

.sample-box {
    position: relative;
}

.youtube {
    display: flex;
    justify-content: center;
    align-items: left;
    cursor: pointer;
    
    position: absolute;
    top: 0%;
    left: 0%;
}
.box-youtube{
  position: relative;
  background-color: #ccc;
  width: 800px;
  height: 450px;
  object-fit: cover;
}
.box-youtube:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.2); /*半透明のフィルターをかける*/
}
iframe{
vertical-align:bottom;
}
.play {
    display: flex;
}

.play a {
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 45%;
    left: 45%;
}

.play p {
  justify-content: center;
  margin:0;/*余計な隙間を除く*/
  font-size: 17px;/*文字サイズ*/
  border-top: solid white 2px; /*線で囲う*/
  border-bottom: solid white 2px; /*線で囲う*/
  padding: 7px;/*文字と線の間の余白*/
  color: #fff;/*文字色*/

  text-decoration: none;/*下線を表示させない*/
  font-weight: bold;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
    position: absolute;
    top: 65%;
    left: 38%;
}

.new {
  position: relative;
  }

.new p {
  position: absolute;
  top: 0;/*画像の左上に配置*/
  left: 0;
  margin: 0; /*余計な隙間を除く*/
  color: #fff;
  background: #e81123;
  font-size: 17px;
  font-weight: bold;
  line-height: 1;/*行高は1に*/
  padding: 5px 10px;/*文字周りの余白*/
  }
