p {
    font-size: x-large;
}

ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  li {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 180px;
    box-shadow: 2px 2px 5px #ccc;
    text-align: center;
    background: #fff;
  }

.info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 10px;
}

.info-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  font-size: 18px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.info-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.info-box p {
  line-height: 1.6;
  color: #444;
}

footer {
  background: #f8f8f8;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

footer p {
    font-size: medium;
}

footer a {
  color: inherit;
  text-decoration: underline;
}

/* 通常：PCやタブレット向け */
.nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* スマホ画面（幅480px以下）だけ横スクロールナビに変える */
@media screen and (max-width: 480px) {
  .nav {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding: 10px;
    gap: 8px;
  }

  .nav li {
    display: inline-block;
  }
}

.admin-login {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  color: #666;
  z-index: 999;
}
.admin-login a {
  text-decoration: none;
  color: #666;
}
.admin-login a:hover {
  text-decoration: underline;
}