.popupModal1 > input { /* ラジオボックス非表示 */
    display: none;
}
.popupModal1 > input:nth-child(1) + label { 
    cursor: pointer;
}
.modalPopup2 { /* 初期設定 ポップアップ非表示 */
    display: none;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {/* ラジオ１ チェックでポップアップ表示 */
    display: block;
    z-index: 99998;
    position: fixed;
    width: 96%;
    height: 80%;
    border-radius: 20px;
    left: 50%;
    top: 50%;
    margin-top: 0;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    padding: 2.8rem;
    overflow: hidden;
}
@media (min-width: 768px) {/* PCのときはページの真ん中の600x600領域 */
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {
         width: 640px;
         height: 500px;
         padding: 30px;

    }
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
     left: 50% !important;
     top: 50% !important;
     margin-left: 27.2rem !important;
     margin-top: -32.8rem !important;
}
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div {/* */
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > iframe {
    width: 100%;
      height:100%;
      border:none;
      display:block;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > img {/* ポップアップの中の要素 */
max-width: 100%;
}
.popupModal1 > input:nth-child(1) + label ~ label {
    display: none;/* ラジオ１ 以外のラベルを初期は非表示 */

}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99997;
    text-indent: -99999px;
    overflow: hidden;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    display: inline-block;
    position: fixed;
    right: 1.4rem;
    top: -webkit-calc(10% - 2.8rem);
    top: calc(10% - 2.8rem);
    z-index: 99999;
	padding: 0;
    width: 5.6rem;
    height: 5.6rem;
	color: #fff;
    font-size: 4rem;
    line-height: 5.6rem;
    text-align: center;
}

.popupModal1 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup2,
.popupModal1 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup2 { /* ラジオ２と３ どっちかチェックでポップアップ非表示 */
    display: none;
}


.modalPopup2 {
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


/*テキスト*/
.popupModal1 .modalTitle {
    padding-bottom: .7rem;
    margin: 1.4rem 0 1.4rem!important;
    border-bottom: 1px solid #a3a5a5;
	color: #fff;
	font-family: "Roboto Condensed", "sans-serif";
	font-size: 2.4rem;
	line-height: 1.45833;
	text-align: center;
}
.popupModal1 .modalTitle span {
	display: inline-block;
	margin-right: 1.4rem;
	width: 2.8rem;
	height: 2.8rem;
	vertical-align: top;
}
.popupModal1 .modalMain {
    color:#fff;
    text-align: left;
	font-size: 1.6rem;
	line-height: 1.75;
}
.modalPopup2 form {
	margin-top: 2.1rem;
}
.modalPopup2 label,
.modalPopup2 input {
	margin-bottom: .7rem;
}
.popup_box {
	width: 60%;
	padding-left: .7rem;
	padding-right: .7rem;
	border: 0;
	font-size: 1.6rem;
	line-height: 1.75;
	vertical-align: top;
}
.popup_btn {
	box-sizing: content-box;
	width: 25%;
	margin-left: .7rem;
	padding-left: .7rem;
	padding-right: .7rem;
	background-color: #008a3f;
	border: 0;
	border-radius: 5rem;
	color: #fff;
	font-family: "Roboto", "sans-serif";
	font-size: 1.4rem;
	letter-spacing: .04rem;
	line-height: 2;
	vertical-align: top;
}
.modalPopup2 > * + * {
	margin-top: 1.4rem;
}
.modalPopup2 label {
	margin-right: .7rem;
	padding: 0;
	color: #fff;
	font-family: "Roboto", "sans-serif";
	font-size: 1.6rem;
	line-height: 1.75;
}
.modalPopup2 p {
	color: #fff;
	font-family: "Georgia", "Times New Roman", "serif";
	font-size: 1.6rem;
	line-height: 1.75;
}