@charset "utf-8";

/**
 *
*  支払い方法 index
 *
 */

/*--------------------------------------------------------------------------
   overwrite  - 共通CSSの上書き -
---------------------------------------------------------------------------*/
img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.header{
	position: relative;
	box-shadow: 0 7px 28px 0 rgba(0,0,0,.15);
}

.c-border-ttl::before{
	background: #BDC6D1;
}
.c-border-ttl:after{
	background: #489997;
}

/*--------------------------------------------------------------------------
   payment
---------------------------------------------------------------------------*/
.payment{
	min-height: calc(100vh - 175px - 100px - 87px);
	padding: 65px 0 110px;
}

/* payment__area
-----------------------------------------------------------------*/
.payment__ttl{
	margin-bottom: 40px;
}
.payment__list{
	overflow: hidden;
	margin: -10px;
}

.payment__items {
	display: flex;
	flex-wrap: wrap;
}

.payment__item{
	width: 230px;
	margin: 10px;
}

.payment__item a{
	display: block;
}

.payment__item .logo{
	display: table;
	box-sizing: border-box;
	position: relative;
	width: 100%;
	height: 145px;
	border: 2px solid #edeeef;
	background: #fff;
	-webkit-transition: border .3s cubic-bezier(0.165, 0.84, 0.44, 1);
					transition: border .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modePC .payment__item a.logo:hover{
	border-color: #131F55;
}

.payment__item .logo:before{
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 6px 6px;
	border-color: transparent transparent #151f63 transparent;
}

.payment__item .logo img{
	width: 100%;
	height: auto;
}

.payment__item .name{
	position: relative;
	margin: 8px 5px 0;
	color: #9189c2;
	text-decoration: underline;
}

.payment__item .name::before,
.payment__item .name::after{
	display: inline-block;
    position: absolute;
    width: 2px;
    height: 15px;
	right: 20px;
    top: 50%;
	border-radius: 2px;
    background-color: #F27934;
	content: '';
	transform: translateY(-50%);
	transition: transform .3s ease;
	pointer-events: none;
}

.payment__item .name::after{
	transform: translateY(-50%) rotate(90deg);
	transition: opacity .3s ease;
}

.payment__item.open .name::before {
	transform: translateY(-50%) rotate(90deg);
}

.payment__item.open .name::after {
    opacity: 0;
}


.payment__item .name a{
	display: inline-flex;
	align-items: center;
	width: 100%;
	padding: 8.875px 0;
	border-radius: 7px;
	background-color: #DBE5EE;
	transition: all .3s ease;
}

.payment__item .name.large a{
	height: 85px;
}

.payment__item .name span{
	display: inline-block;
	padding-left: 16px;
	padding-right: 30px;
	color: #151F63;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.75;
}

.payment__item.open .name a{
	border-radius: 7px 7px 0 0;
}

.payment__item .detail{
	margin: 0 5px;
	padding: 17px 15px 19px;
    border-left: 3px solid #DBE5EE;
	border-bottom: 3px solid #DBE5EE;
	border-right: 3px solid #DBE5EE;
	border-radius: 0 0 7px 7px;
    background-color: #fff;
}

.payment__item .detail dt{
	position: relative;
	padding-left: 19px;
	font-size: 13px;
	font-weight: 700;
}

.payment__item .detail dt::before{
	position: absolute;
	top: 9px;
	left: 0;
	width: 14px;
	height: 14px;
	transform: translateY(-51%);
	content: '';
}

.payment__item .detail dt.method::before{
	background: url(../images/method_icon.svg) center center / cover no-repeat;
}

.payment__item .detail dt.period::before{
	background: url(../images/period_icon.svg) center center / cover no-repeat;
}

.payment__item .detail dd{
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.4285714285714286;
}

.payment__item .detail dl+dl{
	margin-top: 15px;
}

.modePC .payment__item .name a:hover{
	background-color: #BDC6D1;
}

/* media query -> sp
=================================================================*/
@media screen and (max-width: 768px){
	.payment{
		min-height: calc(100vh - 80px - 100px - 48px);
		padding: 35px 15px 45px;
	}

	/* payment__area
	-----------------------------------------------------------------*/
	.payment__ttl{
		margin-bottom: 20px;
	}
	.payment__list{
		margin: -3% -1%;
	}
	.payment__item{
		width: 48%;
		margin: 3% 1%;
	}

	.payment__items{
		display: flex;
		width: 100%;
	}

	.payment__item .logo{
		height: 100px;
		border-width: 1px;
	}
	.payment__item .logo:before{
		border-width: 0 0 4px 4px;
	}

	.payment__item .name{
		margin: 6px 2px 0;
	}

	.payment__item .name.large a{
		height: 55px;
	}

	.payment__item .name::before,
	.payment__item .name::after{
		height: 12px;
		right: 16px;
	}

	.payment__item .name a {
		/* line-height: 36px; */
		padding: 10px 0;
	}

	.payment__item .name span {
		padding-left: 9px;
		font-size: 12px;
	}

	.payment__item .detail {
		margin: 0 2px;
		padding: 8px 8px 11px;
	}

	.payment__item .detail dt{
		padding-left: 16px;
		font-size: 11px;
	}

	.payment__item .detail dt::before{
		width: 12px;
		height: 12px;
		transform: translateY(-54%);
	}

	.payment__item .detail dd{
		margin-top: 1px;
		font-size: 11px;
		line-height:1.36363636364;
	}
	
	.payment__item .detail dl+dl{
		margin-top: 8px;
	}

}