@charset "UTF-8";
/* common */
html{
  height: 100%;
}
body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
}
  h1,
  h2{
  margin: 0;
  font-weight: normal;
}
p{
  margin: 0;
}
img{
  vertical-align: bottom;
}
.container{
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 16px;
  flex: 1;
  margin-bottom: 10px;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
  color: inherit;
  transition: opacity .3s;
}
a:hover{
  opacity: 0.5;
}
/* header */
.wrapper{
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.9);
 height: 40px;
}
header .contents{
  
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 8px 0;

  z-index: 1;
  width: 100%;
  max-width: 1280px;
  align-items: center;
}
.logo_area{
	display: flex;
}
.logo_area img{
  height: 20px;
  padding-left: 1em;
}
.logo_area h1{
	font-size:10px;
	padding-top: 5px;
	padding-left: 5px;
}
/* hamburger */
.hamburger{
  width: 20px;
  height: 15px;
  position: relative;
right: 1em;
  z-index: 5;
  user-select: none; 
}
.hamburger img{
  position: absolute;
  top: -5px;
  right: 20px;
  width: 100px; 
  transition: opacity .3s;
}
.hamburger img:hover{
  opacity: 0.6;
  
}
.hamburger span{
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: blue;
  transition: .5s;/* 追記 */
}
.hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
  top: 0;
}
.hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
  top: 50%;
}
.hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
  top: 100%;
}
.hamburger.active{
  transition: opacity .8s;
}
.hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
  top: 50%;
  transform: rotate(45deg);
}
.hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
  opacity: 0;/* 透明にする */
}
.hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
  top: 50%;
  transform: rotate(-45deg);
}
/* nav */
nav{
  box-sizing: border-box;
  background: #fff; 
}
nav ul li+li{
	padding-top: 8px;
}
nav img {
	width: 100%;
}
/* hero */
.hero .video{
  width: 100%;
  height: 250px;
  object-fit: cover;
}
/* wrap */
.wrap {
  background-image: url("../img/photo1.jpg");
	background-repeat:  no-repeat;  
	background-position:center bottom;
	background-size:contain;
	height:400px;
	margin: 0 auto;
  padding-top:30px;
  text-align: center;
}
.wrap p {
  font-size: 14px;
  display: inline-block;
  text-align: left;
  line-height: 1.8;
}
.wrap2 {
	background-image: url("../img/jyou.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: contain;
	height: 600px;
  padding-top: 20px;
}
.wrap3 {
  background-image: url("../img/photox.jpg");
	background-repeat:  no-repeat;  
	background-position:center bottom;
	background-size:contain;
	height:300px;
	margin: 0 auto;
  padding-top:30px;
  text-align: center;
}
.wrap3 p {
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
  display: inline-block;
  text-align: left;
}
.summary {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 auto;
}
th {
	width: 20%;
	vertical-align: top;
	text-align: left;
	font-family: Verdana, Geneva, "sans-serif";
	font-weight: bold;
}
/* footer */
td {
	width: 80%;
	padding-left: 10px;
	text-align: left;
}
footer{
  width: 100%;

  background: #aaa;
  padding: 16px 0;
  color: #fff;
}
footer .contents{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
footer small{
  font-size: 10px;
}
footer ul li{
  font-size: 10px;
}
/* ふわっとロード */
.load-fade {opacity : 0; transition : all 2s/*処理にかかる時間*/;}
.load-up{opacity: 0; transform: translateY(100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.load-up.done, .load-fade.done{opacity : 1; transform : translate(0, 0);}

/* .slide-menu.active{
  transform: translateX(0);
} */

/* .global_nav */
.global_nav {
  position: fixed;
  background-color:rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  z-index: 3;
  padding: 10px 0;
  transition: all 0.8s;
}
.global_nav ul {
text-align: center;
margin:0 auto;
}
.global_nav .nav_li {
  list-style-type: none;
  text-decoration:none;
line-height:3;
}
.global_nav .nav_li a {
  display: block;
  color: #fff;
 list-style-type: none;
  text-decoration:none;
}
/* .global_navに.activeが追加 */
.global_nav.active {
  transform: translateY(0%);
}
@media (min-width: 600px){
  .wrapper{
    height: 50px;
  }
.container{
   display: flex;  
   flex: 1;
   margin-bottom: 0;
  
}
.logo_area img{
  height: 25px;
}
.logo_area h1{
  font-size:18px;
  padding-top: 1px;
  padding-left: 10px;
}
.hero .video{
  width: 100%;
  height: 400px;
  object-fit: cover;
}
nav {
  width: 30%;
  padding: 20px 20px;
  background: -moz-linear-gradient(top,#eee,, #FFF);
  background: -webkit-linear-gradient(top, #eee,, #FFF);
  background: linear-gradient(to bottom, #eee, #FFF);
}
main {
  flex: 1;
}
.wrap {
  height: 800px;
  background-size: cover;
} 
.wrap p{
  font-size: 20px;
}
.wrap2 {
  height: 800px;
  background-size: cover;
} 
.wrap3 {
  height: 600px;
  background-size: cover;
} 
.wrap3 p {
  font-size: 20px;
}
.summary {
	font-size: 18px;
}
footer small{
  font-size: 16px;
}
footer ul li{
		font-size: 16px;	
}
 .hamburger{
  width: 40px;
  height: 22px;
  position: relative;
  z-index: 5;
  user-select: none; 
}
 .hamburger img{
  position: absolute;
  top: -10px;
  right: 45px;
  width: 180px;
}

@media (min-width: 800px){
.hero .video{
  width: 100%;
  height: 550px;
  object-fit: cover;
}
}