@charset "utf-8";

.main {
  margin-top:90px
}

.first-view {
  position: relative;
  height: calc(100vh - 90px);
  background-color: #fff;
  background-image: url(../image/touka-img.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: flex;
  align-items: center;
                                                                                  
}

.first-view-text {
  position: absolute;
  width: 100%;
  max-width: 600px;
  padding-left: 10px;
  padding-bottom: 20px;
  top: 50px;
  text-shadow: 10px 10px 20px rgb(130, 202, 243);
  z-index: 10;
}

.first-view-text h1 {
  font-size: 2.5rem;
}

.first-view-text p {
  font-size: 2rem;
  line-height: 48px;
}

.line {
  display: block;
  margin: auto;
  width: 165px;
  height: 40px;
  
}

/* ここからメイン */
.about,.chara,.menu,.book,.access { 
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 45px;
}

/* ボタンデザイン */
.link-button-area {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.link-button {
  background-color: #abd1ff;
  display: inline-block;
  min-width: 220px;
  line-height: 48px;
  border-radius: 24px;
  transition: background-color,transform;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.link-button:hover {
  background-color: #ff9ffa66;
  transform: scale(1.1);
  transition-property: background-color,transform;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

/* 見出しと内容 */
h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.about,.chara,.menu,.book,.access p {
  font-size: 1.25rem;
  text-align: center;
}

/* キャラクターここから */

.carousel-container{
  padding-top: 50px;
}

.carousel {
  background-color: rgba(255, 220, 245, 0.189);
}
/* .chara-box { 
  margin-bottom: 10px;
}

.chara-list {
  width: 930px;
  max-width: 90%;
  margin-top: 45px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  column-gap: 35px;
  row-gap: 25px;
  justify-content: center;
}*/

/* メニューここから */
.menu-box {
  background-color: rgba(255, 220, 245, 0.189);
}

.menu-list {
  display: flex;
  height: 260px;
  padding: 20px 50px;
  overflow-x: scroll;
  overflow-y: hidden;
}

.menu-list img {
  display: block;
  width: 250px;
  height: 250px;
}

.menu-list li {
  flex-shrink: 0;
  width: 260px;
  margin-left: 40px;
}

.menu-list li:first-child {
  margin-left: 0;
}

/* 書籍ここから */
.book-box {
  display: block;
  align-items: center;
  height: 400px;
  width: 930px;
  max-width: 80%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.book-box p {
  display: block;
}

.book-more {
  display: none;
}

/* アクセスここから */
.access-box  {
  display: block;
  display: flex;
  align-items: center;
  width: 930px;
  max-width: 90%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

/* メディアここから */
@media (max-width: 800px) {

  .main {
    margin-top: 60px;
    margin-left: 30px;
    margin-right: 30px;
  }

  .about .chara .menu .book .access {
    padding: 45px;
  }

  .about,.chara,.menu,.book,.access h2 p {
    text-align: center;
  }

  .first-view-text {
    display: block;
    width: 100%;
    top: 0;
    text-align: center;
    padding-top: 10px;
    text-shadow: 10px 10px 20px rgb(130, 202, 243);

  }

  .first-view-text h1 {
    font-size: 2rem;
    line-height: 30px;
  }

  .first-view-text p {
    font-size: 1rem;
    margin-top: 10px;
  }

  .first-view {
    margin-top: 60px;
    width: 100%;
    height: 500px;
    background-image: url(../image/touka-img.jpg);
    background-size: contain;
    background-position: center bottom;
    align-items: center;
  }
  

  .chara-list {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: scroll;
  }

  .chara-list li {
    flex-shrink: 0;
    width: 180px;
    margin-left: 20px;
  }

  .about {
    display: none;
  }

  .chara p {
    display: none;
  }

  .menu p {
    display: none;
  }
  .book-box p {
    display: none;
  }

  .access p {
    display: none;
  }

  .access-box {
    display: flex;
    justify-content: center;
  }

  /* .book-box { 
    display: none;
  }

  .book-gazou {
    display: block;
  }

  .book-more {
    display: block;
  }*/

  .access-box  {
    display: block;
    display: flex;
    align-items: center;
    max-width: 90%;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

}

