/* mainの幅を制限して中央寄せ */
main {
  max-width: 720px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* サンプルページ全体の余白調整 */
.samplepage p {
  margin-bottom: 1rem;
}

/* 見出し */
.header1 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2c3e50;
  border-left: 5px solid #3498db;
  padding-left: 12px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* dataExample のリンクスタイル */
.dataExample a {
  display: inline-block;
  text-decoration: none;
  color: #2980b9;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.dataExample a:hover,
.dataExample a:focus {
  color: #1abc9c;
  border-bottom-color: #1abc9c;
  transform: translateX(4px);
}

/* スマホ対応 */
@media (max-width: 480px) {
  main {
    padding: 1.5rem 1.5rem;
  }
  
  .header1 {
    font-size: 1.3rem;
    margin-top: 2rem;
  }
}
