@charset "UTF-8";


/* フォントのデフォルト値 */
html {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 16px;
}

/* フォントのデフォルト値 */
body{
  background-image: url(../image/back2.jpg);
  background-repeat: repeat;
  font-weight: normal;
  text-align: left;
  line-height: 1.2;
  color: rgb(0, 0, 0);
}




/* 起動時に写真を描画してフェードアウトする   */
#start {
  background:    #fff; 
  pointer-events: none;
	position: fixed;
  animation: fadeout-anim 1s linear forwards;
  animation-delay: 3s;
	z-index: 10;                                  /* 最初は前面に配置  */
	height: 100%;
	width: 100%;
}
/* img部分   */
#start p {      
  background-image: url(../image/p00_index/start1.jpg);                            
  background-size: cover;
  animation: fadeout-anim 2s linear forwards;
  animation-delay: 1s;
	position: fixed;
	z-index: 12;                                  /* 最初は前面に配置  */
	height: 100%;
	width: 100%;
}
@keyframes fadeout-anim {
	100% {
		opacity: 0;
	}
}




/* 横幅の設定 */
.wrapper {
  width: 1000px;
  max-width:100%;
  margin: 0 auto;
  padding: 10px;
}

/*リンクのアンダーラインを消す*/
a {
    color:#05f;
    text-decoration:none;
}


/* ヘッダー */
#headerid{
  width: 100%;
  z-index: 5;
  justify-content:space-around;
} 
.header{
  background:    rgba(50, 223, 200, 1);   
  border-bottom: 1px solid #fff;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* ロゴ */
.logo{
  display:flex;
  width : 60vw ; /* 画面幅の60％ */
  margin: 0 auto;
}

/* ハンバーガーメニュー */
#hbg {
  background-color: #1b1b1b;
}





/* ナビメニュー */
nav {
  display: flex;
  justify-content: center;
  background-color: #1ea3d7;
  padding: 10px;
  width: 100%;
  }
nav a {
  color: #fff;
  margin: 0 15px;
  }
/* マウスを当てたらアンダーライン表示になる */
  nav a:hover {
  border-bottom: 1px solid #fff;
  }


/*      通常の動画 <a> */
.video {
  background-color: aquamarine;
  position: relative;
  height: 400; 
  padding-top: 100px; 
  overflow: hidden; 
}
.video_tag {
  position: absolute;
  width: 100%;
}
/*  横一杯の動画 <a> */
.video_w {
  display: flex;            /* flexじゃないと中央寄せが効かない */
  justify-content: center;  /* 子要素を中央寄せ */
  height: 300; 
  overflow: hidden;
  z-index: 1; 
}
.video_w_tag {
  top: 0;
  height: 300px;
  width: 100%;
  object-fit: cover; /* この一行を追加するだけ！ */
}



/* ページタイトルのバナー */
.page_tytle{
  background: #c9ffee;
  border-bottom: 2px solid #1ea3d7;
  border-top:    2px solid #1ea3d7;
  padding: 10px;
  justify-content: space-around;
}

/* ブロックタイトルのバナー */
.block_tytle {
  background: #ffece9;
  border-bottom: 1px solid #f3af84;
  border-top: 1px solid #f3af84;
  padding: 5px;
  justify-content: space-around;
}

/* 枠で囲まれたテキストＢＯＸ */
.text_box{
  background: #fff6f6;
  border: 3px solid #bbb;
  border-radius: 10px;
  padding: 20px;
  justify-content: space-around;

}

/* フッター */
.footer{
  background:    #009;
  height: 60px;
  padding-top: 20px;
  justify-content:space-around;
}



/* スライドショー */
.slide-items {
  list-style: none;
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.slide-items img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transition: 10s linear transform .10s;
  object-fit: cover;
}
.slide-items .zoom {
  transform: scale(1.05);
}



@media (max-width:800px){

/* 起動時に写真を描画してフェードアウトする   */
#start {
  background:    #fff; 
  pointer-events: none;
	position: fixed;
  animation: fadeout-anim 1s linear forwards;
  animation-delay: 3s;
	z-index: 10;                                  /* 最初は前面に配置  */
	height: 100%;
	width: 100%;
}
/* img部分   */
#start p {      
  background-image: url(../image/p00_index/start2.jpg);                            
  background-size: cover;
  animation: fadeout-anim 2s linear forwards;
  animation-delay: 1s;
	position: fixed;
	z-index: 12;                                  /* 最初は前面に配置  */
	height: 100%;
	width: 100%;
}
@keyframes fadeout-anim {
	100% {
		opacity: 0;
	}
}


  /* 横幅の設定 */
.wrapper {
  width: 800px;
  max-width:100%;
  margin: 0 auto;
}

.none{
  display:  none;
}

/* ハンバーガーメニュー */
#hbg {
  position: fixed;
  top: 0px;
  right: 5px;
  width: 44px;
  height: 44px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
}
#hbg span {
    display: block;
    background-color: #fff;
    width: 36px;
    height: 2px;
    transition: all 0.5s ease;
  }
  #hbg.on span {
    background-color: #fff;
  }
  #hbg.on span:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
  }
  #hbg.on span:nth-of-type(2) {
    transform: scale(0);
  }
  #hbg.on span:nth-of-type(3) {
    transform: translateY(-12px) rotate(-45deg);
  }
  nav {
    flex-direction: column;
    align-items: center;
    padding: 0px 0;
    margin-left: 25%;
    position: fixed;
/*    transition: all 0.5s ease;
    top: -500px;*/
    width: 50%;
    top: 0;
    transform-origin: center;
    transform: scale(.5);
    transition: all .3s ease;
    pointer-events: none;
    opacity: 0;
  }
  nav.on {
    top: 0;
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.0);
    z-index: 5;
  }
  nav a {
    margin: 15px auto;
  }
}

/* CONTACT FORM  */
#contact{
  background-color: #c9ffee;
  min-height:100vh;
}
form div {
  margin-bottom: 14px;
}
label{
  font-size: 1.125rem;
  margin-bottom:10px ;
  display:block;
}
input[type="text"],
input[type="email"],
textarea{
  background: rgba(50, 223, 200, 1);
  border:ipx #fff solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 11ram;
}

input[type="text"],
input[type="email"]{
  width: 100%;
  max-width:240px
}
textarea{
  width: 100%;
  max: width 480px;
  height:6rem;
}

input[type="submit"]{
  border: none;
  cursor:pointer;
  line-height:1;
}
