@charset "UTF-8";

@font-face{
	font-family:"myfont_1";
	src:url("../fonts/Thesignature.ttf") format("truetype");
}

@font-face{
	font-family:"myfont_2";
	src:url("../fonts/ArsenicaTrial-Italic.ttf") format("truetype");
}

@font-face{
	font-family:"myfont_3";
	src:url("../fonts/Arimo-Regular.ttf") format("truetype");
}

@font-face{
	font-family:"myfont_4";
	src:url("../fonts/Arimo-Bold.ttf") format("truetype");
}

@font-face{
	font-family:"myfont_5";
	src:url("../fonts/Arimo-Regular.ttf") format("truetype");
}

@font-face{
	font-family:"myfont_6";
	src:url("../fonts/Summer Wind.ttf") format("truetype");
}

html {
	margin: 0;
	padding: 0;
	font-size: 15px;	/*基準となるフォントサイズ。*/
}

body {
	width:100vw;
	margin:0;
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	background: #fbfbfb;	/*背景色*/
	/*color: ;		/*文字色*/
}

footer{
	margin-top:5% !important;
}

img{max-width:100%;
}

.title h1{
	font-family:"myfont_6";
	font-size:4.5rem;
	text-align: center;
}

.section{
	margin: 20% 10% 0;
	display: flex;
	flex-direction: column;
	position: relative;
}

.btn{
	width: -webkit-fit-content;
	padding:15px;
	margin: 0 auto;
	color: #5d5d5d;
	border: 0.5px solid #5d5d5d;
	border-radius: 100vh;
}

.btn:hover{
	color: #fff;
	background: #5d5d5d;
}

.img{
	width: 40%;
	position: absolute;
	right:3%;
	top:28%;
}

.content{
	display: block;
	width: calc(100% / 2 - 15px);
	height: 10rem;
	margin-bottom:15%;
	padding: 3%;
	border-radius: 1.5em;
	overflow: hidden;
	background: linear-gradient(140deg, #eee, #fff);
	-webkit-box-shadow: inset 20px 20px 15px 0 transparent, inset -10px -10px 15px 0 transparent, 10px 10px 10px 0 #cfcfcf, -10px -10px 15px 3px #fff;
	box-shadow: inset 20px 20px 15px 0 transparent, inset -10px -10px 15px 0 transparent, 10px 10px 10px 0 #cfcfcf, -10px -10px 15px 3px #fff;
	transition:.5s;
}

.content:hover{
	-webkit-transform: translateY(7px);
	transform: translateY(7px);
	box-shadow: none;
}

.content-img{
	width: 90%;
	max-height: 70%;
	margin: 7% auto 0;
	border-radius: 0.77em;
	overflow: hidden;
}

.content h3{
	font-size: 0.45rem;
	font-weight: 500;
	margin-top:10%;
}

.content p{
	margin-top:7%;
	font-size: 0.65rem;
}

.and{
	font-size: 0.6rem;
}

.text-title{
	font-family: Apple Chancery,cursive,serif;
    font-size: 1.5em;
}

@media screen and (min-width:700px){ /*TB版*/
	.section{
		margin: 15% 7% 0;
	}
	
	.img{
		width: 30%;
		right:7%;
		top:333px;
	}

	.content{
		width: calc(100% / 2 - 3%);
        height:fit-content;
        margin: 3.5% 0;
	}

	.content-img{
		width: 100%;
		max-height: 17rem;
        margin: auto;
	}

	.content h3{
		font-size: 1.2rem;
		margin-top:10%;
		letter-spacing: 1px;
	}

	.content p{
		margin-top:5%;
		font-size: 1rem;
	}

	.and{
		font-size: 1rem;
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	.content{
		width: calc(100% / 3 - 3%);
		max-height: 20rem;
	}

	.content h3{
		font-size: 1.1rem;
	}
}

/*-------------------------------------------
セクション１
-------------------------------------------*/

.sec1{
	margin: 25% auto 0;
}

.sec1 .cube-container{
	display: none;
}

.sec1 .message-container{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sec1 .message{
	position: relative;
	font-family:"myfont_3";
	align-self: center;
}

.sec1 .center-message{
	font-family:"myfont_2";
}

.sec1 h1{
	position:relative;
	font-size: 2.5em;
    color: #333;
	text-wrap: nowrap;
}

.sec1-img{
	display:none;
	position:absolute;
}

@media screen and (min-width:700px){ /*TB版*/

	.sec1 .message-container {
		width: 80%;
		margin: 0 auto;
	}

	.sec1 .message{
		display: flex;
		width: 100%;
	}

	.sec1 .top-message{
		justify-content: flex-start;
	}

	.sec1 .center-message{
		justify-content: center;
	}

	.sec1 .bottom-message{
		justify-content: flex-end;
	}

	.sec1 h1{
		display: inline-block;
		font-size:3.3rem;
	}

	.sec1-img{
		display:block;
		width:30%;
	}
	
	.img-top{
		bottom: -70%;
        right: 0%;
		transform:skew(10deg, -10deg);
	}
	
	.img-bottom{
		top: -100%;
        left: 0%;
		transform:skew(-20deg, 20deg);
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	
	@keyframes animate {
		0% {
		filter: hue-rotate(0deg);
		}
		100% {
		filter: hue-rotate(360deg);
		}
	}

	.sec1 {
		display: flex;
		flex-flow: nowrap row;
		justify-content: center;
		position: relative;
		width: 100%;
		height: 90dvh;
		margin: 0 auto;
	}

	.sec1 .cube-container{
		display: block;
		position: relative;
		width: 50%;
	}

	.cube-contents {
		position: absolute;
		top: 45%;
		left: 50%;
		transform: skewY(-20deg) translate(-50%,-50%);
		animation: animate 5s linear infinite;
		
		.cube {
			position: relative;
			z-index: 2;
			
			&:nth-child(2) {
				z-index: 1;
				translate: -60px -60px;
				/*translate: -85px -85px;*/
			}
			
			&:nth-child(3) {
				z-index: 3;
				translate: 60px 60px;
				/*translate: 85px 85px;*/
			}

			div {
				position: absolute;
				display: flex;
				flex-direction: column;
				gap: 30px;
				translate: calc(-70px * var(--x)) calc(-60px * var(--y));
				/*translate: calc(-95px * var(--x)) calc(-60px * var(--y));*/
				
				span {
					position: relative;
					display: inline-block;
					width: 50px;
					height: 50px;
					/*width: 70px;
					height: 75px;*/
					background: #dcdcdc;
					z-index: calc(1 * var(--i));
					transition: 1.5s;
					
					&:hover {
						transition: 0s;
						background: #ef4149;
						filter: drop-shadow(0 0 30px #ef4149);
						
						&:before,
						&:after {
							transition: 0s;
							background: #ef4149;
						}
					}
					
					&:before {
						content: "";
						position: absolute;
						left: -40px;
						width: 40px;
						/*left: -60px;
						width: 60px;*/
						height: 100%;
						background: #fff;
						transform-origin: right;
						transform: skewY(45deg);
						transition: 1.5s;
					}
					
					&:after {
						content: "";
						position: absolute;
						top: -40px;
						/*top: -60px;*/
						left: 0px;
						width: 100%;
						height: 40px;
						/*height: 60px;*/
						background: #f2f2f2;
						transform-origin: bottom;
						transform: skewX(45deg);
						transition: 1.5s;
					}
				}
			}
		}
	}

	.cube-text{
		position: absolute;
		bottom: 70px;
		right: 50px;
		display: flex;
		align-items: flex-end;

		.arrow{
			width: 40px;
            transform: rotate(175deg);
		}

		label{
			margin: 0 0 7px 7px;
            text-wrap: nowrap;
		}
	}

	.sec1 .message-container{
		position: relative;
        left: -5%;
		width: 50%;
	}

	.sec1 h1{
        font-size: 4rem;
        text-wrap: nowrap;
	}

	.sec1-img{
		width:20%;
	}

}

/*-------------------------------------------
WEBデザイン・セクション２
-------------------------------------------*/

.sec2-title{
	margin-bottom: 7%;
}

.tr{
	position: relative;
	display: inline-block;
	color: transparent;
	-webkit-text-stroke: 1px #aaa;
	font-size: 40px;
	font-family: "myfont_4";
	line-height: 1em;
}

.rt{
	font-size: 20px;
	color: #fff;
	background-image: linear-gradient(to right, #a5a5a5 15%, transparent);
	padding-left: 10px;
}

.sub-text{
	font-family: DIN Condensed;
	font-size: 3rem;
	color: transparent;
	font-weight: 700;
    -webkit-text-stroke: 1px #999;
    text-shadow: 0px 0px 20px rgba(170, 170, 170, 0.6);
	text-align: center;
	margin: 7% 0;
}

.list{
	display: flex;
	flex-flow: row-reverse wrap-reverse;
    justify-content: space-between;
	text-align:center;
}

.sec2 .content{
	height: 10rem;
    max-height: 25vh;
}

@media screen and (min-width:700px){ /*TB版*/
	.tr{
		font-size: 5.5rem;
	}
	
	.rt{
		font-size:2rem;
	}
	
	.sub-text{
		font-size: 5rem;
		color: rgba(255, 255, 255, 0.5);
		font-weight: 900;
		-webkit-text-stroke: 1px #aaa;
		text-shadow: 20px 20px 15px rgba(230, 230, 230, 0.7);
		margin:3% 0;
	}

	.list{
		display: flex;
		flex-flow: row-reverse wrap-reverse;
		justify-content: space-between;
	}

	.sec2 .content{
		height: 20rem;
		max-height: 30vh;
	}

	.sec2 .content-img{
        width: 90%;
        margin: 0 auto;
        border-radius: 1em;
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	.tr{
		font-size: 10rem;
	}
	
	.rt{
		font-size:2.2rem;
	}
	
	.sub-text{
		font-size: 7rem;
		color: rgba(255, 255, 255, 0);
		font-weight: 900;
		-webkit-text-stroke: 1px #aaa;
		text-shadow: 10px 10px 5px rgba(232, 232, 232, 0.5);
		margin: 3% 0;
	}

	.list{
		display: flex;
		flex-flow: row-reverse wrap-reverse;
		justify-content: space-between;
		background: linear-gradient(140deg, #fafafa, #ddd);
		-webkit-box-shadow: 15px 15px 15px 0 #e1e1e1 inset, -20px -20px 15px 0px #fff inset;
		box-shadow: 15px 15px 15px 0 #e1e1e1 inset, -20px -20px 15px 0px #fff inset;
		border-radius: 7vh;
		padding: 5%;
	}

	.sec2 .content{
		max-height: 250px;
		
		&.etc .content-img{
			height: 100%;
		}

		.content-img{
			width: 90%;
			margin: 0 auto;
			border-radius: 1em;
		}
	}

}


/*-------------------------------------------
名刺・セクション３
-------------------------------------------*/

.picup{
	display: flex;
	flex-flow: row-reverse wrap-reverse;
	justify-content: space-between;
}

.sec3 .content{
	height: 10rem;
    max-height: 20vh;
}

.lb-data .lb-details{
	display:none;
}

@media screen and (min-width:700px){ /*TB版*/
	.sec3 .content{
		height: 20rem;
        max-height: 30vh;
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	.picup{
		margin: 1em 0;
		font-size:2.2rem;;
	}

	.sec3 .content{
		height: 22rem;
        max-height: 55vh;
	}
}

/*-------------------------------------------
ロゴ・セクション４
-------------------------------------------*/
.sec4 .content{
	display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
	height: 9.5rem;
    max-height: 150px;
}

.sec4 .content-img{
	width: 70%;
    margin: 3% auto 0;
}

@media screen and (min-width:700px){ /*TB版*/
	.sec4 .content{
		height: 22rem;
        max-height: 330px;
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	.sec4 .content{
		height: 22rem;
		max-height: 350px;
	}

	.sec4 .content-img{
		width: 70%;
		margin: 0 auto;
		border-radius: 1em;
	}
}

/*-------------------------------------------
etc.・セクション５
-------------------------------------------*/
.sec5 .content{
	height: 10rem;
	max-height: 20vh;
}

@media screen and (min-width:700px){ /*TB版*/
	.sec5 .content{
		height: 25rem;
		max-height: 40vh;
	}
}

@media screen and (min-width:1000px){ /*PC版*/
	.sec5 .content{
		height: 30rem;
		max-height: 400px;
	}
}