
#top .visual {
	background: #ecf2c2;
	width: 100%;
	height: 100vh;
	position: relative;
	border-bottom: 4px solid #000;
}
#top .visual .inner {
	max-width: 1200px;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	
}
#top .visual .door {
	width: 25%;
	margin-left: 55%;
	position: relative;
	line-height: 0;
}

#top .visual .copy{
	position:absolute;
	top: 50%;
	left: 10%;
	transform:translate(0,-50%);
    width:35%;
    background:#FFFFFF;
    padding:2%;
    border:4px solid #000000;
    font-size:20px;
	font-weight: 600;
	font-family: "Hanken Grotesk", sans-serif;
	letter-spacing: 1px;
}
#top .visual .copy:after,#top .visual .copy:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    left:100%;
    top:50%;
}
#top .visual .copy:after{
    border-color: rgba(255, 255, 255, 0);
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:14px;
    border-right-width:14px;
    margin-top: -10px;
    border-left-color:#FFFFFF;
}
#top .visual .copy:before{
    border-color: rgba(0, 0, 0, 0);
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:18px;
    border-right-width:18px;
    margin-top: -13px;
    margin-left: 3px;
    border-left-color:#000000;
}

@media only screen and (max-width: 768px)  {
	#top .visual .door {
		width:42%;
		margin: 0 auto 10%;
		transform: translate(0,-2%)
	}
	#top .visual .copy{
		position:relative;
		top: auto;
		left: auto;
		transform:translate(0);
		width:75%;
		border:2px solid #000000;
		font-size:18px;
		margin: 0 auto;
		text-align: left;
		padding: 5%;
	}

	#top .visual .copy:after,#top .visual .copy:before{
		border: solid transparent;
		content:'';
		height:0;
		width:0;
		pointer-events:none;
		position:absolute;
		bottom:100%;
		left:50%;
		top:auto;
	}
	#top .visual .copy:after{
		border-color: rgba(255, 255, 255, 0);
		border-top-width:10px;
		border-bottom-width:10px;
		border-left-width:7px;
		border-right-width:7px;
		margin-left: -7px;
		border-bottom-color:#FFFFFF;
		margin-bottom: -2px;
	}
	#top .visual .copy:before{
		border-color: rgba(0, 0, 0, 0);
		border-top-width:12px;
		border-bottom-width:12px;
		border-left-width:8.5px;
		border-right-width:8.5px;
		margin-left: -8.5px;
		margin-bottom: 0px;
		margin-top: 0;
		border-bottom-color:#000000;
	}

}





/*トップページ・リード*/

#top .read {
	margin: 200px auto;
	width: 84%;
}
#top .read p {
	text-align: center;
	font-size: 22px;
	font-weight: 500;
	line-height: 2.6
}
@media only screen and (max-width: 768px)  {
	#top .read {
		margin: 20% auto;
	}
	#top .read p {
		text-align: left;
		font-size:18px;
	}
	
}

/*トップページ・実績*/

#top .box {
	position: relative;
	border-top: 4px solid #000;
	box-sizing: border-box;
	padding: 50px 5%;
}
#top .box .service {
	max-width: 900px;
	margin: 0 auto;
	
}
#top .box .service li {
	position: relative;
	margin: 5% auto;
}
#top .box .service li .thumbnail {
	width: 45%;
	overflow: hidden;
	border-radius: 30px;
	line-height: 0;
}
#top .box .service li .data {
	position: absolute;
	top: 50%;
	left: 55%;
	width: 45%;
	transform: translate(0,-50%);
}
#top .box .service li:nth-of-type(even) .thumbnail {
	margin-left: 55%;
}
#top .box .service li:nth-of-type(even) .data {
	left: 0;
}
#top .box .service li .data h3 {
	font-weight: 600;
	font-size: 20px;
	margin-bottom: 10px;
}
#top .box .service li .data p {
	font-size: 14px;
}
#top .box .service li .data .btn {
	margin: 50px 0;
}
@media only screen and (max-width: 768px)  {
	#top .box {
		padding: 20% 5% 15%;
	}
	#top .box .service li {
		position: relative;
		margin: 20% auto 25%;
	}
	#top .box .service li .thumbnail {
		width: 100%;
	}
	#top .box .service li .data {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		transform: translate(0);
		padding: 5% 0 0;
	}
	#top .box .service li:nth-of-type(even) .thumbnail {
		margin-left: 0%;
	}
	#top .box .service li:nth-of-type(even) .data {
		left: auto;
		margin-left: 0%;
	}
	#top .box .service li .data .btn {
		margin: 25px 0;
	}	
}
#top .box .topics {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 3%;
}

#top .box .topics li .category {
	font-weight: 600;
	font-size: 12px;
}
#top .box .topics li .time {
	font-weight: 600;
	font-size: 14px;
	margin: 5px 0 10px
}
#top .box .topics li p {
}
@media only screen and (max-width: 768px)  {
	#top .box .topics {
		grid-template-columns: 1fr 1fr;
		column-gap: 3%;
	}
	#top .box .topics li {
		margin-bottom: 20%;
	}
}


/*.toppage {
	opacity: 0;
	transition: 0.5s all 0.1s ease;
}
.toppage.load {
	opacity: 1;
}*/


header {
	opacity: 0;
	transform: translate(0,-100%);
	transition: 1s all 2.5s ease;
}
.load header {
	transform: translate(0);
	opacity: 1;
}
#top .visual .door {
	opacity: 0;
	transform: translate(0,20px);
	transition: 1s all 0s ease;
}
#top .visual .door img:nth-of-type(2) {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	opacity: 0;
	transition: 0.5s all 1.5s ease;
}
.load #top .visual .door {
	opacity: 1;
	transform: translate(0)
}
.load #top .visual .door img:nth-of-type(2) {
	opacity: 1;
}
#top .visual .copy {
	opacity: 0;
	transition: 0.6s all 2.2s ease;
	transform: translate(20px,-50%)
}
.load #top .visual .copy {
	opacity: 1;
	transform: translate(0,-50%);
}

#top .read p {
	opacity: 0;
	transform: translate(0,20px);
	transition: 1.5s all 0s ease;
}
#top .read p:nth-of-type(1) {
	transition-delay: 0.2s;
}
#top .read p:nth-of-type(2) {
	transition-delay: 0.4s;
}
#top .read p:nth-of-type(3) {
	transition-delay: 0.6s;
}
#top .read p:nth-of-type(4) {
	transition-delay: 0.8s;
}
#top .read p:nth-of-type(5) {
	transition-delay: 1s;
}
#top .read p:nth-of-type(6) {
	transition-delay: 1.2s;
}
#top .read p:nth-of-type(7) {
	transition-delay: 1.4s;
}
#top .read p:nth-of-type(8) {
	transition-delay: 1.6s;
}
#top .read p:nth-of-type(9) {
	transition-delay: 1.8s;
}
#top .read p:nth-of-type(10) {
	transition-delay: 2s;
}

#top .read.ac p {
	opacity: 1;
	transform: translate(0)
}
#top .box li {
	opacity: 0;
	transform: translate(0,20px);
	transition: 1.5s all 0s ease;
}
#top .box li.ac {
	opacity: 1;
	transform: translate(0);
}
@media only screen and (max-width: 768px)  {
	.load #top .visual .door  {
		opacity: 1;
		transform: translate(0,-2%);
	}
	#top .visual .copy {
		transform: translate(0,-10%)
	}
	.load #top .visual .copy {
		transform: translate(0,0);
	}

	
}




