@charset "UTF-8";
/* なかつくにニュース（トップページ）2026-11 */

html {
  scroll-behavior: smooth;
}

/* ---------- section ---------- */
.home-news {
  position: relative;
  background-color: #f3efe8;
  background-image: url(../img/stucco.jpg);
  background-size: 480px 480px;
  color: #2a2622;
  padding: 64px 20px 88px;
}

@media screen and (max-width: 479px) {
  .home-news {
    order: 3;
  }
}

@media screen and (min-width: 480px) {
  .home-news {
    margin-left: 200px;
    padding: 88px clamp(32px, 5vw, 80px) 120px;
  }

  /* 縦長の画面（タブレットなど）：映像の下にメニューを横に並べ、その下にニュースを置く */
  body:has(#nav.tate) {
    display: flex;
    flex-direction: column;
  }

  body:has(#nav.tate) .first-view {
    order: 1;
  }

  #nav.tate {
    position: relative;
    order: 2;
    top: auto !important;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    padding: 18px 28px 16px;
  }

  #nav.tate .nav-logo {
    flex: 0 0 138px;
    min-width: 0;
    height: 66px;
  }

  #nav.tate .nav-menu {
    width: auto;
    padding-bottom: 0;
  }

  #nav.tate ~ .home-news {
    order: 3;
    margin-left: 0;
  }
}

.home-news :where(h2, h3, p) {
  margin: 0;
}

.home-news__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.home-news__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  font-family: "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.home-news__heading::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid rgba(120, 92, 60, 0.3);
}

.home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- card ---------- */
.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  color: inherit;
  text-decoration: none;
}

@media screen and (min-width: 860px) {
  .news-card {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 44px;
    align-items: end;
  }
}

.news-card__photo {
  overflow: hidden;
}

.news-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 600ms ease;
}

.news-card:hover .news-card__photo img {
  transform: scale(1.02);
}

.news-card__body {
  font-family: "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-weight: 500;
}

.news-card__date {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #96643a;
}

.news-card__date::before {
  content: "";
  display: block;
  width: 28px;
  border-top: 1px solid #96643a;
  margin-bottom: 12px;
}

.news-card__title {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  font-feature-settings: "palt";
}

.news-card__gap {
  display: inline-block;
  width: 0.45em;
}

.news-card__report {
  display: block;
}

.news-card__sub {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.75;
  font-feature-settings: "palt";
}

.news-card__lead {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.03em;
  text-align: justify;
}

.news-card__more {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid #96643a;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #96643a;
}

.news-card:hover .news-card__more {
  opacity: 0.7;
}

/* ---------- 映像の左下の案内 ---------- */
.home-news-chip {
  position: absolute;
  z-index: 30;
  left: calc(200px + clamp(20px, 3vw, 48px));
  bottom: clamp(20px, 3vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 10px;
  background-color: rgba(243, 239, 232, 0.94);
  color: #2a2622;
  font-family: "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.home-news-chip__label {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #96643a;
}

.home-news-chip:hover {
  opacity: 0.82;
}

#nav.tate ~ .first-view .home-news-chip {
  left: clamp(20px, 3vw, 48px);
}

@media screen and (max-width: 479px) {
  .home-news-chip {
    display: none;
  }
}

@media screen and (min-width: 480px) and (max-width: 899px) {
  .home-news-chip__title {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .news-card__photo img {
    transition: none;
  }
}
