@charset "utf-8";
/* CSS Document */

.modal {
  padding: 200px 0;
}

.inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 20px;
}

/* モーダルを開くボタン */
.modal__trigger {
  cursor: pointer;
	position: relative;
	max-width: 400px;
	height: 500px;
	overflow: hidden;
	z-index: 1;
}
.modal__trigger::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
}
.modal__trigger::after {
	font-family:YuGothic, "游ゴシック体", "Yu Gothic", "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	content: "read more";
	position: absolute;
	margin:0 auto;
	padding: 10px;
	bottom: 20px;
	font-size: 16px;
	left: 0;
	right: 0;
	width: 60%;
	background-color: #97b0d0;
	text-align: center;
	z-index: 2;
	color: #fff;
	box-shadow: 4px 4px 10px -6px rgba(0,0,0,0.4);
}

/* モーダルシンプル仕様 */
.modal__s {
  cursor: pointer;
	position: relative;
	max-width: 400px;
	height: 550px;
	overflow: hidden;
	z-index: 1;
}
.modal__s::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
/*
.modal__s::after {
	font-family:YuGothic, "游ゴシック体", "Yu Gothic", "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	content: "read more";
	position: absolute;
	margin:0 auto;
	padding: 10px;
	bottom: 20px;
	font-size: 16px;
	left: 0;
	right: 0;
	width: 60%;
	background-color: #97b0d0;
	text-align: center;
	z-index: 2;
	color: #fff;
	box-shadow: 4px 4px 10px -6px rgba(0,0,0,0.4);
}
*/



/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
}

.modal__layer {
	width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, .85);
  cursor: pointer;
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 40px), 700px);
  height: calc(100% - 40px);
  padding: 20px;
  background: #fff;
}

.modal__inner {
  position: relative;
  overflow-y: scroll;
  height: 100%;
  padding: 10px 10px 10px;
}

/* モーダルを閉じるボタン */
.modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #97b0d0;
  cursor: pointer;
  transition: opacity .6s;
	z-index: 99;
}

.modal__close:hover {
  opacity: .6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
.modal__content {
}

.modal__text {
  margin-top: 30px;
  line-height: 2.875;
}
@media only screen and (max-width:576px) {
.modal__trigger {
  cursor: pointer;
	position: relative;
	max-width: 300px;
	height: 400px;
	overflow: hidden;
	z-index: 1;
}
}

@media only screen and (max-width:576px) {
.modal__s {
  cursor: pointer;
	position: relative;
	max-width: 300px;
	height: 480px;
	overflow: hidden;
	z-index: 1;
}
}