body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  /* line-height: 1.6; */
}

header {
  background: #0074D9;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.site-title {
  font-size: 1.2rem;
}

.nav-bar {
  background: #0074D9;
  display: none; /* スマホサイズでは非表示 */
  justify-content: space-around;
  align-items: center;
}

.nav-link {
  background: #0074D9;
  padding: 0.75rem 1rem;
  display: flex;
  white-space: nowrap;
  color: white;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
}

.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
}

.card {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.card h2 {
  color: #0074D9;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-left: 4px solid #0074D9;
  padding-left: 1rem;
}

.card p, .card ul {
  margin-bottom: 1rem;
  text-align: justify;
}

.btn {
  display: inline-block;
  background: #0074D9;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  margin: 2rem auto 0 auto;
  text-align: center;
}
.btn:hover {
  background: #005fa3;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #eee;
  color: #555;
}

/* スマホサイズ時はハンバーガー表示 */
.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

/* ハンバーガーメニューとして開いたときの表示 */
.nav-bar.open {
  display: flex;
  flex-direction: column;
  background: #0074D9;
  position: absolute;
  top: 60px;
  left: 0;
  width: 200px;
  z-index: 1000;
}

/* PCサイズでは常に表示（ハンバーガーは非表示） */
@media (min-width: 768px) {
  .nav-bar {
    display: flex !important;
    position: static;
    background: none;
  }

  .hamburger {
    display: none;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    display: block;
    white-space: nowrap;
    color: white;
    text-decoration: none;
  }
  .card {
    margin: 2rem auto;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .card {
    margin: 1rem;
    padding: 1rem;
  }
  .card h2 {
    font-size: 1.1rem;
  }
  .btn {
    width: 100%;
    padding: 1rem 0;
  }
}

.example-box {
  background: #eaf6ff;
  border-left: 5px solid #0074D9;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  /* display: flex; */
  align-items: flex-start;
  gap: 0.5em;
  font-size: 1.05em;
}
.example-box strong {
  font-style: normal;
  color: #0074D9;
}
.example-box::before {
  content: '';
}