@charset "utf-8";
/* CSS Document */


/* ----------------------------------------
　モーダル
---------------------------------------- */

.modal-window {
-webkit-transform: translate(0, 100%);
-moz-transform: translate(0, 100%);
-o-transform: translate(0, 100%);
-ms-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
opacity: 0;
line-height: 1.3;
display: none\9;
}
.modal-window:target {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-o-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
opacity: 1;
}
.is-active.modal-window {
display: block\9;
}
.modal-window:target {
display: block\9;
}

.modal-window .modal-inner {
position: relative;
top: 10%;
right: 0;
bottom:0;
left:0;
z-index: 20;
margin-left: auto;
margin-right: auto;
width: 85%;
/*overflow-x: hidden;*/
border-radius: 2px;
background: #fff;
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
height:260px;
}

@media (min-width: 350px) {
	.modal-window .modal-inner {
position: relative;
top: 12%;
right: 0;
bottom:0;
left:0;
z-index: 20;
margin-left: auto;
margin-right: auto;
width: 85%;
/*overflow-x: hidden;*/
border-radius: 2px;
background: #fff;
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
height:260px;
}
}

@media (min-width: 400px) {
	.modal-window .modal-inner {
position: relative;
top: 15%;
right: 0;
bottom:0;
left:0;
z-index: 20;
margin-left: auto;
margin-right: auto;
width: 85%;
/*overflow-x: hidden;*/
border-radius: 2px;
background: #fff;
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
height:260px;
}
}



.modal-window .modal-inner p {
padding: 0 20px;
line-height: 160%;
color:#000;
}
.modal-window .modal-close {
display: block;
text-indent: -100px;
overflow: hidden;
}
.modal-window .modal-close:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background-color:#333;
opacity:.7;
}
.exchange .modal-window .modal-close:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background:none;
}

.modal-window {
-webkit-transition: opacity 0.4s;
-o-transition: opacity 0.4s;
transition: opacity 0.4s;
}

.modal-window > a:hover {
opacity: 1;
}





.modal-window[id*="modal"] h2,
.modal-window.situation[id*="modal"] .title,
#top .modal-window[id*="modal"] .title {
    width: 100%;
    color: #000;
    text-align: center;
    background: #FFF100;
    padding: 1rem 0 .75rem 0;
	font-size:18px;
	line-height: 130%;
	font-weight: bold;
}

@media (min-width: 350px) {
	.modal-window[id*="modal"] h2,
.modal-window.situation[id*="modal"] .title,
#top .modal-window[id*="modal"] .title {
    width: 100%;
    color: #000;
    text-align: center;
    background: #FFF100;
    padding: 1.5rem 0 1.25rem 0;
	font-size:18px;
	line-height: 130%;
	font-weight: bold;
}
}

@media (min-width: 650px) {
	.modal-window[id*="modal"] h2,
.modal-window.situation[id*="modal"] .title,
#top .modal-window[id*="modal"] .title {
    width: 100%;
    color: #000;
    text-align: center;
    background: #FFF100;
    padding: 1.5rem 0 1.25rem 0;
	font-size:24px;
	line-height: 130%;
	font-weight: bold;
}
}


.modal-window .modal-inner div {
    /*padding: 0 2rem 1.5rem 2rem;*/
    font-size: 1rem;
    line-height: 160%;
    text-align: left;
}

 
.modal-window .close {
    position: absolute;
    bottom: 1.25rem;
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
	font-size:.9rem;
}


.mfp-close span{

    font-family: Arial, Baskerville, monospace; 
	display: block;
    /*margin-top: -7px;*/
}




.modal-window a.mfp-close {
	right: -27px;
    top: -28px;
    text-align: center;
    width: 53px;
    height: 53px;
    padding: 0;
    border-radius: 100px;
    background: #FFF100;
    color: #000000;
    font-weight: bold;
    opacity: 1;
    font-size: 50px;
    border: 3px solid #000000;
    z-index: 100000;
	position:absolute;
	box-sizing:border-box;
	text-decoration:none;}


@media (max-width: 400px) {
	.modal-window a.mfp-close {
	    right: -17px;
    top: -10px;
    text-align: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 100px;
    background: #FFF100;
    color: #000000;
    font-weight: bold;
    line-height: 11px;
    opacity: 1;
    font-size: 33px;
    border: 3px solid #000000;
    z-index: 100000;
    position: absolute;
    box-sizing: border-box;
    text-decoration: none;}
}
	
/*新サイト仕様適応ページの是正*/
#top .modal-window a.mfp-close,
.notice .modal-window a.mfp-close,
#modal01.modal-window a.mfp-close,#modal_payment .modal-inner .mfp-close{padding: 10px 5px 0; }
#top .mfp-close span,
.notice  .mfp-close span{margin-top:0;}





/* ----------------------------------------
　モーダル 20180406 交換サイト
---------------------------------------- */

body#detail.exchange .modal-window .modal-inner {
    top: 50px;
	margin-bottom: 5rem;
}

#modal_payment > .modal-inner {
	height: auto;
}

.modal-window .modal-inner .account_select #LoginWithAmazonButtonPopup {
  padding:0 .15rem 0 .15rem;
	text-align: center;
}

#modal_payment .account_select h3 {
  margin-bottom: .5rem;
	color: black;
	font-size: 16px;
	text-align: center;
}


@media (min-width: 650px) {
	#modal_payment .account_select h3 {
  margin-bottom: .5rem;
	color: black;
	font-size: 20px;
	text-align: center;
}
}

#modal_payment .payment_select p {
  font-size: .825rem;
  text-align: left;
	padding: 0;
}
#modal_payment .payment_select > p { margin-bottom: 22px;}

#modal_payment .payment_select .account_select p {
  text-align: left;
  font-size: 14px;
}



#modal_payment .modal-inner .account_select:first-of-type a {
  display: inline-block;
	margin-bottom: 22px;
	width: 100%;
	color: #FFFFFF;
	padding: .5rem .25rem;
	font-size: 14px;
	text-align: center;
}
  #modal_payment .modal-inner .account_select img{
    width: 100%;
    max-width: 100%;
  }

@media (min-width: 350px) {
	#modal_payment .modal-inner .account_select:first-of-type a {
  display: inline-block;
	margin-bottom: 22px;
	max-width: 100%;
	color: #FFFFFF;
	padding: 1rem .6rem;
	font-size: 16px;
	text-align: center;
}
  #modal_payment .modal-inner .account_select img{
    width: 292px!important;
  }
}
@media (min-width: 650px) {
	#modal_payment .payment_select .account_select p {
  text-align: left;
  font-size: 16px;
}
	#modal_payment .modal-inner .account_select:first-of-type a {
  display: inline-block;
	margin-bottom: 22px;
	width: 100%;
	color: #FFFFFF;
	padding: 1rem .6rem;
	font-size: 18px;
	text-align: center;
}
  #modal_payment .modal-inner .account_select img{
    width: 80%;
  }
}

.modal-window .modal-inner .account_select:first-of-type {
	margin-bottom: 20px;
    border-bottom: 1px solid #CCCCCC;
    padding-top: 20px;
}


.modal-window .modal-inner .account_select:last-of-type {
		margin-bottom: 20px;
}

#modal_payment a.mfp-close span:hover {
    text-decoration: none;
    color: #E9300E;
    transition: all .2s;
}

.modal_payment_content {
    overflow: hidden;
}

.exchange .modal-window .modal_payment_content > div {
	/*overflow: scroll;*/
	padding: 0 1rem 0.5rem;
	/*max-height: 280px;*/
}



#detail .modalfixed {
	position:fixed;
	width: 100%;
}
#detail .modal-window {
	overflow: scroll;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}

#modal_payment .btn_choose { margin-top: 0; text-align: center;}


#AmazonPayCV2Button{
  height: 75px!important;
}

/*20180423_modal_close_btn*/
.mfp-close {
  width: 30px;
  height: 30px;
  line-height: 30px;
  position: absolute;
  right: 5px;
  top: 5px;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }

@media (min-width: 650px) {
/* .sm-col */ 


.modal-window .modal-inner {
top: 25%;
left: 50%;
z-index: 20;
margin-left: -225px;
width: 450px;
}

body#detail.exchange .modal-window .modal-inner {
left: 0;
margin-left: auto;
width: 640px;		
}

body#detail.exchange .modal-window .modal-inner {
    top: 200px;
}	

body#detail.exchange .modal-window .modal_payment_content > div {
	overflow:hidden;
	max-height: auto;
}

body#detail.exchange .modal-window .modal-inner {
	margin-bottom: 0;
}

body#detail.exchange .modal-window .modal_payment_content > div {
	padding: 0 2rem 0.5rem  2rem;
}
	
	
	
}







@media (min-width: 1024px) {
/* .md-col */

/*.payment_select .account_select {
    float: left;
    width: 50%;
}*/	
	
body#detail .modal-window .modal-inner {
    top: 200px;
}	
	
.modal-window .modal-inner .account_select:first-of-type {
    border-bottom: none;
    border-top: none;
    padding-top: 0;
	margin-bottom: 0;
    padding-bottom: 1rem;
	border-bottom: 1px solid #cccccc; 
	padding-top: 20px;
}	

.modal-window .modal-inner .account_select:last-of-type {
	margin-bottom: 20px;
	padding-top: 1rem;
}	
	
	
	#modal_payment .payment_select p {
    text-align: center;
}

#modal_payment .modal-inner .account_select:first-of-type a{
	margin-bottom: 0;
}	

.exchange .modal-window .modal_payment_content > div {
	overflow: hidden;
	padding: 0 2.5rem 2rem;
}
	
/*#modal_payment .modal-inner .account_select img{
    max-width: 200px;
}*/
	
}






@media (min-width: 1200px) {
/* .lg-col */

.exchange #modal_payment > .modal-inner {
	width: 500px;	
}

	
}





