/* CSS Document */

.modal-open-mypill{
}
.modal-container-mypill{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;

  /* 中央配置 */
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.modal-container-mypill.active{
  opacity: 1;
  visibility: visible;
}

.modal-close-mypill{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: 0px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
	background-color: #b4b4b4;
}
.confirm-mypill {
	position: relative;
	width: 400px;
	height: 280px;
	box-sizing: border-box;
	border: solid 2px #0394b8; 
	background-color:#E3F5FF;
	border-radius: 10px;
	padding: 15px 10px;
}
.confirm-mypill .btn_area {
	width: 350px;
	margin: 0 auto;
}
.confirm-mypill .banner_link {
	padding: 0 44px;
	margin: 0 0 10px;
}
.confirm-mypill .banner_link img{
	width: 100%;
}
.confirm-mypill h2{
	margin: 0 auto;
	text-align: center;
	font-size: 19px;
	font-weight: 800;
	color: #FFFFFF;
	padding: 10px 5px;
	background-color: #0394b8;
	border-radius: 30px;
}
.confirm-mypill p.txt{
	text-align: center;
	padding: 20px 0;
	font-size: 25px;
	font-weight: 800;	
}
.confirm-mypill p.txt span{
	color: #f56d80;
}
.btn_yes img,.switch-btn-mypill img {
	width: 100%;
	height: auto;
	padding: 5px;
}

.no-mypill {
	position: relative;
	width: 400px;
	height: 280px;
	box-sizing: border-box;
	border: solid 2px #0394b8; 
	background-color:#E3F5FF;
	border-radius: 10px;
	padding: 15px 10px;
}
.no-mypill .btn_area {
	width: 350px;
	margin: 0 auto;
}
.no-mypill .banner_link {
	padding: 0 44px;
	margin: 0 0 10px;
}

.no-mypill .banner_link img{
	width: 100%;
}
.no-mypill h2{
	margin: 0 auto;
	text-align: center;
	font-size: 19px;
	font-weight: 800;
	color: #FFFFFF;
	padding: 10px 5px;
	background-color: #0394b8;
	border-radius: 30px;
}
.no-mypill p.txt{
	text-align: center;
	padding: 20px 0;
	font-size: 25px;
	font-weight: 800;	
}
.no-mypill p.txt span{
	color: #f56d80;
}
.modal-body-mypill{
  position: relative;
  max-width: 400px;
  width: 100%;
}


/* ===== スマホ対応 ===== */
@media (max-width: 768px) {

  .modal-container-mypill{
    padding: 10px;
  }

  .modal-body-mypill{
    max-width: 100%;
	  width: 90%;
  }

  .confirm-mypill,
  .no-mypill{
    width: 100%;
    max-width: 340px;
    height: auto;
    padding: 15px 10px 20px;
  }

  .confirm-mypill .btn_area,
  .no-mypill .btn_area{
    width: 100%;
  }

  .confirm-mypill .banner_link,
  .no-mypill .banner_link{
    padding: 0 20px;
  }

  .btn_yes img,
  .switch-btn-mypill img{
    padding: 5px;
  }

	.confirm-mypill h2{
		font-size: 16px;
		padding: 10px 5px;
	}
	.confirm-mypill p.txt{
		text-align: center;
		padding: 20px 0;
		font-size: 22px;
		font-weight: 700;	
	}
	
	.no-mypill h2{
		font-size: 16px;
		padding: 10px 5px;
	}
	.no-mypill p.txt{
		text-align: center;
		padding: 20px 0;
		font-size: 22px;
		font-weight: 700;	
	}
	
  /* ×ボタンを中に入れて押しやすく */
  .modal-close-mypill{
    top: -40px;
    width: 32px;
    height: 32px;
    font-size: 28px;
	z-index: 1001;
  }
}