@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 
=====================*/

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

/*==================
        main 
===================*/
.wrapper {
	width: 100%;
	margin: 0 auto 80px auto;
	padding: 0 3%;
	
}
.main_title h2, h3{
	text-align: center;
	margin: 20px 0 40px 0;
	font-size: calc(1vw + 0.8rem);
	color: #2B2B2B;
	font-weight: 600;
}
.main_title h3 {
	font-size: calc(0.8vw + 0.6rem);
	color: #4D4D4D;
}
#main {
	margin: 0 auto;
	max-width: 960px;
	height: auto;
}
#maintop {
	border: 1px solid #606060;
}

#maintop img {
	width: 100%;
	max-width: 960px;
	height: auto;
}
.main_text {
	margin-top: 5%;
}

.main_text p img {
	width: 15px;
	height: 12px;
	vertical-align:inherit;
}
.main_text p {
	font-size: calc(0.5vw + 0.7rem);
	color: #1A1A1A;
	font-weight: 800;
	line-height: 2;
}
.main_text a{
	color: #226FB0;	
}
.main_text dl {
	font-size: calc(0.5vw + 0.6rem);
	color: #4D4D4D;
}
.main_text dt{
	color: #313131;
	font-weight: 600;
	margin: 3% 0 1% 0;
}
.main_text dd {
	margin-left: 2%;
	color: #333333;
}

.sec-title {
	margin: 8% 0;
}
#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 {
	max-width: 600px;
	height: 50px;
	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
}
/* HOME ボタン */
#back-home {
	margin: 100px auto 80px auto;
	text-align: center;
}
#back-home a {
	display:inline-block;
	font-size: 1.3rem;
	border-radius: 5px;
	padding: 0 50px;
	line-height: 55px;
	background-color: rgba(255,255,255,1.00);
	box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 3px;
	color: #2B2B2B;
} 
#back-home a:hover {
	transition: 0.7s;
	opacity: 0.5;
	background-color: #FFFFFF;
	color: #C8C8C8
}
/* フッター  */
.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) {
	.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;
	}
}
	
@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) {
	.nav-fast {
		float: left;	
	}
	.footer ul li {
		line-height: 48px;
	}
}

@media screen and (max-width: 860px) {
	.header {	
		margin-top: 10px;
		padding: 0 3%;
		height: 80px;
	}
	.button {
		max-width: 600px;
		margin: 0 auto;
	}
	.button a {
		padding: 0 45px;
		line-height: 45px;
	}
	#back-home a {
		font-size: 0.9rem;
		padding: 0 40px;
		line-height: 40px;
	}
	.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 img.icon {
		width: 30px;
		margin-top: 15px;	
	}
	
	.button-next a {
		border-radius: 38px;
		padding: 0 60px;
		line-height: 45px;
	} 	
	.footer li {
		font-size: 0.8rem;
	}

}
	
	
	