/* ==========================================================================
   花の郷 桜まつり 2026 — Concept Work LP
   Figma: ブランディング / node 1701-553 (FV) を踏襲
   ========================================================================== */

:root {
  /* Color */
  --color-ink: #2e0000;            /* 本文 (Figma #2e0000) */
  --color-ink-soft: rgba(46, 0, 0, 0.72);
  --color-pink: #f3cdd9;           /* 桜ピンク */
  --color-pink-soft: #fdf4f7;      /* 淡い背景 */
  --color-pink-deep: #d98aa5;      /* アクセント */
  --color-green: #4f8d3d;          /* タイトルグラデ緑 */
  --color-teal: #67aec3;           /* タイトルグラデ青 */
  --color-bg-base: #ffffff;
  --color-card: #ffffff;
  --color-line: rgba(46, 0, 0, 0.12);
  --grad-title: linear-gradient(150deg, var(--color-teal) 30%, var(--color-green) 55%, var(--color-pink-deep) 90%);

  /* Typography */
  --font-serif: "Zen Old Mincho", serif;
  --font-hand: "Caveat", cursive;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-20: 80px;

  /* Radius */
  --radius-md: 12px;
  --radius-lg: 24px;

  --content-width: 1080px;
}

/* Reset ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  background: var(--color-bg-base);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, table { margin: 0; }

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

.pc-only { display: inline; }

/* ==========================================================================
   FV
   ========================================================================== */
.fv {
  position: relative;
  padding-bottom: 40px;
}

.fv__visual {
  position: relative;
  aspect-ratio: 1440 / 788;
  overflow: hidden;
}

/* 波形の下辺(白い波形を重ねてマスクの代替にする) */
.fv__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fv__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* タイトルコンポジション: 1440px基準の%配置で一体スケール */
.fv__stage {
  position: absolute;
  inset: 0;
}

.fv__heading { position: static; }

/* タイトル一式(カード・文字・周辺の桜を1枚に合成した透過画像)
   ※ img の max-width:100% に負けないよう max-width を解除し、
     中央基準(translate)で拡大しても必ずセンターに来るようにする */
.fv__titleimg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

/* 大きな花びらのアクセント */
.fv__petal {
  position: absolute;
  width: clamp(70px, 10vw, 150px);
  opacity: 0.85;
  filter: blur(1.5px);
  pointer-events: none;
}
.fv__petal--left  { left: 2%;  top: 60%; transform: rotate(-30deg) scaleX(-1); }
.fv__petal--right { right: 3%; top: 76%; transform: rotate(24deg); }

/* 桜の花型ナビ ------------------------------------------------------------- */
.sakura-nav {
  position: relative;
  z-index: 2;
  margin-top: clamp(-90px, -6.5vw, -40px);
}

.sakura-nav__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(8px, 3.6vw, 52px);
  padding: 0 12px;
}

/* デザイン再現: 花を互い違いに配置 */
.sakura-nav__list li:nth-child(even) { margin-top: clamp(16px, 3vw, 44px); }

.sakura-nav__list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 10.9vw, 157px);
  aspect-ratio: 1;
  transition: transform 0.35s ease;
}

.sakura-nav__list a:hover { transform: scale(1.08) rotate(4deg); }

.sakura-nav__flower {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 14px rgba(217, 138, 165, 0.4));
}

.sakura-nav__label {
  position: relative;
  font-size: clamp(11px, 1.25vw, 18px);
  letter-spacing: 0.04em;
  line-height: 1.34;
  text-align: center;
  color: var(--color-ink);
}

/* リード文 ----------------------------------------------------------------- */
.fv__lead {
  margin: clamp(40px, 6vw, 88px) auto 0;
  padding: 0 20px;
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-align: center;
}

.fv__lead p + p { margin-top: 1.9em; }

/* ==========================================================================
   舞い降りる桜 (JS生成)
   ========================================================================== */
.sakura-sky {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.sakura-sky__petal {
  position: absolute;
  top: -8vh;
  background: url("../images/petal.png") center / contain no-repeat;
  will-change: transform, opacity;
  animation:
    petal-fall var(--fall-duration, 11s) linear var(--fall-delay, 0s) infinite,
    petal-sway var(--sway-duration, 3.6s) ease-in-out var(--fall-delay, 0s) infinite alternate;
  opacity: var(--petal-opacity, 0.8);
}

@keyframes petal-fall {
  0%   { transform: translateY(-8vh) rotate(0deg); }
  100% { transform: translateY(112vh) rotate(var(--spin, 300deg)); }
}

@keyframes petal-sway {
  from { margin-left: 0; }
  to   { margin-left: var(--sway-x, 60px); }
}

@media (prefers-reduced-motion: reduce) {
  .sakura-sky { display: none; }
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
.section {
  padding: clamp(64px, 8vw, 110px) 20px;
}

.section--tint {
  background:
    radial-gradient(60% 120px at 50% 0%, rgba(243, 205, 217, 0.35) 0%, rgba(243, 205, 217, 0) 100%),
    var(--color-pink-soft);
}

.section > * {
  max-width: var(--content-width);
  margin-inline: auto;
}

.section__head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section__en {
  font-family: var(--font-hand);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-4deg);
  display: inline-block;
}

.section__title {
  position: relative;
  margin-top: 6px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
}

/* 見出し下の花びら区切り */
.section__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 26px;
  margin: 10px auto 0;
  background: url("../images/petal.png") center / contain no-repeat;
  transform: rotate(18deg);
  opacity: 0.8;
}

.section__lead {
  text-align: center;
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: 0.08em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* ==========================================================================
   お知らせ
   ========================================================================== */
.news-list {
  max-width: 820px;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(12px, 2vw, 24px) clamp(20px, 3vw, 44px);
  box-shadow: 0 14px 40px rgba(217, 138, 165, 0.14);
}

.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 8px 18px;
  padding: 18px 4px;
}

.news-item + .news-item { border-top: 1px dashed var(--color-line); }

.news-item__date {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-pink-deep);
}

.news-item__tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2px 12px;
  border: 1px solid var(--color-pink);
  border-radius: 999px;
  color: var(--color-ink-soft);
  background: var(--color-pink-soft);
  white-space: nowrap;
}

.news-item__text { font-size: 15px; }

/* ==========================================================================
   桜まつりについて
   ========================================================================== */
.overview { max-width: 820px; }

.overview__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(217, 138, 165, 0.12);
}

.overview__table th,
.overview__table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid rgba(243, 205, 217, 0.6);
  vertical-align: top;
}

.overview__table tr:last-child th,
.overview__table tr:last-child td { border-bottom: none; }

.overview__table th {
  width: 130px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-pink-deep);
  background: var(--color-pink-soft);
  white-space: nowrap;
}

.note-inline {
  display: inline-block;
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   イベント
   ========================================================================== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.event-card {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(22px, 2.8vw, 34px);
  box-shadow: 0 14px 40px rgba(217, 138, 165, 0.14);
  overflow: hidden;
}

/* カード右上の花びら */
.event-card::before {
  content: "";
  position: absolute;
  right: -14px;
  top: -10px;
  width: 74px;
  height: 74px;
  background: url("../images/petal.png") center / contain no-repeat;
  transform: rotate(40deg);
  opacity: 0.35;
}

.event-card__badge {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 3px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-pink-deep), var(--color-pink));
}

.event-card__title {
  margin-top: 14px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.event-card__time {
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-pink-deep);
}

.event-card__text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   お店情報
   ========================================================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.shop-card {
  background: var(--color-pink-soft);
  border: 1px solid rgba(243, 205, 217, 0.8);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}

.shop-card__tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-pink-deep);
}

.shop-card__name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.shop-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   アクセス
   ========================================================================== */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 960px;
}

.access__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(217, 138, 165, 0.18) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(217, 138, 165, 0.18) 46px 47px),
    linear-gradient(150deg, #fdf4f7 0%, #f8e3ea 100%);
  box-shadow: 0 14px 40px rgba(217, 138, 165, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.access__map-pin {
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--color-pink-deep);
  box-shadow: 0 6px 14px rgba(217, 138, 165, 0.5);
}

.access__map-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.6;
}

.access__row { padding: 18px 4px; }
.access__row + .access__row { border-top: 1px dashed var(--color-line); }

.access__row dt {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-pink-deep);
}

.access__row dd {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.9;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 20px 32px;
  text-align: center;
  background:
    radial-gradient(60% 140px at 50% 100%, rgba(243, 205, 217, 0.5) 0%, rgba(243, 205, 217, 0) 100%),
    #fff;
}

.site-footer__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.site-footer__copy {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--color-ink-soft);
}

.site-footer__note {
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(46, 0, 0, 0.5);
}

.site-footer__note a {
  color: var(--color-pink-deep);
  text-decoration: underline;
}

/* ==========================================================================
   フェードイン
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive (SP < 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .pc-only { display: none; }

  /* FV: 縦600〜700pxのヒーローにしてタイトルを主役に(比率固定をやめて高さ指定) */
  .fv__visual {
    aspect-ratio: auto;
    height: clamp(600px, 175vw, 700px);
  }
  .fv__photo { object-position: center 35%; }
  .fv__titleimg { width: min(150%, 620px); }

  /* ナビはタイトルの下に続ける */
  .sakura-nav { margin-top: -8px; }

  .fv__petal--left { top: 70%; }

  /* ナビ: 3 + 2 の2段組 */
  .sakura-nav { margin-top: -34px; }
  .sakura-nav__list {
    flex-wrap: wrap;
    max-width: 340px;
    margin: 0 auto;
    gap: 4px 10px;
  }
  .sakura-nav__list li { flex: 0 0 30%; display: flex; justify-content: center; }
  .sakura-nav__list li:nth-child(even) { margin-top: 0; }
  .sakura-nav__list li:nth-child(4),
  .sakura-nav__list li:nth-child(5) { flex-basis: 40%; }
  .sakura-nav__list a { width: min(96px, 26vw); }
  .sakura-nav__label { font-size: 12px; }

  .event-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .access { grid-template-columns: 1fr; }

  /* SPはグリッドをやめて縦積みにする(はみ出し防止) */
  .news-item {
    display: block;
  }
  .news-item__date { display: inline-block; }
  .news-item__tag { display: inline-block; margin-left: 10px; }
  .news-item__text { margin-top: 6px; }

  .overview__table th { width: 96px; padding: 14px 14px; }
  .overview__table td { padding: 14px 16px; }
  .note-inline { display: block; margin-left: 0; }
}
