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

.modal {
	background-color: rgba(68, 68, 68, .8);
	display: none; /* 初期非表示 */
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}
.modal-overlay {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}
.modal-content {
	background: #fff;
    max-height: calc(80% - 40px);
	max-width: calc(80% - 40px);
	overflow-y: auto;
	padding: 20px 20px 0px 20px;
	text-align: center;
}
.modal-close {
	background-color: #bbb;
    box-shadow: 3px 3px 0px #000;
    border: 1px solid #000;
    border-radius: 15px;
	color: #fff;
    text-shadow: 2px 0px 2px #000, 0px 2px 2px #000;
    letter-spacing: 0.3em;
	cursor: pointer;
	font-size: 20px;
    margin-top: 3px;
    padding: 1px 20px;
    z-index: 100;
}

.modal-2 {
	background-color: rgba(68, 68, 68, .8);
	display: none; /* 初期非表示 */
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}
.modal-overlay-2 {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}
.modal-content-2 {
	background: #000;
	max-height: calc(80% - 40px);
	max-width: calc(80% - 40px);
	overflow-y: auto;
	padding: 20px 20px 0px 20px;
	text-align: center;
}
@media (min-width: 1180px) and (min-height: 830px) {
   .modal-content {
    position: relative;
    margin-top: 50px;
    overflow-x: visible;
    overflow-y: visible;
   }
   .modal-content-2 {
    position: relative;
    margin-top: 50px;
    overflow-x: visible;
    overflow-y: visible;
   }
  .news {
    position: absolute;
    top: -50px;
    left: -165px;
    font-size: 64px;
    font-weight: bold;
    color: #FF0000;
    transform: rotate(-20deg);
  }
  .news2 {
    position: absolute;
    top: 0px;
    left: -100px;
    font-size: 64px;
    font-weight: bold;
    color: #FF0000;
    transform: rotate(-20deg);
    overflow: visible !important;
  }
}
