/* 共通リセット・ベース */
.links-information-single {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.links-information-single .container {
  max-width: 1680px;
  width: 80%;
  margin: 0 auto;
}

.links-information-single .info-title {
  font-size: calc(36 / 1680 * 100vw);
  font-weight: bold;
  margin-bottom: calc(20 / 1680 * 100vw);
  text-align: center;
}

.links-information-single .info-about {
  font-size: calc(20 / 1680 * 100vw);
  text-align: center;
  margin-bottom: calc(60 / 1680 * 100vw);
}

.links-information-single .row-layout {
  display: flex;
  align-items: center;
  gap: calc(40 / 1680 * 100vw);
  margin-bottom: calc(60 / 1680 * 100vw);
  flex-wrap: nowrap;
}

.links-information-single .image-block {
  flex-shrink: 0;
  width: calc(600 / 1680 * 100vw);
}

.links-information-single .image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.links-information-single .text-block {
  flex: 1;
}

.links-information-single .explanation-heading {
  font-size: calc(28 / 1680 * 100vw);
  font-weight: bold;
}

.links-information-single .detail-text {
  font-size: calc(18 / 1680 * 100vw);
  padding: calc(20 / 1680 * 100vw);
  background-color: #f9f9f9;
  border-radius: 8px;
  white-space: pre-wrap;
}

.info-about {
  text-align: left !important;
}

/* 縦長画面（スマホ）用：@mediaで上書き */
@media (max-aspect-ratio: 1/1) {
  .links-information-single .container {
    width: calc(355 / 375 * 100vw);
  }

  .links-information-single .info-title {
    font-size: calc(28 / 355 * 100vw);
    margin-bottom: calc(16 / 355 * 100vw);
  }

  .links-information-single .info-about {
    font-size: calc(16 / 355 * 100vw);
    margin-bottom: calc(40 / 355 * 100vw);
  }

  .links-information-single .row-layout {
    flex-direction: column;
    gap: calc(20 / 355 * 100vw);
    margin-bottom: calc(40 / 355 * 100vw);
  }

  .links-information-single .image-block {
    width: 100%;
  }

  .links-information-single .explanation-heading {
    font-size: calc(22 / 355 * 100vw);
    text-align: center;
  }

  .links-information-single .detail-text {
    font-size: calc(16 / 355 * 100vw);
    padding: calc(16 / 355 * 100vw);
  }
}


.links-information-archive .container {
  max-width: 1680px;
  width: 80%;
  margin: 0 auto;
}

.archive-heading {
  font-size: calc(32 / 1680 * 100vw);
  text-align: center;
  margin-bottom: calc(40 / 1680 * 100vw);
}

.info-archive-list {
  display: flex;
  flex-direction: column;
  gap: calc(40 / 1680 * 100vw);
}

.info-archive-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: calc(24 / 1680 * 100vw);
  background: #fff;
  transition: background 0.2s;
}

.info-archive-item:hover {
  background: #f7f7f7;
}

.info-archive-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.info-archive-title {
  font-size: calc(24 / 1680 * 100vw);
  font-weight: bold;
  margin-bottom: calc(10 / 1680 * 100vw);
}

.info-archive-about {
  font-size: calc(18 / 1680 * 100vw);
  color: #555;
}

.info-archive-more {
  font-size: calc(16 / 1680 * 100vw);
  color: #0073aa;
  margin-top: calc(10 / 1680 * 100vw);
}

/* 縦長用（スマホ） */
@media (max-aspect-ratio: 1/1) {
  .links-information-archive .container {
    max-width: 355px;
    width: calc(355 / 375 * 100vw);
    padding: 0 10px;
  }

  .archive-heading {
    font-size: calc(24 / 355 * 100vw);
  }

  .info-archive-title {
    font-size: calc(20 / 355 * 100vw);
  }

  .info-archive-about {
    font-size: calc(16 / 355 * 100vw);
  }

  .info-archive-more {
    font-size: calc(14 / 355 * 100vw);
  }
}


/* 追加・修正：アーカイブ用のレイアウト */
.info-archive-flex-container {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* PCでの画像と文字の間隔 */
}

.info-archive-thumb {
  flex-shrink: 0;
  width: 200px; /* PCでの画像サイズを固定 */
}

.info-archive-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.info-archive-body {
  flex: 1;
}

/* スマホ用：画面幅 767px 以下で切り替え（aspect-ratioより確実です） */
@media screen and (max-width: 767px) {
  .links-information-archive .container {
    width: 92%; /* 左右に少し余裕を持たせる */
  }

  .info-archive-flex-container {
    flex-direction: column; /* 縦並び */
    gap: 15px;
  }

  .info-archive-thumb {
    width: 100%; /* 画像を横いっぱいに */
  }

  /* フォントサイズをvw計算から固定値（読みやすいサイズ）へ */
  .info-archive-title {
    font-size: 1.2rem !important;
    margin-bottom: 8px;
  }

  .info-archive-about {
    font-size: 0.95rem !important;
    line-height: 1.5;
  }

  .info-archive-item {
    padding: 15px; /* 内側の余白を少し詰める */
  }
}