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


/*
@import url('https://fonts.googleapis.com/css2? family= Josefin+Sans & display=swap');
*/

h2, #header{
	font-family: 'Josefin Sans', sans-serif;
}

*{
	margin: 0;
	padding: 0;
}

html{
	font-size: 100%;
}
h2,ul,li,dl,h3,p{
	color: #2E77B8;
}
img{
	max-width: 100%;
}
li{
	list-style: none;
}
a{
	text-decoration: none;
	display: block;
}
h3{
	padding: 30px;
	text-align:center;
}
.wrapper{
	max-width: 960px;
	margin: 0 auto 130px auto;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	padding: 0 4%;
	line-height: 1.5rem;
	text-align: center;
}

.site-title{
	line-height: 1px;
}
.site-title a{
	display: block;
}
.section-title{
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 65px;
}

#header{
	max-width: 960px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 230px;
	margin: 0 auto;
	padding: 0 4%;
}
#header ul{
	display: flex;
	padding: 10px 0;
}
#header li{
	font-size: 0.9rem;
	margin-left: 30px;
}
#header li a{
	color: #2E77B8;
}
li a:hover{
	opacity: 0.7;
}
#header .icon{
	width: 20px;
}
#drawer_input[type="checkbox"] {
display: none;
}

#mainvisual{
	margin-bottom: 80px;
}
#mainvisual img{
	width: 100%;
	max-width: 1920px;
	height: 420px;
	object-fit: cover;
}

#about .content{
	display: flex;
	justify-content: center;
	align-items: center;
}


#about .content{
		flex-direction: column;
	}

#about img{
		margin: 0;
	max-width: 300px;
	}


.icon img{
	width: 20%;
    height: auto;
	max-width: 80px;
	max-height: 80px;
}

.icon p{
	margin: 10px auto 30px auto;
	width: 80%;
	text-align: left;
}

.icon{
	display: flex;
	margin: 20px auto 20px auto;
}



#about ul{
	display: flex;
	justify-content: center;
}



.content{
	display: flex;
	justify-content: center;
	align-items: center;
}
/*
.content img{
	width: 100px;
	height: 100px;
	border-radius: 50%;
	margin-right: 30px;
}
*/
.content .text{
	text-align: left;
}


#contact .content{
	display: block;
}


.contact{
	margin-top: 30px;
}




#works ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 50px;
}
#works li{
	width: 31%;
	margin-bottom: 23px;
}


#footer{
	color: #2E77B8;
	font-size: 0.5rem;
	padding: 10px 20px;
	text-align: center;
}

@media screen and (max-width:600px){
	.wrapper{
		margin-bottom: 70px;
	}
	.site-title{
		margin-top: 20px;
	}
	.section-title{
		margin-bottom: 40px;
	}
	
	#header{
		max-width: 100%;
		height: auto;
/*		flex-direction: column;*/
	}
	#about img{
		margin: 0;
	}

	#works ul{
		flex-direction: column;
	}
	#works li{
		width: 100%;
	}
	#contact dl{
		flex-direction: column;
	}
	#contact dt{
		width: 100%;
	}
	#contact dd{
		width: 100%;
	}
	#about ul{
		display: flex;
		flex-wrap: wrap;
	}
		
	
.header {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #fff;
  position: relative;
}


.header-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1600px;
  padding: 0.5rem 1rem;
}

	
.icon{
		display: block;
	}	
	

.burger-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  z-index: 9999;
}

.burger-btn > span {
  display: block;
  border-radius: 3px;
  position: absolute;
  left: 50%;
  width: 30px;
  height: 2px;
  background-color: #2E77B8;
  transform: translateX(-50%);
}

.burger-btn > span:first-child {
  top: 10px;
}
.burger-btn > span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.burger-btn > span:last-child {
  bottom: 10px;
}

.burger-btn.active > span:first-child {
  transform: translate(-50%, 10px) rotate(-45deg);
  transition: transform 0.3s ease;
}
.burger-btn.active > span:nth-child(2) {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.burger-btn.active > span:last-child {
  transform: translate(-50%, -8px) rotate(45deg);
  transition: transform 0.3s ease;
}


.global-nav ul {
  display: flex;
  list-style: none;
  padding-left: 0;
}
.global-nav ul li {
  padding-left: 1rem;
}
.global-nav ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.global-nav ul li a:hover {
  color: blue;
}


  .burger-btn {
    display: block;
  }
  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 3rem 1rem 1rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .global-nav.active {
    visibility: visible;
    opacity: 1;
  }


  .global-nav ul {
    flex-direction: column;
  }
  .global-nav ul li {
    padding-top: 2rem;
    padding-left: 0;
  }
}


