@charset "utf-8";
/*======================================================================*/
/*index.html
/*======================================================================*/
/*------------------------------------------*/
/*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
/*------------------------------------------*/
main.contents {
  margin-bottom: 80px;
}
main.contents section h1 {
  width: 160px;
  margin: 60px auto 0;
  text-align: center;
  font-size:  2.4rem;
  border-bottom: solid 5px yellow;
}
main.contents .about_area {
  margin-top: 80px;
  display: table;
  overflow: hidden;
  text-align: center;
}
main.contents .about_area .portrait {
  max-width: 150px;
  display: table-cell;
  vertical-align: top;
}
main.contents .text_area {
  width: 78%;
  padding-left: 3vw;
  overflow: hidden;
  display: table-cell;
  vertical-align: top;
  text-align: left;
}
main.contents .text_area h2 {
  margin: 30px 0 20px;
  font-family: 'Advent Pro', sans-serif;
  font-weight: bold;
}
main.contents .text_area p {
  line-height: 1.7;
  font-size: 1.4rem
}
main.contents .text_area dl {
  overflow: hidden;
}
main.contents .text_area dl dt {
  width: 52px;
  margin-right: 20px;
  float: left;
}

/*------------------------------------------*/
/*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 section h1 {
    margin: 40px auto 0;
  }
  main.contents .about_area {
    margin-top: 60px;
  }
  main.contents .about_area .portrait {
    margin: 0 auto;
    display: block;
    vertical-align: top;
  }
  main.contents .text_area {
    width: 100%;
    margin-top: 30px;
    padding-left: 0;
    display: block;
    text-align: justify;
  }
  main.contents .text_area dl dd {
    font-size: 1.2rem
  }
}
