/* === Auto-generated split from style.css (base.css) === */
/* Generated by /tmp/css_split_v2.py using HTML class-usage analysis */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
/* CLS対策: JS注入 partial の空状態でスペース予約 */
header[data-partial]:empty { display: block; min-height: 73px; }
footer[data-partial]:empty { display: block; min-height: 400px; background: #fbf7eb; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
:root {
  --yellow: #f0b837;
  --yellow-dk: #e8a000;
  --teal: #4dbdaa;
  --teal-dk: #3aa090;
  --red: #e07a6e;
  --pink: #ed9aa3;
  --cream: #faf6ec;
  --cream-dk: #f5ecd5;
  --sky: #7ec8e3;
  --text: #3a3a3a;
  --muted: #888;
  --border: #ececec;
}
/* キーボード操作時のフォーカス */
:focus-visible {
  outline: 3px solid var(--teal-dk);
  outline-offset: 2px;
  border-radius: 4px;
}
/* スキップリンク */
/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .25s ease;
  will-change: transform;
}
/* スマホでは fixed にしてオートハイドを安定させる（sticky+transformは挙動不安定なため） */

@media (max-width: 768px) {
.header {
    position: fixed;
    left: 0; right: 0; top: 0;
  }
body { padding-top: 73px; }
/* ヘッダー高さ分のオフセット */
.header.is-hidden { transform: translateY(-100%); }
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 28px;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark { width: 56px; height: 38px; display: block; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-jp {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 700; color: #2a2a2a;
  letter-spacing: 0.05em;
}
.logo-en { font-size: 9px; letter-spacing: 0.18em; color: #888; font-weight: 500; margin-top: 2px; }
.logo-sub { font-size: 9px; color: #aaa; margin-top: 1px; }
.nav { flex: 1; display: flex; gap: 22px; justify-content: center; font-size: 13px; font-weight: 500; }
.nav a {
  color: #3a3a3a; padding: 6px 0; position: relative;
  transition: color 0.2s;
}
.nav a.active { color: var(--yellow-dk); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--yellow); border-radius: 2px;
}
.nav a:hover { color: var(--yellow-dk); }
/* ハンバーガー */
.nav-toggle {
  display: none; width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #3a3a3a; border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ===== Hero ===== */
.hero {
  position: relative; min-height: 580px; overflow: hidden;
  background: linear-gradient(180deg, #cfeaf3 0%, #88c5dc 60%, #5fa9c5 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 85%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 40px 48px 140px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.hero-content { max-width: 760px; }
.hero-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45);
}
.hero-desc {
  display: block;
  font-size: clamp(13px, 1.5vw, 16px);
  color: #fff;
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45);
}
/* 波線は撤去し、下端を白へグラデで馴染ませる */
.wave-bottom { display: none; }
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 70%, #fff 100%);
  z-index: 3;
  pointer-events: none;
}
/* ===== 3カード ===== */
.cards-section {
  background: #fff;
  padding: 50px 24px 80px;
}
.cards {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); }
.card-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  padding: 6px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.badge-story { background: rgba(224, 122, 110, 0.9); }
.badge-shop { background: rgba(240, 184, 55, 0.92); }
.badge-visit { background: rgba(77, 189, 170, 0.9); }
.card-img-link {
  display: block; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.4s;
}
.card-img-link:hover .card-img { transform: scale(1.04); }
.card-body { padding: 22px 8px 0; }
.card-body h2 {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 20px; font-weight: 700; line-height: 1.6;
  margin-bottom: 12px; color: #2a2a2a;
}
.card-body p { font-size: 15px; color: #555; line-height: 1.95; margin-bottom: 16px; }
.card-link { font-size: 14px; font-weight: 700; transition: opacity 0.2s; }
.card-link:hover { opacity: 0.7; }
.link-red { color: var(--red); }
.link-yellow { color: #b07900; }
.link-teal { color: var(--teal); }
/* ===== Our Story ===== */
.our-story {
  background: var(--cream);
  padding: 96px 24px;
  position: relative;
}
.story-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 320px 1fr;
  gap: 56px; align-items: start;
}
.story-label {
  font-family: 'Noto Sans JP', cursive;
  font-size: 26px; color: var(--yellow-dk);
  font-style: italic; margin-bottom: 16px;
}
.story-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 25px; font-weight: 700;
  line-height: 1.7; margin-bottom: 22px;
  color: #2a2a2a;
}
.story-text {
  font-size: 15px; line-height: 2; color: #4a4a4a;
  margin-bottom: 36px;
}
.btn-story {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: var(--yellow);
  color: #fff; font-weight: 700; font-size: 13px;
  padding: 12px 28px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(240,184,55,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-story:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(240,184,55,0.5); }
/* timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 50px;
}
.tl-item { position: relative; }
.tl-img {
  width: 100%; height: 130px; object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 4px solid #fff;
}
.tl-cap { padding-top: 10px; }
.tl-cap strong {
  display: block; font-family: 'Shippori Mincho', serif;
  font-size: 17px; font-weight: 700; color: #2a2a2a;
}
.tl-cap strong .tl-num {
  color: var(--yellow-dk);
  font-weight: 700;
  font-size: inherit;
  margin-right: 2px;
}
.tl-cap span { font-size: 12px; color: #999; }
.tl-cap p { font-size: 14px; color: #4a4a4a; line-height: 1.75; margin-top: 4px; }
.tl-arrow {
  position: absolute; top: 55px; right: -38px;
  font-size: 22px; color: var(--yellow-dk); font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
}
/* ===== 人気のお土産 + お知らせ ===== */
.info-section {
  background: #fff;
  padding: 60px 24px;
}
.block-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
  border-left: 4px solid var(--yellow);
  padding-left: 12px;
}
.block-head h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 21px; font-weight: 700;
}
.see-all { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.see-all:hover { color: var(--yellow-dk); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { position: relative; }
.product-link { display: block; transition: opacity 0.2s; }
.product-link:hover { opacity: 0.85; }
.rank-badge {
  position: absolute; top: -8px; left: -8px; z-index: 2;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--yellow); color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2;
  transform: rotate(-8deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.product:nth-child(2) .rank-badge { background: #c9a050; }
.product:nth-child(3) .rank-badge { background: #b89060; }
.product:nth-child(4) .rank-badge { background: #aaaaaa; }
.product-img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 8px;
}
.product h3 { font-size: 14px; font-weight: 500; color: #333; }
.price { font-size: 14px; color: #555; margin-top: 2px; }
.price span { font-size: 11px; color: #999; }
.news-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 15px;
}
.news-list li:last-child { border-bottom: none; }
.news-tag {
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.news-date { color: var(--muted); font-size: 13px; flex-shrink: 0; margin-top: 3px; }
.news-text {
  color: #333;
  transition: color 0.2s;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-text:hover { color: var(--yellow-dk); }
/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 90px 24px 50px;
  background: linear-gradient(180deg, #cfeaf3 0%, #88c5dc 100%);
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}
.cta-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.cta-left h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 25px; font-weight: 700;
  color: #1f3d4a; line-height: 1.6;
  margin-bottom: 12px;
}
.cta-left p { font-size: 15px; color: #2a4a5a; margin-bottom: 22px; line-height: 1.95; }
.btn-cta {
  display: inline-block;
  background: var(--yellow);
  color: #fff; font-weight: 700; font-size: 13px;
  padding: 12px 28px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cta-card {
  position: relative;
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.20); }
.cta-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.cta-card:hover img { transform: scale(1.04); }
.cta-card span {
  display: block;
  background: #fff; color: #1f3d4a;
  font-size: 13px; font-weight: 700;
  padding: 12px 14px;
  text-align: center;
  letter-spacing: .02em;
}
/* CTAセクションのモバイル最適化 */

@media (max-width: 768px) {
.cta-inner { grid-template-columns: 1fr; gap: 28px; }
.cta-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cta-card { aspect-ratio: 1/1; padding-bottom: 10px; }
.cta-card span { font-size: 10.5px; padding: 5px 10px; white-space: nowrap; }
}

@media (max-width: 480px) {
.cta-cards { grid-template-columns: 1fr; gap: 10px; }
.cta-card {
    aspect-ratio: auto !important;
    height: 56px;
    padding: 0 18px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  }
/* スマホでは写真と暗転は非表示にしてシンプルに */
.cta-card img,
  .cta-card::after { display: none !important; }
.cta-card span {
    font-size: 14.5px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #1f3d4a;
    font-weight: 700;
    position: relative;
    padding-left: 22px;
  }
/* 各カードの左にカラーマーカー */
.cta-card span::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
  }
.cta-card:nth-child(1) span::before { background: #d99818; }
.cta-card:nth-child(2) span::before { background: #4dbdaa; }
.cta-card:nth-child(3) span::before { background: #88c5dc; }
}
/* ===== Footer ===== */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dk) 100%);
  padding: 96px 24px 28px;
  margin-top: 80px;
  color: var(--text);
  overflow: hidden;
}
/* 上端の波 */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,40 C240,0 480,60 720,30 C960,0 1200,60 1440,30 L1440,0 L0,0 Z' fill='%23ffffff'/></svg>") top/100% 100% no-repeat;
}
/* 装飾：右下に大きなレモン円 */
.footer::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,55,.18) 0%, rgba(240,184,55,0) 70%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2.2fr;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(58,58,58,.10);
  z-index: 1;
}
/* ブランド側 */
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .logo-mark { width: 64px; height: 44px; }
.footer-brand .logo-jp { font-size: 24px; }
.footer-brand .logo-en { font-size: 10px; letter-spacing: .2em; }
.footer-brand .logo-sub { font-size: 10px; color: #999; }
.footer-tagline {
  font-size: 13px;
  color: #666;
  line-height: 2;
  margin-bottom: 22px;
  max-width: 360px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 0;
}
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: none;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dk);
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover {
  background: var(--yellow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240,184,55,.35);
}
/* ナビ4列 */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: .05em;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li {
  font-size: 12.5px;
  color: #555;
  margin: 0;
}
.footer-col ul li a {
  display: inline-block;
  transition: color .2s, transform .2s;
}
.footer-col ul li a:hover {
  color: var(--yellow-dk);
  transform: translateX(3px);
}
.copy {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 11px;
  color: #888;
  padding-top: 24px;
  margin: 0;
  border-top: none;
  letter-spacing: .08em;
}
/* ===== Responsive ===== */

@media (max-width: 1024px) {
.nav { gap: 14px; font-size: 12px; }
.story-inner { grid-template-columns: 1fr; }
.cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
.header-inner { padding: 12px 16px; gap: 12px; }
.nav-toggle { display: flex; order: 3; margin-left: auto; }
.nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 0;
    padding: 8px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transform: translateY(-150%);
    transition: transform 0.3s;
    pointer-events: none;
    border-top: 1px solid var(--border);
  }
.nav.is-open { transform: translateY(0); pointer-events: auto; }
.nav a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    width: 100%; text-align: left;
    font-size: 14px;
  }
.nav a.active::after { display: none; }
.nav a.active { background: var(--cream); }
/* 3カードは縦並びに戻す */
.cards { grid-template-columns: 1fr; max-width: 480px; }
/* === Our Story タイムラインを横スクロールに === */
.timeline {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
  }
.timeline::-webkit-scrollbar { display: none; }
/* 先頭・末尾に空のフレックスアイテムを足して中央スナップ */
.timeline::before, .timeline::after {
    content: '';
    flex: 0 0 12.5%;
  }
.tl-item {
    flex: 0 0 75%;
    scroll-snap-align: center;
  }
.tl-img { height: 160px; }
.tl-arrow { display: none; }
.products { grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-inner { grid-template-columns: 1fr; gap: 24px; }
.footer-cols { grid-template-columns: 1fr 1fr; }
.hero { min-height: 440px; }
.hero-inner { flex-direction: column; padding: 28px 20px 36px; gap: 14px; }
.hero-overlay { background: none; }
.hero::after { display: none; }
.cta-inner { gap: 28px; }
}

@media (max-width: 480px) {
/* .timeline は横スクロール継続（grid戻し不要） */
.products { grid-template-columns: 1fr; }
.footer-cols { grid-template-columns: 1fr; }
/* セクション余白の最適化 */
.cards-section { padding: 32px 16px 44px; }
.cards { gap: 22px; }
.info-section { padding: 36px 16px; }
.our-story { padding: 44px 16px; }
.cta-section { padding: 44px 16px; }
.cta-left h2 { font-size: 19px; line-height: 1.55; }
.cta-left p { font-size: 14px; line-height: 1.85; }
/* お知らせ：日付/NEWは1行、タイトルは下に折り返し */
.news-list li {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 6px;
    column-gap: 10px;
  }
.news-list .news-text { flex-basis: 100%; margin-top: 0; }
.news-tag, .news-date { margin-top: 0; }
/* タイトル系：行間を確保 */
.hero { min-height: 380px; }
.hero-inner { padding: 22px 18px 32px; gap: 12px; }
.hero-title { line-height: 1.7; }
.hero-desc { line-height: 1.95; }
/* タッチターゲット最低44pxを保証 */
.nav.open a { padding: 16px 20px; min-height: 44px; }
.btn-cta, .btn-story, .story-hero-btn { min-height: 44px; }
.card-link, .see-all { padding: 6px 0; display: inline-block; min-height: 32px; }
/* カード系の左右余白を引き締め */
.card-body { padding: 18px 6px 0; }
/* お知らせ一覧：縦積みで見やすく */
/* 訪れる/移住するページのカード */
/* 画像の縦サイズを十分に確保（縦潰れ対策） */
.card-img { height: auto; aspect-ratio: 4 / 3; }
.tl-img { height: 200px; }
.hero-bg-img { object-position: center 50%; }
/* 各ページのヒーロー高さ・余白の最適化 */
}
/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
 * 共通カードベース（リファクタ：派生カードに共通する基本のみ）
 * 注：.card は badge が外側にはみ出すため overflow:hidden を継承させない
 * ============================================================ */
.tl-card,
.feature-card,
.voice-card,
.person-card {
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* ============================================================
 * news.html のカテゴリ色（旧 :root override から移植）
 * --yellow-dk と意味が異なるため "category" として独立管理
 * ============================================================ */
:root {
  --cat-news:   var(--yellow-dk); /* お知らせ全般 — メインアクセントと統一 */
  --cat-event:  #4a7fb5;
  --cat-life:   var(--teal-dk);   /* 暮らし — teal系に統一 */
  --cat-access: #7a6ea0;
  --cat-shop:   #b55a4a;
}
/* ============================================================
 * ABOUT ページ専用スタイル（旧 about.html <style> から統合）
 * ============================================================ */
.about-hero-title .accent { color: var(--yellow-dk); }
/* コラージュ：2枚の写真を回転オーバーラップ配置 */
.about-section.bg-cream {
  max-width: none;
  background: var(--cream);
}
.about-section.bg-cream .about-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sec-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--yellow-dk);
  margin-bottom: 10px;
  text-align: center;
}
.sec-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 3vw, 30px);
  color: #2a2a2a;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}
.sec-title .deco {
  color: var(--yellow);
  font-size: 0.8em;
  margin: 0 8px;
}
.sec-lead {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
  line-height: 1.9;
}
/* 中央寄せ見出しに合わせて本文も中央寄せ・幅を抑えて読みやすく */
/* ============ 島内マップ セクション（2カラム + スポット説明） ============ */
/* マップ本体（前の card 外枠は外して、グリッド内で 1 カラム占める要素に） */
/* カテゴリ見出し（明朝でちょっとオシャレ） */
/* スポット説明リスト */
/* モバイル：1カラム積み */

@media (max-width: 768px) {
/* スマホでは各スポットの詳細説明を省略 */
}
/* data-anchor で ラベルの出る方向を切替（ピン円を起点に配置） */
/* スマホ */
/* スマホは少し詰める */

@media (max-width: 768px) {
/* スマホでは画像と本文を横並びにして縦幅を圧縮 */
/* スマホでの強制改行抑制（自動折返しに任せる） */
.v3-ways-desc br,
  .v3-socials-desc br,
  .v3-events-desc br,
  .v3-cta-desc br,
  .mg2-hero-desc br,
  .mg2-intro-step p br,
  .pp-cta-title br,
  .fg-card-img-title br { display: none; }
/* 本文の中央揃え解除（左揃えで読みやすく。タイトルは中央のまま）
     ※ !important は、後段で .sec-lead { text-align: center } が再定義されているための上書き */
.sec-lead,
  .island-map-note,
  .tl-card-desc,
  .story-voices-inner > p,
  .people-intro,
  .closing-text,
  .mg-support-note,
  .mg-cta-note,
  .mg2-support-note,
  .news-cta-text { text-align: left !important; }
/* タイトルの孤立行を緩和（modernブラウザ：行末を均等化） */
.mg2-section-title,
  .mg2-hero-title,
  .pp-hero-title,
  .pp-cta-title,
  .story-cta-title,
  .about-cta-title,
  .v3-ways-title,
  .v3-socials-title,
  .v3-cta-title,
  .tl-card-title,
  .fg-card-img-title { text-wrap: balance; }
/* スマホ専用の改行（PC では非表示） */
}
/* ============================================================
 * STORY ページ専用スタイル（旧 story.html <style> から統合）
 * ============================================================ */
.story-hero-title .accent { color: var(--yellow-dk); }
/* マスキングテープ */
/* 矢印「▶」は非表示（ポラロイド風に統一） */
/* 6色のカード背景 — 異なる人の応援を感じさせる微差（クリーム基調から外さない） */
/* lemon */
/* mint */
/* peach */
/* sky */
/* sand */
/* lavender */
/* 引用符の色 — 主張しすぎない控えめ版 */
/* ========== Story Support (Crowdfunding) ========== */
/* 支援者数（みかん色）／支援総額（レモン色）でアイコン色分け */
/* ===== For Good project card (faithful reproduction) ===== */
/* カード全体をクリッカブルに（stretched link） */
/* ボタン領域だけ通常のクリック挙動（disabled ボタンと いいね は別動作） */

@media (max-width: 600px) {
/* 詳細説明とカードの順番を逆に：label→heading→stats→desc→link */
}

@media (max-width: 480px) {
/* スマホ：1列＋少しだけ強めの傾き */
}
/* ============================================================
 * NEWS ページ専用スタイル（旧 news.html <style> から統合）
 * 重複していた :root 上書きは削除し、共通パレットに統一
 * ============================================================ */
.news-section {
  background: #fff; padding: 60px 0 80px;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--yellow-dk); border-color: var(--yellow-dk); color: #fff;
}
.news-list {
  display: flex; flex-direction: column; gap: 0;
}
/* news.html のリストのみ：5件ぶん（140px × 5 = 700px）の高さを固定 → ページ切替でレイアウトズレなし */
#newsList.news-list {
  min-height: 700px;
}

@media (max-width: 768px) {
#newsList.news-list { min-height: 0; }
}
.news-date { font-size: 12px; color: var(--muted); }
/* ページネーション切替時に sticky header に隠れないようオフセット確保 */
/* スマホ：見出し+注釈+パンくずを縦積みに（横並びだと右側で文字が縦詰めになる） */

@media (max-width: 600px) {
/* news-item は 140px 固定だがスマホでは画像+本文が縦に積まれて全く収まらない → 自動高さに */
}
/* ページネーション（旧「もっと見る」ボタンを置き換え） */
.news-pagination .page-btn:hover:not(:disabled):not(.active) {
  background: var(--cream);
  border-color: var(--yellow-dk);
  color: var(--yellow-dk);
}
.news-pagination .page-btn.active {
  background: var(--yellow-dk);
  border-color: var(--yellow-dk);
  color: #fff;
  cursor: default;
}
/* ============================================================
 * PEOPLE ページ専用スタイル（旧 people.html <style> から統合）
 * ============================================================ */
/* ===== ページヒーロー ===== */
/* 装飾の擬似要素は使わない */
/* ===== イントロ ===== */
/* ===== プロフィールグリッド ===== */
/* ===== 横スクロールカルーセル ===== */
/* スクロールバーを隠す */
/* 矢印ボタン */
/* 人物アイコン（仮素材）— 写真の代わりに表示 */
/* ===== カード ===== */
/* 詳細ページがないため.person-cardはhoverエフェクトを無効化（複数箇所の上書き） */
/* ===== もっと見るボタン ===== */
/* ===== CTA ===== */
/* ===== 統計バー ===== */
/* ===== 準備中リンク（[data-coming-soon]）の視覚的非アクティブ表示 ===== */
[data-coming-soon] {
  opacity: 0.45;
  cursor: not-allowed;
}
[data-coming-soon]:hover {
  color: inherit !important;
  text-decoration: none !important;
}
/* ============================================================
 * TEAM ページ専用スタイル
 * ============================================================ */
/* ===== 共通セクション ===== */
.team-section.bg-cream {
  background: var(--cream);
}
/* ===== 大切にしていること（リスト） ===== */
/* ===== 中島で続けていること（4 icon grid） ===== */
/* ===== 運営者プロフィール ===== */
/* ===== CTA ===== */
/* ===== 画像プレースホルダー（差し替え用） ===== */
/* ===== Responsive ===== */

@media (max-width: 768px) {
/* モバイルでは「画像 → テキスト」の順で統一 */
}
/* TEAM ページ追加スタイル（メール文反映時） */
/* TEAMページ：英語ラベルのサイズUP & セクション別カラートーン */
.team-section .sec-label,
.team-hero .page-tag {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.28em;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: left;     /* 中央揃えの継承を解除しタイトルと揃える */
}
/* 4. 中島で続けていること は中央揃え（.sec-title のため） */
.team-section .sec-title + .team-tagline,
.team-section:has(.sec-title) > .team-section-inner > .sec-label {
  text-align: center;
}
/* セクション別アクセント色 */
/* ==================== team.html リデザイン（参考資料準拠） ==================== */
/* ヒーロー：フル幅写真＋左上タイトルオーバーレイ */
/* 5列グリッド（今取り組んでいること） */
/* プロフィール内テキスト微調整 */
/* CTA 微調整 */
/* レスポンシブ */
/* sec-title-left の前に小さな縦バーで色アクセント追加 */
.team-section h2.sec-title-left,
.team-section h2.sec-title {
  position: relative;
}
/* tagline（黄色サブ見出し）も色をテーマ追従 */
/* TEAM 私たちについてページ：参考デザイン寄りのタイポグラフィ強化 */
/* ヒーロータイトルを大きく（参考: 大きなセリフ） */
/* セクション見出しもShippori Minchoでより上品に */
.team-section .sec-title-left,
.team-section .sec-title {
  font-family: 'Shippori Mincho', 'Shippori Mincho', serif !important;
  font-weight: 700;
}
/* 運営者名 + 読み仮名 */
/* 大切にしている言葉（筆文字風） */
/* 旧 profile-quote ルールを上書き不要にしておく */
/* お土産4列レイアウト & 準備中カード */
.products.products-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.products-4 .product {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.products-4 .product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.products-4 .product-img {
  margin-bottom: 12px;
}
.products-4 .product h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.45;
}
.products-4 .price {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
}

@media (max-width: 1024px) {
.products.products-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
/* スマホ：ジグザグ横長カード（画像と文字の左右を交互） */
.products.products-4 { grid-template-columns: 1fr; gap: 14px; }
.products-4 .product { padding: 12px; }
.products-4 .product-link {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }
.products-4 .product-img {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    aspect-ratio: 1/1;
    margin: 0;
    padding: 6px;
  }
.products-4 .product-link h3 {
    grid-column: 2; grid-row: 1;
    font-size: 15px;
    margin: 0 0 2px;
    align-self: end;
  }
.products-4 .product-link .price {
    grid-column: 2; grid-row: 2;
    margin: 0;
    font-size: 13px;
  }
.products-4 .product-link .product-desc {
    grid-column: 2; grid-row: 3;
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.65;
  }
.products-4 .rank-badge { top: -4px; left: -4px; }
}
/* rank-badgeをカードらしく目立たせる（売れ筋訴求） */
.products-4 .rank-badge {
  width: auto; height: auto;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  transform: rotate(-6deg);
  top: -10px; left: -6px;
  line-height: 1;
  background: #f0b837;
  color: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 6px 16px rgba(240,184,55,.5), 0 2px 4px rgba(0,0,0,0.15);
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
/* 2番目（大人気）は赤系で色分け */
.products-4 .product:nth-child(2) .rank-badge {
  background: #e85a3c;
  box-shadow: 0 6px 16px rgba(232,90,60,.45), 0 2px 4px rgba(0,0,0,0.15);
}
.products-4 .badge-soon {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--border);
  transform: none;
  font-size: 11px;
  padding: 4px 12px;
  font-weight: 700;
  box-shadow: none;
  text-shadow: none;
  top: 10px; left: 10px;
}
/* 商品説明テキスト */
.products-4 .product-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin-top: 6px;
}
.products-4 .price strong {
  font-size: 14px;
  color: #333;
  font-weight: 700;
  margin-left: 2px;
}
/* 準備中カード */
.product.is-soon {
  background: var(--cream);
  border-radius: 12px;
  padding-bottom: 4px;
}
.product.is-soon .product-img,
.product.is-soon .product-placeholder {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
/* コンテナ全体の調整 - 4列で h2 が長くても入るよう */
.products-block .block-head h2 {
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.02em;
}
/* お土産・お知らせを独立セクションに分離（4列構成のため） */
.info-inner-full {
  max-width: 1180px; margin: 0 auto;
}
.products-section { padding: 60px 24px 24px; }
.news-section { padding: 24px 24px 60px; }

@media (max-width: 768px) {
.products-section { padding: 40px 22px 16px; }
.news-section { padding: 16px 22px 40px; }
}
/* ===== モバイル最終調整（順序に依存する上書き） ===== */
/* ============================================================
 * VISIT PAGE V2（家族向けリニューアル版）
 * ============================================================ */
/* --- Hero --- */
.v2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.v2-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.v2-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
/* --- Concern --- */
/* --- Activities --- */
/* --- Horizontal course timeline --- */
/* --- 3 features --- */
/* --- Access --- */
/* --- CTA --- */
/* --- CTA 内の宿泊施設リンクカード --- */
/* Responsive */

@media (max-width: 480px) {
.v2-hero-btns .v2-btn { justify-content: center; }
/* スマホでも2列キープ（縦長になりすぎ防止）
   * 別ルール (.v2-concern-icons { gap: 14px !important; }) が外で効いているため、
   * 2列に収めるには width = (50% - 8px) ＝ gap14px の半分以上のバッファが必要。
   * 旧 calc(50% - 6px) だと container 334px 想定で 2*161+14=336 > 334 で 1列折り返しになっていた。 */
}
/* ============================================================
 * VISIT ページ専用スタイル（旧版、CSS互換のため残置）
 * ============================================================ */
/* --- ページヒーロー --- */
/* --- 島の紹介 2カラム --- */
.visit-intro-text .sec-label { text-align: left; margin-bottom: 12px; }
/* --- できること 6つ --- */
/* --- モデルコース --- */
/* --- アクセスセクション（visit用ラッパー） --- */
.visit-access .sec-label,
.visit-access .sec-title,
.visit-access .sec-lead { /* already styled globally */ }
/* --- CTA --- */
/* --- レスポンシブ --- */
/* =====================================================
   MIGRATION PAGE（移住するページ専用スタイル）
   クラスプレフィックス: mg-
   ===================================================== */
/* --- ヒーロー --- */
/* --- ボタン（teal系） --- */
.v2-btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.v2-btn-teal svg { width: 18px; height: 18px; flex-shrink: 0; }
.v2-btn-teal:hover { background: var(--teal-dk); transform: translateY(-1px); }
.v2-btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal-dk);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 2px solid var(--teal);
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.v2-btn-outline-teal svg { width: 18px; height: 18px; flex-shrink: 0; }
.v2-btn-outline-teal:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }
/* --- お試し移住セクション --- */
/* --- ステップ --- */
/* --- 移住支援 --- */
/* --- 移住者の声 --- */
/* --- FAQ --- */
/* --- CTA --- */
/* --- セクション共通（migration流用） --- */
/* --- レスポンシブ --- */
/* ============================================================
 * SOFT REDESIGN OVERRIDES — illustrative & friendly tone
 * 参考デザインに寄せた visit / migration ページの調整
 * ============================================================ */
/* --- フォントを丸ゴシックへ --- */
/* --- 白基調＋セクションでほのかな濃淡（リズム） --- */
/* concern セクションは白背景の中で黄色カードが映えるように */
/* 透過アイコンに対応：concern の円背景を上品に */
/* --- ヒーロー：家族で体験できる、島の過ごし方セクションと同じトーン (#fefdfa) に揃える --- */
/* --- ボタンを丸めにふんわり --- */
.v2-btn {
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
}
.v2-btn-teal {
  border-radius: 999px;
  background: linear-gradient(135deg, #6dd0bc 0%, #4dbdaa 100%);
  box-shadow: 0 6px 16px rgba(77,189,170,.32);
}
.v2-btn-outline-teal {
  border-radius: 999px;
  background: #fff;
  border: 2px solid #b6e3d8;
  color: #2e8a78;
}
/* --- セクション見出し（葉と波線アンダーラインで装飾） --- */
/* スマホ：折り返し時の🌿や短い波線が浮くので装飾を全部外して文字だけに */
/* --- セクション共通リード文 --- */
.sec-lead {
  text-align: center;
  font-size: 14px;
  color: #6a5a3a;
  line-height: 2;
  margin-bottom: 16px;
}
/* --- 「いきなり移住は少しこわい」セクション：黄色いソフトカードに --- */
/* --- アクティビティカードに手描き風デコ --- */
/* --- 日帰りコース：写真をスタンプ風に --- */
/* --- 3つの魅力 --- */
/* --- アクセス：白カードを丸く --- */
/* --- CTA：暗い緑から、温かみのある紺へ --- */
/* ===========================================================
 * MIGRATION ページ：同じトーンに揃える
 * =========================================================== */
/* --- 既存の cta-btn を丸ボタンに統一 --- */
/* ============================================================
 * FONT TUNING — 参考デザインのやさしい文字に寄せる
 * ============================================================ */
/* visit / migration 共通：本文を M PLUS Rounded 1c に */
.v2-hero-desc,
.v2-hero-eyebrow,
.v2-concern-lead,
.v2-activity-desc,
.v2-feature-desc,
.v2-step-desc,
.v2-step-title,
.v2-step-time,
.v2-cta-desc,
.v2-access-sub,
.v2-access-box p,
.v2-access-note,
.v2-t-type,
.v2-t-name,
.v2-t-price,
.v2-t-note,
.v2-ci p,
.sec-lead,
.mg-hero-eyebrow,
.mg-hero-desc,
.mg-trial-desc,
.mg-trial-points li,
.mg-step-desc,
.mg-support-desc,
.mg-voice-quote p,
.mg-voice-name,
.mg-voice-job,
.mg-faq-a,
.mg-cta-desc {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif !important;
  letter-spacing: .01em;
}
/* ヒーロータイトル：Klee One（手書き感・教科書体） */
/* セクション見出し / カード見出し：手書き教科書風 Klee One */
/* 数字や時刻も統一 */
/* ============================================================
 * WATERCOLOR ILLUSTRATION ICONS — concern 5項目を水彩イラストで
 * ============================================================ */
/* migration ステップアイコンを水彩画像に */
/* migration voices section の「もっと見る」ボタン */
/* visit アクティビティのデコ：写真右上の水彩バッジ */
/* ============================================================
 * 日帰りコース：3列×2行に変更（大きく見やすく）
 * ============================================================ */
/* 旧 horizontal connector を非表示 */
/* 各行の最後（3番目・6番目）の矢印は非表示 */
/* レスポンシブ */
/* ボタン文字も Klee One で手書き感を統一（全ページ共通） */
.v2-btn,
.v2-btn-yellow,
.v2-btn-dark,
.v2-btn-outline,
.v2-btn-teal,
.v2-btn-outline-teal,
.cta-btn-primary,
.cta-btn-secondary,
.v2-access-link,
.btn,
.btn-primary,
.btn-secondary,
.btn-cta,
.btn-cta-primary,
.btn-cta-secondary,
.btn-story,
.story-hero-btn,
.news-more-btn,
.person-card-link,
.card-link,
.filter-btn,
.tab-btn,
.link-yellow,
.link-red,
.link-teal,
.cta-card,
.cta-card span {
  font-family: 'Klee One', 'M PLUS Rounded 1c', serif !important;
  font-weight: 600 !important;
  letter-spacing: .03em !important;
}
/* ============================================================
 * 移住者一覧グリッド（people.html）— あったか旭スタイル
 * ============================================================ */
/* カード全体を <a> でクリッカブル化 */
/* ============================================================
 * スマホでの自然な改行（PC用の手動<br>を本文系で無効化）
 * ============================================================ */

@media (max-width: 600px) {
/* 本文系：手動改行を消して自然に折り返し */
.hero-desc br,
  .v2-hero-desc br,
  .v2-hero-title br,
  .mg-hero-desc br,
  .mg-hero-title br,
  .v2-concern-heading br,
  .v2-concern-lead br,
  .v2-step-desc br,
  .v2-step-title br,
  .v2-activity-desc br,
  .v2-feature-desc br,
  .v2-cta-title br,
  .v2-cta-desc br,
  .mg-step-desc br,
  .mg-step-title br,
  .mg-trial-desc br,
  .mg-support-desc br,
  .mg-faq-a br,
  .mg-cta-title br,
  .mg-cta-desc br,
  .news-cta-text br,
  .news-hero-desc br,
  .footer-tagline br,
  .story-text br,
  .story-hero-desc br,
  .story-hero-title br,
  .story-cta-desc br,
  .tl-card-desc br,
  .voice-text br,
  .about-hero-desc br,
  .feature-desc br,
  .place-text p br,
  .life-text p br,
  .team-text p br,
  .team-hero-sub br,
  .doing-item p br,
  .doing-item h3 br,
  .person-quote br,
  .person-desc br,
  .person-name br,
  .card p br,
  .card h2 br,
  .cta-left p br,
  .cta-left h2 br,
  .tl-cap p br,
  .tl-cap strong br,
  .news-cta-text br,
  .page-hero-sub br,
  .people-intro br,
  .sec-lead br {
    display: none;
  }
/* 日本語の自然な折り返し */
body {
    overflow-wrap: break-word;
    line-break: strict;
  }
/* 句読点で折返さないようにする補助（対応ブラウザのみ） */
p, h1, h2, h3, .hero-title, .v2-hero-title, .mg-hero-title {
    word-break: auto-phrase;
  }
}
/* ============================================================
 * 全体の余白調整：詰めすぎず広すぎず（PC＋スマホ）
 * ============================================================ */
/* セクション垂直余白を約20%カット */
/* 色を揃えた分、上下も詰めて連続感 */
.cta-section { padding: 64px 24px 48px !important; }
.footer { padding: 72px 24px 28px !important; margin-top: 56px !important; }
/* スマホはさらに詰める */

@media (max-width: 600px) {
.cta-section { padding: 44px 18px 36px !important; }
.footer { padding: 56px 18px 24px !important; margin-top: 40px !important; }
.news-section { padding: 28px 18px 36px !important; }
/* 大きめ見出しの上下マージンを縮める */
.v2-sec-deco,
  .mg-sec-title,
  .sec-title,
  .section-title { margin-bottom: 12px !important; }
.sec-lead,
  .page-hero-sub,
  .news-hero-desc { margin-bottom: 20px !important; }
/* カード内パディングを少し詰める */
.v2-activity-body,
  .v2-feature-body,
  .mg-support-card,
  .mg-voice-card,
  .feature-card,
  .card-body { padding: 16px !important; }
}
/* ============================================================
 * MIGRATION ページ刷新（2026-05-20）
 * "家のリアル"を動画で見る → 人 → 制度 の動線
 * 命名規則：mg2-*（旧 .mg-* と共存）
 * ============================================================ */
/* ----- 1. ヒーロー ----- */
/* ----- 2. 中島らしい移住の入口 ----- */
/* ----- 3. 動画から始まる ----- */
/* ----- 4. メリット 3つ ----- */
/* ----- 5. 人 ----- */
/* ----- 6. 支援制度 ----- */
/* ----- 7. FAQ ----- */
/* ----- 8. 下部CTA ----- */
/* ----- レスポンシブ ----- */

@media (max-width: 600px) {
/* 3ステップ：縦並び＋横長レイアウトでギュッと */
/* メリット：1列＋アイコン左・テキスト右の横長レイアウト */
/* 移住者6人：2列タイル */
/* サポート：3列のまま小さく */
}
/* ===== 動画カード（button版）/ YouTube ライトボックス ===== */
/* ライトボックス */
.mg2-yt-lightbox {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
  padding: 24px;
}
.mg2-yt-lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.mg2-yt-lightbox-inner {
  position: relative; width: 100%; max-width: 1024px;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.mg2-yt-lightbox-inner iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.mg2-yt-lightbox-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95); color: #222;
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.mg2-yt-lightbox-close:hover { background: #fff; }
.mg2-yt-lightbox-caption {
  position: absolute; bottom: -36px; left: 0;
  color: #fff; font-size: 14px; font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
.mg2-yt-lightbox { padding: 16px; }
.mg2-yt-lightbox-close { top: -40px; width: 32px; height: 32px; font-size: 20px; }
.mg2-yt-lightbox-caption { bottom: -30px; font-size: 12px; }
}
body.mg2-yt-open { overflow: hidden; }
/* ===== migration ページ専用：タイトルをネイビーブルーに ===== */
:root {
  --mg2-navy: #1e3a5f;
  --mg2-navy-dk: #14294a;
  --mg2-navy-soft: #2d5b8f;
}
/* ヒーロー & 下部CTAのボタンをネイビーに（global の !important に勝つため明示） */
.mg2-hero .v2-btn-teal,
.mg2-cta .v2-btn-teal {
  background: linear-gradient(135deg, #2d5b8f 0%, #1e3a5f 100%) !important;
  color: #fff !important;
  border-color: var(--mg2-navy) !important;
  box-shadow: 0 6px 16px rgba(30,58,95,.30) !important;
}
.mg2-hero .v2-btn-teal:hover,
.mg2-cta .v2-btn-teal:hover { background: var(--mg2-navy-dk) !important; }
.mg2-hero .v2-btn-outline-teal,
.mg2-cta .v2-btn-outline-teal {
  color: var(--mg2-navy) !important;
  border-color: #a8bcd1 !important;
  background: #fff !important;
}
.mg2-hero .v2-btn-outline-teal:hover,
.mg2-cta .v2-btn-outline-teal:hover { background: var(--mg2-navy) !important; color: #fff !important; }
/* ============================================================
   people.html 刷新（pp-* prefix）
   ============================================================ */
/* ----- 1. ヒーロー ----- */
/* ヒーローCTAをネイビーに */
.pp-hero .v2-btn-teal {
  background: linear-gradient(135deg, #2d5b8f 0%, #1e3a5f 100%) !important;
  color: #fff !important;
  border-color: var(--mg2-navy, #1e3a5f) !important;
  box-shadow: 0 6px 16px rgba(30,58,95,.30) !important;
}
.pp-hero .v2-btn-teal:hover { background: var(--mg2-navy-dk, #14294a) !important; }
.pp-hero .v2-btn-outline-teal {
  color: var(--mg2-navy, #1e3a5f) !important;
  border-color: #a8bcd1 !important;
  background: #fff !important;
}
.pp-hero .v2-btn-outline-teal:hover { background: var(--mg2-navy, #1e3a5f) !important; color: #fff !important; }
/* ----- 2. 3つの魅力 ----- */
/* ----- 3. 暮らす人たち ----- */
/* ----- 人物カルーセル（横スクロール・ループ） ----- */
/* 選択中ハイライト */
.pp-card.is-active {
  outline: 3px solid var(--mg2-navy, #1e3a5f);
  outline-offset: -3px;
  box-shadow: 0 14px 30px rgba(20, 41, 74, .18);
}
/* ----- 4. 下部CTA ----- */
.pp-cta-btns .v2-btn { min-width: 220px; justify-content: center; }
.pp-cta .v2-btn-teal {
  background: linear-gradient(135deg, #2d5b8f 0%, #1e3a5f 100%) !important;
  color: #fff !important;
  border-color: var(--mg2-navy, #1e3a5f) !important;
  box-shadow: 0 6px 16px rgba(30,58,95,.30) !important;
}
.pp-cta .v2-btn-teal:hover { background: var(--mg2-navy-dk, #14294a) !important; }
.pp-cta .v2-btn-outline-teal {
  color: var(--mg2-navy, #1e3a5f) !important;
  border-color: #a8bcd1 !important;
  background: #fff !important;
}
.pp-cta .v2-btn-outline-teal:hover { background: var(--mg2-navy, #1e3a5f) !important; color: #fff !important; }
/* ----- レスポンシブ ----- */
/* スマホで長文の中央寄せを左寄せにして可読性アップ */

@media (max-width: 600px) {
.story-text,
  .story-hero-desc,
  .v2-hero-desc,
  .v2-cta-desc,
  .v2-activity-desc,
  .support-desc,
  .news-hero-desc,
  .pp-cta-desc,
  .pp-hero-desc,
  .feature-desc,
  .voice-text,
  .tl-card-desc,
  .mg-cta-desc,
  .mg2-cta-desc,
  .about-cta-text {
    text-align: left;
  }
/* <br> も無効化（自然な折り返しに）*/
.story-text br,
  .story-hero-desc br,
  .v2-hero-desc br,
  .v2-cta-desc br,
  .support-desc br,
  .news-hero-desc br,
  .pp-cta-desc br,
  .pp-hero-desc br {
    display: none;
  }
}
/* ----- カウンター ----- */
/* スマホ：featured をコンパクト化 + desc 折りたたみ */
/* =====================================================================
   visit.html 刷新（v3-* prefix）
   ===================================================================== */
/* ボタン共通 */
/* ヒーローのボタンだけティールに */
/* ----- 1. ヒーロー ----- */
/* ----- 2. 3つの関わり方 ----- */
/* セクション共通タイトル（波線アンダーライン付き） */
/* ----- 3. こんな関わり方があります ----- */
/* ----- 4. 島の今を、島の人たちの発信から ----- */
/* ----- 5. 3ステップ ----- */
/* ----- 6. 下部CTA ----- */
/* 単一ボタンのときは中央寄せ＆1カラム表示 */
/* ----- レスポンシブ ----- */

@media (max-width: 900px) {
/* スマホは背景画像を強めに白ベール、文字は黒に読みやすく */
}

@media (max-width: 600px) {
/* 3つの関わり方：3列のまま小さく表示 */
/* 6つの関わり方カード：2列の小タイル */
/* SNS：1列・縦積み（タグ→タイトル→画像→本文→CTA） */
/* スマホ：見出し＋説明を中央揃えに */
/* スマホ：1ステップを横並びにして縦幅を圧縮 */
}
/* =====================================================================
   お知らせページ刷新（news-* / 2-column layout）
   ===================================================================== */
/* モバイル：画像中央をクローズアップして「お知らせ」を大きく */
.news-section {
  background: #fffdf6;
  padding: 40px 24px 80px;
}
/* 2 カラムレイアウト */
/* --- 左サイドバー --- */
.news-cat-link.is-active {
  background: #fbeed8;
  color: #d6802b;
  font-weight: 700;
}
/* --- 右メイン --- */
/* --- 詳細モーダル --- */
/* --- ページネーション --- */
.news-pagination .page-btn.is-active {
  background: #d6802b;
  color: #fff;
  border-color: #d6802b;
}
/* --- 下部CTA --- */
/* レスポンシブ */

@media (max-width: 900px) {
/* サイドバー → 横スクロールチップに */
/* スクロール途中：両端フェード */
/* 右端まで到達：左だけフェード */
.news-cat-link.is-active {
    background: #d6802b;
    color: #fff;
  }
}

@media (max-width: 600px) {
.news-section { padding: 24px 18px 64px; }
}
