@charset "utf-8";
/* CSS Document */

/* micro clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
	clear: both;
}
.cf {
	*zoom: 1;
}
/* スクロールバー　*/
::-webkit-scrollbar {
	width: 12px;
  	height: 10px;
}
::-webkit-scrollbar-thumb {
  	background: rgba(219,219,219,1.00);
  	border-radius: 5px;
	border: solid 1px rgba(147,147,147,0.71);
}
html {
	font-size: 100%;  /* 16px */
	scroll-behavior: smooth;
}
body {
	color: #282A2D;
	font-family: "Sawarabi Gothic";
}
h1 a {
	font-size: 3rem;
}
a {
	text-decoration: none;
}
p {
	font-size: 1.3rem;	
}
img {
	max-width: 100%;
}
li {
	list-style: none;
	font-size: 1.2rem;
}

/* ====================
		haeder 
=====================*/

.site-title {
	line-height: 1px;
	font-weight: 600;
	font-size: 2.4rem;
}
.header {
	max-width: 1780px;
	padding: 0 5%;
	height: 140px;
	margin: 0 auto;
}
#header-top {
	margin-top: 3%;
	margin-bottom: 15px;
	display:flex;
	justify-content: space-between;
	border-bottom:  solid 1px #282A2D;
}
#header-top a {
	color: #24292e;
}
.header nav ul {
	display:flex;	
}
.header ul li {
	font-size: 1.2rem;
	width: 300px;
	height: 48px;
}
.header ul li a {
	color: #24292e;
	transition: all 0.3s;
	display: block;
	text-align: center;
}
.header ul li a:hover {
	transition: 0.7s;
	opacity: 0.5;
	color: #B4B4B4;
}
.header img.icon {
	width: 45px;
} 
.header img:hover {
	transition: 0.6s;
	opacity: 0.3;
	color: #9F9F9F;
}

/*==================
        main 
===================*/

#main {
	margin-bottom: 40px;
	position: relative;
}
#main img {
	width: 100%;
	max-width: 1920px;
	max-height: 400px;
	object-fit: cover;
}
#main h2 {
	position: absolute;
	left: 35%;
	top: 14%;
	font-size: calc(2vw + 1rem); 
	font-family: 'Bad Script', cursive;
	font-weight: 300;
	letter-spacing: 1px;
	color: #3660EC;
}
#main p {
	position: absolute;
	left: 23%;
	top: 28%;
	font-size: calc(2.8vw + 1rem); 
	color: #4B4B4B;
	font-weight: 900;
	letter-spacing: 5px;
}
.wrapper {
	max-width: 1280px;
	margin: 0 auto 40px auto;
	padding: 0 4%;
}
.sec-title {
	text-align: center;
	margin: 80px 0 ;
	font-weight: 100;
}
#works h2 {
	font-size: calc(1.3vw + 0.8rem);
}
#works ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#works ul li img {
	cursor: pointer;
	transition: all 0.5s ;
	border: solid 1px rgba(92,92,92,0.3)
}
#works ul li img:hover {
	transform: scale(1.1, 1.1);
	opacity: 0.7;
}

/* 画像１つ非表示 */
.sp {
	display: none !important;
}

/* ============
	button
==============*/
.button {
	max-width: 600px;
	height: 100px;
	margin: 0 auto 80px auto;
	text-align: center;
}
 	
.button a {
	display:inline-block;
	font-size: calc(0.6vw + 0.8rem);
	border-radius: 28px;
	padding: 0 65px;
	line-height: 60px;
	background-color: rgba(255,255,255,1.00);
	box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 3px;
	color: #2B2B2B;
} 
.button a:hover {
	transition: 0.7s;
	opacity: 0.5;
	background-color: #FFFFFF;
	color: #C8C8C8
}

/* ============
	footer
===============*/
.footer {
	max-width: 1380px;
	height: 52px;
	margin: 0 auto;
	padding: 0 5%;	
}
.footer nav ul{
	display: flex;	
}
.footer ul li {
	font-size: 1.2rem;
	width: 300px;
	height: 48px;
}
.footer ul li a {
	color: #24292e;
	transition: all 0.3s;
	display: block;
	text-align: center;
}
.footer ul li a:hover {
	transition: 0.7s;
	opacity: 0.5;
	color: #B4B4B4;
}
#footer-last  {
	width: 100%;
	background-color:#FFFFFF;
	line-height: 80px;
	text-align: center;
	border-top: solid 1px #24292E;
}
#footer-last p {
	color: #24292E;
	font-size: calc(0.8vw + 0.6rem);	
}

/* ===============
	home戻る矢印
=================*/

.pagetop {
    height: 40px;
    width: 40px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: rgba(255,255,255,0.6);
    border: solid 2px #4A4A4A;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #4A4A4A;
    border-right: 3px solid #4A4A4A;
    transform: translateY(20%) rotate(-45deg);
}

@media screen and (min-width: 1381px) {
	
	.header ul li a {
		line-height: 48px;
	}
	.header nav {
		float: right;	
	}
	.nav-fast {
		float: left;	
	}
	.footer nav {
		float: right;
	}
	.footer ul li a {
		line-height: 48px;
	}
}

@media screen and (min-width: 1081px){
	#works ul li {
		width: 31%;
		margin-bottom: 23px;
	}	
}
@media screen and (max-width: 1080px){
	#works ul li {
		width: 48%;
		margin-bottom: 18px;
	}
		.sp {
		display: block !important;
	}
		.wrapper {
		padding: 0 3%;
	}
}
	
@media screen and (min-width: 861px) and (max-width: 1080px) {	
	
	.footer {
		padding: 0 10%;	
	}
	.footer nav ul li {
		width: 200px;
	}	
}

@media screen and (min-width: 1081px) and (max-width: 1380px) {
	.footer {
		padding: 0 10%;	
	}
	.footer nav ul li {
		width: 260px;
	}
}
@media screen and (min-width: 861px) and (max-width: 1380px) {
	
	.header nav {
		float: right;	
	}
	.nav-fast {
		float: left;	
	}
	.header nav ul li {
		width: 220px;
		line-height: 48px;
	}
	#main h2 {
		left: 35%;
		top: 16%;	
	}	
	#main p {
		left: 23%;
		top: 29%;	
		letter-spacing: 3px;	
	}
	.footer ul li {
		line-height: 48px;
	}
}
@media screen and (max-width: 860px) {
	
	.header {	
		margin-top: 10px;
		padding: 0 3%;
		height: 150px;
	}
	.header ul li {
		width: 380px;
		height: 38px;
		line-height: 2;
	}
	.sec-title {
		margin: 40px 0 50px 0 ;
	}
	#main {
		margin-bottom: 40px;
	}
	#main h2 {
		left: 35%;
		top: 17%;
		font-size: calc(2.0vw + 0.8rem);
	}	
	#main p {
		left: 21%;
		top: 29%;	
		letter-spacing: 1.5px;	
	}
	.button {
		max-width: 600px;
		margin: 0 auto;
		text-align: center;
	}
	.button a {
		padding: 0 45px;
		line-height: 45px;
	} 
	.footer {
		padding: 0 3%;
		height: 80px;
	}
	.footer ul li {
		width: 380px;
		height: 38px;
		line-height: 2;
	}
}
	
@media screen and (max-width: 680px) {
	
	h1 a {               /* logo＆sns サイズ */
		font-size: 2rem;
	}
	.header li {
		font-size: 0.8rem;
	}	
	.header img.icon {
		width: 30px;
		margin-top: 15px;	
	}
	#main h2 {
		font-size: calc(2.2vw + 0.8rem);
		left: 32%;
		top: 15%;
	}
	#main p {
		left: 20%;
		top: 28%;
		font-size: calc(2.5vw + 1rem); 
		letter-spacing: 1px;	
	}
	.button-next a {
		border-radius: 38px;
		padding: 0 60px;
		line-height: 50px;
	} 	
	.footer li {
		font-size: 0.8rem;
	}
}

@media screen and (max-width: 600px) {
	
	#main h2 {
		left: 40%;
		top: 26%;
	}
	#main p {
		left: 18%;
		top: 35%;
		font-size: calc(2.5vw + 1.2rem); 
		letter-spacing: 1px;	
	}
}
	
	
	
	