@charset "utf-8";
/*======================================================================*/
/*index.html
/*======================================================================*/
.hide { display: none;}
/*------------------------------------------*/
/*header
/*------------------------------------------*/
header .inner {
  padding: 50px 20px;
  display: table;
}
header h1 {
  float: left;
}
header h1 a {
  color:#333;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
header h1 a:hover {
  opacity: 0.6;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
/*----------------header nav----------------*/
header nav {
  margin-top: 10px;
  float: right;
}
header nav ul {
  display: flex;
}
header nav ul li {
  margin-left: 2vw;
  display: inline-flex;
  font-weight: bold;
}
header nav ul li:first-child {
  margin-left: 0;
}
header nav ul li a {
  padding: 2px 2.8vw 3px;
  color:#333;
  font-size: 1.4rem;
  text-decoration: none;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
header nav ul li .active {
  background-color: #777;
  color: #fff;
}
header nav ul li a:hover {
  background-color: #777;
  color: #fff;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

/*------------------------------------------*/
/*contents
/*------------------------------------------*/
/*----------------contents nav----------------*/
main.contents {
  margin-bottom: 80px;
}
main.contents nav {
  margin: 30px auto 50px;
}
main.contents nav ul {
  text-align: center;
}
main.contents nav ul li {
  margin-left: 2vw;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
main.contents nav ul li:first-child {
  margin-left: 0;
}
main.contents nav ul li a {
  padding: 2px 20px 3px;
  color:#333;
  font-size: 1.4rem;
  text-decoration: none;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
main.contents nav ul li .active {
  background-color: #777;
  color: #fff;
}
main.contents nav ul li a:hover {
  background-color: #777;
  color: #fff;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
main.contents section h1 {
  width: 160px;
  margin: 60px auto 0;
  text-align: center;
  font-size:  2.4rem;
  border-bottom: solid 5px yellow;
}
main.contents .web-works,
main.contents .other-works,
main.contents .logo-works {
  margin-top: 120px;
  overflow: hidden;
}
main.contents #works-01 {
  margin-top: 40px;
}
main.contents .web-works a,
main.contents .other-works a,
main.contents .logo-works a {
  color:#333;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
main.contents .web-works a:hover,
main.contents .other-works a:hover,
main.contents .logo-works a:hover {
  opacity: 0.6;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
main.contents .text_area {
  margin-top: 10px;
  overflow: hidden;
}
main.contents h2 {
  float: right;
  font-size: 1.4rem;
}
main.contents dl {
  float: left;
}
main.contents dl dt,
main.contents dl dd {
  line-height: 1.7;
}
main.contents dl dt {
  font-weight: bold;
}
main.contents dl dd {
  font-size: 1.4rem
}
main.contents .oncolor {
  background-color: #777;
  color: #fff;
}

/*------------------------------------------*/
/*footer
/*------------------------------------------*/
footer {
  width: 100%;
  padding: 8vh 0 2vh;
}
footer .copyright {
  padding: 5px 0;
  text-align: center;
  font-size: 1.2rem
}

/*------------------------------------------*/
/*page_top_button
/*------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 70%;
	font-weight:800;
}
#page-top a {
	background: #fff;
  opacity: 0.5;
	text-decoration: none;
	color: #333;
	width: 80px;
	padding: 20px 0;
	text-align: center;
	display: block;
  border: solid 1px #777;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
  opacity: 0.3;
}


/*======================================================================*/
/*width:~500px
/*======================================================================*/
@media screen and (max-width:600px) {
  /*------------------------------------------*/
  /*header
  /*------------------------------------------*/
  header h1 {
    float: none;
    text-align: center;
  }
  header nav {
    float: none;
  }
  header nav ul {
    display: flex;
    justify-content: center;
  }
  /*------------------------------------------*/
  /*contents
  /*------------------------------------------*/
  main.contents nav {
    margin: 0 auto;
  }
  main.contents section h1 {
    margin: 40px auto 0;
  }
  main.contents .web-works,
  main.contents .other-works,
  main.contents .logo-works {
    margin-top: 60px;
  }
  main.contents h2 {
    display: none;
  }
  main.contents dl dd {
    font-size: 1.2rem
  }
}
