* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f0f0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

main {
  flex: 1;
}

.mobile-br,
.mobile-br2 {
  display: none;
}

h2 {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

.hero {
  padding: 60px 20px 20px 20px;
  background-color: #fff;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-lead {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.4;
}

.hero-lead2 {
  font-size: 1.2em;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 13px;
  line-height: 1.4;
}

button {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hero button {
  padding: 20px 40px;
  font-size: 1.2em;
  border-radius: 10px;
  min-width: 150px;
  transition: background 0.3s;
}

button:hover {
  background-color: #555;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: start;
  max-width: calc(5 * 160px + 4 * 20px);
  gap: 20px;
  margin: 0 auto;
}

.hero-btn {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-button-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-button-item2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-btn-label {
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

.hero-intro {
  background-color: #f0f4ff;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin: 20px auto;
  max-width: 800px;
}

.hero-intro p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.hero-intro ul {
  list-style-position: outside;
  padding-left: 1.2em;
}

.hero-intro ul li {
  margin-bottom: 0.5em;
}

.article {
  margin: 0.5px auto;
  max-width: 800px;
}

@media (max-width: 1190px) {
  .hero-lead {
    margin-bottom: 30px;
  }

  .mobile-br2 {
    display: inline;
  }
}

@media (max-width: 780px) {
  .hero-lead {
    margin-bottom: 20px;
  }

  .mobile-br {
    display: inline;
  }
}

@media (max-width: 910px) {
  .hero-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 770px) {
  .hero-buttons {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-btn {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 570px) {
  .hero-buttons {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-btn {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hero-lead {
    font-size: 1em;
  }

  .hero-btn {
    width: 90px;
    height: 90px;
  }

  .hero {
    margin: 0;
    padding: 30px 10px;
  }
}
@media (max-width: 350px) {
  .hero-btn {
    width: 60px;
    height: 60px;
  }
}