@charset "UTF-8";
/* CSS Document */

/* 全体設定 */
/* *, *::before, *::after {
  box-sizing: border-box;
}*/

/* リストの初期設定 */
.link-list {
  --gap: 16px;
  display: flex;
  flex-wrap: wrap;             /* 幅が足りないときは折り返し */
  justify-content: center;     /* 2つのボタンを中央に寄せる */
  gap: var(--gap);
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

/* PC～タブレット：2つを横に並べて中央 */
.link-item {
  flex: 0 1 450px;             /* 目安幅（320px）。可変で縮む／折り返す */
}

/* ボタン */
.link-item a {
  display: block;
  text-align: center;
  padding: 15px 24px;
  background-color: #f0f0f0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
}

/* スマホ：1列で全幅 */
@media (max-width: 768px) {
  .link-item {
    flex-basis: 100%;
  }
}