@charset "utf-8";
/* CSS Document */
.article {
  display: block;
  margin: 0 0 30px 0;
  padding: 0 0 0 0;
  background: white;
  border-radius: 3px;
  /*box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);*/
  transition: all 220ms;
	
}
.article:hover {
 /* box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.1);*/
  transform: translateY(-5px);
  transition: all 220ms;
}
.article > img {
  display: block;
  width: 100%;
  margin: 0 0 24px 0;
  
}
.article h2 {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.wall {
  display: block;
  position: relative;
  margin:15px 0 15px 0;
}

.wall-column {
  display: block;
  position: relative;
  /*width: 33.333333%;*/
  width: 25%;
  float: left;
  padding: 0 12px;
  box-sizing: border-box;
}


.wall ul li {
	display:inline;
}

.wall li {
	width: 32%;
	float: left;
	margin: 0 15px 15px 0;
}

.wall li img {
	width:100%;
}

.wall ul li a {
	font-size:0.7em;
}

.wall ul li a:link {
	color:#3d3d3d;
	text-decoration:none;
}

.wall ul li a:visited {
	color:#3d3d3d;
	text-decoration:none;
}


.wall ul li a:hover {
	color:#f00;
	text-decoration:none;
}

.wall ul li p {
	width:100%;
	margin: -19px 0 0 0;
	font-size: 1.2em;
  text-align: center;

  
}

/*- 超出一行用..省略 -*/
.txt-line-clamp2{
  width:400px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/*-----------------頁籤內頁----------------*/



/* Buttons */

.tab-nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tab-nav li {
  display: inline-block;
  text-align: center;
  flex-grow: 1;
  margin: 0 5px 10px;
}

.tab-nav li:hover { opacity: .95; }

.tab-nav li a {
  padding: 30px;
  display: block;
  text-decoration: none;
  color: white;
}

/* Content */

.content {
  color: #FFF;
  padding: 25px;
  display: none;
}

.content.active { display: block; }

/* Colors */

.bg-dark { background-color: #212121; }

.bg-light { background-color: #BFBFBF; }

.red { background-color: #E51400; }

.green { background-color: #339933; }

.blue { background-color: #1BA1E2; }

.orange { background-color: #F09609; }

.magenta { background-color: #FF0097; }

.purple { background-color: #A200FF; }

.teal { background-color: #00ABA9; }

.lime { background-color: #8CBF26; }

.brown { background-color: #996600; }

.pink { background-color: #E671B8; }


/*<!-- 內頁 -->*/
@media screen and (max-width: 64em) {
  .wall li {
	width: 48%;
	float: left;
	margin: 0 15px 15px 0;
    }
	.wall li img {
	width:100%;
    }
	.wall ul li p {
	width:100%;
	margin: -10px 0 0 0;
	font-size: 1.2em;
	text-align: center;
    }


}

@media screen and (max-width: 50em) {
  .wall li {
	width: 100%;
	float: left;
	margin: 0 15px 15px 0;
    }
	.wall li img {
	width:100%;
    }
	.wall ul li p {
	width:100%;
	margin: -10px 0 0 0;
	font-size: 1.2em;
	text-align: center;
    }


}

@media screen and (max-width: 40em) {
   .wall li {
	width: 100%;
	float: left;
	margin: 0 15px 15px 0;
    }
	.wall li img {
	width:100%;
    }
	.wall ul li p {
	width:100%;
	margin: -10px 0 0 0;
	font-size: 1.2em;
	text-align: center;
    }

}


@media screen and (max-width: 30em) { 
	.wall li {
	width: 100%;
	float: left;
	margin: 0 15px 15px 0;
    }
	.wall li img {
	width:100%;
    }
	.wall ul li p {
	width:100%;
	margin: 0 0 0 0;
	font-size: 1.2em;
	text-align: center;
    }
	
}



