html{
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
}

header {
  background-color: white;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 5%;
  border-bottom: 1px solid #6d90c9;
}

header .logo {
  color:#6d90c9 ;
  font-size: 30px;
  font-weight: bold;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

#main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #6d90c9;
  color: #fff;
  padding: 70px 5%;
  gap: 40px;
}

.main-text h2 {
  font-size: 20px;
  margin: 0;
}

.main-text h1 {
  font-size: 35px;
  margin: 10px 0;
}

#info-box {
  background: #fff;
  color: #000;
  padding: 20px;
  margin-top: 20px;
}

#info-box h3 {
  color: #6d90c9;
  margin: 0 0 13px;
}

#info-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#info-box li {
  margin: 10px 0;
}

#info-box a {
  text-decoration: none;
  color: #000;
}

.character {
  text-align: center;
}

.character img {
  width: 250px;

}

.character p {
  font-size: 12px;
  margin-top: 10px;
}

#property {
  text-align: center;
  padding: 40px 5%;
}

#property h2 {
  color: #6d90c9;
  font-size: 25px;
  margin-bottom: 23px;
}

#property p{
  margin: 0;
  font-size: 11px;
}

.property-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.property-list div {
  width: 150px;
}

.property-list img {
  width: 100%;
  height: auto;
}

footer {
  text-align: center;
  font-size: 12px;
  padding: 20px 5%;
  border-top: 1px solid #ccc;
}

/* スマホサイズ */
@media screen and (max-width: 768px) {
  .main {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

 

  .character img {
    width: 150px;
    margin-top: 20px;
  }

  .property-list {
    flex-direction: column;
    gap: 40px;
  }

  .property-list div {
    width: 40%;
    margin: 0 auto;
  }
}

