
/*---------------------------------
リセットｃｓｓ
---------------------------------*/

*{
  padding: 0;
  margin: 0;
}
 
 html{
  font-size: 100%;
 }
 /*１６ｐｘのこと*/
 
 body{
  color: #24292e;
  
 }
 
 a{
  text-decoration: none;
 }
 
 img{
  max-width: 100%;
 }
 
 li{
  list-style: none;
  font-size: 1.2rem;
 }
 
 .wrapper{
 max-width: 1100px;
 margin: 0 auto 130px auto;
 font-size: 0.9rem;
 padding: 0 4%;
 }
 
 .button {
   position: relative;
   display: inline-block;
   padding: 0.8em 2em;
   text-decoration: none;
   color: black;
   background: pink;/*色*/
   border: solid 1px pink;/*線色*/
   border-radius: 25px;
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
   text-shadow: 0 1px 0 rgba(0,0,0,0.2);
   margin: 5px;
   font-size: 16px;
 }
 
 .button:active {
   /*押したとき*/
   border: solid 1px pink;
   box-shadow: none;
   text-shadow: none;
   
 }
 .button:hover{
   opacity: 0.8;
 }
 
 
 
 /*---------------------------------
 アクセス
 ---------------------------------*/
 
 aside h1 {
   text-align: center;
   padding: 30px;
   font-size: 25px;
   margin-top: 100px;
 }
 aside h3 {
   font-size: 23px;
   padding: 20px;
   text-align: center;
 }
 aside h3 span {
   display: inline-block;
 }
 aside address {
 font-style: normal;
 }
 #access .flex {
   margin-top: 20px;
   text-align: center;
 
 }
 #map .flex {
   display: flex;
   justify-content: center;
 }
 
 #map ul {
   padding: 10px;
 }
 #map .one {
   font-size: 15px;
   text-align: right;
 }
 
 .photo .flex {
   display: flex;
   justify-content: space-around;
 }
 .photo .flex p {
   font-size: 14px;
   padding-left: 20px;
 }
 .photo img {
   padding: 40px 20px 0 20px;
   width: 290px;
   height: 218px;
 }
 h4 {
   font-size: 20px;
   padding: 20px;
   margin-top: 50px;
 }
.info {
  text-align: center;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
  
  
}
.info .flex {
  display: flex;
  justify-content: space-around;
}
.info .flex p {
  font-size: 13px;
  padding: 0;
}
.info .box img {
  width: 350px;
  height: 280px;
}
.info .box {
  padding: 8px;
}
.info .flex_a {
  display: flex;
  justify-content: center;
  padding: 100px;
}
.info .box_a {
  width: 50%;
}
 
 .video {
   text-align: center;
 }
 
 
 
 @media screen and (max-width:600px) {
   #map .flex {
     flex-direction: column;
     
   }
   #map iframe {
     max-width: 100%;
     height: auto;
   } 
   .photo .flex {
     flex-direction: column;
   }
   .photo .box img {
     width: 100%;
     height: auto;
     padding: 4px;
   }
   aside {
     text-align: center;
   }
   aside h1 span {
     display: inline-block;
   }
.info .box img {
  width: 100%;
  height: auto;
  padding-top: 50px;
}
.video iframe {
  width: 100%;
  height: auto;
}
.video h2 span {
  display: inline-block;
}
.info{
max-width: 100%; 
}
.info .flex {
  flex-direction: column;
}

.info .flex_a {
  flex-direction: column;
  padding: 0;
}  

.info .box_a {
  width: 100%;
}
.info .box_a h4 {
  margin-top: 30px;
}
.info .box_a:nth-child(1) {
  order: 2;
}
.info .box_a:nth-child(2) {
  order: 1;
}
 
 }
 
 /*---------------------------------
 コンテンツ
 ---------------------------------*/
 #contents {
 
   margin: 0 auto 130px auto;
   font-size: 0.9rem;
   padding: 0 4%;
   }
 
 #contents .flex {
   display: flex;
   align-items: flex-end;
   
 
 }
 
 #contents h2 {
   font-size: 25px; 
   text-align: center; 
   margin-bottom: 10px;
 }
 #contents h2 span {
   display: inline-block;
 }
 
 #contents p {
   font-size: 14px;
 }
 #contents .box {
   max-width: 300px;
   height: 100px;
   margin-bottom: 50px;
   margin-left: 40px;
   text-align: center;
 }
 
 #contents3 {
   margin-top: 300px;
 }
 @media screen and (max-width:600px) {
 #contents {
     margin-bottom: 20px;
     text-align: center;
 
     }
 #contents .flex {
   flex-direction: column;
 
 }
 #contents .box {
   width: 100%;
   height: auto;
   margin-bottom: 10px;
   padding: 4px;
   margin-left: 4px;
 }
 #contents .flex iframe {
   width: 100%;
   padding: 0;
   margin: 0;
 }
 
 #contents h2 {
   padding: 4px;
   margin-bottom: 10px;
   width: 100%;
 }
 
 #contents3 {
   margin-top: 5px;
 }
 
 }
 
 
 #contents3{
   padding: 20px;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
 }
 #contents3 img{
   width: 270px;
   padding: 5px;
   height: 80px;
 
 }
 
 
 
 @media screen and (max-width:600px) {
   
 
 #contents3{
   flex-direction: column;
 }
 #contents3 img{
   width: 100%;
   height: 100%;  
 
 }
 
 }
 
 
 
 
 
 /*---------------------------------
 トップへもどるボタン
 ---------------------------------*/
 
 .go-top{
   position: fixed;
   bottom: 100px;
   left: 30px;
   z-index: 9999;
   
 }
 .go-top a{
   
   width: 50px;
   height: 50px;
   display: inline-block;
   background: #E94E66;
   border-radius: 50px;
   text-align: center;
   line-height: 50px;
   color: black;
   text-decoration: none;
 
   
 
   
 }
 
 .go-top a:hover{
     opacity: 0.8;
   }
   @media screen and (max-width:600px) {
     .go-top {
       position: relative;
       left: 0;
       bottom: 0;
     }
   
 
   }