/* CSS Document */

/* 変数定義 */
:root {
  --font-family: "Inter",'Noto Sans JP', sans-serif;
  --text-color: #1f2937;
  --bg-color: #ffffff;
  --link-color: #2563eb;
  --max-width: 1200px;
  --container-padding: 1rem;

  --font-base: 1.6rem; /* 16px */
  --font-sm: 1.4rem; /* 14px */
  --font-lg: 2.0rem; /* 20px */
  --font-xl: 3.2rem; /* 32px */
}

/* 全体設定 */
html { font-size: 62.5%; }

body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* レイアウトベース */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 見出し */
h1 {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-lg);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* テキスト */
p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* リスト */
ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* リンク */
a {
  color: var(--link-color);;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボタン */
button {
  font-size: var(--font-base);
  padding: 0.5rem 1rem;
  border: none;
  background-color: #2563eb;
  color: #fff;
  cursor: pointer;
  border-radius: 0.25rem;
}

button:hover {
  background-color: #1e40af;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}