@charset "utf-8";

/* ===================================================
   サブページ共通
=================================================== */

/* fixed header（52px + 68px = 120px）分の余白 */
body.subpage-body {
  padding-top: 120px;
}

.pNav-wrapper {
  width:100%;
  background: #f0f6f2;
}

/* パンくずナビ */
.pNav {
 /* border-bottom: 1px solid #deeee6; */
  padding:13px 32px;
  font-size: 12px;
  color: #4a5a52;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  max-width:1160px;
  margin:auto;
}
.pNav a {
  color: #127b45;
  text-decoration: none;
  transition: color 0.2s;
}
.pNav a:hover {
  color: #2d725a;
}

/* &gt; の代わり：borderで作った矢印 */
.pNav a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #a8ccb8;
  border-right: 1.5px solid #a8ccb8;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* コンテンツ本文ラッパー */
.subpage-content {
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 40px 96px;
}

.subpage-content h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  color:var(--text-dark);
}

/* ===================================================
   ニュース詳細
=================================================== */

/* 記事タイトル */
.news-detail-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  line-height: 1.55;
  padding-bottom: 20px;
  border-bottom: 2px solid #deeee6;
  margin-bottom: 0;
}

/* 投稿日 */
#up_ymd {
  font-size:14px;
  color: #44bb88;
  letter-spacing: 0.1em;
  padding: 12px 0 24px;
  border-bottom: 1px solid #a8ccb8;
  margin-bottom: 36px;
  text-align: left;
  font-feature-settings: "palt";
}

/* 本文エリア */
#detail {
  font-size: 16px;
  line-height: 1.9;
  color: #2a3d30;
}
.detailText {
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.detailText:last-child {
  margin-bottom: 0;
}
.detailText p {
  margin-bottom: 1.4em;
}
.detailText p:last-child {
  margin-bottom: 0;
}
.detailText a {
  color: #127b45;
  text-underline-offset: 4px;
}
.detailText a:hover {
  color: #2d725a;
}

/* アップロードファイル */
.detailUpfile {
  margin: 20px 0 28px;
  text-align: left;
}
.detailUpfile img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.detailUpfile a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #127b45;
  font-size: 15px;
  padding: 10px 20px;
  background: #f0f6f2;
  border: 1px solid #deeee6;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.detailUpfile a:hover {
  background: #deeee6;
}

/* 戻るボタン */
.backORcloseBtn {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #a8ccb8;
  text-align: left;
}
.backORcloseBtn a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #127b45;
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border: 1.5px solid #a8ccb8;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.backORcloseBtn a:hover {
  background: #f0f6f2;
  color: #2d725a;
}


/* ===================================================
   レスポンシブ
=================================================== */

@media (max-width: 960px) {
  body.subpage-body { padding-top: 104px; }
  .pNav { padding: 11px 20px; }
}

@media (max-width: 767px) {
  body.subpage-body { padding-top: 96px; }
  .subpage-content { padding: 36px 20px 72px; }
  .news-detail-title { font-size: 20px; }
  #detail { font-size: 16px; }
  .pNav { font-size: 12px; }
}


/* ===================================================
   ニュース一覧 ページタイトル
=================================================== */
.news-page-hero {
  /*background: #f0f6f2;*/
  text-align: center;
  padding: 56px 20px 48px;
  position: relative;
  overflow: hidden;
}
.news-page-hero-en {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  color: #f0f6f2;;
  letter-spacing: 0.12em;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.news-page-hero-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.18em;
  position: relative;
  z-index: 1;
}

/* ===================================================
   ニュース一覧
=================================================== */
#newsWrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 40px 96px;
}

/* ページャー */
.pager {
  text-align: center;
  margin: 40px 0 0;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin: 0 3px;
  border: 1px solid #a8ccb8;
  border-radius: 4px;
  color: #127b45;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pager a:hover { background: #f0f6f2; }
.pager span {
  background: #127b45;
  color: #fff;
  border-color: #127b45;
  font-weight: 500;
}

/* リスト */
#newsList {
  list-style: none;
  margin: 0;
  padding: 0;
}
#newsList li {
  border-bottom: 1px solid #a8ccb8;
}
#newsList li:first-child {
  border-top: 1px solid #a8ccb8;
}

/* カードリンク */
a.news-list-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
a.news-list-link:hover .news-list-title {
  color: var(--green-mid);
}
a.news-list-link:hover .news-list-thumb img {
  opacity: 0.85;
}

/* サムネイル */
.news-list-thumb {
  flex: 0 0 200px;
  width: 200px;
  align-self: flex-start;
}
.news-list-thumb img {
  display: block;
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.2s;
}

/* テキスト側 */
.news-list-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

/* タイトル */
.news-list-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.2s;
}

/* 日付 */
.news-list-date {
  font-size: 13px;
  color: #44bb88;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
  font-feature-settings: "palt";
}

/* カテゴリバッジ */
.news-list-cat {
  display: inline-block;
  font-size: 12px;
  color: #127b45;
  background: #f0f6f2;
  border-radius: 12px;
  padding: 2px 12px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  white-space: nowrap;
}

/* Newバッジ */
.news-list-new {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e06060;
  border-radius: 3px;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  margin-left: 6px;
  vertical-align: middle;
}

/* 本文抜粋 */
.news-list-excerpt {
  font-size: 14px;
  color: #4a5a52;
  line-height: 1.75;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 矢印 */
.news-list-arrow {
  flex: 0 0 auto;
  align-self: flex-end;
  font-size: 18px;
  color: #a8ccb8;
  margin-top: auto;
  transition: color 0.2s, transform 0.2s;
}
a.news-list-link:hover .news-list-arrow {
  color: #127b45;
  transform: translateX(6px);
}

/* ===================================================
   レスポンシブ
=================================================== */
@media (max-width: 960px) {
  body.subpage-body { padding-top: 104px; }
  #newsWrap { padding: 40px 28px 80px; }
  .news-page-hero { padding: 44px 20px 36px; }
}
@media (max-width: 767px) {
  body.subpage-body { padding-top: 96px; }
  #newsWrap { padding: 28px 20px 64px; }
  .news-page-hero { padding: 36px 20px 28px; }
  a.news-list-link {
    flex-direction: column;
    gap: 16px;
  }
  .news-list-thumb,
  .news-list-thumb img {
    width: 100%;
    flex: none;
  }
  .news-list-thumb img { height: 200px; }
}