@charset "utf-8";

body {
	margin: 0;
	padding: 0;
	background-color: #cccccc;
	color: #333333;
	font-size: 15px;
	line-height: 2;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
}

img {
	vertical-align: bottom;
}

ul {
	margin: 0;
	padding: 0;
}

a {
	color: #3583aa;
	text-decoration: none;
}

a:visited {
	color: #788d98;
}

a:hover {
	text-decoration: underline;
}

header {
	width: 960px;
	height: 100px;
	margin: 0 auto;
}

.logo {
	float: left;
	margin-top: 50px;
}

.global-nav {
	float: right;
	margin-top: 60px;
}

.global-nav li {
	float: left;
	margin: 0 20px;
	font-size: 20px;
	list-style: none;
	font-family: 'Bitter', serif;
}

.global-nav li a {
	color: #ffffff
}

.global-nav li a:hover {
	border-bottom: 2px solid #ffffff;
	padding-bottom: 3px;
	text-decoration: none;
}

#wrap {
	clear: both;
	background-color: #ffffff;
	margin-top: 220px;
	padding: 35px 0;
}

.content {
	width: 960px;
	margin: 0 auto;
}

footer {
	text-align: center;
	color: #ffffff;
	padding: 20px 0;
	background-color: #767671;
}


footer small {
	font-size: 12px;
}

#index h1 {
	font-size: 90px;
	line-height: 1;
	color: #ffffff;
	font-family: 'Bitter', 'serif';
	margin-bottom: 50px;
	border: none;
}

#index .content {
	margin-top: 150px;
}

#index p {
	font-size: 16px;
	color: #ffffff;
}

#about h1 {
	font-size: 90px;
	line-height: 1;
	color: #ffffff;
	font-family: 'Bitter', 'serif';
	margin-bottom: 50px;
	border: none;
}

#about .content {
	margin-top: 150px;
}

#about p {
	font-size: 22px;
	color: #ffffff;
}

.btn a {
	background-color: #009cd3;
	color: #ffffff;
	font-size: 20px;
	font-family: 'Bitter', 'serif';
	width: 185px;
	display: block;
	text-align: center;
	line-height: 50px;
	margin-top: 20px;
	border-radius: 5px;
	border: 3px solid #009cd3;
}

.btn a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #009cd3;
}

#index footer {
	width: 960px;
	margin: 150px auto 0 auto;
	text-align: left;
	background-color: transparent;
}

#about footer {
	width: 960px;
	margin: 150px auto 0 auto;
	text-align: left;
	background-color: transparent;
}

#index {
	background-image: url(../images/bg-index-b.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}

#about {
	background-image: url(../images/nature.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}

.main-center {
	width: 940px;
	margin: 0 auto;
}

h1 {
	font-family: 'Bitter', 'serif';
	font-size: 36px;
	border-bottom: 1px solid #cccccc
}

h2 {
	font-family: 'Bitter', 'serif';
	font-size: 24px;
}

.icon:before {
	content: "";
	padding-right: 10px;
	border-left: 7px solid #9cb4a4;
}


.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

section {
	margin-bottom: 35px;
}


#index #wrap {
	background-color: transparent;
	margin-top: 0;
	padding: 0;
}

#about #wrap {
	background-color: transparent;
	margin-top: 150px;
	padding: 0;
}

#portfolio {
	background-image: url(../images/bg-portfolio-b.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	background-size: 100% auto;
}

.main {
	width: 700px;
	margin: 0 10px;
	float: left;
}

.sidebar {
	width: 200px;
	margin: 0 10px 0 30px;
	float: right;
	font-family: 'Bitter', 'serif';
}

a img:hover {
	opacity: 0.8;
}

sidebar h2 {
	margin-bottom: 10px;
}

.sidebar ul {
	font-size: 16px;
	margin-left: 20px;
}

.sidebar ul a {
	color: #333333;
}

#designworks {
	background-image: url(../images/bg-works.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	background-size: 100% auto;
}

/*
#designworks .designworks-list li {
	float: left;
	list-style: none;
	margin: 0 20px 15px 0
}
*/

/*
#designworks .designworks-list li:nth-child(3n) {
	margin-right: 0;
}
*/

.main .grid {
	max-width: 700px;
	display: grid;
	/*	column-gap: 40px;*/
	grid-gap: 40px;
	grid-template-columns: repeat(2, minmax(240px, 1fr));
	margin-bottom: 50px;
}

.main .item img {
	width: 330px;
	height: 200px;
	object-fit: cover;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
	transition: .3s;
	border-radius: 5px;
}

.main .item img:hover {
	transform: scale(1.1,1.1);
	box-shadow: 0px 15px 10px rgba(0, 0, 0, 0.2);
}


.main .grid p {
	text-align: center;
	width: 325px;
	padding-top: 15px;
}

#contact {
	background-image: url(../images/bg-contact-b.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	background-size: 100% auto;
}

#contact .icon {
	font-size: 30px
}

/*****************************************************************************************************************************************************************/

@media screen and (max-width:600px) {
	/*	画面サイズが600px以下の場合に適用*/

	body {
		font-size: 3.5vw;
	}

	h1 {
		font-size: 7.2vw;
	}

	h2 {
		font-size: 6vw;
	}

	header {
		width: auto;
		margin: 0 5%;
	}

	.logo {
		float: none;
		margin-top: 60px;
		text-align: center;
	}

	.global-nav li {
		display: inline;
		float: none;
		margin: 0 8px;
	}

	#wrap {
		margin-top: 40px;
		padding: 35px 0 0;
	}

	.content {
		width: 100%;
	}

	.main {
		float: none;
		width: auto;
		margin: 0 5%;
	}

	h2 img {
		max-width: 100%;
	}

	.sidebar {
		width: auto;
		float: none;
		margin: 0;
		padding: 30px 10% 10px;
		background-color: #f7f6f4;
	}

	#index {
		background-image: url(../images/bg-index-sp.jpg);
	}

	#index h1 {
		font-size: 8vw;
		line-height: 11vw
	}

	#index p {
		font-size: 3.5vw;
		margin-right: 5%
	}

	#index .content {
		margin: 40vw 5% 0;
	}

	#index .btn {}

	#index .btn a {
		width: 338px;
		margin-top: 10vw
	}


	#index footer {
		width: auto;
		margin: 15vw 5% 0;
	}
	
	.main .grid {
		display: grid;
		/*	column-gap: 40px;*/
		grid-gap: 11vw ;
		grid-template-columns: repeat(1, minmax(240px, 1fr));
	}
	
	.main .grid p {
		margin: 5vw auto 0;
	}
	
	.main .item{
		text-align: center;
	}
	
	#designworks img:hover{
		transform: scale(1.1,1.1);
	}
	#designworks h1{
		text-align: center;
	}
	
	#designworks .sidebar{
		text-align: center;
	}
	
	#designworks li{
		list-style: none;
	}
	
	#designworks h2{
		margin: 0;
	}
	
	#designworks .icon{
		margin-bottom: 40px;
	}
	
	#about {
		background-image: url(../images/nature-sp.jpg);
		background-repeat: no-repeat;
		background-position: center center;
		background-attachment: fixed;
		background-size: cover;
	}
	
	#about .content{
		margin:0 0 0 5%;
		width: 95%;
	}
	#about h1{
		font-size: 15vw
	}

	#about footer {
		width: 95%;
		margin: 15vw auto 0 5%;
		text-align: left;
	}


	#contact {
		background-image: url(../images/bg-contact-b.jpg);
		background-repeat: no-repeat;
		background-position: center center;
		background-attachment: fixed;
		background-size: cover;
	}
	
	#contact .main-center{
		width: 100%;
	}
	
	#contact .icon{
		margin: 0 0 0 5%;
	}
	
	
