/* ボタンのCSS */
.md-btn {
    cursor: pointer;
    background: #f6f6f6;
    padding: 10px;
    border: #cccccc 1px solid;
    margin: 10px auto;
    width: 740px;
    position: relative;
}
.data {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    background: #000000b0;
    color: white;
}
.kanren_thumb,.md-inner p {
    margin: 0 0 0 0!important;
}

/* 動画表示時背景 */
.md-overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .7;
  z-index: 9998;
}

/* 動画 */
.md-contents{
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  width: 700px;
  height: auto;
  overflow: hidden;
  transform: translateX(-50%);
  z-index: 10000;
}
.md-inner{
    padding: 40px 40px;
    background: #fff;
    height: auto;
}


/* 閉じるマーク */
.md-xmark{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    z-index: 10000;
    cursor: pointer;
}
.md-xmark span {
    height: auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    border-radius: 3px;
}
.md-xmark span:nth-of-type(1) {
    top: 0;
    transform: translateY(10px) rotate(-45deg);
}
.md-xmark span:nth-of-type(2) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
}
