:root {
  --bg: #faf8f5;
  --bg-alt: #f3eee6;
  --bg-section: #ffffff;
  --paper: #ffffff;
  --ink: #3c342d;
  --muted: #837970;
  --brand: #2b702e;
  /* 少し深く落ち着いた緑 */
  --brand-light: #e8f5e9;
  --accent: #ca6d43;
  /* 落ち着いたテラコッタ */
  --radius-sm: 8px;
  --radius: 20px;
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --radius: 20px;
  --header-h: 72px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-feature-settings: "palt" 1;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  /* 少し広げて読みやすく */
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================================
 * Typography & Utilities
 * ================================= */
h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: .05em;
  text-align: center;
}

h3 {
  font-size: clamp(22px, 3.5vw, 26px);
}

p {
  margin-top: 0;
  margin-bottom: 20px;
}

p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.note {
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 12px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================================
 * Section Structure
 * ================================= */
.section-group {
  padding: 120px 0;
  /* 余白を広げてプレミアム感を出す */
  position: relative;
}

@media (max-width: 768px) {
  .section-group {
    padding: 80px 0;
  }
}

.section-group.bg-alt {
  background-color: var(--bg-alt);
}

.section-group.bg-white {
  background-color: #fff;
}

.group-header {
  text-align: center;
  margin-bottom: 64px;
}

.group-header h2 {
  margin-bottom: 12px;
}

.group-header h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
  margin: 16px auto 0;
}

.group-header p.section-subtitle {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sub-section {
  margin-bottom: 80px;
}

.sub-section:last-child {
  margin-bottom: 0;
}

.sub-section h3.sub-title {
  font-size: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-section h3.sub-title::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

/* =================================
 * Components
 * ================================= */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 112, 46, .25);
}

.btn-primary:hover {
  background: #235a26;
  box-shadow: 0 12px 32px rgba(43, 112, 46, .35);
}

.btn-ghost {
  background: #fff;
  border: 1px solid #e2ddd3;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--muted);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Common Cards (.feature) */
.feature {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  margin-bottom: 32px;
  transition: all 0.4s ease;
}

@media (max-width: 768px) {
  .feature {
    padding: 24px;
  }
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature .grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.feature .media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-alt);
  position: relative;
  aspect-ratio: 4/3;
}

.feature .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.feature:hover .media img {
  transform: scale(1.08);
}


.feature p.desc {
  color: #554d45;
  margin: 12px 0 20px;
  line-height: 1.8;
}

.feature ul {
  margin: 12px 0;
  padding-left: 20px;
  color: #554d45;
}

.feature ul li {
  margin: 8px 0;
}


/* =================================
 * Header & Navigation
 * ================================= */
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.site-header.is-scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px !important;
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap !important;
  color: var(--ink);
  font-size: 1.2rem;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 15px rgba(43, 112, 46, .2);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand:hover .brand-logo-img {
  transform: rotate(10deg) scale(1.1);
}

nav.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  opacity: 0.8;
}

nav.nav a:hover {
  opacity: 1;
}

nav.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--brand);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav.nav a:hover::after {
  width: 100%;
}

.header-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  color: var(--ink);
}

.icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
}

@media (min-width: 961px) {

  .menu-toggle,
  #mobileMenu,
  #menuOverlay {
    display: none !important;
  }
}

@media (max-width: 960px) {

  nav.nav,
  .header-sns {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Mobile Menu Styles */
#mobileMenu {
  padding: 40px 24px;
  background: var(--bg);
}

#mobileMenu .menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

#mobileMenu .menu-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

#mobileMenu .menu-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--brand-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobileMenu a.menu-link {
  display: block;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#mobileMenu .sns-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}


/* =================================
 * Hero Section
 * ================================= */
.hero {
  position: relative;
  min-height: clamp(600px, 85vh, 900px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(43, 112, 46, 0.6) 0%, rgba(20, 20, 20, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
    url('../images/hero.webp') center/cover no-repeat;
  z-index: 0;
  animation: bgScale 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bgScale {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(80px, 15vh, 140px);
  padding-bottom: clamp(60px, 10vh, 100px);
  width: 100%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: heroContentIn 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title {
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 4px 30px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-usp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 4px solid var(--accent);
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 12px 12px 0;
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}

.usp-text {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

/* =================================
 * SNS Hub (強化されたSNS紹介)
 * ================================= */
.sns-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .sns-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .sns-hub-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
}

.sns-item-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 16px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.sns-item-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.sns-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  transition: transform 0.3s ease;
}

.sns-item-card:hover .sns-icon-wrap {
  transform: rotate(10deg) scale(1.1);
}

.sns-item-card.instagram .sns-icon-wrap {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sns-item-card.youtube .sns-icon-wrap {
  background: #FF0000;
}

.sns-item-card.x .sns-icon-wrap {
  background: #000;
}

.sns-item-card.threads .sns-icon-wrap {
  background: #000;
}

.sns-item-card.tiktok .sns-icon-wrap {
  background: #000;
}

.sns-item-card.line .sns-icon-wrap {
  background: #06C755;
}

.sns-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.sns-item-card h4 {
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sns-item-card .btn {
  padding: 8px 12px;
  font-size: 11px;
  margin-top: auto;
  min-width: 100px;
}


/* =================================
 * Custom Layouts
 * ================================= */
/* News Grid */
/* .news-list: margin-bottom to make room if needed, but flex-direction removed to let grid handle it */

/* 通常の（小さい）ニュースカード */
.news-card {
  padding: 20px;
  /* inherits .feature properties */
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

/* トップ用：大きく表示する特集ニュースカード */
.news-card-featured {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-featured-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .news-featured-grid {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .news-featured-grid .featured-media {
    flex: 0 0 55%;
    margin-bottom: 0;
  }

  .news-featured-grid .featured-body {
    flex: 1;
  }
}

.featured-title {
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.4;
  margin: 0 0 12px;
}

.featured-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

/* 通常の（小さい）ニュースカード */
.news-card {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* コンパクト表示用の調整 */
.news-list .related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .news-list .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card.compact {
  padding: 16px;
}

.news-card.compact .news-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
}

.news-card.compact .news-media img {
  object-fit: cover;
  /* coverにしつつ比率を16/9に戻すことで、極端な切り取られを防ぐ */
}

@media (max-width: 600px) {
  .news-card.compact .news-media {
    aspect-ratio: 21 / 9;
    /* モバイルでは少し低くして省スペースに */
  }
}

.news-card.compact .news-title {
  font-size: 15px;
  margin-bottom: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card.compact .desc {
  display: none;
}

/* Places / Kitchen Cars Grid */
.places-grid,
.kitchen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {

  .places-grid,
  .kitchen-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card-vertical {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-vertical:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-vertical .media {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-vertical .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card-vertical:hover .media img {
  transform: scale(1.05);
}

.card-vertical .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-vertical .title {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Slide Embed */
.slide-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f1ebd9;
}

.slide-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 0.3s, color 0.3s;
}

.faq-item[open] .faq-q::after {
  content: '-';
  color: var(--brand);
}

.faq-a {
  padding: 0 24px 20px;
  color: #554d45;
  font-size: 15px;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Map Embed */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .map-wrap {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 12;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info p,
.map-info ul {
  margin: 8px 0;
}

.map-info ul {
  padding-left: 20px;
}


/* =================================
 * Footer
 * ================================= */
footer.site-footer {
  background: var(--bg-alt);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.copyright {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: 60px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 40px;
  letter-spacing: 0.1em;
}

/* =================================
 * Animations & Utils
 * ================================= */
.pre-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pre-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =================================
 * News Detail Page
 * ================================= */
.news-detail-header {
  margin-bottom: 24px;
}

.news-main-visual {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f2ee;
  box-shadow: var(--shadow-sm);
}

.news-body-content h2 {
  font-size: clamp(20px, 3vw, 24px);
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--brand);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.news-body-content h3 {
  font-size: clamp(18px, 2.5vw, 20px);
  margin-top: 2em;
  margin-bottom: 0.8em;
  color: var(--ink);
  font-weight: 700;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.news-body-content h4 {
  font-size: 16px;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  color: var(--ink);
  font-weight: 700;
}

.news-body-content p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.news-body-content img {
  margin: 1.5em 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.news-body-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.news-body-content a:hover {
  color: var(--accent);
}

.news-body-content ul,
.news-body-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: var(--ink);
}

.news-body-content ul li,
.news-body-content ol li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.news-body-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  color: var(--muted);
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  border-radius: 4px;
}

.news-body-content strong {
  font-weight: 700;
  color: var(--ink);
}

.news-body-content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3em 0;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================================
 * Product List Section
 * ================================= */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  /* オーバーレイ基準用 */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f6f2ee;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  min-height: 3em;
  /* 2行分＋αの高さで固定 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
  /* 価格をボタンの上に固定しつつ高さを揃える */
}

.product-price::after {
  content: "円（税込）";
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* 画面全体に浮かび上がる詳細モーダル */
.product-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* 背景をしっかり暗くする */
  z-index: 100000;
  /* 最前面 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.product-details-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.product-details-content {
  background: #fff;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-details-modal.is-active .product-details-content {
  transform: translateY(0);
}

.modal-product-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  color: var(--ink);
}


.product-description {
  font-size: 15px;
  color: #554d45;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* 商品説明内のスペック表調整 */
.product-description ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.product-description li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-description li strong {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 600;
}

.product-shipping-note {
  font-size: 13px;
  color: var(--muted);
  background: #fcfbf9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-detail-close {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background: var(--brand);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}

.btn-detail-close:hover {
  background: #27692a;
  transform: translateY(-2px);
}

.btn-detail-toggle {
  width: 100%;
  margin-bottom: 12px;
}

/* =================================
 * Rich Text Content (News/Blog Body)
 * ================================= */
.news-body-content,
.news-detail-body {
  line-height: 1.9;
  color: var(--ink);
  font-size: clamp(16px, 2.5vw, 17px);
}

.news-body-content p,
.news-detail-body p {
  margin-bottom: 1.6em;
}

.news-body-content h2,
.news-detail-body h2 {
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--brand-light);
  text-align: left;
  border-left: 6px solid var(--brand);
  padding-left: 15px;
}

.news-body-content h3,
.news-detail-body h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  margin: 2rem 0 1rem;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.news-body-content ul,
.news-detail-body ul,
.news-body-content ol,
.news-detail-body ol {
  margin-bottom: 1.6em;
  padding-left: 1.5em;
}

.news-body-content li,
.news-detail-body li {
  margin-bottom: 0.6em;
}

.news-body-content img,
.news-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-body-content hr,
.news-detail-body hr {
  border: 0;
  border-top: 2px dashed var(--bg-alt);
  margin: 3rem 0;
}

.news-body-content a,
.news-detail-body a {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 600;
}

.news-body-content a:hover,
.news-detail-body a:hover {
  color: var(--accent);
}

.news-body-content strong,
.news-detail-body strong {
  color: var(--ink);
  background: linear-gradient(transparent 70%, #fff9c4 70%);
  /* 薄い黄色のマーカー風ハイライト */
}

/* =================================
 * Back To Top Button
 * ================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(43, 112, 46, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
  padding: 0;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  background: #235a26;
  box-shadow: 0 8px 24px rgba(43, 112, 46, 0.4);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}