@@charset "UTF-8";

/*----Top image----*/
#site-top {
  height: 240px;
}
.top-bg {
  background-image: url(topbg.jpg);
  width: auto;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  height: 240px;
  margin-bottom: 1.5rem;
}
/*----/Top image----*/

/*----Infomation----*/
.info-content {
  margin-bottom: 4rem;
}
.info-content a, .info-content p {
  display: inline-block;
  width: 100%;
  text-align: left;
  background-color: #eee;
  padding: 6px 3rem;
  margin-bottom: 0.5rem;
}
.info-content a:hover {
  color: #fff;
  background-color: #666;
}
/*----/Infomation----*/

/*----Main----*/
.thumbnail img:hover {
  opacity: 0.7;
}
.main-link {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1.5rem;
}
.main-link a {
  color: #fff;
  height: 40px;
  letter-spacing: 0.07em;
  background-color: #444;
  text-align: center;
  padding: 8px;
}
.main-link a:hover {
  background-color: #888;
}
/*----/Main----*/

/*----About----*/
#about {
  margin-bottom: 12rem;
}
#about img {
  vertical-align: middle;
}
.ex-site {
  display: flex;
  margin: 1.5rem 0;
}
.ex-site a {
  width: 160px;
  color: #fff;
  letter-spacing: 0.05em;
  background-color: #444;
  text-align: center;
  padding: 6px;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}
.ex-site a:hover {
  background-color: #888;
}
/*----/About----*/

/*----KW----*/
#kw {
  background-image: url(kw/kw-topbg.jpg);
  max-height: 670px;
}
.kwtop-bg {
  background-size: cover;
  background-position: center 37%;
  background-repeat: no-repeat;
}
.kwtop-content {
  color: #fff;
  height: 670px;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 17%, rgba(21, 24, 47, 1) 85%);
  background-blend-mode: multiply;
  display: flex;
  align-items: flex-end;
}
.kw-title {
  width: 100%;
}
.kw-title img {
  max-height: 130px;
}
.kw-title p {
  font-size: 2.1rem;
  font-family: 'Noto Serif JP';
  margin-bottom: 3rem;
}
.kw-menu {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
  margin-bottom: 6rem;
}
.kw-menu a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  height: 40px;
  background-color: #111;
  text-align: center;
  padding: 6px;
}
.kw-menu a:hover {
  background-color: #444;
}
.kw-content {
  background-color: rgb(21, 24, 47);
  color: #fff;
  padding-bottom: 4%;
}
.kw-content h2,
.kw-content h3,
.kw-content h4 {
  font-family: serif;
}
.kw-summary p {
  font-size: 1.7rem;
  font-family: serif;
}
.grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
}
#characters .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.main4 .grid,
.main-other .grid {
  border-bottom: 2px rgb(78, 83, 116) solid;
}
#characters img {
  width: 24vw;
  height: 24vw;
  min-width: 75px;
  min-height: 75px;
  max-width: 125px;
  max-height: 125px;
  border-radius: 50%;
  margin: 0 20px;
}
#kw-subcharacters img {
  width: 24vw;
  height: 24vw;
  min-width: 75px;
  min-height: 75px;
  max-width: 125px;
  max-height: 125px;
  border-radius: 50%;
}
#kw-subcharacters .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  text-align: center;
  margin-top: 12px;
}
.grid img:hover {
  opacity: 0.5;
}
.dammy img:hover {
  opacity: 1;
}
#kw-world {
  margin-bottom: 7rem;
}
.world-content {
  padding: 0 20px;
}
.world-content h3 {
  font-size: 2rem;
  text-transform: none;
}
.world-content p {
  margin-bottom: 3rem;
}
/*----/KW----*/

/*----レスポンシブ対応----*/
@media screen and (max-width: 599px) {
  /*----Top image----*/
  #site-top {
    height: 180px;
  }
  .top-bg {
    height: 180px;
  }
  /*----/Top image----*/

  /*----Infomation----*/
  .info-content a, .info-content p {
    padding: 8px 10px;
  }
  /*----Main----*/
  .main-link ul {
    grid-column: auto;
    grid-row: auto;
  }
  .main-link li {
    width: 100%;
  }
  /*----About----*/
  #about p {
  }
  .ex-site {
    flex-direction: column;
  }
  .ex-site a {
    width: 200px;
  }
  /*----KW----*/
  #kw {
    max-height: 540px;
  }
  .kwtop-bg {
    background-size: contain;
    background-position: center top;
  }
  .kwtop-content {
    height: 540px;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 10%, rgba(21, 24, 47, 1) 40%);
    background-blend-mode: multiply;
  }
  .kw-title p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
  }
  .kw-summary {
    padding: 0 0.8rem;
  }
  .kw-summary p {
    font-size: 1.45rem;
  }
  .kw-menu {
    margin-top: 2rem;
    margin-bottom: 5rem;
  }
  .kw-menu ul {
    grid-column: auto;
    grid-row: auto;
  }
  .kw-menu li {
    width: 100%;
  }
  .kw-content {
    padding-top: 6%;
  }
  .grid {
    margin-top: 20px;
  }
  .world-content p {
    font-size: 1.45rem;
  }
  /*----/KW----*/

/*----/レスポンシブ対応----*/
