/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.01
*/

.afigreyBox{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 0px 10px;
    font-size: 15px;
    border: 1px solid #e7e7e7;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}
.afigreyBox p{
	color:#249d8c;
	font-weight: bold;
	text-align:center;
	font-size: 16px;
	margin-top: 20px;
	height: 20px;
	line-height: 20px;
	padding: 0;
	margin-bottom: 20px;
}
@media only screen and (max-width:787px){
	.afigreyBox p{
		margin-bottom: 14px !important;
	}
}

.afibtn {
    background-color: #35beaa; /* ボタン背景色 */
    color: #fff; /* ボタン文字色 */
    box-shadow: 0 5px 0 0 #249d8c; /* ボタン陰色 */
    font-weight: bold;
    border-radius: 4px;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 28px;
    padding: 0;
    text-align: center;
    line-height: 1.4;
    transition: all .2s ease;
}

.afibtn:hover {
    opacity: 0.8;
}

.cps-post-main .afibtn a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin: 0;
    padding: 0.5em;
    position: relative;
    overflow: hidden;
}

.cps-post-main .afibtn a::before {
    display: block;
    position: absolute;
    z-index: 1;
    left: -100%;
    top: -50vh;
    content: '';
    width: 3rem;
    height: 100vh;
    transform: rotate(5deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    animation: highLight 6s ease-in-out 0s infinite;
}
.cps-post-main .afibtn a .afibtn-top{
	font-size: 14px;
}
.cps-post-main .afibtn a .afibtn-middle{
	font-size: 24px;
}
.cps-post-main .afibtn a .afibtn-bottom{
	font-size: 14px;
}

/*
@keyframes highLight {
    from { left: -5%; }
    15%, 100% { left: 105%; }
}
*/
.afibtn > img { float: left; }
.afibtn::after{ content: ''; clear: left; }

@media screen and (max-width: 767px) {
	.affi-btn2 {
		width: 90%;
	}
}