@charset "UTF-8";


/* これが無いとモーダルウィンドウ表示の際に余白が出る */
* {
  margin: 0;
  padding: 0;
}

/* モーダル全体(背景＋本体) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
}

/* モーダル背景 */
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: #000000bf;
}

/* モーダル本体 */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll;
  /* はみ出た部分はスクロールさせる */
  height: 60%;
  /* これが無いと「overflow:scroll」が利かない */
  width: 60%;
  /* これが無いと「overflow:scroll」が利かない */
  background: rgba(255, 255, 255, 0.674);
  padding: 40px;
}

/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

.modal-img img {
  /* width: 500px; */
  /* height: 300px; */
  /* display: inline-block; */
}

.modal-img {
  /* margin: 100px 0; */
}

.inner-img {
  width: 800px;
  height: auto;
}

.owner-title {
  font-size: 20px;
  border-bottom: 1px #000 solid;
}

.modal-content {
  line-height: 2em;
  font-family: 'M PLUS 1p', sans-serif
}

.owner-contents {
  font-family: 'M PLUS 1p', sans-serif;
  text-align: center;
  margin: 30px 0;
}

.modal-content img {
  width: 750px;
}

@media screen and (max-width: 844px) {
  .modal-img img {
    /* width: 378px; */
    /* height: 250px; */
  }

  .modal-content img {
    width: 400px;
    height: auto;
  }

  .owner-header {
    font-size: 40px;
    height: 200px;
  }
}