@charset "utf-8";

/*----------------------header----------------------*/

header {
  height: 90px;
  width: 100%;
  background-color: rgba(255, 255, 255, 255);
  position: fixed;
  top: 0;
  z-index: 12;
  display: flex;
  font-family:'Roboto'、sans-serif;
}

.logo {
  font-size: 25px;
  width: 300px;
  margin-top: 10px;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
    margin: 5px 0 0 auto;
	font-size: 20px;
}

header a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  line-height: 60px;
  padding: 0px 20px;
}

.sm {
  display: none;
}

.pc {
  margin: 20px 25px 0 auto;
  width: auto;
}
.pc2{
    width: 200px;
    text-align: center;
    padding: 15px 0 21px 0;
  background: rgb(0, 9, 136);
  font-size: 15px;
}


/* 親メニュー */
nav ul li {
  position: relative;
  float: left;
  /*width: 100%;*/
  height: 40px;
  background: #fff;
font-size: 18px;
}
nav ul li a {
  display: block;
  line-height: 40px;
  color: #111;
  padding-bottom: 25px;
}
nav ul li a:hover {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border-bottom:  solid 1px rgb(121, 121, 121);
}
/* 子メニュー */
nav ul li ul {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  width: 100%;
  display: block;
  margin-top: 35px;
}
nav ul li ul li {
  overflow: hidden;
  width: 170%;
  height: 0;
  background: rgb(33, 0, 124);
  color: #000;
}
nav ul li ul li a {
  display: block;
  color: rgb(255, 255, 255);
  padding: 10px;
}
/* ホバーで子メニュー表示 */
nav > ul > li:hover > a {
  height: 40px;
  background: #ffffff;
  color: rgb(0, 0, 0);
}
nav > ul > li:hover > a > ul {
  color: #ffffff;
}
nav > ul > li:hover li:hover > a {
  background: rgb(255, 255, 255,0.55);
  padding-bottom: -20px;
}
nav ul li:hover > ul >li {
  overflow: visible;
  height: 40px;
  padding-bottom: 20px;
  width: 290px;
  color: #ffffff;
}


.main_imgBox {
  height: 780px;
  width: 100%;
  overflow: hidden;
  position: relative; 
}

.main_img {
  z-index:10;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 36s 0s infinite;
  animation: anime 36s 0s infinite; }

  .main_img:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s; }

  .main_img:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s; }

  .main_img:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 18s; }

  .main_img:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s; }

  .main_img:nth-of-type(6) {
    -webkit-animation-delay: 30s;
    animation-delay: 30s; }

@keyframes anime {
  0% {
      opacity: 0;
  }
  8% {
      opacity: 1;
  }
  17% {
      opacity: 1;
  }
  25% {
      opacity: 0;
      transform: scale(1.2);
      z-index:9;
  }
  100% { opacity: 0 }
}

@-webkit-keyframes anime {
  0% {
      opacity: 0;
  }
  8% {
      opacity: 1;
  }
  17% {
      opacity: 1;
  }
  25% {
      opacity: 0;
      -webkit-transform: scale(1.2);
      z-index:9;
  }
  100% { opacity: 0 }
}





/*------------------------------------- 画像が勝手に変わる---------------------------------------*/
.album {
  height:800px;
  overflow: hidden;
  position: relative;
  margin-top: -6px;
  margin-bottom: -100px;
}

/* テキストがあるバージョン */
.album1 {
  font-size: 32px;
  color: #fff;
  z-index: 11;
  position: absolute;
  top: 52%;
  left: 57%;
  transform: translate(-50%,-50%);
}

.album1-2 {
  opacity: 0;
  width: 100%;
  height: 800px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 10s 0s infinite;
  animation: anime 10s 0s infinite;
}

.album1-2:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}
.album1-2:nth-of-type(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}
.album2-2 .album2-3 img {
  max-width: 100%;
  height: auto;
}







.top0 {
  background-image: url("./img/9.png");
  background-position: center center;
  text-align: center;
  padding: 50px ;
}

.img1{
margin-bottom: -100px;
}

.top1 {
  background-image: url("./img/3.png");
  background-position: center center;
  text-align: center;
  padding: 50px ;
}
.top1-box{
    width: 80%;
    padding: 15px 15px;
    font-size: 20px;
    margin: 2em auto;
    background: #ffffff;
    text-align: left;
  }



  #sample14-1{
    background-image: url("./img/4.png");
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;                            
      padding-top: 50px;
      padding-bottom: 90px;
      font-size: 25px;
      line-height: 1.9;  
      text-align: center;                      
    }

  
  #Message{
    margin:auto;
    width: 80%;
    padding-top: 50px;
    padding-bottom: 90px;
    font-size: 20px;
    line-height: 1.9;
    position: relative;
    text-align: right;
  }
  
  .sample14_title{
    margin:0 auto 60px;
    font-size:29pt;
    color:#000000;
    text-align:center;
    font-weight:normal;
  }
  
  #Message img{
    width: 35%;
    margin: auto;
    text-align: left;
  }
  
  #Message p{
    position: absolute;
    top: 40%;
    left: 0%;
    margin: 0;
    padding: 30px 30px 30px 37px;
    text-align: left;
    color: rgb(0, 0, 0);
    font-size: 20px;
    line-height: 34px;
    width: 70%;
    background-color:rgba(255, 255, 255, 0.74);
  
  }
  
  #Message p span{
    text-align: right;
    display: block;
    font-size: 25px;
      margin: 0 0 auto 0;
  }
  
  @media screen and (max-width: 780px) {
  #Message p{
    font-size: 16px;
  }}
  
  
  
  
  .sample10{
    width:100%;
    padding: 50px 0 ;
    background-color:#e7e7e7;
  }
  .sample10 .sample10-1{
    max-width:100%;
    margin:0px auto;
  }
  /* content */
  @media (min-width: 992px) {
    .sample10 .sample10-1 .sample10-2{
        display: flex;
        align-items: center;
        justify-content: center;
    }
  }
  
  .sample10 .sample10-2-item {
    width:100%;
  }
  @media (min-width: 992px) {
    .sample10 .sample10-2-item {
        width:50%;
    }
  }
  .sample10 .image{
    display:block;
    max-width:100%;
    margin:0px auto;
  }
  .sample10 .sample10-2-text{
    padding:50px;
  }
  .sample10 .sample10-2-text .sample10-2-heading{
    margin:0px 0px 40px 0px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
  }
  

.imgoto{
  width: 40%;
}



.top10{
  text-align: center;
  width: 60%;
  margin: 100px auto 0 ;
}




/*--------------------------------------  リンク  ---------------------------------------------*/
.link-2 {
  margin-bottom: 60px;
}

 #link{
  width: 80%;
  letter-spacing: 3px;
  margin: 20px auto;
  text-align: center;
 }
.linkh1{
  margin: 50px auto;
}
  .link-1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .link-1::after,
  .link-1 .link-2 { width: calc( (90%) / 3 ); }
  
  /* ７８０px以下で表示 */
  @media screen and (max-width: 780px) {
    .link-1 .link-2 {
      width: 100%;
      margin-bottom: 30px; 
    }
  }

  .image3 {
    margin-bottom: 100px;
  }


.top3 {
  background-color: rgb(113, 113, 113);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 30px;
}
.top3 p {
font-size: 35px;
}



  .sample16 .sample16-1{
    width: 100%; 
    }
  .sample16{
    text-align: center;
  }
    .sample16-1 {
      display: inline-block;
      text-decoration: none;
      color: rgb(49, 49, 49);
      border: 2px solid #d1d1d1;
      background-color: #d1d1d1;
      text-align: center;
      width: inherit;
      min-width: 250px;
      padding: 30px 16px;
      position: relative;
      opacity: 1 !important;
      transition: all 0.3s;
      font-size: 35px;
    }
    .sample16-1:before,
    .sample16-1:after {
      content: "";
      display: block;
      position: absolute;
      background-color: rgb(255, 255, 255);
      top: 0;
      pointer-events: none;
    }
    .sample16-1:before {
      left: 0;
      width: 0;
      height: 2px;
    }
    .sample16-1:after {
      right: 0;
      width: 2px;
      height: 0;
    }
    .sample16-1:hover {
      background-color: rgb(255, 255, 255);
      color: rgb(109, 109, 109);
    }
    .sample16-1:hover:before {
      width: 100%;
      transition: width 0.2s 0.2s;
    }
    .sample16-1:hover:after {
      height: 100%;
      transition: height 0.1s 0.4s;
    }
    .sample16-1:hover span:before {
      width: 100%;
      transition: width 0.2s 0.5s;
    }
    .sample16-1:hover span:after {
      height: 100%;
      transition: height 0.1s 0.7s;
    }
    .sample16-1 span:before,
    .sample16-1 span:after {
      content: "";
      display: block;
      position: absolute;
      background-color: rgb(255, 255, 255);
      bottom: 0;
      pointer-events: none;
    }
    .sample16-1 span:before {
      right: 0;
      width: 0;
      height: 2px;
    }
    .sample16-1 span:after {
      left: 0;
      width: 2px;
      height: 0;
    }  


    .a222 {
      text-align: center;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      padding: 40px 10px;
    }
    
    .a222::after, 
    .a222 .f2 { width: calc( (80%) / 2 ); 
    padding: 0px;
    }
    
    .f2 {
    position: relative;
    }
    .f2 .active {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: 0.5s; /* ゆっくり*/
    }
    .f2:hover .active {
    opacity: 1;
    }
    
    
    @media (max-width: 750px) {
      .a222 {
        text-align: center;
        align-items: center;
        justify-content: center;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;  
        background-image: url("./img/spback.png");
      }
    
    .a222 .f2 {
      width: 90%;
      margin-bottom: 20px;
    }
    }
    












/*---------------------footer-----------------------*/
#footer{
  background-color: #000;
  color: rgb(255, 255, 255);
	font-size:15px;
	text-align:center;
	margin:0 auto;
	padding-top:10px;
    padding-bottom:10px;
    line-height: 15px;
}





