:root {
  --green-900: #10291f;
  --green-800: #173729;
  --green-700: #244b37;
  --green-600: #315f45;
  --gold: #c7a14a;
  --gold-dark: #9a7b31;
  --cream: #f5f0e6;
  --cream-2: #ebe1cf;
  --ink: #1f2a24;
  --muted: #6d756d;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(16, 41, 31, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(199, 161, 74, 0.16), transparent 25%),
    linear-gradient(180deg, #f8f3ea 0%, #efe5d2 100%);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(36, 75, 55, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--green-700);
}

.brand img {
  width: 76px;
  height: auto;
}

.brand small,
.brand span {
  display: block;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.brand span {
  color: var(--gold-dark);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--green-700);
  white-space: nowrap;
  opacity: 0.86;
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 700px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 35, 25, 0.94) 0%, rgba(16, 41, 31, 0.82) 48%, rgba(16, 41, 31, 0.42) 100%),
    url("../img/y1525-hero.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, #f8f3ea);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 56px;
  padding: 96px 0 84px;
}

.hero-copy {
  max-width: 760px;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.hero-label {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58);
}

.hero-label::before,
.section-kicker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.12em;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.62), 0 1px 2px rgba(0, 0, 0, 0.75);
}

.hero p {
  max-width: 650px;
  margin-top: 28px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--white);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.64), 0 1px 2px rgba(0, 0, 0, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-900);
  box-shadow: 0 16px 34px rgba(199, 161, 74, 0.28);
}

.btn-primary,
.btn-dark {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(16, 41, 31, 0.24);
}

.btn-dark {
  background: var(--green-900);
}

.btn-facebook {
  background: #315f8f;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(18, 48, 84, 0.24);
}

.hero-note {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(16, 41, 31, 0.62);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-note span {
  display: block;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.hero-note p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
}

section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.08em;
  color: var(--green-800);
}

.section-text {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.instagram-section {
  background: var(--green-900);
  color: var(--white);
}

.instagram-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.instagram-section .section-title,
.instagram-section .section-text {
  color: var(--white);
}

.instagram-section .section-text {
  color: rgba(255, 253, 248, 0.78);
}

.account-card {
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.14);
}

.account-card span {
  display: block;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.account-card strong {
  display: block;
  margin: 8px 0 20px;
  font-size: 26px;
  letter-spacing: 0.08em;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.instagram-panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.instagram-panel iframe {
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}

.instagram-fallback {
  position: absolute;
  inset: auto 18px 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(16, 41, 31, 0.92);
  color: var(--white);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.instagram-fallback a {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}

.intro-grid,
.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-pair figure,
.menu-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-pair img {
  aspect-ratio: 4 / 5;
}

figcaption {
  padding: 12px 14px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.menu-section {
  background: rgba(255, 253, 248, 0.5);
}

.menu-grid {
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
}

.menu-photo img {
  aspect-ratio: 5 / 3;
}

.pill {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(199, 161, 74, 0.18);
  color: var(--gold-dark);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 41, 31, 0.1);
}

.info-card span {
  display: block;
  color: var(--gold);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.info-card h3 {
  margin-top: 16px;
  color: var(--green-800);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.info-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.links-section {
  padding-top: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.link-grid a {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(36, 75, 55, 0.1);
  color: var(--green-700);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  padding: 56px 0 28px;
  background: var(--green-900);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  font-size: 22px;
  letter-spacing: 0.12em;
}

.footer p {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.82);
}

.copyright {
  width: min(1120px, calc(100% - 48px));
  margin: 26px auto 0;
  font-size: 12px;
}

/* お知らせ（news2.json 駆動） */
.news-feed-section {
  background: rgba(255, 253, 248, 0.5);
}

.news-feed-head {
  margin-bottom: 42px;
}

.news-feed-head .section-text {
  max-width: 640px;
}

.y-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.y-news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(36, 75, 55, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 41, 31, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.y-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--green-600);
}

.y-news-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}

.y-news-card .thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: var(--white);
}

.thumb-placeholder[data-cat="林道情報"] {
  background: linear-gradient(135deg, #3d6b8a, #244b37);
}

.thumb-placeholder[data-cat="山の家"] {
  background: linear-gradient(135deg, #c2415f, #9a7b31);
}

.y-news-card .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
}

.y-news-card .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.y-news-card .date {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.y-news-card .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: var(--green-600);
}

.y-news-card .badge[data-cat="山の家"] {
  background: #c2415f;
}

.y-news-card .badge[data-cat="林道情報"] {
  background: #3d6b8a;
}

.y-news-card .badge.is-new {
  background: #d9534f;
  letter-spacing: 0.08em;
}

.y-news-card .title {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--green-800);
}

.y-news-card .summary {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.y-news-state {
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
}

.news-feed-foot {
  margin-top: 40px;
  text-align: center;
}

/* 山の家の仲間たち（マスコット） */
.mascot-section {
  background: rgba(255, 253, 248, 0.5);
}

.mascot-head {
  margin-bottom: 42px;
}

.mascot-head .section-text {
  max-width: 640px;
}

.mascot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mascot-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(36, 75, 55, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 41, 31, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mascot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--green-600);
}

.mascot-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 28%, rgba(199, 161, 74, 0.14), transparent 62%),
    var(--cream);
}

.mascot-visual img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.mascot-body {
  padding: 26px 26px 28px;
}

.mascot-eyebrow {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.mascot-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--green-800);
}

.mascot-reading {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mascot-catch {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-700);
}

.mascot-text {
  margin-top: 12px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.mascot-serif {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 14px;
  color: var(--green-800);
}

.mascot-foot {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .y-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-inner,
  .instagram-grid,
  .intro-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    max-width: 420px;
  }

  .info-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .copyright {
    width: min(100% - 32px, 1120px);
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 62px;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    min-height: 620px;
    padding: 70px 0 64px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  section {
    padding: 72px 0;
  }

  .photo-pair,
  .info-grid,
  .link-grid,
  .y-news-list {
    grid-template-columns: 1fr;
  }

  .mascot-card {
    grid-template-columns: 1fr;
  }

  .mascot-visual img {
    max-height: 300px;
  }

  .instagram-panel,
  .instagram-panel iframe {
    min-height: 520px;
    height: 520px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 22px;
  }
}

/* ホーム index.html のトップトーンに合わせる上書き */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 24px 0;
  color: var(--white);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.header-inner {
  min-height: 0;
  align-items: flex-start;
  gap: 24px;
}

.brand {
  color: var(--white);
}

.brand small,
.brand span {
  color: rgba(255, 253, 248, 0.82);
}

.brand span {
  letter-spacing: 0.22em;
}

.brand img {
  width: 80px;
}

.nav {
  max-width: 760px;
  justify-content: flex-end;
  gap: 6px 14px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.nav a {
  padding: 3px 0;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.hero {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(9, 28, 20, 0.82) 0%, rgba(12, 35, 25, 0.58) 42%, rgba(12, 35, 25, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 36, 28, 0.22), rgba(13, 36, 28, 0.34)),
    url("../img/y1525-hero.jpg") center / cover no-repeat;
}

.hero::after {
  height: 210px;
  background: linear-gradient(180deg, transparent, rgba(16, 41, 31, 0.8));
}

.hero-inner {
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  padding-top: 112px;
}

.hero h1 {
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 98px);
}

.hero p {
  max-width: 620px;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: 0.12em;
}

.hero-note {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  padding: 34px;
  border-radius: 50%;
  text-align: center;
  background: rgba(16, 41, 31, 0.28);
}

.hero-note::before,
.hero-note::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 50%;
}

.hero-note span,
.hero-note strong,
.hero-note p {
  position: relative;
  z-index: 1;
}

.hero-note span {
  margin-bottom: 6px;
}

.hero-note strong {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.8;
}

.hero-note p {
  display: none;
}

@media (max-width: 1100px) {
  .nav {
    max-width: 660px;
    gap: 5px 11px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .nav {
    max-width: 100%;
    justify-content: flex-start;
    gap: 5px 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding-top: 150px;
  }

  .hero-note {
    display: none;
  }
}

@media (max-width: 680px) {
  .container,
  .copyright {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 18px 0;
  }

  .brand img {
    width: 64px;
  }

  .nav {
    gap: 4px 9px;
    font-size: 10.5px;
    line-height: 1.3;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    min-height: 700px;
    padding-top: 170px;
  }

  .hero h1 {
    letter-spacing: 0.06em;
  }

  .hero p {
    font-size: 15px;
    letter-spacing: 0.06em;
  }
}

/* ご利用案内カード内リンクを視認できるように */
.info-card a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.info-card a:hover { color: var(--gold); }
