/* -------- News.css -------- */

body {
  background-color: #f5f7fa;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

main {
  padding: 60px 40px;
  max-width: 960px;
  margin: 40px auto;
  background-color: #ffffff;
  line-height: 1.8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

article h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #003567;
}

article h3 {
  font-size: 24px;
  color: #555;
  margin-bottom: 30px;
}

article p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* 写真とテキストを横に並べる配置 */
.inline-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0;
}

/* 画像とキャプション */
.image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  flex-shrink: 0;
}

.image-block img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.image-block .caption {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
  text-align: center;
}

/* text */
.text-block {
  flex: 1;
}

.text-block p {
  font-size: 18px;
  margin-bottom: 12px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .inline-block {
    flex-direction: column;
    align-items: center;
  }

  .image-block {
    width: 80%;
  }

  .text-block {
    text-align: left;
  }

  .image-block .caption {
    text-align: center;
  }
}

/* header title link */
.header-title-link {
  color: white;
  text-decoration: none;
}


.button-wrapper {
  text-align: center;
  margin: 60px 0;
}

.more-button {
  display: inline-block;
  background-color: #d8d5d5;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  transition: background-color 0.3s;
}

.more-button:hover {
  background-color: #e0e0e0;
}


/* 푸터 */
footer {
  background-color: #3f72af;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 16px;
}
