@charset "utf-8";

/* エリア確認用 */
/* header{
  background-color: #fcc;
}
nav{
  background-color: #cfc;
} */
/* article{
  background-color: #fcc;
} */
/* 
aside{
  background-color: #cfc;
} */

/* common */
html{
  font-size: 100%;
}
body{
  font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3",sans-serif ;
  line-height: 1.7;
  color: #432;  
}
a{
  text-decoration:none;
}
img{
  max-width: 100%;
}

/* header */
.logo{
  width: 210px;
  margin-top: 14px;
}
.main-nav{
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 10px;
  list-style: none;
}
.main-nav li{
  margin-left: 36px;
}
.main-nav a{
  color: #432;
  background: orange;
  border-radius: 5px;
  padding: 0px 10px;
}
.main-nav a:hover{
  color:#0bd;
  background: yellow;
  border-radius: 5px;
}
.page-header{
  display: flex;
  justify-content: space-between;
}
.wrapper{
  max-width: 1200px;
  margin: auto;
  padding: auto;
}
/* HOME */
.home-content{
  text-align: center;
  margin-top: 10%;
}
.home-content p{
  font-size: 1.125rem;
  margin: 0 0 42px;
}
/* button */
.button {
  font-size: 1.375rem;
  background: #0bd;
  color: #fff;
  border-radius: 5px;
  padding: 18px 32px;
}
.button:hover{
  background: #0090aa;
}

/* title */
.page-title{
  font-size: 5rem;
  text-transform: uppercase;
  font-weight: normal;
  font-family: 'Philosopher', sans-serif;
}
/* big-bg */
.big-bg{
  background-size: cover;
  background-position: center top;
  margin-bottom: 30px;
}
/* access */
#location{
  padding: 4% 0;
}
#location .wrapper{
  display:block;
  justify-content: space-between;
}
.location-info p{
  padding: 12px;
}
.location-map{
  min-width: 75%;
}
.location-info .page-title{
  text-align: center;
}

/* #home{
  background-image: url(../images/main-bg.jpg);
  min-height: 100vh;
} */
/* #home .page-title{
  text-transform: none;
} */

.shuttles{
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 0%;
}


#keyframe1 animation1, #keyframe2 animation2{
  display: content;
  justify-content: space-evenly;
}


.animation1 {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: rotate 1s steps(8)0s infinite;
  animation-duration: 5s;
  width: 100px;
}
.keyframe1 {
  animation-name: anim_h1;
}
@keyframes anim_h1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animation2 {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
  width: 100px;
}
.keyframe2 {
  animation-name: jump;
  animation-duration: .6s;
}
@keyframes jump {
  0% {
    transform: translate(0%, 60px) rotateX(50deg);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
.keyframe3 {
  animation-name: jump;
  animation-duration: .6s;
  animation-delay: .6s;
}
@keyframes jump {
  0% {
    transform: translate(0%, 60px) rotateX(25deg);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
.keyframe4 {
  animation-name: jump;
  animation-duration: .8s;
  animation-delay: .75s;
}
@keyframes jump {
  0% {
    transform: translate(0%, 60px) rotateX(50deg);
  }
  100% {
    transform: translate(0%, 0%);
  }
}

/* homeの後スペースを入れる*/
#news{
  background-image: url(../images/news-bg.jpg);
  height: 270px;
  margin-bottom: 40px;
}
#news .page-title{
  text-align: center;
  margin-bottom: 50px;
}
footer{
  background: #432;
  text-align: center;
  padding: 26px 0;
}
footer p{
  color: #fff;
  font-size: 0.875rem;
}
/* footer */
/* 記事部分 */
article{
  width: 100%;
  margin-top: 100px;
}
/* サイドバー */

.news-contents{
  display: block;
  position: center;
  justify-content: space-between;
  
  margin-bottom: 50px;
}

.post-info{
  position: relative;
  padding-top: 4px;
  margin-bottom: 40px;
}
.post-date{
  background: #0bd;
  border-radius: 50%;
  color: #fff;
  width: 100px;
  height: 100px;
  font-size: 1.625rem;
  text-align: center;
  position: absolute;
  top: 0%;
  padding-top: 10px;
}
.post-date span{
  font-size: 1rem;
  border-top: 1px rgba(255,255,255,.5) solid;
  padding-top: 6px; /* インライン要素をブロック要素に見せかける */
  display: block;
  width: 60%;
  margin: 0 auto;
}
.post-title{
  display: block;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 2rem;
  font-weight: normal;
}
.post-title,
.post-cat{
  margin-left: 120px;
}
article img{
  border-radius: 20px;
}
article p{
  margin-bottom: 1rem;
}

table {
  border-collapse: collapse;
  width: 400px;
}

th, td {
  padding: 4px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.movie {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  margin-top: 6%;
  margin-bottom: 20px;
  
}
.movie video {
  width: 50%;
  height: auto;
  border-radius: 20px;
}
/* .movie video:hover {
  background: rgba(0, 0, 0, 0.5);
  opacity: 0.5;
} */
/* .movie p {
  text-align: center;
  font-size: 20px;
  line-height: 2rem;
  background: aqua;
  border-radius: 15px;
} */

.sub-title{
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
}
aside p{
  padding: 12px 10px;
}
.sub-menu{
  margin-bottom: 30px;
  list-style: none;
}
.sub-menu li{
  border-bottom: 1px #ddd solid;
}
.sub-menu a{
  color: #432;
  padding: 10px;
  display: block;
}
.sub-menu a:hover{
  color: #0bd;
}

#menu{
  background-image: url(../images/menu-bg.jpg);
  min-height: 100vh;
}
.menu-content{
  max-width: 560px;
  /* margin-top: 10%; */
}
.menu-content .page-title{
  text-align: center;
}
.menu-content p{
  font-size: 1.125rem;
  margin: 10px 0 0;
}
.grid{
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr) );
  margin-top: 6%;
  margin-bottom: 50px;
} 
.big-box {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.big-box img{
  height: 94%;
  width: 100%;
  object-fit: cover;
}
.big-box{
  grid-column: auto;
  grid-row: auto;
}
.big-box img {
  height: auto;
}

/* pagetop */
#pagetop {
  position: fixed;
  bottom: 50px;
  left: 80%;
  cursor: pointer;
}

#contact{
  background-image: url(../images/contact-bg.jpg);
  min-height: 100vh;
  width:100%
}
form div{
  margin-bottom: 14px;
}
label{
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}
input[type="text"],
input[type="email"],
textarea{
  background: rgba(255, 255, 255,.5);
  border: 1px #fff solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
}
input[type="text"],
input[type="email"]
{
  width: 100%;
  max-width: 240px;
}
textarea{
  width: 100%;
  max-width: 480px;
  height: 6rem;
}
.button-area{
  border: none;
}

input[type="submit"]
{
  border: none;
  cursor: pointer;
  line-height: 1;
}
/* contact */
#contact .page-title{
  margin-top: 40px;
}



/* メディアクエリ 0～600 */
@media screen and (max-width:600px) {
  /* body{
    background: #ccc;
  } */
  .page-title {
    font-size: 2.5rem;
  }
.page-header{
  flex-direction: column;
  align-items: center;
}

  /* HEADER */
  .main-nav{
    font-size: 1rem;
    margin-top: 10px;
  }
  .main-nav li{
    margin: 0 20px;
  }
  /* HOME */
  .home-content{
    margin-top: 20%;
  }

  /* news */
  .page-header{
    flex-direction: column;
    align-items: center;
  }
  .news-contents{
    flex-direction: column;
  }
  article,aside {
    width: 100%;
  }
  #new.page-title{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  aside{
    margin-top: 0px;
    padding: 0px;
  }
  .post-info{
    margin-bottom: 20px;
  }
  .post-date{
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }
  .post-date span{
    font-size: 0.875rem;
    padding-top: 2px;
  }
  .post-title{
    font-size: 1.375rem;
  }
  .post-cat{
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .post-title,.post-cat{
    margin-left: 80px;
  }


/* MENU */
.menu-content{
  margin-top: 20%;
}
/* フォーム */
input[type="text"],
input[type="email"],
textarea{
  max-width: 100%;
}
}/* max-width:600px */
 
/* .grid{
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
} */
