/* =====================================================
   RESET (Meyer’s Reset + モダン調整)
   ===================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* モダン追加 */
*, *::before, *::after {
  box-sizing: border-box;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  background: none;
  border: none;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

html:focus-within {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

/* =====================================================
   BASE STYLE
   ===================================================== */

/* 1. 基本設定 */
html {
  font-size: 16px; /* 基準サイズ */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial,
               "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #111;
  background-color: #fff;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. コンテナ */
.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

/* 3. 見出し */
/* h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; } */

/* 4. 段落・テキスト */
p {
  margin-bottom: 1em;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* 5. リンク */
a:hover {
  text-decoration: underline;
}

/* 6. ボタン */
button {
  padding: 0.5em 1em;
  border-radius: 0.375rem;
  background-color: #17499d;
  color: #fff;
  transition: background 0.2s ease;
}
button:hover {
  background-color: #123b7a;
}

/* 7. フォーム要素 */
input, textarea, select {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #17499d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(23,73,157,0.2);
}

/* 8. リスト */
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.25em;
}

/* 9. 画像 */
img {
  border-radius: 0.25rem;
}

/* 10. フッター */
footer {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}
