@charset "utf-8";

/* レイアウト*/
body{
	font-family: 'M PLUS Rounded 1c', sans-serif;
	color: #2E2210;
	font-size: 1rem;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
	background-color: #E2E0DC;
}

@media screen and (max-width: 820px) {
	body{
		font-size: 0.8rem;
	}
}

*{box-sizing: border-box;}

ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

a{
	color: #2E2210;
	text-decoration: none;
    outline: none;
}

a:hover{
	opacity: 0.7;
}

img{
    width: 100%;
    height: auto;
}

/* font*/
#g-nav,
#pc-nav,
h2,
.service-number{
    font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}

.copyright,
.scroll-down,
.copyright-sp,
.g-nav_copyright,
#footer p{
	font-family: 'Josefin Sans', sans-serif;
}

.top-lead,
.title-deco{
	font-family: 'Josefin Sans', sans-serif;
	color: transparent;
	text-stroke: 2px #fff;
	-webkit-text-stroke: 2px #fff;
}


.font-control{
	transform: rotate(0.05deg);
}

/* splash */
#splash-logo img{
    width: 30%
}

@media screen and (max-width: 540px) {
    #splash-logo img{
		width: 70%;
    }
}

/* g-nav */
.g-nav_logo{
	width: 150px;
	margin: 50px auto 100px;
}

/*pc-nav*/
.nav-container{
	display: flex;
	flex-direction: column;
	text-align: center;
}

/* common */
h1{
	width: 160px;
	margin: 20px 0 120px 30px;
}

section{
	padding: 100px 0;
	position: relative;
}

h2{
	font-size: 2rem;
	margin-bottom: 70px;
	text-align: center;
}

.title-deco{
	writing-mode: vertical-rl;
	transform: rotate( -180deg);
    font-size: 3.5rem;
    text-transform: uppercase;
    position: absolute;
	top: 200px;
	right: 0;
	line-height: 0.6;
}

@media screen and (max-width: 820px) {
	h1{
		width: 120px;
	}
	
	.title-deco{
		font-size: 3rem;
	}
}

@media screen and (max-width: 428px) {
	.title-deco{
		font-size: 2.5rem;
	}
}

/*header*/
.cake{
	position: absolute;
	bottom: 60px;
	left: 30%;
	width: 60px;
}
.copyright{
	position: absolute;
	bottom: 10px;
	left: 10px;
	line-height: 1.5;
	font-size: 0.8rem;
}

@media screen and (max-width: 820px) {
	.cake,
	.copyright{
		display: none;
	}
}

/* main-area */
.top-container{
	position: fixed;
	bottom: 0;
	padding: 0 5% 0 15%;
	top: 80px;
    left: 150px;
    width: 100%;
	height: 100vh;
}

.top-container figure{
	margin-bottom: 40px;
	width: 80%;
	max-width: 1000px;
}

.top-container figure .mv-sp{
	display: none;
}

.top-lead{
    font-size: 4.5rem;
    line-height: 1;
	position: absolute;
	top: 0;
	left: 10%
}

.top-lead span:nth-of-type(2){
	margin-left: 2rem;
}

.top-lead span:nth-of-type(3){
	margin-left: 4rem;
}

.top-copy{
	font-size: 1.2rem;
	text-align: center;
	margin-bottom: 40px;
}

.copyright-sp{
		display: none;
}

@media screen and (max-width: 1024px) {
	.top-container figure{
		width: 75%;
	}
	
	.top-copy{
		font-size: 1rem;
	}
	
	.top-lead{
		top: 20px;
	}
}

@media screen and (max-width: 820px) {
	.top-container{
		width: 100%;
		top: 0;
		left: 0;
	}
	
	.top-container figure{
		margin: 0 auto;
	}
	
	.top-lead{
		top: 120px;
	}
	
	.top-copy{
		font-size: 1rem;
		text-align: left;
		margin: 80px 0 20px 5rem;
	}
	
	.copyright-sp{
		display: block;
		position: absolute;
		bottom: 52%;
		left: 20px;
		font-size: 0.7rem;
	}
}
@media screen and (max-width: 540px) {
	.top-container{
		padding: 0 40px;
	}
	
	.top-container figure{
		width: 90%;
		margin: 0 auto;
	}
	
	.top-container figure .mv-pc{
		display: none;
	}
	.top-container figure .mv-sp{
		display: block;
	}
	
	.top-lead{
		font-size: 3rem;
		top: 150px;
		left: 10px;
	}
	
	.top-copy{
		font-size: 0.8rem;
		margin: 100px auto 20px;
	}
	
	.copyright-sp{
		bottom: 10px;
	}
}

@media screen and (max-width: 428px) {
	.top-container figure{
		width: 100%;
	}
}

.scroll-down{
  display: inline-block;
  position:absolute;
  right: 3%;
  bottom: 0;
  height: 80px;
}

.scroll-down span{
	position: absolute;
	bottom:80px;
	left: -30px;
	color: #2E2210;
	letter-spacing: 0.05em;
	text-transform: capitalize;
}

.scroll-down:after{
	content: "";
	position: absolute;
	top: 0;
	left: -5px;
	width: 1px;
	height: 50px;
	background: #2E2210;
	animation: pathmove 1.8s ease-in-out infinite;
	opacity:0;
}

@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:30px;
    opacity: 1;
  }
  100%{
    height:0;
    top:50px;
    opacity: 0;
  }
}

/*concept*/
.concept-detail{
	width: 50%;
	max-width: 520px;
	margin: 0 auto;
}

#concept p{
	margin-bottom: 20px;
}

@media screen and (max-width: 540px) {
	.concept-detail{
		width: 70%;
	}
}

/*service*/

.service-container{
	width: 50%;
	margin: 0 auto;
}

.service-box{
	max-width: 520px;
	margin: 0 auto 50px;
	padding: 0 30px;
}

.service-title{
	display: flex;
	align-items: center;
}

.service-number{
	color: #83D0D6;
	font-size: 2.5rem;
	position: relative;
	padding-right: 20px;
}

.service-number:before{
	content: "";
	width: 60px;
	height: 60px;
	border: 1px solid #83D0D6;
	border-radius: 40px;
	position: absolute;
	left: -30px;
}

@media screen and (max-width: 540px) {
	.service-container{
		width: 85%;
	}
}
/* works */
.works-container ul{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 90%;
	margin: 0 auto 100px;
}

.works-box{
	width: 35%;
	margin: 0 30px 50px;
	background-color: #fff;
	text-align: center;
}

.works-container ul::after {
	display: block;
	content:"";
	width: 35%;
	margin: 0 30px;
}

.works-detail{
	padding: 0 10px 10px;
}

.works-detail p{
	font-size: 0.8rem;
}

.works-box .client-name:after{
	content: "さま";
	margin-left: 5px;
}

.btn-works a{
	display: block;
	text-align: center;
	border: 1px solid #2e2210;
	border-radius: 10px;
	padding: 5px;
	width: 30%;
	margin: 0 auto;
}

.btn-works a:hover{
	border-color: #83d0d6;
}

@media screen and (max-width: 540px) {
	.works-box{
		width: 75%;
	}
	
	.btn-works a{
		width: 50%;
	}
}

/* profile */
.profile-container{
	display: flex;
	justify-content: center;
	width: 60%;
	margin: 0 auto;
}

#profile figure{
	margin-right: 60px;
	min-width: 200px;
}

.profile-name{
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.profile-name02{
	margin-top: -30px;
}

.profile-detail{
	width: 80%;
	font-size: 0.9rem;
	margin-top: 30px;
}

@media screen and (max-width: 1024px) {
	.profile-container{
		flex-direction: column;
	}
	
	#profile figure {
		width: 50%;
		margin-bottom: 30px;
	}
	
	.profile-detail{
		width: 100%;
	}
}

@media screen and (max-width: 540px) {
	.profile-container{
		width: 70%;
	}
}

/* contact */
#contact{
	text-align: center;
}

#contact h3{
	margin-bottom: 20px;
}

.contact-lead{
	width: 50%;
	margin: 0 auto 50px;
	text-align: left;
}

.form-list{
	width: 50%;
	margin: 0 auto;
}

@media screen and (max-width: 540px) {
	.contact-lead{
		width: 70%;
	}
	
	.form-list{
		width: 75%;
	}
}
#contact input , button , textarea , select {
	margin:0;
	padding:0;
	border:none;
	outline:none;
	background:none;
    font-size: 16px;
}

#contact .form-list input[type='text'] , 
#contact .form-list input[type='email'] , 
#contact .form-list textarea{
	width: 100%;
	background: #fff;
	border: 1px solid #2e2210;
	border-radius: 10px;
	padding: 10px;
	-webkit-appearance:none;
	   -moz-appearance:none;
	        appearance:none;
}

#contact .form-list input[type='text'] , input[type='email'] {
	height: 50px;
}

#contact input[type='submit']{
	background: #2e2210;
    color: #fff;
	border: 1px solid #2e2210;
	border-radius: 10px;
    text-align: center;
    padding: 5px 20px;
    width: 150px;
    margin: 20px auto 0;
    transition: all .3s;
}

#contact input[type='submit']:hover{
    border: 1px solid #2e2210;
	background-color: transparent;
    color: #2e2210;
} 

#contact .form-list dl{
    display: flex;
    justify-content: space-between;
	align-items: center;
    flex-wrap: wrap;
	padding:0 0 20px 0;
}

#contact .form-list dt{
    width: 100%;
	color: #2e2210;
	text-align: left;
}

#contact .form-list dd{
    width: 100%;
}

#contact .form-list textarea {
	height: 200px;
}

.required{
	font-size: 0.75rem;
	background-color: #83D0D6;
	border-radius: 20px;
	color: #fff;
	margin-left: 10px;
	padding: 0 5px;
}

/* footer */
#footer{
    padding: 50px 0 30px;
	text-align: center;
}

#footer .footer-logo{
    width: 120px;
	margin: 0 auto 20px;
}

/*thanks.html*/
.thanks-box{
	width: 50%;
	margin: 0 auto;
}

#thanks p{
	margin-bottom: 20px;
}

.btn-top>a{
	display: block;
	color: #fff;
	background-color: #83d0d6;
	text-align: center;
	border-radius: 10px;
	width: 50%;
	padding: 5px;
	margin: 80px auto;
}

@media screen and (max-width: 540px) {
	.thanks-box{
		width: 70%;
	}
}