@import url("bootstrap.min.css");
@import url("slick.css");
@import url("slick-theme.css");


h2 {
	font-size: 1.4rem;
}

/* portfolio */
.portfolio {font-family: 'Sawarabi Gothic', sans-serif;}

.portfolio h1 {
	margin: 50px 0 0;
	font-size: 1.8rem;
	line-height: 50px;
}

.portfolio h1::before {
	content: '';
	display: inline-block;
	width: 50px;
	height: 50px;
	background-image: url(../img/nekonotewo.png);
	background-size: contain;
	margin-right: 15px;
}

.portfolio section {
	margin: 70px 0;
}

.portfolio h2 {
	border-bottom: solid 3px #87ceeb;
	position: relative;
	margin: 50px 0;
	padding-bottom: 30px;
	text-align: center;
	font-weight: bold;
	letter-spacing: 4px;
}

.portfolio h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #fbb5dc;
	bottom: -3px;
	width: 30%;
}

#intro {
	margin-top: 30px;
}

#works .slick-arrow_prev,
#works	.slick-arrow_next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
}

#works .slick-arrow_prev {
	left: -30px;
}

#works .slick-arrow_next {
	right: -30px;
}

#works .card {
	margin: 0 10px;
}

#works .card figure {
	position: relative;
	margin: 0;
}

#works .card figure img {
	width: 100%;
}

#works .card figcaption{
	position: absolute;
	background-color: rgba(0,0,0,0.5);
	width: 100%;
	font-size: 0.8rem;
	bottom: 0;
	color: #fff;
	text-align: center;
	padding: 3px 0;
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
}

#works .card .card-title {
	font-size: 1rem;
	font-weight: bold;
}

#works .card .card-title span{
	display: block;
	font-size: 0.8rem;
	font-weight: normal;
	position: absolute;
	background-color: rgba(72,189,216,0.8);
	padding: 3px 10px;
	color: #fff;
	right: 0;
	bottom: 0;
}

#works .card .card-text {
	font-size: 0.8rem;
}

#works .card .process {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.6rem;
}

#works .card .process li {
	display: inline-block;
	border-radius: 4px;
	background-color: #efefef;
	margin: 0 5px 5px 0;
	padding: 1px 5px 0;
}

#works .card .process li.p1 {
	background-color: #fbc4db;
}

#works .card .process li.p2 {
	background-color: #fbfd7b;
}

#works .card .process li.p3 {
	background-color: #c2f986;
}

#works .card .process li.p4 {
	background-color: #c5c8f3;
}

#works .card .process li.p5 {
	background-color: #86ccf5;
}

#skills .skill {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-content: stretch;
}

#skills .skill li {
	display: inline-block;
	width: 32%;
	border: 1px solid rgba(0,0,0,.125);
	margin-right: 1%;
	margin-bottom: 1vw;
	padding: 15px 8px;
	font-size: 0.9rem;
	border-radius: 7px;
}

#skills .skill li:nth-child(3n) {
	margin-right: 0;
}

#skills .skill li > * {
	display: inline-block;
	vertical-align: middle;
}

#skills .skill li > img {
	width: 18%;
	margin-right: 2%;
}

#skills .skill li > div {
	width: 80%;
}

#recently .container > div {
	width: 47%;
	display: inline-block;
	vertical-align: top;
	border-radius: 7px;
	/*background: repeating-linear-gradient(45deg, #eae7e7 0px, #f9f9f9 2px, #ffffff 2px, #ececec 4px);*/
	border: 1px solid #efefef;
}

#recently .container > div h3{
	text-align: center;
	font-size: 1.2rem;
}

#facebook {
	margin-right: 2%;
	padding: 15px 0 5px 0;
}

#facebook h3 {
padding-bottom: 8px;
}

#facebook .slider	{
	opacity: 0;
	transition: opacity .3s linear;
	padding-left: 0;
}

#facebook .slider.slick-initialized	{
	opacity: 1;
}

#facebook .slick-prev:before,
#facebook .slick-next:before {
	color: #000;
}

#facebook .slick-next {
	right: 20px;
	z-index: 99;
}

#facebook .slick-prev {
	left: 15px;
	z-index: 100;
}

#facebook .slick-dots li.slick-active button:before,
#facebook .slick-dots li button:before {
	color: #ccc;
}

#facebook .slick-slide {
	display: inline-block;
	margin: 0 5px 5px;
}

#facebook .trim {
	position: relative;
	overflow: hidden;
	padding-top: 100%; 
	border-radius: 10px;
}

#facebook .trim > img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#facebook .slick-slide:hover {
	opacity: 0.8;
}

#facebook .slick-slide > a > div {
	position: relative;
}

#facebook .slick-slide .message {
	box-sizing: border-box;
	width: 100%;
	position: absolute;
	bottom: 0;
	color: #fff;
	background: rgba(0,0,0,0.7);
	opacity: 0.8;
	padding: 15px 20px;
	margin: 0;
}

#facebook .slick-slide .message p {
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 0.8rem;
}

#insta {
	padding: 15px;
}

#insta h2 {
	text-align: center;
	margin: 0;
}

#insta .flex_wrap {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

#insta .flex_wrap .item {
	box-sizing: border-box;
	flex-basis: 33.33%;
	max-width: 33.33%;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#insta .flex_wrap .item img {
	max-width: 100%;
}

#learn li {
/*	display: inline-block;
	width: 22%;
	height: 3rem;
	margin: 10px;
	padding: 1em 1.5em;
	transform: rotate(-.5deg);
	overflow: hidden;
	box-shadow: 0.25rem 0 0.25rem hsla(0, 0%, 0%, .1);
	background-image: linear-gradient(90deg, hsla(0, 0%, 45%, .1) 2rem, hsla(0, 100%, 100%, 0) 2.5rem), linear-gradient(90deg, hsla(60, 100%, 85%, 1), hsla(60, 100%, 85%, 1));
	font-size: 0.8rem;
	line-height: 1.6;
	white-space: nowrap;
	text-overflow: ellipsis;*/
	display: inline-block;
	margin: 0 .6em .6em 0;
	padding: .6em 1em;
	line-height: 1;
	color: #737377;
	background-color: #fff;
	border: 1px solid #9494a2;
	border-radius: 2em;
}

#learn li:before {
	content: "#";
}

footer.footer_p {
	font-size: 0.8rem;
}

/* entrance */
body.entrance {
	background: url("../img/main.jpg");
	background-size: cover;
	color: #fff;
}

.entrance .mincho {
	font-family: "しまなみ" , "リュウミン R-KL" , "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.entrance .container {
	padding: 10% 5%;
	height: 100vh;
	margin-top: 0;
	margin-bottom: 0;
}

.entrance h1{
	margin-bottom: 3%; 
}

.entrance .enter{
	position: absolute;
	bottom: 15vh;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}

.entrance button.btn{
	font-size: 0.8rem;
	padding: 0.5rem 2rem;
}

.entrance footer{
	position: absolute;
	bottom: 20px;
	width: 100%;
}


@media (min-width: 576px) and (max-width: 959px) {

	#skills .skill li > * {
		display: block;
	}

	#skills .skill li > img {
		width: 40%;
		margin: 0 auto 10px;
	}


	#skills .skill li > div {
		width: 100%;
	}

	#skills .skill li {
		padding: 15px 8px 15px 15px;
	}

}

@media (max-width: 959px) {

	#recently .container > div {
		width: 100%;
		display: block;
		margin: 0 0 20px;
	}

}

@media (max-width: 575px) {

	.portfolio h1 {
		font-size: 1.4rem;
		font-weight: bold;
		line-height: 1.2;
	}

	#skills .skill li {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}

	/* entrance */
	body.entrance p {
		font-size: 0.8rem;
	}

}
