@keyframes breathing {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.06);
      opacity: 0.95;
    }
  }

body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    margin-top: 60px;
    padding: 0;
    background-color: #ffffff;
}

h1 {
    font-size: 30px;
    margin: 20px 10% 20px 10%;
}

h3 {
    font-size: 18px;
}

p {
    font-size: 14px;
    margin: 20px 5% 20px 5%;
}

ul {
    list-style-type: none;
    padding: 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* デフォルトは3カラム */
    gap: 20px;
    max-width: 600px;
}

.top-link {
    font-size: 20px;
}

.chart-area {
    padding: 5%;
}

.chart-title {
    background-color: aqua;
    font-size: 20px;
    margin-top: 70px;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 20px;
        
    }
    .top-link {
    font-size: 14px;
}

}


/* Laravel 標準 pagination を Bootstrap 風に完全再デザインする */

/* pagination 全体 */
nav[role="navigation"] {
    margin-top: 20px;
}

/* Laravel が出力する wrapper */
nav[role="navigation"] > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;                /* はみ出し防止 */
    gap: 4px;
    padding: 10px 0;
}

/* UL */
nav[role="navigation"] ul {
    display: flex;
    flex-wrap: wrap;                /* これも大事 */
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 通常リンク */
nav[role="navigation"] .page-link,
nav[role="navigation"] a {
    display: inline-block;
    min-width: 36px;               /* サイズ統一 */
    text-align: center;
    padding: 6px 10px;
    border: 1px solid #d0d0d0 !important;
    background: white !important;
    border-radius: 6px;
    text-decoration: none !important;
    color: #007bff !important;
    transition: background 0.2s, border-color 0.2s;
}

nav[role="navigation"] a:hover {
    background: #e8f2ff !important;
    border-color: #7bb8ff !important;
}

/* 現在ページ */
nav[role="navigation"] span[aria-current="page"] {
    display: inline-block;
    min-width: 36px;
    text-align: center;
    padding: 6px 10px;
    border: 1px solid #007bff !important;
    background: #007bff !important;
    color: #fff !important;
    border-radius: 6px;
}

/* disabled */
nav[role="navigation"] span[aria-disabled="true"] {
    display: inline-block;
    min-width: 36px;
    text-align: center;
    padding: 6px 10px;
    border: 1px solid #e0e0e0 !important;
    background: #f5f5f5 !important;
    color: #aaaaaa !important;
    border-radius: 6px;
}

/* 下部の "Showing 1 to 100 of ..." */
nav[role="navigation"] p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
