/* ------------------------------
   Base
------------------------------ */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 6px;
}

/* ------------------------------
   Layout Container（PC幅制限）
------------------------------ */
.container {
  max-width: 1100px;   /* PCでの最大幅 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 20px;     /* スマホでも余白確保 */
}

/* ------------------------------
   Header
------------------------------ */
.header {
  background: #111;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.header h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

/* ------------------------------
   First View
------------------------------ */
.fv {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}

.fv h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.fv p {
  color: #555;
  margin-bottom: 20px;
}

.category-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.category-links a {
  padding: 10px 20px;
  background: #eee;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.2s;
}

.category-links a:hover {
  background: #ddd;
}

/* ------------------------------
   First View（1枚画像 × 2カテゴリ最適化）
------------------------------ */

.fv {
  background: #fff;
  padding: 40px 0;
  text-align: center;
}

/* 1枚画像を背景に使用 */
.fv-image {
  width: 100%;
  height: 360px;
  background-image: url('../img/fv-main.jpg'); /* ←ここに今回の画像をセット */
  background-size: cover;
  background-position: center;
  position: relative;
  filter: brightness(0.85);
}


@media (max-width: 768px) {
  .fv-image::after {
    display: none;
  }
}

/* 左右のカテゴリラベル */
.fv-label {
  position: absolute;
  bottom: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.fv-label-left {
  left: 20px;
}

.fv-label-right {
  right: 20px;
}

/* テキスト部分 */
.fv-text {
  margin-top: 30px;
}

.fv-text h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.fv-text p {
  color: #555;
  margin-bottom: 20px;
}

/* ------------------------------
   Sections
------------------------------ */
.section {
  padding: 30px 20px;
  background: #fff;
  margin-top: 20px;
}

.section h3 {
  margin-bottom: 20px;
  font-size: 20px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

/* ------------------------------
   Articles Grid
------------------------------ */
.articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .articles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ------------------------------
   Article Card
------------------------------ */
.article-card {
  background: #fafafa;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.article-card .meta {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

.article-card h4 {
  margin: 10px 0 5px;
  font-size: 16px;
  line-height: 1.4;
}

/* ------------------------------
   More Link
------------------------------ */
.more-link {
  text-align: right;
  margin-top: 10px;
}

.more-link a {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
}

.more-link a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  text-align: center;
  padding: 30px 0;
  color: #777;
  font-size: 14px;
}