
/* =Reset
-------------------------------------------------------------- */
.modal_wrap input {
  display: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
	text-align: left;
	position: relative;
    align-self: center;
    width: 80%;
	max-width: 800px;
    padding: 30px 30px 100px;
    box-sizing: border-box;
    background: #fff;
	border: #513821 solid 5px;
	border-radius: 20px;
    line-height: 1.6;
    transition: 0.5s;
}

.modal_content h3{
	text-align: center;
	font-size: 3.0rem;
	color: #fff;
	margin: 30px -30px;
	padding: 10px;
	background-color: #513821;
}
.modal_content h3 strong{
	font-weight: 400;
	display: block;
}

.modal_content h4{
	color: #513821;
	text-align: center;
	font-size: 2.4rem;
}

.modal_content  > p {
	text-indent: -1em;
	padding-left: 1em;
}

.close_button {
	position: absolute;
	transform: translateX(-50%);
	bottom: 40px;
	left: 50%;
	color: #9B9489;
	font-size: 2.0rem;
	cursor: pointer;
	z-index: 1;
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

/*
.modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: translateY(20px);
}
*/

.open_button {
	cursor: pointer;
}

.open-button:active {
  /*ボタンを押したとき*/
}

@media screen and (max-width: 640px) {
}
