﻿.about-block{
    width: 100%;
    display: block;
    font-size: 0;
}
.about-list-box{
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 3);
}
.about-list{
	width: 100%;
	display: block;
}
.about-list-img{
	width: 100%;
	height: 400px;
	display: block;
	overflow: hidden;
}
.about-list-info-block{
	width: 100%;
	height: 400px;
	display: block;
	padding: 20px;
	box-sizing: border-box;
}
.about-list-box:nth-child(1) .about-list-info-block{
	background-color: #a5d4f0;
}
.about-list-box:nth-child(2) .about-list-info-block{
	background-color: #f5f5f5;
}
.about-list-box:nth-child(3) .about-list-info-block{
	background-color: #d593be;
}
.about-list-box:nth-child(2) .about-list{
	display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
          align-items: center;
    -webkit-justify-content: center;
          justify-content: center;
    flex-direction:column-reverse;
    -webkit-flex-direction:column-reverse;
}

.about-list-info-box{
	width: 100%;
	height: 100%;
	position: relative;
	padding: 0 20px;
	box-sizing: border-box;
    display:         flex;
	display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
}
.about-list-info-border-box{
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}
.about-list-info-border-top{
	width: 90%;
	height: 1px;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	background-color: #333333;
}
.about-list-info-border-right{
	height: 90%;
	width: 1px;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	background-color: #333333;
}
.about-list-info-border-left{
	height: 90%;
	width: 1px;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #333333;
}
.about-list-info-border-bottom{
	width: 90%;
	height: 1px;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #333333;
}

.about-list-info-article{
	font-size: 16px;
	color: #333333;
	letter-spacing: 2px;
	line-height: 2;
}


/*----------------動畫----------------*/
.about-block{
	opacity: 0;
}
.about-block.active{
	animation: fadeInUp .8s ease 1 both;
}

.about-list-img:hover .main-bg{
	transform: scale(1.1);
}

.about-list-info-border-top{
	transform: scale(0,1);
	transform-origin: right;
}
.about-list-info-border-right{
	transform: scale(1,0);
	transform-origin: top;
}

.about-list-info-border-bottom{
	transform: scale(0,1);
	transform-origin: left;
}

.about-list-info-border-left{
	transform: scale(0,1);
	transform-origin: bottom;
}

.about-block.active .about-list-info-border-top{
	animation: line .8s linear .4s 1 forwards;
}
.about-block.active .about-list-info-border-right{
	animation:  line2 .8s linear .4s 1 forwards;
}
.about-block.active .about-list-info-border-bottom{
	animation: line .8s linear .4s 1 forwards;
}
.about-block.active .about-list-info-border-left{
	animation:  line2 .8s linear .4s 1 forwards;
}
@media only screen and (max-width: 1200px){
	.about-list-info-box{
		padding: 0 10px;
	}
	.about-list-info-block,
	.about-list-img{
		height: 365px;
	}
}
@media only screen and (max-width: 1000px){
	.about-block{
		opacity: 1;
	}
	.about-list-info-border-bottom,
	.about-list-info-border-top,
	.about-list-info-border-left,
	.about-list-info-border-right{
		transform: scale(1,1);
	}
	.about-list-box{
		display: block;
		width: 100%;
	}
	.about-list{
		font-size: 0;
	}
	.about-list-img,
	.about-list-info-block{
		width: 50%;
		display: inline-block;
		vertical-align: top;
	}
	.about-list-box:nth-child(2) .about-list{
		display: block;
	}
	.about-list-box:nth-child(2) .about-list-img{
		float: right;
	}
	.about-list-box:nth-child(2) .about-list-info-block{
		float: left;
	}
}
@media only screen and (max-width: 750px){
	.about-list-img, 
	.about-list-info-block{
		width: 100%;
		display: block;
	}
}