:root {
  color: #414743;
  background: #fffdf9;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-synthesis: none;
  --green: #527c63;
  --deep-green: #365b46;
  --pale-green: #eef5ef;
  --pink: #e88e9d;
  --pale-pink: #fbe9eb;
  --yellow: #fff3d6;
  --cream: #fffdf9;
  --line: #e6d8d2;
  --muted: #7c837e;
  --shadow: 0 7px 22px rgba(82, 124, 99, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f6f3ef; }

/* WordPress管理バー対応 */
body.admin-bar .admin-shell { min-height: calc(100vh - 32px); }
body.admin-bar .admin-sidebar { height: calc(100vh - 32px); top: 32px; }
body.admin-bar .admin-topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .admin-shell { min-height: calc(100vh - 46px); }
  body.admin-bar .admin-sidebar { height: calc(100vh - 46px); top: 46px; }
  body.admin-bar .admin-topbar { top: 46px; }
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 40px rgba(60, 64, 61, .08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #dfe7e1;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}
.logo, h1, h2, h3, .serif {
  font-family: Georgia, "Yu Mincho", serif;
  color: var(--green);
}
.logo { text-align: center; font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.site-header .screen-title + .logo { justify-self: end; font-size: 11px; }
.header-back {
  justify-self: start;
  padding: 0;
  border: 0;
  color: #7b897f;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: transparent;
  font-size: 20px;
}
.header-right { display: flex; align-items: center; gap: 2px; justify-self: end; }
.bell-button { font-size: 18px; }
.screen-title { margin: 0; text-align: center; font-size: 16px; }

main { min-height: calc(100vh - 56px); padding-bottom: 74px; }
.page { animation: page-in .22s ease-out; }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bloom-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bloom-bg-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bloom-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes bloom-breathe { 0%, 100% { transform: scale(1); filter: saturate(1); } 50% { transform: scale(1.018); filter: saturate(1.04); } }
@keyframes bloom-sheen { 0% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(180%) skewX(-18deg); } }
@keyframes bloom-dot-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes map-card-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.section { padding: 24px 18px; }
.section.compact { padding-block: 14px; }
.section-title { margin: 0 0 14px; font-size: 21px; line-height: 1.4; }
.section-lead, .muted { color: var(--muted); font-size: 12px; line-height: 1.7; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-link { color: var(--pink); border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.spacer { height: 14px; }
.divider { height: 1px; background: var(--line); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 391px;
  padding: 37px 24px 18px;
  color: var(--deep-green);
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 12%, rgba(255,255,255,.9) 39%, rgba(255,255,255,.48) 58%, rgba(255,255,255,0) 100%),
    linear-gradient(0deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,0) 20%),
    url("../figma-top/hero.png") center 58% / cover,
    #fff;
  animation: bloom-bg-in .8s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 36%, rgba(255,255,255,.2), transparent 32%);
  animation: bloom-breathe 7s ease-in-out infinite;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { animation: bloom-fade-up .8s ease-out .08s both; }
.hero p { animation: bloom-fade-up .75s ease-out .18s both; }
.hero .button-row { animation: bloom-fade-up .75s ease-out .3s both; }
.hero-kicker { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 700; }
.hero h1 {
  width: 282px;
  margin: 0;
  color: var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .03em;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}
.hero p { width: 300px; margin: 18px 0 30px; color: #111; font-size: 12px; line-height: 1.85; }
.button-row { display: grid; gap: 8px; width: 184px; }
.button-row .button { justify-content: center; gap: 8px; min-height: 47px; padding-inline: 18px; box-shadow: 0 4px 7px rgba(0,0,0,.2); }
.hero-button-icon {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 30px;
  object-fit: contain;
  object-position: center;
}
.posts-icon {
  width: 32px;
  height: 26px;
  filter: invert(42%) sepia(15%) saturate(1113%) hue-rotate(89deg) brightness(88%) contrast(84%);
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 24px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, filter .2s ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  opacity: 0;
  pointer-events: none;
}
.button.secondary { color: var(--green); background: #fff; }
.button.pink { border-color: var(--pink); background: var(--pink); }
.button.ghost { border-color: transparent; color: var(--green); background: transparent; }
.button.wide {
  display: flex;
  width: 100%;
}
.button.small { min-height: 36px; padding-inline: 14px; font-size: 12px; }
.button:hover { transform: translateY(1px); border-color: var(--deep-green); background: var(--deep-green); box-shadow: 0 3px 8px rgba(60,75,66,.16); }
.button:hover::after { opacity: 1; animation: bloom-sheen .72s ease; }
.button:active { transform: translateY(2px); box-shadow: 0 1px 4px rgba(60,75,66,.12); }
.button.secondary:hover { color: var(--deep-green); background: #f4faf5; }
.button.pink:hover { border-color: #d77b8b; background: #d77b8b; }
.button.warm:hover { border-color: #dda42d; background: #f5c84f; }
.button.wide + .button.wide {
  margin-top: 8px;
}
.payment-summary-card + .button.wide,
.notice-card + .button.wide {
  margin-top: 14px;
}

.bloomer-card {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(238, 245, 239, .94);
}
.bloomer-section { padding: 22px 24px 16px; background: #fff; animation: bloom-fade-up .8s ease-out .42s both; }
.bloomer-card { padding: 12px 18px; }
.bloomer-count b, .bloomer-card strong {
  display: block;
  color: var(--green);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
}
.bloomer-count b { font-size: 12px; }
.bloomer-card strong { margin-top: 2px; font-size: 15px; }
.bloomer-card span {
  align-self: center;
  color: #5f665f;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}
.bloomer-business-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 260px);
  min-height: 38px;
  margin: 12px auto 0;
  border: 1px solid rgba(82, 124, 99, .45);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(82, 124, 99, .08);
}

.home-heading { margin: 0; color: var(--green); font-family: Georgia, "Yu Mincho", serif; font-size: 19px; line-height: 1.45; }
.home-heading--center { display: block; text-align: center; width: 100%; margin-bottom: 2px; }
.home-subtitle { margin: 5px 0 14px; color: #827b76; text-align: center; font-size: 11px; }
.home-subtitle--center { text-align: center; display: block; }
/* サイト全体：セクション見出しは中央揃え */
.section .home-heading, .events-section .home-heading { text-align: center; }
.section-head .home-heading { text-align: left; } /* section-head内（"すべて見る"と並ぶ場合）は左揃えを維持 */
.home-categories .home-heading {
  color: var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  animation: bloom-fade-up .75s ease-out .46s both;
}
.home-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  margin: 15px auto 0;
  padding: 9px 14px;
  border: 1px solid rgba(82,124,99,.25);
  border-radius: 20px;
  color: var(--green);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.home-more:hover { transform: translateY(1px); border-color: rgba(82,124,99,.4); background: #fffdf9; box-shadow: 0 3px 8px rgba(60,75,66,.12); }
.home-more:active { transform: translateY(2px); box-shadow: 0 1px 4px rgba(60,75,66,.08); }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card {
  position: relative;
  grid-column: span 2;
  height: 121px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 9px;
  text-align: center;
  background: #fff;
  box-shadow: 0 3px 12px rgba(84, 91, 86, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-card:nth-child(4) { grid-column: 1 / span 3; height: 115px; margin-left: 25px; }
.category-card:nth-child(5) { grid-column: 4 / span 3; height: 115px; margin-right: 25px; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 13px 24px rgba(82,124,99,.16); }
.category-card:active { transform: translateY(-1px) scale(.99); }
.category-card:hover img { transform: scale(1.035); }
.home-categories .category-card { animation: bloom-fade-up .75s ease-out both; }
.home-categories .category-card:nth-child(1) { animation-delay: .52s; }
.home-categories .category-card:nth-child(2) { animation-delay: .58s; }
.home-categories .category-card:nth-child(3) { animation-delay: .64s; }
.home-categories .category-card:nth-child(4) { animation-delay: .7s; }
.home-categories .category-card:nth-child(5) { animation-delay: .76s; }
.category-card span {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 21px;
  left: 0;
  display: grid;
  place-items: center;
  height: 32px;
  color: #fff;
  background: rgba(82,124,99,.7);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.category-card:nth-child(4) span, .category-card:nth-child(5) span { background: rgba(224,139,149,.7); }
.home-categories { padding-block: 20px 18px; }
.home-categories .category-grid { margin-top: 15px; }
.home-categories .home-more {
  min-width: auto;
  margin-top: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #111;
  background: transparent;
  font-size: 12px;
}

.map-contribute {
  position: relative;
  display: block;
  height: 323px;
  padding: 68px 20px 22px;
  overflow: hidden;
  background: url("../figma-top/map-section-bg.svg") center / 100% 100% no-repeat;
}
.map-contribute > div { position: relative; z-index: 1; width: 215px; }
.map-contribute p { margin: 20px 0 14px; color: #111; font-size: 13px; font-weight: 700; line-height: 1.72; }
.map-contribute .home-eyebrow {
  margin: 0;
  color: var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}
.map-contribute .button { min-width: 141px; min-height: 48px; box-shadow: 0 4px 7px rgba(0,0,0,.18); }
.map-contribute img {
  position: absolute;
  right: -3px;
  bottom: 18px;
  width: 278px;
  height: 278px;
  object-fit: contain;
  animation: bloom-float 4.2s ease-in-out infinite;
}

.community-callout {
  position: relative;
  min-height: 185px;
  margin: 18px 15px 22px;
  padding: 22px 18px 16px;
  overflow: hidden;
  border: 1px solid #dfe7e1;
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(rgba(232,240,234,.74), rgba(232,240,234,.74)),
    url("../figma-top/community-card-bg.png") center 48% / cover;
}
.community-callout h2 {
  margin: 0;
  color: var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 19px;
  font-weight: 600;
}
.community-callout p { margin: 12px 0 14px; color: #33423b; font-size: 12px; line-height: 1.65; }
.community-callout .button { min-width: 220px; min-height: 40px; font-size: 13px; }

.seasonal { padding: 24px 18px 29px; }
.seasonal .home-heading { color: var(--green); font-size: 20px; letter-spacing: .04em; }
.seasonal .home-subtitle { margin: 8px 0 18px; color: #73655f; font-size: 12px; }
.carousel { --carousel-gap: 11px; --carousel-visible-gap: 22px; }
.carousel-viewport { overflow: hidden; touch-action: pan-y; }
.carousel-track { display: flex; gap: var(--carousel-gap); transition: transform .58s cubic-bezier(.22,.72,.24,1); will-change: transform; }
.carousel-card { flex: 0 0 calc((100% - var(--carousel-visible-gap)) / 3); }
.season-grid { display: flex; gap: var(--carousel-gap); }
.season-card { overflow: hidden; border: 1px solid rgba(82,124,99,.5); border-radius: 13px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.season-card { min-height: 227px; }
.season-card img { width: 100%; height: 121px; object-fit: contain; background: #faefef; transition: transform .25s ease; }
.season-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(82,124,99,.18); }
.season-card:active { transform: translateY(-1px) scale(.99); }
.season-card:hover img { transform: scale(1.035); }
.season-card.is-current { transform: translateY(-3px); box-shadow: 0 9px 18px rgba(82,124,99,.15); }
.season-card.is-current img { transform: scale(1.02); }
.season-card b, .season-card span, .mini-card b, .mini-card span { display: block; padding-inline: 8px; }
.season-card b { margin-top: 12px; color: var(--green); font-size: 12px; }
.season-card span { min-height: 48px; padding-top: 9px; color: #73655f; font-size: 10px; line-height: 1.55; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dots i, .carousel-dots button { width: 13px; height: 13px; padding: 0; border: 0; border-radius: 50%; background: #e3d8d2; transition: background-color .35s ease, transform .35s ease; }
.carousel-dots i.is-active, .carousel-dots button.is-active { background: var(--pink); animation: bloom-dot-pulse 1.8s ease-in-out infinite; }

/* ── お店からのお知らせ セクション ── */
.biz-news-section { padding: 28px 18px 24px; background: #fdfcf8; }
.biz-news-head { margin-bottom: 16px; }
.biz-news-sub { font-size: 12px; color: #7a7068; margin: 6px 0 0; line-height: 1.65; }
.biz-news-list { display: grid; gap: 14px; }
.biz-news-card {
  display: grid; grid-template-columns: 90px 1fr; background: #fff;
  border-radius: 16px; border: 1px solid #ece6dc; overflow: hidden;
  box-shadow: 0 3px 12px rgba(60,50,30,.07); cursor: pointer;
  transition: box-shadow .18s;
}
.biz-news-card:hover { box-shadow: 0 6px 18px rgba(60,50,30,.13); }
.biz-news-card__img {
  display: flex; align-items: center; justify-content: center;
  min-height: 100px; border-radius: 16px 0 0 16px; flex-shrink: 0;
}
.biz-news-card__flower { font-size: 28px; opacity: .6; }
.biz-news-card__body { display: grid; gap: 5px; padding: 13px 14px 13px 12px; }
.biz-news-card__meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.biz-news-card__cat { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.biz-news-card__date { font-size: 10px; color: #b0a090; }
.biz-news-card__title {
  font-size: 13px; font-weight: 700; color: #2a2018; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.biz-news-card__excerpt {
  font-size: 11.5px; color: #6a5e52; line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.biz-news-card__biz { font-size: 11px; color: var(--green); font-weight: 600; }
/* 一覧ページ */
.biz-news-page-section { background: #fdfcf8; }
.biz-news-page-list { display: grid; gap: 16px; padding: 0 18px 32px; }
.biz-news-page-card {
  display: grid; grid-template-columns: 110px 1fr; background: #fff;
  border-radius: 18px; border: 1px solid #ece6dc; overflow: hidden;
  box-shadow: 0 3px 12px rgba(60,50,30,.07); cursor: pointer;
}
.biz-news-page-card__img {
  display: flex; align-items: center; justify-content: center;
  min-height: 110px; border-radius: 18px 0 0 18px;
}
.biz-news-page-card__body { display: grid; gap: 6px; padding: 14px 16px; }
/* 詳細ページ */
.biz-news-detail { display: grid; }
.biz-news-detail__hero { display: flex; align-items: center; justify-content: center; height: 200px; }
.biz-news-detail__flower { font-size: 56px; opacity: .5; }
.biz-news-detail__body { display: grid; gap: 14px; padding-top: 22px; }
.biz-news-detail__title { margin: 0; font-size: 20px; font-weight: 700; color: #2a2018; line-height: 1.5; }
.biz-news-detail__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.biz-news-detail__content { font-size: 14px; color: #514b47; line-height: 1.9; margin: 0; }

.events-section { min-height: 490px; padding: 30px 24px; background: #fff8e8; }
.events-section .home-heading { font-size: 22px; }
.events-section .home-more { display: block; width: fit-content; min-height: 47px; margin: 20px auto 0; font-size: 13px; }
.event-list { display: grid; gap: 13px; margin-top: 22px; }
.event-row { display: grid; grid-template-columns: 102px 1fr; min-height: 97px; overflow: hidden; border: 1px solid var(--green); border-radius: 9px; background: #fff; box-shadow: 0 4px 5px rgba(49,63,55,.2); transition: transform .25s ease, box-shadow .25s ease; }
.event-row:hover { transform: translateY(-5px); box-shadow: 0 13px 24px rgba(49,63,55,.24); }
.event-row:active { transform: translateY(-1px) scale(.99); }
.event-row > div { align-self: center; padding: 10px 16px; }
.event-visual { display: block; height: 100%; min-height: 97px; }
.event-visual.pink { background: #f7dcdd; }
.event-visual.green { background: #e4efe6; }
.event-visual.yellow { background: #fbf1d4; }
.event-row time { display: block; margin-bottom: 7px; color: #c77784; font-size: 15px; }
.event-row:nth-child(2) time { color: var(--green); }
.event-row:nth-child(3) time { color: #b78329; }
.event-row b, .event-row span { display: block; }
.event-row b { color: #53504d; font-size: 14px; }
.event-row span { margin-top: 7px; color: #918984; font-size: 12px; }

.nearby { padding: 34px 24px 32px; background: #fff; }
.nearby .section-head, .wisdom .section-head { align-items: baseline; margin-bottom: 20px; }
.nearby .home-heading, .wisdom .home-heading {
  color: var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .04em;
}
.link-chevron { display: inline-flex; align-items: center; gap: 8px; }
.link-chevron::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nearby .text-link, .wisdom .text-link, .news-section .text-link { color: #111; font-size: 12px; }
.nearby .carousel { --carousel-gap: 17px; --carousel-visible-gap: 34px; }
.mini-grid { display: flex; gap: var(--carousel-gap); }
.mini-card { min-height: 174px; overflow: hidden; border: 1px solid var(--green); border-radius: 8px; background: #fff; box-shadow: 0 4px 5px rgba(49,63,55,.2); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.mini-card img { width: 100%; height: 91px; object-fit: contain; background: #f7eeee; transition: transform .25s ease; }
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 13px 24px rgba(49,63,55,.25); }
.mini-card:active { transform: translateY(-1px) scale(.99); }
.mini-card:hover img { transform: scale(1.035); }
.mini-card:nth-child(2) img { background: #e8f0e3; }
.mini-card:nth-child(3) img { background: #f6eddb; }
.mini-card b { padding-top: 19px; color: #534c48; font-size: 12px; }
.mini-card span { padding-block: 13px 12px; color: #918984; font-size: 10px; }
.wisdom { padding: 17px 24px 30px; background: #fff; }
.wisdom-row { display: grid; gap: 8px; min-height: 73px; margin-bottom: 11px; padding: 13px 15px; border: 1px solid var(--green); border-radius: 5px; background: #fff; box-shadow: 0 3px 4px rgba(49,63,55,.18); transition: transform .25s ease, box-shadow .25s ease; }
.wisdom-row:hover { transform: translateY(-5px); box-shadow: 0 12px 22px rgba(49,63,55,.22); }
.wisdom-row:active { transform: translateY(-1px) scale(.99); }
.wisdom-row span { color: #b75f68; font-size: 10px; font-weight: 700; }
.wisdom-row:nth-of-type(2) span { color: var(--green); }
.wisdom-row:nth-of-type(3) span { color: #b78329; }
.wisdom-row b { color: #534c48; font-size: 11px; line-height: 1.55; }
.wisdom .wisdom-more { justify-content: center; min-width: 100%; min-height: 47px; margin-top: 16px; border-color: #efdedd; border-radius: 24px; color: #111; font-size: 13px; }

.business-invite { position: relative; min-height: 197px; overflow: hidden; padding: 25px 20px 17px; background: #fff4d8; }
.business-invite > div { position: relative; z-index: 1; }
.business-invite p { margin: 0 0 20px; color: #111; line-height: 1.55; }
.business-invite p b { font-size: 20px; }
.business-invite p span { font-size: 15px; font-weight: 700; }
.business-invite img { position: absolute; top: 22px; right: 1px; width: 152px; animation: bloom-float 4.8s ease-in-out infinite; }
.button.warm { min-width: 188px; min-height: 46px; padding-inline: 18px; border-color: #efb735; color: #594a2b; background: #ffd75e; box-shadow: 0 5px 6px rgba(86,73,45,.28); font-size: 14px; }
.benefits { padding: 12px 30px; background: #fff4d8; }
.benefits > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.benefits article { text-align: center; }
.benefits img { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; background: #fff; animation: bloom-float 5s ease-in-out infinite; }
.benefits article:nth-child(2) img { animation-delay: .35s; }
.benefits article:nth-child(3) img { animation-delay: .7s; }
.benefits b { display: block; margin-top: .5px; color: #111; font-size: 11px; }

.line-section { padding: 18px 18px 10px; text-align: center; background: #fff; }

/* LINE カード（写真の中にテキスト＋ボタン） */
.line-card {
  display: block; position: relative;
  height: 152px; border-radius: 14px; overflow: hidden;
  margin-bottom: 16px; text-decoration: none;
  background: #c8d9c0;
}
.line-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
}
.line-card-overlay {
  position: absolute; inset: 0;
  background: rgba(30, 28, 24, .32);
}
.line-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 22px 20px 20px;
}
.line-card-text {
  color: #fff; font-size: 14px; font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,.42); letter-spacing: .02em;
  margin: 0; line-height: 1.4;
}
.line-section .line-card .line-card-text {
  color: #fff;
}
.line-card-btn {
  display: grid; grid-template-columns: 24px 1fr 24px; align-items: center;
  width: min(78%, 310px); height: 46px; padding: 0 22px;
  background: rgba(255,255,255,.95); border-radius: 24px;
  color: #2f3d35; font-size: 14px; font-weight: 700; text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,.13);
}
.line-card-btn span:first-child {
  grid-column: 2;
  text-align: center;
}
.line-card-btn span:last-child {
  grid-column: 3;
  justify-self: end;
}

/* 旧 .line-button は他箇所で参照されている可能性があるため残す */
.line-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; padding: 0 20px; border: 2px solid var(--pink); border-radius: 28px; color: #554943; background: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; box-sizing: border-box; }
.line-button:hover { background: #fff; box-shadow: 0 3px 8px rgba(60,75,66,.14); transform: translateY(-1px); }
.line-button:active { transform: translateY(1px); box-shadow: 0 1px 4px rgba(60,75,66,.1); }
.line-section p {
  display: grid;
  gap: 28px;
  margin: 34px auto 0;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}
.line-section p strong { color: #34463b; font-size: 13px; line-height: 1.7; }
.line-section p em { color: #111; font-style: normal; font-size: 13px; }
.news-section {
  padding: 34px 20px 26px;
  background: #fffef8;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-row-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted #ddd6c8;
  cursor: pointer;
}
.news-row-item:last-child { border-bottom: none; }
.news-row-date {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-row-title {
  font-size: 13px;
  color: #33423b;
  line-height: 1.5;
  font-weight: 500;
}
.news-more { margin-top: 16px; }

/* ── TOPお知らせ コンパクト行 ── */
.home-news-list {
  list-style: none; margin: 0; padding: 0;
}
.home-news-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 0; border-bottom: 1px dotted #ddd6c8;
  cursor: pointer; flex-wrap: wrap;
}
.home-news-row:last-child { border-bottom: none; }
.home-news-date {
  font-size: 11px; color: #aaa; white-space: nowrap; flex-shrink: 0;
}
.home-news-cat {
  font-size: 10px; font-weight: 700; color: var(--green);
  background: #eef5ef; padding: 1px 7px; border-radius: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.home-news-title {
  font-size: 13px; color: #33423b; line-height: 1.45; font-weight: 500;
}
.news-hero {
  padding: 28px 20px 18px;
  background: linear-gradient(160deg, #fffef8 0%, #eef5ef 100%);
}
.news-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #e68296;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.news-page-section { background: #fffef8; }
.news-list--page { }
.news-detail {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}
.news-detail__date {
  display: block;
  font-size: 11px;
  color: #aaa;
}
.news-detail__title {
  margin: 0;
  color: #33423b;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}
.news-detail__body {
  color: #514b47;
  font-size: 14px;
  line-height: 1.9;
}
/* ── いっぽ芽バナー（Figma参考リデザイン） ── */
.ippo-banner-wrap { padding: 22px 18px 38px; }
.ippo-banner-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  border: 1.5px solid var(--green);
  background: #fffbf0;
  box-shadow: 0 6px 14px rgba(82, 124, 99, 0.18);
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  padding: 68px 20px 24px 20px;
  overflow: visible;
  isolation: isolate;
}
.ippo-banner-card,
.ippo-banner-card * {
  text-decoration: none !important;
}
.ippo-banner-card__bubble {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 480px);
  padding: 14px 22px 16px;
  border: 1.3px solid var(--green);
  border-radius: 999px;
  background: #fff;
  color: #044361;
  font-weight: 800;
  font-size: clamp(15px, 4.2vw, 22px);
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
  box-shadow: 0 7px 12px rgba(64, 70, 56, 0.18);
  z-index: 3;
}
.ippo-banner-card__bubble::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -18px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-right: 1.3px solid var(--green);
  border-bottom: 1.3px solid var(--green);
  transform: rotate(38deg);
}
.ippo-banner-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  min-width: 0;
  margin-right: clamp(80px, 22vw, 130px);
}
.ippo-banner-card__logo {
  width: min(180px, 55%);
  height: auto;
  margin: 0 auto 10px;
  display: block;
  mix-blend-mode: multiply;
}
.ippo-banner-card__body {
  font-size: clamp(13px, 2.1vw, 16px);
  font-weight: 700;
  color: #044361;
  margin: 0 auto 16px;
  line-height: 1.75;
  max-width: 430px;
  text-align: center;
}
.ippo-banner-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  align-self: flex-end;
  min-width: 210px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #85c873;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 10px rgba(82, 124, 99, 0.24);
}
.ippo-banner-card__chara {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: clamp(80px, 20vw, 120px);
  height: auto;
  display: block;
  z-index: 1;
}
@media (max-width: 560px) {
  .ippo-banner-card {
    border-radius: 28px;
    min-height: 222px;
    padding: 66px 18px 18px;
  }
  .ippo-banner-card__bubble {
    top: -36px;
    width: 90%;
    font-size: clamp(14px, 3.8vw, 18px);
  }
  .ippo-banner-card__logo {
    width: 62%;
  }
  .ippo-banner-card__body {
    max-width: 260px;
    font-size: 12.5px;
  }
  .ippo-banner-card__btn {
    align-self: center;
    min-width: 190px;
    min-height: 44px;
    font-size: 15px;
  }
  .ippo-banner-card__chara {
    right: 10px;
    bottom: 12px;
    top: auto;
    width: 80px;
  }
}
.home-footer { padding: 34px 22px 28px; text-align: center; background: #fff; }
.footer-tagline {
  margin: 0 auto 20px;
  line-height: 1.7;
}
.footer-tagline strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 4px;
}
.footer-tagline em {
  font-style: normal;
  font-size: 12px;
  color: #1e1e1e;
}
.footer-logo {
  margin: 0 auto 34px;
  color: var(--green);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.home-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 16px;
  column-gap: 18px;
  max-width: 320px;
  margin: 0 auto 20px;
}
.home-footer button {
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.home-footer small { color: #958e88; font-size: 9px; }

.menu-shell { min-height: 100vh; background: #fbfaf5; }
.menu-header {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  height: 56px;
  border-bottom: 1px solid #dfe7e1;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.menu-header button { border: 0; background: transparent; }
.menu-back { padding-left: 16px; color: #8a7a72; text-align: left; font-size: 13px; }
.menu-logo {
  color: var(--green);
  text-align: center;
  font-family: Georgia, "DM Serif Display", serif;
  font-size: 20px;
  font-weight: 700;
}
.menu-close { justify-self: center; width: 36px; height: 36px; color: var(--green); font-size: 26px; font-weight: 300; line-height: 1; }
.menu-main { min-height: calc(100vh - 56px); padding: 0 24px; }
.menu-tagline {
  margin: 26px 0 21px;
  color: #7b897f;
  text-align: center;
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 14px;
}
.menu-links { display: grid; }
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #dfe7e1;
  color: #33423b;
  background: transparent;
  text-align: left;
}
.menu-link b, .menu-link small { display: block; }
.menu-link b { font-size: 16px; font-weight: 500; }
.menu-link small { margin-top: 4px; color: #7b897f; font-size: 11px; }
.menu-link i { color: var(--green); font-size: 18px; font-style: normal; }
.menu-link.event b { color: #765a91; }
.menu-actions { display: grid; gap: 8px; margin-top: 47px; }
.menu-actions > .button { min-height: 50px; border-radius: 25px; font-size: 14px; }
.menu-actions > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.menu-actions > div .button { min-height: 46px; border-radius: 24px; font-size: 14px; }
.menu-user-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.menu-user-buttons .button { min-height: 46px; border-radius: 24px; font-size: 14px; }
.menu-footer { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.menu-footer button { padding: 0; border: 0; color: #7b897f; background: transparent; font-size: 11px; }

/* LINE ボタン（コンパクト / フッター・メニュー用） */
.menu-line-row { display: flex; justify-content: center; padding: 0 24px 4px; margin-top: 32px; }
.line-button--compact {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border: 1.5px solid #06C755; border-radius: 20px;
  color: #06C755; background: #fff; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.line-button--compact:hover { background: #f0fff4; }
/* フッター内のLINEリンク */
.home-footer .line-button--compact { color: #06C755; font-size: 12px; height: 34px; padding: 0 14px; }

.complete-panel { padding-top: 64px; text-align: center; }
.complete-panel h1 { margin: 14px 0 8px; font-size: 22px; }
.complete-panel .button { margin-top: 22px; }
.complete-panel .button + .button { margin-top: 8px; }
.complete-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 30px;
  font-weight: 700;
}

.welcome-complete,
.post-done-page {
  display: grid;
  justify-items: center;
  text-align: center;
}
.welcome-complete { padding: 0 16px 34px; }
.post-done-page { padding: 22px 16px 34px; }
.welcome-hero {
  width: calc(100% + 32px);
  height: 219px;
  margin: 0 -16px 48px;
  border-radius: 0;
  background:
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.2)),
    url("../hero.jpg") center / cover;
}
.welcome-complete h1,
.post-done-page h1 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
}
.welcome-complete p,
.post-done-lead {
  margin: 0;
  color: #68736c;
  font-size: 13px;
  line-height: 1.75;
}
.welcome-complete h1 {
  max-width: 360px;
  line-height: 1.45;
}
.welcome-complete > p {
  width: min(100%, 360px);
  max-width: 360px;
}
.completion-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin: 24px 0 22px;
  padding: 14px 10px;
  border-radius: 18px;
  color: var(--green);
  background: var(--pale-green);
  font-size: 11px;
  font-weight: 700;
}
.welcome-actions,
.post-done-page {
  width: 100%;
}
.welcome-actions {
  display: grid;
  gap: 8px;
}
.post-done-spacer { height: 292px; }
.post-done-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  width: 100%;
  margin: 20px 0 12px;
  padding: 12px;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  text-align: left;
}
.post-done-card .post-cover {
  height: 60px;
  border-radius: 10px;
}
.post-done-card h3 {
  margin: 4px 0 5px;
  color: #362a2a;
  font-family: inherit;
  font-size: 13px;
}
.post-done-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.share-strip {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--green);
  background: var(--pale-green);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.share-strip span {
  color: var(--muted);
  font-size: 11px;
}
.post-done-link {
  margin-top: 12px;
}

.soft-panel { background: var(--pale-green); }
.pink-panel { background: var(--pale-pink); }
.cards { display: grid; gap: 14px; }
.post-card, .business-card, .message-card, .settings-card, .info-card {
  overflow: hidden;
  border: 1px solid rgba(230,216,210,.92);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.post-card:hover, .business-card:hover, .message-card:hover, .settings-card:hover, .info-card:hover,
.question-card:hover, .answer-card:hover, .partner-card:hover, .event-card:hover,
.history-card:hover, .payment-summary-card:hover, .mini-post-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(82,124,99,.17);
}
.post-card:active, .business-card:active, .message-card:active, .settings-card:active, .info-card:active,
.question-card:active, .answer-card:active, .partner-card:active, .event-card:active,
.history-card:active, .payment-summary-card:active, .mini-post-tile:active {
  transform: translateY(-1px) scale(.99);
}
.post-cover {
  display: grid;
  place-items: center;
  height: 142px;
  color: var(--green);
  background: var(--pale-pink);
  font-size: 12px;
  font-weight: 700;
  transition: transform .25s ease;
}
.post-cover span {
  color: #e08b95;
  font-size: 30px;
  line-height: 1;
}
.post-card:hover .post-cover, .mini-post-tile:hover .post-cover { transform: scale(1.03); }
.post-cover.green { background: var(--pale-green); }
.post-cover.yellow { background: var(--yellow); }
.post-body { padding: 13px 14px 0; }
.post-title { margin: 9px 0 6px; color: #362a2a; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 14px; font-weight: 600; line-height: 1.45; }
.post-meta { color: var(--muted); font-size: 11px; line-height: 1.7; }
.pin-mark { color: #b2801a; font-size: 12px; }
.shipping-line { margin: 4px 0 0; color: var(--green); font-size: 10px; line-height: 1.5; }
.post-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 11px 0 0; padding-top: 8px; border-top: 1px solid #f0e7e2; color: var(--muted); font-size: 11px; }
.post-detail-link {
  display: flex;
  justify-content: flex-end;
  width: fit-content;
  margin: 9px 0 0 auto;
  padding: 0;
  color: #a05060;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 14px;
  color: var(--green);
  background: var(--pale-green);
  font-size: 10px;
  font-weight: 700;
}
.chip.pink { color: #bd6878; background: var(--pale-pink); }
.chip.yellow { background: var(--yellow); }
.chip.cat-product, .category-pill.cat-product,
.chip.cat-sell, .category-pill.cat-sell { color: #9c4f5b; background: #f3c7ce; }
.chip.cat-give, .category-pill.cat-give { color: #4e7c58; background: #cfe7d2; }
.chip.cat-exchange, .category-pill.cat-exchange { color: #4d719c; background: #cfe0f3; }
.chip.cat-wanted, .category-pill.cat-wanted { color: #8a6b22; background: #f4e3a8; }
.chip.cat-event, .category-pill.cat-event { color: #765a91; background: #dfd1ee; }
.category-pill.cat-all { color: #e08b95; background: #fdf0f1; }
.like-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 3px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--green);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.like-button.liked { border-color: transparent; color: var(--pink); background: var(--pale-pink); }
.like-button.pop { animation: like-pop .24s ease-out; }
@keyframes like-pop { 50% { transform: scale(1.16); } }

.list-toolbar { display: grid; gap: 12px; padding: 18px; background: #fff; }
.search-bar { display: flex; gap: 8px; }
.posts-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
  max-width: 290px;
}
.search-results-page .posts-search {
  max-width: 320px;
}
.search-bar input, .field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #414743;
  background: #fff;
}
.search-bar input { height: 42px; padding: 0 13px; }
.horizontal-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
.category-pill.active { border-color: #527c63 !important; color: #fff !important; background: #527c63 !important; }
.category-pill.cat-hanaya   { color: #5a6e3e; background: #ddebc8; }
.category-pill.cat-naeyasan { color: #4e7040; background: #d0e8c0; }
.category-pill.cat-sakka    { color: #7a5c8a; background: #ead8f4; }

.posts-screen {
  display: grid;
  gap: 18px;
  padding: 38px 14px 28px;
  background: #fffef8;
}
.category-result-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  padding: 16px 16px 17px;
  border: 1px solid rgba(82,124,99,.45);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(82,124,99,.08);
}
.category-result-hero::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  pointer-events: none;
}
.category-result-hero span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.category-result-hero h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}
.category-result-hero p {
  margin: 0;
  color: #59645d;
  font-size: 12px;
  line-height: 1.7;
}
.category-result-hero.cat-product,
.category-result-hero.cat-sell { background: linear-gradient(135deg, #fff 0%, #fff7f8 100%); border-color: #ecb8be; }
.category-result-hero.cat-give { background: linear-gradient(135deg, #fff 0%, #f5fbf5 100%); border-color: #b9d9bd; }
.category-result-hero.cat-exchange { background: linear-gradient(135deg, #fff 0%, #f4f9fd 100%); border-color: #b7d1ea; }
.category-result-hero.cat-wanted { background: linear-gradient(135deg, #fff 0%, #fffaf0 100%); border-color: #e7d899; }
.category-result-hero.cat-event { background: linear-gradient(135deg, #fff 0%, #faf6fd 100%); border-color: #d0bfdf; }
.category-result-hero.cat-all { background: linear-gradient(135deg, #fff 0%, #f7fbf7 100%); }
.posts-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 0;
}
.posts-titlebar h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}
.posts-titlebar .button {
  flex: 0 0 auto;
  min-width: 104px;
}
.category-tabs {
  width: calc(100% + 28px);
  margin-inline: -14px;
  padding: 2px 14px 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.category-tabs .category-pill {
  scroll-snap-align: start;
}
.posts-search {
  align-items: center;
  margin-top: 2px;
}
.posts-search .button {
  min-width: 58px;
  padding-inline: 0;
}
.posts-search input {
  height: 40px;
  border-color: rgba(236,184,190,.75);
  border-radius: 24px;
}
.posts-count {
  margin: 0 2px 0;
  color: var(--muted);
  font-size: 12px;
}
.posts-screen .post-card {
  border-color: var(--green);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(82,124,99,.13);
}
.posts-screen .post-cover {
  height: 128px;
}
.posts-screen .post-body {
  padding-bottom: 12px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 8px;
}
.pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  border: 1.5px solid #ecb8be;
  border-radius: 24px;
  color: #362a2a;
  background: #fff;
  font-size: 13px;
}
.pager span {
  color: var(--muted);
  font-size: 12px;
}
.search-results-page,
.category-index-page {
  display: grid;
  gap: 14px;
  padding: 22px 14px 28px;
  background: #fffef8;
}
.events-list-page {
  display: grid;
  gap: 16px;
  padding: 34px 14px 28px;
  background: #fffef8;
}
.events-titlebar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0 2px;
}
.events-titlebar h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
}
.month-tabs {
  width: calc(100% + 28px);
  margin-inline: -14px;
  padding: 2px 14px 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.month-pill {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #dfd1ee;
  border-radius: 999px;
  color: #765a91;
  background: #f7f2fb;
  font-size: 13px;
  font-weight: 700;
  scroll-snap-align: start;
}
.month-pill.active {
  border-color: #765a91;
  color: #fff;
  background: #765a91;
}
.event-month-label {
  margin: 0 2px -2px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.category-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.category-index-grid .category-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 7px);
  justify-self: center;
}

.bottom-nav {
  position: fixed;
  z-index: 19;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 430px);
  height: 64px;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(255,253,249,.97);
  backdrop-filter: blur(12px);
}
.nav-item { display: grid; place-items: center; border: 0; color: var(--muted); background: transparent; font-size: 10px; }
.nav-item b { display: block; color: inherit; font-size: 19px; line-height: 1; }
.nav-item.active { color: var(--green); font-weight: 700; }

.detail-hero { height: 280px; background: linear-gradient(rgba(251,233,235,.55), rgba(251,233,235,.7)), url("../hero.jpg") center / cover; }
.detail-card { margin: -20px 16px 0; padding: 18px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.detail-card h1 { margin: 10px 0 16px; font-size: 21px; }
.price { display: block; padding: 10px 14px; border-radius: 10px; color: var(--green); background: var(--pale-pink); font-family: Georgia, serif; font-size: 25px; }
.detail-list { margin: 14px 0; }
.detail-row { display: grid; grid-template-columns: 96px 1fr; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-row span:first-child { color: var(--muted); }
.detail-copy { font-size: 13px; line-height: 1.8; }

.post-detail-page {
  padding-bottom: 30px;
  background: #fffef8;
}
.post-detail-page .detail-hero {
  height: 280px;
  background: #fdf0f1;
}
.detail-thumbs {
  display: flex;
  gap: 8px;
  padding: 6px 16px 14px;
}
.detail-thumbs span {
  width: 60px;
  height: 60px;
  border: 1px solid #eae2e0;
  border-radius: 8px;
  background: #fdf0f1;
}
.detail-thumbs span:first-child {
  border: 2px solid #e08b95;
}
.detail-thumbs .green { background: #f0f5f0; }
.detail-thumbs .yellow { background: #fef6e3; }
.post-detail-page .detail-card {
  margin: 0 16px;
  padding: 17px 16px 20px;
  border: 1px solid var(--green);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.item-kind {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.post-detail-page .detail-card h1 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 600;
}
.price-box {
  display: grid;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #fdf0f1;
}
.price-box span {
  color: var(--muted);
  font-size: 11px;
}
.price-box b {
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px;
}
.post-detail-page .detail-row {
  grid-template-columns: 98px 1fr;
}
.post-detail-page .detail-card h3 {
  margin: 18px 0 8px;
  font-family: inherit;
  font-size: 13px;
}
.purchase-note {
  margin: 210px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.post-detail-page .detail-card .button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.post-detail-page .detail-card .button + .button {
  margin-top: 8px;
}
.seller-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 28px 23px 0;
  padding: 13px 15px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #f9f5f4;
}
.seller-card b {
  display: block;
  color: #362a2a;
  font-size: 13px;
}
.seller-card span {
  color: var(--muted);
  font-size: 11px;
}

.profile-cover { height: 190px; background: linear-gradient(rgba(82,124,99,.18), rgba(82,124,99,.4)), url("../hero.jpg") center / cover; }
.profile-summary { padding: 18px; background: #fff; }
.profile-summary h1 { margin: 13px 0 8px; font-size: 23px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.profile-grid .post-cover { height: 105px; }

.business-profile-page {
  display: grid;
  gap: 16px;
  padding: 18px 16px 34px;
  background: #fffef8;
}
.business-profile-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 20px;
  background: #fdf0f1;
  box-shadow: var(--shadow);
}
.business-profile-hero.green { background: #eef5ef; }
.business-profile-hero.yellow { background: #fff3d6; }
.business-profile-hero img {
  width: 142px;
  height: 124px;
  object-fit: contain;
}
.business-profile-hero span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 700;
}
.business-profile-page .profile-summary {
  padding: 18px 16px;
  border: 1px solid var(--green);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.business-profile-page .profile-summary .button-row:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
}
.business-profile-page .profile-summary h1 {
  margin: 14px 0 7px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 600;
}
.business-profile-page .profile-summary .button-row:last-child {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}
.business-info {
  padding: 16px;
  border: 1px solid rgba(82,124,99,.38);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(82,124,99,.08);
}
.business-info + .business-info {
  margin-top: 0;
}
.business-info h2,
.business-posts h2 {
  margin: 0 0 12px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 600;
}
.business-info .detail-row {
  grid-template-columns: 94px 1fr;
  padding: 9px 0;
}
.sns-link {
  color: #e08b95;
  text-decoration: underline;
}
.business-posts {
  padding: 26px 16px 34px;
}
.business-posts .section-head {
  margin-bottom: 14px;
}
.business-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
}
.business-post-grid .post-card {
  border-color: var(--green);
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.business-post-grid .post-cover {
  height: 106px;
}
.business-post-grid .post-title {
  font-family: inherit;
  font-size: 12px;
}
.business-post-grid .shipping-line,
.business-post-grid .post-footer,
.business-post-grid .post-detail-link,
.business-post-grid .post-meta {
  display: none;
}
.map-return {
  margin-top: 18px;
  color: #e08b95;
}

.map-canvas {
  position: relative;
  height: 590px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, rgba(82,124,99,.13) 48%, rgba(82,124,99,.13) 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(82,124,99,.13) 48%, rgba(82,124,99,.13) 52%, transparent 53%),
    #eef5ef;
  background-size: 125px 125px;
}
.map-canvas::before { content: ""; position: absolute; inset: 46px 86px; transform: rotate(-14deg); border-radius: 45%; background: rgba(255,255,255,.55); }
.map-pin { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: #fff; background: var(--pink); box-shadow: var(--shadow); }
.map-pin span { transform: rotate(45deg); font-size: 17px; }
.map-card { position: absolute; right: 18px; bottom: 20px; left: 18px; padding: 15px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.map-card.is-open, .map-card { animation: map-card-in .35s ease-out both; }

.map-screen {
  background: #fffef8;
}
.map-filter {
  height: 48px;
  padding: 8px 16px 0;
  border-bottom: 1px solid #eae2e0;
  background: #fff;
}
.map-filter .category-pill {
  padding: 8px 18px;
  font-size: 12px;
}
.map-screen .map-canvas {
  height: 500px;
  background:
    linear-gradient(90deg, transparent 49%, #ced3cb 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, #ced3cb 50%, transparent 51%),
    #e5eae0;
  background-size: 390px 500px;
}
.map-screen .map-canvas::before {
  display: none;
}
.map-screen .map-pin {
  width: 26px;
  height: 34px;
  border: 0;
  border-radius: 0;
  transform: none;
  background: transparent;
  box-shadow: none;
}
.map-screen .map-pin span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  transform: none;
  border-radius: 50%;
  background: #e08b95;
}
.map-screen .map-pin span::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 8px;
  width: 6px;
  height: 10px;
  border-radius: 3px;
  background: inherit;
}
.map-screen .map-pin.green span { background: #6a9b6a; }
.map-screen .map-pin.blue span { background: #4f8bc9; }
.map-screen .map-pin.deep span { background: #4a7c59; }
.map-current {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #4f8bc9;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.map-result {
  margin: 0;
  padding: 6px 12px;
  color: var(--muted);
  background: #fefbf4;
  font-size: 11px;
}
.map-screen .map-card {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  display: none;
  gap: 16px;
  padding: 10px 16px 18px;
  border-radius: 0;
  box-shadow: none;
}
.map-screen .map-card.is-open {
  display: grid;
  animation: map-card-in .28s ease-out both;
}
.map-card i {
  justify-self: center;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #eae2e0;
}
.map-close {
  position: absolute;
  top: 6px;
  right: 16px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 18px;
}
.map-card-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}
.map-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #fdf0f1;
}
.map-thumb span {
  color: #e08b95;
}
.map-card h3 {
  margin: 8px 0 4px;
  color: #362a2a;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 14px;
  font-weight: 600;
}
.map-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--green); font-size: 12px; font-weight: 700; }
.field input, .field select { height: 46px; padding: 0 13px; }
.field textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }

.flower-info-form {
  position: relative;
  padding: 35px 12px 34px;
  background: #fbfaf5;
}
.create-post-form {
  position: relative;
  padding: 35px 12px 34px;
  background: #fbfaf5;
}
.flower-info-form h1,
.create-post-form h1,
.preview-page h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}
.flower-lead {
  margin: 9px 0 18px;
  color: #7b897f;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.flower-info-form .form,
.create-post-form .form {
  max-width: 358px;
  margin: 0 auto;
  gap: 22px;
}
.flower-upload {
  display: grid;
  place-items: center;
  height: 150px;
  border: 1px solid #dfe7e1;
  border-radius: 14px;
  color: var(--green);
  background: #e8f0ea;
  font-size: 15px;
  font-weight: 500;
}
.flower-upload-note {
  margin: -13px 0 2px;
  color: #7b897f;
  font-size: 11px;
  text-align: right;
}
.flower-info-form .field,
.create-post-form .field { gap: 10px; }
.flower-info-form .field label,
.create-post-form .field label {
  color: #33423b;
  font-size: 12px;
  font-weight: 500;
}
.flower-info-form .field input,
.flower-info-form .field textarea,
.create-post-form .field input,
.create-post-form .field textarea,
.create-post-form .field select {
  border-color: #dfe7e1;
  border-radius: 10px;
  color: #33423b;
  background: #fff;
  font-size: 13px;
}
.flower-info-form .field input,
.create-post-form .field input,
.create-post-form .field select { height: 52px; padding-inline: 16px; }
.flower-info-form .field textarea,
.create-post-form .field textarea { min-height: 96px; padding: 15px 16px; }
.flower-info-form ::placeholder,
.create-post-form ::placeholder { color: #7b897f; opacity: 1; }
.choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.permission-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.choice-pill {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid #dfe7e1;
  border-radius: 999px;
  color: #33423b;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.flower-info-form .choice-pill {
  color: #33423b;
}
.permission-row .choice-pill { min-height: 42px; }
.choice-pill.active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.flower-info-form .choice-pill.active {
  color: #fff;
}
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.post-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.post-type-grid .choice-pill {
  min-height: 42px;
}
.post-type-grid .choice-pill.active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.handoff-row {
  padding: 12px 14px;
  border: 1px solid #dfe7e1;
  border-radius: 12px;
  background: #fff;
  color: #33423b;
}
.permission-copy {
  margin: -2px 0 2px;
  color: #33423b;
  font-size: 12px;
  line-height: 1.6;
}
.flower-caution {
  margin: -12px 0 -2px;
  color: #7b897f;
  font-size: 11px;
  line-height: 1.45;
}
.flower-info-form .button,
.create-post-form .button {
  min-height: 52px;
  border-radius: 24px;
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  font-size: 14px;
}
.flower-info-form .button { margin-top: 28px; }
.create-post-form .button { margin-top: 0; }
.create-post-form .flower-caution + .button { margin-top: 28px; }
.create-post-form .button + .button { margin-top: -14px; }
.submit-note {
  margin: -10px 0 0;
  color: #7b897f;
  font-size: 11px;
  text-align: center;
}

.preview-page {
  display: grid;
  gap: 8px;
  padding: 35px 16px 34px;
  background: #fbfaf5;
}
.preview-page .notice-card {
  border-color: #dfe7e1;
}
.preview-page .post-card {
  border-color: var(--green);
  border-radius: 14px;
}
.preview-page .button {
  min-height: 50px;
  border-radius: 45px;
}

.business-register-page {
  position: relative;
  overflow: hidden;
  background: #fffef8;
}
.business-register-hero {
  display: grid;
  place-items: center;
  height: 260px;
  padding: 0 16px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
    url("../figma-top/line-card.png") center / cover;
}
.business-register-hero h1 {
  margin: 0 0 15px;
  color: #fff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
}
.business-register-hero p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.business-register-section {
  padding: 26px 15px 0;
}
.business-register-section h2 {
  margin: 0 0 16px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 600;
}
.business-benefits {
  display: grid;
  gap: 14px;
}
.business-benefit {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 13px 12px;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.09);
}
.business-benefit > span {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f0f5f0;
}
.business-benefit > span.pink { background: #fdf0f1; }
.business-benefit > span.blue { background: #edf5fa; }
.business-benefit h3 {
  margin: 0 0 4px;
  color: #362a2a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}
.business-benefit p {
  margin: 0;
  color: #8a7a72;
  font-size: 11px;
  line-height: 1.6;
}
.plan-table {
  overflow: hidden;
  border: 1px solid #eae2e0;
  background: #fff;
}
.plan-head,
.plan-row {
  display: grid;
  grid-template-columns: 1.7fr .75fr .95fr;
  align-items: center;
  min-height: 38px;
  padding-inline: 12px;
  border-bottom: 1px solid #eae2e0;
  font-size: 12px;
}
.plan-head {
  min-height: 36px;
  border-radius: 14px 14px 0 0;
  color: #fff;
  background: #3c5a4a;
}
.plan-head b,
.plan-head strong {
  color: inherit;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}
.plan-head strong { color: var(--pink); }
.plan-row:nth-child(odd) { background: #fffef8; }
.plan-row span { color: #362a2a; }
.plan-row b {
  color: #8a7a72;
  font-weight: 500;
  text-align: center;
}
.plan-row strong {
  color: var(--pink);
  font-weight: 500;
  text-align: center;
}
.plan-row .is-check { color: #4a7c59; }
.business-register-button {
  width: calc(100% - 30px);
  min-height: 52px;
  margin: 20px 15px 0;
  border-color: var(--pink);
  border-radius: 45px;
  background: var(--pink);
  box-shadow: 0 4px 12px rgba(224,139,149,.35);
  font-size: 15px;
}
.business-register-button:hover {
  border-color: #d77b8b;
  background: #d77b8b;
}
.business-register-note {
  margin: 13px 0 0;
  color: #8a7a72;
  font-size: 11px;
  text-align: center;
}
.business-contact-link {
  display: block;
  width: fit-content;
  margin: 13px auto 0;
  color: var(--green);
  font-size: 12px;
}
.business-apply-form-page {
  display: grid;
  gap: 16px;
  padding: 24px 16px 34px;
  background: #fffef8;
}
.biz-apply-selected-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #eef6e8;
  border: 1.5px solid #b2d9a0;
  border-radius: 12px;
  flex-wrap: wrap;
}
.biz-apply-selected-plan__label {
  font-size: 11px;
  color: #5a7a50;
  font-weight: 600;
}
.biz-apply-selected-plan strong {
  font-size: 14px;
  color: #2d4a28;
  flex: 1;
}
.biz-apply-selected-plan .text-link {
  font-size: 11px;
  color: #5a7a50;
}
.business-apply-head {
  position: relative;
  overflow: hidden;
  padding: 24px 18px;
  border: 1px solid var(--green);
  border-radius: 20px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.62) 100%),
    url("../figma-top/community-card-bg.png") center / cover;
  box-shadow: var(--shadow);
}
.business-apply-head span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.business-apply-head h1 {
  margin: 7px 0 10px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}
.business-apply-head p {
  margin: 0;
  color: #59645d;
  font-size: 12px;
  line-height: 1.75;
}
.business-apply-form {
  padding: 18px 15px;
  border: 1px solid var(--green);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.business-apply-form .button {
  min-height: 52px;
  border-radius: 45px;
}

.message-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 11px; padding: 13px; }
.avatar,
.message-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--green); background: var(--pale-pink); font-size: 18px; }
.message-card h3 { margin: 0 0 3px; font-family: inherit; font-size: 13px; }
.message-card p { margin: 0; color: var(--muted); font-size: 11px; }
.messages-page {
  display: grid;
  gap: 14px;
  padding: 24px 16px 34px;
}
.messages-intro {
  padding: 20px 16px;
  border: 1px solid var(--green);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.messages-intro h1 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
}
.messages-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.message-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.message-tabs button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.message-tabs button.active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.message-list {
  display: grid;
  gap: 10px;
}
.message-thread-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--green);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.message-thread-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(82,124,99,.16); }
.message-thread-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.message-thread-body > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.message-thread-body h3 {
  overflow: hidden;
  margin: 0;
  color: #362a2a;
  font-family: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-thread-body time,
.message-thread-body span {
  color: var(--muted);
  font-size: 11px;
}
.message-thread-body p {
  overflow: hidden;
  margin: 0;
  color: #59645d;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-thread-card > b {
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  font-size: 10px;
  white-space: nowrap;
}
.message-thread-card > i {
  color: var(--green);
  font-size: 22px;
  font-style: normal;
}
.chat-page {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: calc(100vh - 56px);
  overflow-x: hidden;
  background: #fdf0f1;
}
.chat-partner {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.chat-partner h1 {
  margin: 0;
  color: #362a2a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}
.chat-partner p {
  display: none;
}
.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3c7ce;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #9c4f5b;
}
.chat-post-strip {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.chat-post-strip .post-cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}
.chat-post-strip h2 {
  overflow: hidden;
  margin: 0 0 2px;
  color: #362a2a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-post-strip p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-post-strip > span {
  color: #aaa;
  font-size: 18px;
}
.chat-date {
  display: block;
  text-align: center;
  margin: 16px 0 8px;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.04em;
}
.chat {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 8px 16px 24px;
  overflow-x: hidden;
}
.bubble {
  max-width: 72%;
  padding: 11px 14px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  color: #362a2a;
}
.bubble.mine {
  justify-self: end;
  border-radius: 16px 4px 16px 16px;
  color: #fff;
  background: #e08090;
  box-shadow: none;
}
.chat-compose {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 8px;
  padding: 10px 14px 16px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.chat-compose input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 0 18px;
  background: #fff;
  font-size: 14px;
}
.chat-compose .button {
  height: 48px;
  min-height: unset;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 24px;
  align-self: center;
}

.settings-card { padding: 3px 16px; }
.settings-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #525a55;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}
.settings-link > span {
  margin-left: auto;
  margin-right: 10px;
  color: #8e9991;
  font-size: 11px;
  font-weight: 600;
}
.settings-link:last-child { border-bottom: 0; }
.account-settings {
  display: grid;
  gap: 12px;
  padding: 28px 16px 34px;
}
.account-settings h1 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}
.setting-section-label {
  margin: 14px 2px 2px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.account-card {
  padding: 0 15px;
}
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}
.account-row:last-child { border-bottom: 0; }
.account-row b {
  display: block;
  color: #4e5651;
  font-family: inherit;
  font-size: 13px;
}
.account-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 54px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.danger-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 10px;
  border: 1px solid #efd7d8;
  border-radius: 16px;
  color: #b75f68;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.notification-card {
  margin-top: -4px;
}

/* ════════════════════════════════════════
   事業者公開ページ (businessPage)
   ════════════════════════════════════════ */
.biz-pub-page { background: #faf8f4; padding-bottom: 56px; }

/* ヒーロー */
.biz-pub-hero { position: relative; width: 100%; aspect-ratio: 4/3; max-height: 360px; overflow: hidden; }
.biz-pub-hero--pink  { background: #f5e8e0; }
.biz-pub-hero--green { background: #e0f0e8; }
.biz-pub-hero--yellow{ background: #f5f0d8; }
.biz-pub-hero--blue  { background: #dceaf5; }
.biz-pub-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-pub-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
}
.biz-pub-hero-chips { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.biz-pub-chip {
  background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.biz-pub-chip--verified { background: rgba(130,200,140,.4); border-color: rgba(180,240,180,.5); }
.biz-pub-hero-name { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.biz-pub-hero-copy { font-size: 13px; color: rgba(255,255,255,.92); margin: 0 0 4px; line-height: 1.55; }
.biz-pub-hero-area { font-size: 12px; color: rgba(255,255,255,.8); margin: 0; }

/* アクションバー */
.biz-pub-action-bar {
  display: flex; gap: 8px; padding: 14px 16px;
  background: #fff; border-bottom: 1px solid #ede8df;
  position: sticky; top: 56px; z-index: 10;
}
.biz-pub-action-primary { flex: 1; height: 40px; font-size: 14px; }
.biz-pub-action-sub { height: 40px; font-size: 14px; white-space: nowrap; padding: 0 14px; }
.biz-pub-share-btn {
  height: 40px; padding: 0 12px; border: 1.5px solid #ddd8cf; border-radius: 10px;
  background: #fff; font-size: 12px; color: #7a7168; cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
}

/* セクション */
.biz-pub-section { padding: 28px 20px; border-bottom: 1px solid #f0ece4; }
.biz-pub-section--card { background: #fff; }
.biz-pub-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.biz-pub-section-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #3e4c38; margin: 0 0 16px; }
.biz-pub-section-head .biz-pub-section-title { margin: 0; }

/* 基本情報テーブル */
.biz-pub-info-table { display: grid; gap: 10px; }
.biz-pub-info-row { display: flex; gap: 12px; font-size: 13px; }
.biz-pub-info-row span { color: #9b9083; flex-shrink: 0; width: 90px; }
.biz-pub-info-row b { color: #3e4c38; font-weight: 500; }

/* 想い */
.biz-pub-story {
  font-size: 14px; color: #514b47; line-height: 1.85;
  white-space: pre-line; margin: 0;
}

/* 商品一覧 */
.biz-pub-products { display: grid; gap: 12px; }
.biz-pub-product-card {
  display: flex; gap: 12px; background: #fff;
  border: 1px solid #ede8df; border-radius: 16px; padding: 12px; cursor: pointer;
}
.biz-pub-product-img {
  width: 90px; height: 90px; border-radius: 10px; flex-shrink: 0;
}
.biz-pub-product-img.pink   { background: linear-gradient(135deg, #f5d8d8, #f0b8c0); }
.biz-pub-product-img.green  { background: linear-gradient(135deg, #d8f0d8, #a8d8b0); }
.biz-pub-product-img.yellow { background: linear-gradient(135deg, #f8f0c8, #e8d888); }
.biz-pub-product-img.blue   { background: linear-gradient(135deg, #d8e8f8, #a8c8e8); }
.biz-pub-product-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.biz-pub-product-title { font-size: 13px; font-weight: 600; color: #3e4c38; line-height: 1.4; margin: 0; }
.biz-pub-product-price { font-size: 15px; font-weight: 700; color: #527c63; margin: 0; }
.biz-pub-sold-badge { font-size: 11px; font-weight: 700; background: #f0ece4; color: #aaa; border-radius: 6px; padding: 3px 10px; width: fit-content; }

/* 投稿グリッド */
.biz-pub-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ギャラリー */
.biz-pub-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.biz-pub-gallery-cell {
  aspect-ratio: 1; border-radius: 8px;
}
.biz-pub-gallery-cell.pink   { background: linear-gradient(135deg, #f5d8d8, #f0b8c0); }
.biz-pub-gallery-cell.green  { background: linear-gradient(135deg, #d8f0d8, #a8d8b0); }
.biz-pub-gallery-cell.yellow { background: linear-gradient(135deg, #f8f0c8, #e8d888); }
.biz-pub-gallery-cell.blue   { background: linear-gradient(135deg, #d8e8f8, #a8c8e8); }

/* SNSリンク */
.biz-pub-links { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-pub-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border: 1.5px solid #ddd8cf; border-radius: 18px;
  background: #fff; font-size: 13px; color: #3e4c38; text-decoration: none;
  transition: border-color .15s;
}
.biz-pub-link-btn:hover { border-color: #8aac6e; }

/* マップボタン */
.biz-pub-map-btn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px; border: 1.5px solid #ddd8cf; border-radius: 16px;
  background: #fff; text-align: left; cursor: pointer;
}
.biz-pub-map-icon { font-size: 28px; flex-shrink: 0; }
.biz-pub-map-label { font-size: 14px; font-weight: 700; color: #3e4c38; margin: 0 0 2px; }
.biz-pub-map-area { font-size: 12px; color: #9b9083; margin: 0; }
.biz-pub-map-btn b { margin-left: auto; color: #aaa; font-size: 18px; }

/* CTA */
.biz-pub-cta {
  padding: 36px 24px 28px; text-align: center;
  background: linear-gradient(160deg, #e8f2ea 0%, #f3f0ea 100%);
}
.biz-pub-cta-name { font-family: var(--serif); font-size: 16px; font-weight: 700; color: #3e4c38; margin: 0 0 4px; }
.biz-pub-cta-lead { font-size: 13px; color: #7a7168; margin: 0 0 20px; }
/* 共有セクション */
.biz-pub-share-section {
  padding: 28px 20px; background: #f9f8f6; border-top: 1px solid #e8e0d6; text-align: center;
}
.biz-pub-share-title { font-family: var(--serif); font-size: 15px; font-weight: 700; color: #3e4c38; margin: 0 0 6px; }
.biz-pub-share-body { font-size: 12px; color: #7a7168; line-height: 1.7; margin: 0 0 10px; }
.biz-pub-share-url {
  font-size: 11px; color: #b0a898; margin: 0 0 16px; word-break: break-all;
  background: #fff; border: 1px solid #e0d8ce; border-radius: 8px; padding: 8px 10px;
  display: inline-block; max-width: 100%; text-align: left;
}
.biz-pub-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.biz-pub-share-copy-btn, .biz-pub-share-ig-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1.5px solid #c9c0b0; background: #fff; color: #3e4c38;
  transition: background 0.15s, border-color 0.15s;
}
.biz-pub-share-copy-btn:hover, .biz-pub-share-ig-btn:hover { background: #f3f0ea; border-color: #a89d88; }
.biz-pub-share-line-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: #06C755; color: #fff; border: none; text-decoration: none;
  transition: opacity 0.15s;
}
.biz-pub-share-line-btn:hover { opacity: 0.85; }

/* 空状態 */
.biz-pub-empty { text-align: center; padding: 20px 0; font-size: 13px; color: #b0a898; line-height: 1.7; }

/* 事業者ページ：小さな公式ホームページ風 */
.biz-pub-page {
  background:
    radial-gradient(circle at 20% 8%, rgba(232,139,149,.12), transparent 28%),
    linear-gradient(180deg, #fffaf1 0%, #fbf8f1 42%, #fff 100%);
}
.biz-pub-page .biz-pub-hero {
  aspect-ratio: 1 / 1.08;
  max-height: none;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  box-shadow: 0 16px 32px rgba(82,124,99,.14);
}
.biz-pub-page .biz-pub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(32,48,38,.18) 38%, rgba(30,42,34,.72) 100%);
}
.biz-pub-page .biz-pub-hero-overlay {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 92px 24px 28px;
  background: none;
}
.biz-pub-page .biz-pub-hero-name {
  font-size: 34px;
  letter-spacing: .02em;
}
.biz-pub-page .biz-pub-hero-copy {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.75;
}
.biz-pub-page .biz-pub-links { margin-top: 8px; }
.biz-pub-page .biz-pub-link-btn {
  min-height: 34px;
  border-color: rgba(255,255,255,.56);
  color: #fff;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.biz-pub-action-bar {
  margin: -24px 18px 10px;
  border: 1px solid rgba(226,218,206,.9);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(82,124,99,.14);
}
.biz-pub-section {
  margin: 18px 18px 0;
  padding: 24px 20px;
  border: 1px solid rgba(82,124,99,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 26px rgba(82,124,99,.08);
}
.biz-pub-section--soft {
  background: #fffdf8;
}
.biz-pub-section-title {
  font-size: 22px;
  letter-spacing: .04em;
}
.biz-pub-overview-card {
  margin-top: 22px;
}
.biz-pub-info-table {
  grid-template-columns: 1fr;
  gap: 0;
}
.biz-pub-info-row {
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee5db;
}
.biz-pub-info-row:last-child { border-bottom: 0; }
.biz-pub-info-row b { text-align: right; }
.biz-pub-story-section {
  background: linear-gradient(145deg, #fff 0%, #f3f8f2 100%);
}
.biz-pub-story {
  font-size: 15px;
  line-height: 2;
}
.biz-pub-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.biz-pub-values span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green);
  background: #edf5ee;
  font-size: 12px;
  font-weight: 700;
}
.biz-pub-products {
  gap: 14px;
}
.biz-pub-product-card {
  align-items: stretch;
  border-color: rgba(82,124,99,.24);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(82,124,99,.08);
}
.biz-pub-product-img {
  display: grid;
  place-items: center;
  width: 118px;
  height: auto;
  min-height: 128px;
  border-radius: 16px;
  color: rgba(255,255,255,.85);
  font-size: 30px;
}
.biz-pub-product-title { font-size: 16px; }
.biz-pub-product-area {
  margin: 0;
  color: #9a8f83;
  font-size: 12px;
}
.biz-pub-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.biz-pub-news-grid,
.biz-news-list {
  display: grid;
  gap: 14px;
}
.biz-pub-news-card,
.biz-news-list-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  min-height: 136px;
  padding: 12px;
  border: 1px solid #e8dfd5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(82,124,99,.07);
}
.biz-pub-news-card img,
.biz-news-list-card img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  border-radius: 15px;
  object-fit: cover;
}
.biz-pub-news-card span,
.biz-news-list-card span,
.biz-news-cat {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #9c4f5b;
  background: #f9e6e8;
  font-size: 11px;
  font-weight: 800;
}
.biz-pub-news-card time,
.biz-news-list-card time,
.biz-news-detail time {
  display: block;
  margin-top: 6px;
  color: #9a8f83;
  font-size: 11px;
}
.biz-pub-news-card h3,
.biz-news-list-card h2 {
  margin: 7px 0 5px;
  color: #3e4c38;
  font-size: 15px;
  line-height: 1.45;
}
.biz-pub-news-card p,
.biz-news-list-card p {
  margin: 0 0 8px;
  color: #6f6860;
  font-size: 12px;
  line-height: 1.65;
}
.biz-pub-event-list {
  display: grid;
  gap: 12px;
}
.biz-pub-event-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e8dfd5;
  border-radius: 20px;
  background: #fff;
}
.biz-pub-event-card .button { grid-column: 1 / -1; }
.biz-pub-event-card h3 {
  margin: 4px 0;
  color: #3e4c38;
  font-size: 15px;
}
.biz-pub-event-card p,
.biz-pub-event-card time {
  margin: 0;
  color: #8c8176;
  font-size: 12px;
}
.biz-pub-gallery {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.biz-pub-gallery-cell {
  overflow: hidden;
  border-radius: 16px;
}
.biz-pub-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-pub-share-section,
.biz-pub-cta {
  margin: 18px;
  border-radius: 24px;
}
.biz-news-page,
.biz-news-detail {
  min-height: 100vh;
  padding: 24px 18px 72px;
  background: linear-gradient(180deg, #fffaf1, #fff);
}
.biz-news-hero,
.biz-news-detail-body {
  padding: 24px 20px;
  border: 1px solid rgba(82,124,99,.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(82,124,99,.08);
}
.biz-news-hero h1,
.biz-news-detail h1 {
  margin: 14px 0 10px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.4;
}
.biz-news-hero p,
.biz-news-detail p {
  color: #5f6961;
  line-height: 1.85;
}
.biz-news-detail-img {
  width: 100%;
  max-height: 300px;
  margin: 14px 0;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(82,124,99,.12);
}
.biz-news-related {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #f3f8f2;
}
.biz-news-manage .settings-card small {
  display: block;
  margin-top: 4px;
  color: #958b81;
  font-size: 11px;
}

/* ────────────────────────────
   事業者プロフィール編集
   ──────────────────────────── */
.biz-edit-guide-card {
  background: #f3f0ea; border-radius: 14px; padding: 16px 18px; margin-bottom: 20px;
}
.biz-edit-guide-headline { font-family: var(--serif); font-size: 15px; font-weight: 700; color: #3e4c38 !important; margin: 0 0 8px !important; }
.biz-edit-guide-headline em { font-style: normal; color: #b97a5a; }
.biz-edit-guide-card p { font-size: 13px; color: #7a7168; line-height: 1.7; margin: 0 0 6px; }
.biz-edit-guide-card p:last-child { margin: 0; }
.biz-edit-cover-wrap { margin-bottom: 16px; }
.biz-edit-cover-placeholder {
  height: 120px; border: 2px dashed #ddd8cf; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 13px; color: #b0a898; cursor: pointer; gap: 4px; background: #f9f8f6;
}
.biz-edit-preview-row { margin-bottom: 10px; }

/* ── 通知バッジ（ヘッダー） ── */
.notif-badge {
  position: absolute; top: 0; right: 0;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #e05555; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  border-radius: 8px; pointer-events: none;
}

/* ── 通知一覧ページ ── */
.notif-page { padding-bottom: 40px; }
.notif-page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 12px;
}
.notif-page-head h1 { font-size: 20px; font-weight: 700; margin: 0; color: #3e4c38; }
.notif-settings-link { font-size: 13px; color: #8aac6e; text-decoration: none; }

.notif-list { display: grid; gap: 0; }
.notif-item {
  display: flex; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid #f0ece4; cursor: pointer;
  background: #fff; transition: background .15s;
}
.notif-item:active { background: #f7f5f0; }
.notif-item--unread { background: #f7fbf4; }
.notif-item--important { border-left: 3px solid #e05555; }
.notif-item-icon {
  flex-shrink: 0; font-size: 20px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #f3f0ea; border-radius: 50%;
}
.notif-item--unread .notif-item-icon { background: #e8f2ea; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.notif-item-subject { font-size: 13px; font-weight: 700; color: #3e4c38; flex: 1; min-width: 0; }
.notif-item--unread .notif-item-subject { color: #2a4020; }
.notif-item-time { font-size: 11px; color: #b0a898; flex-shrink: 0; }
.notif-item-text { font-size: 12px; color: #7a7168; line-height: 1.6; margin: 0; }
.notif-important-tag {
  display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700;
  background: #fff0f0; color: #c03030; border-radius: 6px; padding: 2px 6px;
}
.notif-empty {
  padding: 48px 20px; text-align: center; color: #b0a898; font-size: 14px;
}

/* ── 通知設定ページ ── */
.notif-locked-card { background: #f9f8f6; }
.notif-locked-desc {
  font-size: 12px; color: #9b9083; padding: 12px 16px 8px;
  border-bottom: 1px solid #f0ece4; line-height: 1.6;
}
.notif-locked-badge {
  font-size: 11px; font-weight: 700; color: #8aac6e;
  background: #e8f2ea; border-radius: 8px; padding: 3px 10px;
}
.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 27px;
  border: 0;
  border-radius: 999px;
  background: #dedbd4;
  transition: background .2s ease;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.toggle.is-on {
  background: var(--green);
}
.toggle.is-on::after {
  transform: translateX(19px);
}
.settings-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.auth-card { margin: 28px 18px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { margin-top: 0; font-size: 23px; }

.auth-page {
  position: relative;
  min-height: calc(100vh - 130px);
  padding: 0 16px 34px;
  background: var(--cream);
}
.auth-page::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 240px;
  width: 220px;
  height: 220px;
  opacity: .05;
  pointer-events: none;
  background: url("../figma-top/map-section-bg.svg") center / contain no-repeat;
  transform: rotate(180deg);
}
.auth-hero {
  display: grid;
  place-items: center;
  min-height: 80px;
  margin: 0 -16px 16px;
  padding: 12px 20px;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)),
    url("../hero.jpg") center 38% / cover;
}
.auth-hero h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.auth-hero p {
  margin: 7px 0 0;
  color: #68736c;
  font-size: 12px;
  line-height: 1.5;
}
.auth-form-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 358px);
  margin: 0 auto;
  padding: 20px 15px 18px;
  border: 1px solid var(--green);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
.auth-form-tall { gap: 13px; }
.auth-form-card .field { gap: 8px; }
.auth-form-card .field label {
  color: #362a2a;
  font-size: 12px;
  font-weight: 700;
}
.auth-form-card .field input {
  height: 46px;
  border-radius: 10px;
  color: #362a2a;
  background: #fbf9f7;
}
.auth-form-card .field:first-child input,
.auth-form-card input:focus {
  border-color: #ecb8be;
  box-shadow: 0 0 6px 2px rgba(224,139,149,.15);
}
.auth-forgot {
  justify-self: end;
  margin-top: -8px;
  padding: 0 0 2px;
  border-bottom: 1px solid #ecb8be;
  color: var(--pink);
  font-size: 11px;
  font-weight: 400;
}
.auth-remember {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  border-radius: 8px;
  color: #4a7c59;
  background: #f0f5f0;
  font-size: 11px;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 2px 0 -6px;
  color: #8a7a72;
  font-size: 12px;
  font-weight: 400;
}
.auth-divider span { height: 1px; background: #eae2e0; }
.auth-divider b { font: inherit; }
.auth-switch {
  justify-self: center;
  color: var(--pink);
  font-size: 12px;
  font-weight: 400;
}
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #68736c;
  font-size: 11px;
  line-height: 1.6;
}
.auth-terms input { margin-top: 2px; accent-color: var(--pink); }

.mypage-screen {
  display: grid;
  gap: 14px;
  padding: 22px 16px 34px;
}
.mypage-guest-card,
.mypage-profile-card,
.mypage-stats,
.mypage-menu-group .settings-card {
  border: 1px solid var(--green);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.mypage-guest-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 18px;
  text-align: center;
}
.mypage-guest-card h1,
.mypage-profile-card h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
}
.mypage-guest-card p,
.mypage-profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.mypage-actions {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.mypage-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--green);
  background: var(--pale-pink);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 30px;
  font-weight: 700;
}
.mypage-profile-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}
.mypage-profile-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.mypage-profile-main h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mypage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 8px;
}
.mypage-stats button {
  display: grid;
  gap: 3px;
  place-items: center;
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}
.mypage-stats button:last-child { border-right: 0; }
.mypage-stats b {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}
.mypage-stats span {
  color: var(--muted);
  font-size: 11px;
}
.mypage-menu-group {
  display: grid;
  gap: 8px;
}

.modal-layer { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(35,48,40,.42); animation: bloom-bg-in .24s ease both; }
.modal { width: min(100%, 360px); padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 15px 50px rgba(0,0,0,.18); animation: modal-in .3s ease-out both; }
.modal h2 { margin: 0 0 14px; font-size: 19px; }
.modal p { margin: 0 0 20px; font-size: 13px; line-height: 1.7; }
.empty { padding: 44px 18px; color: var(--muted); text-align: center; font-size: 13px; }

.page-reveal {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .78s ease-out, transform .78s cubic-bezier(.22,.72,.24,1);
  will-change: opacity, transform;
}
.page-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.screen-intro { display: grid; gap: 14px; padding: 24px 18px 18px; background: #fff; }
.screen-intro h1 { margin: 0; font-size: 22px; line-height: 1.45; }
.screen-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.wisdom-list { margin-top: 14px; }
.question-card, .answer-card, .partner-card, .event-card, .history-card, .payment-summary-card, .notice-card {
  border: 1px solid var(--green);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.question-card { display: grid; gap: 7px; padding: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.question-card span { color: #b75f68; font-size: 12px; font-weight: 700; }
.question-card h3, .question-detail h1 { margin: 0; color: #514b47; font-family: inherit; font-size: 16px; line-height: 1.55; }
.question-card p, .question-detail p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.question-card small, .question-detail small { color: #9a918b; font-size: 11px; }
.wisdom-detail-page {
  display: grid;
  gap: 28px;
  padding: 22px 16px 36px;
  background: #fffef8;
}
.question-detail { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.question-detail .wisdom-tag {
  justify-self: start;
  width: auto;
  min-width: 64px;
  padding-inline: 14px;
}
.answer-section {
  display: grid;
  gap: 14px;
}
.answer-section .section-title {
  margin-bottom: 0;
}
.answer-list {
  gap: 12px;
}
.answer-card { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.answer-card p { margin: 0; font-size: 13px; line-height: 1.75; }
.wisdom-answer-button {
  margin-top: 10px;
}
.upload-box { display: grid; place-items: center; min-height: 128px; border: 1px dashed var(--line); border-radius: 16px; color: var(--green); background: #fff; font-weight: 700; }
.notice-card { padding: 13px 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.partners-page {
  display: grid;
  gap: 16px;
  padding: 34px 16px 30px;
  background: #fffef8;
}
.partners-head { display: grid; gap: 8px; }
.partners-head h1 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
}
.partners-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.partners-search {
  grid-template-columns: minmax(0, 1fr) 58px;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}
.partners-search .button {
  min-width: 58px;
  padding-inline: 0;
}
.partner-tabs {
  width: calc(100% + 32px);
  margin-inline: -16px;
  padding: 0 16px 4px;
}
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.partner-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 205px;
  padding-bottom: 12px;
  border: 1px solid var(--green);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner-image {
  display: grid;
  place-items: center;
  height: 92px;
  margin-bottom: 10px;
  background: #fdf0f1;
}
.partner-card.green .partner-image { background: #eef5ef; }
.partner-card.yellow .partner-image { background: #fff3d6; }
.partner-card img { width: 82px; height: 76px; object-fit: contain; }
.partner-card > div:not(.partner-image) {
  display: grid;
  gap: 6px;
  padding: 0 12px;
}
.partner-chip {
  justify-self: start;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  white-space: nowrap;
}
.partner-card h3 {
  margin: 0;
  color: #514b47;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}
.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.partner-card > b {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: var(--green);
  font-size: 21px;
}
.event-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.event-card h3, .history-card h3 { margin: 8px 0 4px; color: #514b47; font-family: inherit; font-size: 15px; }
.event-card p, .history-card p { margin: 0; color: var(--muted); font-size: 12px; }
.event-card { grid-template-columns: 76px 1fr auto; }
.event-card .event-visual { width: 76px; height: 76px; border-radius: 14px; }
.event-card time { color: #b75f68; font-family: Georgia, serif; font-size: 18px; }
.event-hero { background-image: linear-gradient(rgba(251,233,235,.45), rgba(255,243,214,.68)), url("../figma-top/line-card.png"); }
.public-cover { height: 178px; background: linear-gradient(rgba(82,124,99,.12), rgba(82,124,99,.28)), url("../hero.jpg") center / cover; }
.public-profile { position: relative; padding: 54px 18px 18px; background: #fff; text-align: center; }
.public-avatar { position: absolute; top: -46px; left: 50%; width: 92px; height: 92px; transform: translateX(-50%); border: 4px solid #fff; border-radius: 50%; object-fit: cover; background: var(--pale-pink); }
.public-profile h1 { margin: 0 0 4px; font-size: 24px; }
.public-profile p { margin: 8px auto 0; max-width: 310px; font-size: 13px; line-height: 1.8; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: 14px; background: var(--pale-green); }
.profile-stats span { color: var(--muted); font-size: 11px; }
.profile-stats b { display: block; color: var(--green); font-size: 18px; }
.mini-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.mini-post-tile { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.mini-post-tile .post-cover { height: 98px; }
.mini-post-tile b { display: block; padding: 10px 10px 3px; color: #514b47; font-size: 12px; line-height: 1.5; }
.mini-post-tile span { display: block; padding: 0 10px 12px; color: var(--muted); font-size: 10px; }
.payment-summary-card { display: grid; gap: 10px; padding: 16px; margin-bottom: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.summary-product { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: center; }
.summary-product .post-cover { height: 86px; border-radius: 14px; }
.summary-product h3 { margin: 8px 0 4px; font-family: inherit; font-size: 15px; line-height: 1.5; }
.total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); color: var(--green); font-weight: 700; }
.total-row b { font-family: Georgia, serif; font-size: 24px; }
.status-pill { display: inline-flex; width: fit-content; padding: 5px 11px; border-radius: 14px; color: var(--green); background: var(--pale-green); font-size: 11px; font-weight: 700; }
.status-pill.sold { color: #b75f68; background: var(--pale-pink); }
.progress-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.progress-list span { padding: 8px 4px; border-radius: 12px; color: var(--muted); background: #f6f0ec; text-align: center; font-size: 10px; }
.progress-list .done, .progress-list .active { color: #fff; background: var(--green); }
.history-card { display: grid; gap: 6px; padding: 15px; transition: transform .25s ease, box-shadow .25s ease; }
.complete-icon.error { background: #bf6b72; }
.profile-summary .button-row, .info-card .button-row { width: auto; grid-template-columns: repeat(2, 1fr); }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .78s ease-out, transform .78s cubic-bezier(.22,.72,.24,1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal-on-scroll,
  .page-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .category-card:hover,
  .season-card:hover,
  .event-row:hover,
  .mini-card:hover,
  .wisdom-row:hover,
  .button:hover,
  .home-more:hover,
  .line-button:hover {
    transform: none !important;
  }
  .post-card:hover, .business-card:hover, .message-card:hover, .settings-card:hover, .info-card:hover,
  .question-card:hover, .answer-card:hover, .partner-card:hover, .event-card:hover,
  .history-card:hover, .payment-summary-card:hover, .mini-post-tile:hover {
    transform: none !important;
  }
  .line-button:hover { transform: none !important; }
}

@media (max-width: 359px) {
  .hero { padding-inline: 18px; }
  .hero h1 { width: 268px; font-size: 28px; }
  .hero p { width: 280px; }

  .bloomer-section { padding-inline: 18px; }
  .bloomer-card { grid-template-columns: 1fr 1.25fr; padding-inline: 14px; }
  .bloomer-count b { font-size: 12px; }
  .bloomer-card strong { font-size: 15px; }
  .bloomer-card span { font-size: 10px; }

  .category-grid { gap: 8px; }
  .category-card:nth-child(4) { margin-left: 12px; }
  .category-card:nth-child(5) { margin-right: 12px; }

  .map-contribute { padding-left: 16px; }
  .map-contribute > div { width: 194px; }
  .map-contribute img { right: -18px; width: 250px; height: 250px; }

  .seasonal { padding-inline: 14px; }
  .seasonal .carousel { --carousel-gap: 8px; --carousel-visible-gap: 16px; }
  .season-grid { gap: 8px; }
  .season-card img { height: 109px; }
  .season-card b, .season-card span { padding-inline: 6px; }
  .season-card b { font-size: 11px; }
  .season-card span { font-size: 9px; }

  .events-section { padding-inline: 18px; }
  .event-row { grid-template-columns: 82px 1fr; }
  .event-row > div { padding-inline: 12px; }
  .event-row b { font-size: 13px; }
  .event-row span { font-size: 11px; }

  .nearby, .wisdom { padding-inline: 18px; }
  .nearby .home-heading, .wisdom .home-heading { font-size: 18px; }
  .nearby .carousel { --carousel-gap: 10px; --carousel-visible-gap: 20px; }
  .mini-grid { gap: 10px; }
  .mini-card { min-height: 162px; }
  .mini-card img { height: 84px; }
  .mini-card b { padding-top: 16px; font-size: 11px; }
  .mini-card span { padding-block: 11px 10px; font-size: 9px; }

  .business-invite { padding-inline: 16px; }
  .business-invite p b { font-size: 18px; }
  .business-invite p span { font-size: 13px; }
  .business-invite img { width: 132px; }
  .benefits { padding-inline: 16px; }
  .benefits > div { gap: 8px; }
  .benefits img { width: 72px; height: 72px; }
}

@media (min-width: 700px) {
  body { padding-block: 20px; }
  .app-shell { min-height: calc(100vh - 40px); border-radius: 22px; }
}

/* ── Info / About / FAQ / Legal pages ─────────────────────────── */
.info-page {
  display: grid;
  gap: 0;
  padding-bottom: 32px;
  background: #fffef8;
}
.info-hero {
  padding: 32px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, #f7f0ec 0%, #eef5ef 100%);
  text-align: center;
}
.info-hero h1 {
  margin: 0 0 6px;
  color: var(--green);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 700;
}
.info-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.info-footer-actions {
  display: grid;
  gap: 10px;
  padding: 8px 18px 0;
}
.faq-list { gap: 2px; }
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.legal-page .section { padding: 20px 18px 0; }
.legal-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-block:last-child { border-bottom: 0; }
.legal-block h3 {
  margin: 0 0 5px;
  color: #514b47;
  font-size: 13px;
  font-weight: 700;
}

/* ── ガイドライン・案内ページ共通 ── */
.about-hero { background: linear-gradient(160deg, #eef5ef 0%, #f7f0ec 100%); }
.about-tagline { font-size: 13px; color: var(--muted); margin: 0 0 6px; font-style: italic; }
.about-mission { background: #fff; margin: 0 16px; border-radius: 14px; padding: 20px !important; box-shadow: var(--shadow); }
.about-values { background: var(--pale-green); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.about-values p { margin: 0 0 6px; font-size: 14px; color: var(--green); font-weight: 600; }
.about-values p:last-child { margin: 0; }
.guide-steps { padding: 0 0 0 20px; margin: 0; display: grid; gap: 10px; }
.guide-steps li { font-size: 14px; color: #514b47; padding-left: 4px; }
.guide-notice-section .section-title { color: var(--green); }
.guide-notice-card { background: #fff8e1; border-left: 3px solid #e0a030; border-radius: 0 10px 10px 0; padding: 12px 14px; margin: 0 0 12px; }
.guide-notice-card p { font-size: 13px; color: #514b47; margin: 0 0 6px; }
.guide-notice-card p:last-child { margin: 0; }
.guide-link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-link-row .button { flex: 1; min-width: 140px; font-size: 13px; }
.guide-list { padding: 0 0 0 20px; margin: 0 0 12px; display: grid; gap: 8px; }
.guide-list li { font-size: 13px; color: #514b47; }
.guide-list--warn li { color: #8b3a3a; }
.guide-list--warn li::marker { color: #e05c5c; }
.guideline-warn { color: #c0392b !important; }
.guide-checklist { background: #f5f0e8; border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.guide-checklist__title { font-size: 13px; font-weight: 700; color: #514b47; margin: 0 0 10px; }
.guide-check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #514b47; margin-bottom: 10px; line-height: 1.5; }
.guide-check-item:last-child { margin: 0; }
.guide-check-item span:first-child { flex-shrink: 0; color: var(--green); font-weight: 700; }
.legal-placeholder-card { background: #faf8f4; border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; text-align: center; }
.legal-placeholder-card p { font-size: 14px; color: #7a7168; margin: 0 0 8px; }
.legal-placeholder-card p:last-child { margin: 0; }

/* ── 投稿作成ページ：種苗法注意バナー ── */
.create-caution-banner { background: #fff8e1; border: 1px solid #e0c060; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.create-caution-banner p { font-size: 13px; color: #514b47; margin: 0 0 8px; line-height: 1.6; }
.create-caution-banner p:first-child { margin-bottom: 6px; }
.create-checklist { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 8px 0 0; }
.create-checklist legend { font-size: 13px; font-weight: 700; color: var(--green); padding: 0 6px; }
.create-check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #514b47; margin-bottom: 10px; line-height: 1.5; }
.create-check-item:last-child { margin: 0; }
.create-check-item input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--green); width: 16px; height: 16px; }

/* ── フッター（拡張版） ── */
.home-footer .footer-links { column-count: 2; column-gap: 8px; }
.home-footer button { display: block; width: 100%; margin-bottom: 4px; }

/* ── 特集一覧 ── */
.featured-list-page { display: grid; background: #faf8f4; padding-bottom: 40px; }
.featured-hero { padding: 28px 20px 20px; text-align: left; }
.featured-hero__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.45;
  margin: 0 0 10px;
}
.featured-hero__lead { font-size: 13px; color: #7a7168; margin: 0; }
.tab-row { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.tab-row::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: #7a7168;
  cursor: pointer;
}
.tab-btn.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.featured-cards { display: grid; gap: 16px; padding: 0 16px; }
.featured-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: transform .15s;
}
.featured-card:active { transform: scale(.97); }
.featured-card__img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card.tone-pink .featured-card__img  { background: #f7e9ee; }
.featured-card.tone-green .featured-card__img { background: #e8f2ec; }
.featured-card.tone-yellow .featured-card__img{ background: #f5f0e2; }
.featured-card.tone-blue .featured-card__img  { background: #e8edf5; }
.featured-card__img::after {
  content: "✿";
  font-size: 32px;
  opacity: .35;
  color: var(--green);
}
.featured-card__body { padding: 14px 16px 18px; }
.featured-card__title { font-size: 16px; font-weight: 700; margin: 6px 0 4px; color: #2d2a27; }
.featured-card__lead  { font-size: 13px; color: #7a7168; margin: 0; }

/* ── 特集詳細 ── */
.featured-detail-page { display: grid; background: #faf8f4; padding-bottom: 48px; }
.featured-detail-hero {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-detail-hero.tone-pink  { background: #f7e9ee; }
.featured-detail-hero.tone-green { background: #e8f2ec; }
.featured-detail-hero.tone-yellow{ background: #f5f0e2; }
.featured-detail-hero.tone-blue  { background: #e8edf5; }
.featured-detail-hero::after {
  content: "✿";
  font-size: 64px;
  opacity: .3;
  color: var(--green);
}
.featured-detail-body { padding: 20px 20px 0; }
.featured-detail-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #2d2a27;
  margin: 8px 0 6px;
  line-height: 1.45;
}
.featured-detail-author { font-size: 12px; color: #aaa; margin: 0 0 16px; }
.featured-detail-text   { font-size: 14px; color: #514b47; line-height: 1.75; margin: 0 0 20px; }
.featured-section { margin: 24px 0 0; }
.featured-section-title { font-size: 16px; font-weight: 700; color: #2d2a27; margin: 0 0 12px; }
.featured-img-block {
  height: 160px;
  border-radius: 12px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-img-block.tone-pink  { background: #f7e9ee; }
.featured-img-block.tone-green { background: #e8f2ec; }
.featured-img-block.tone-yellow{ background: #f5f0e2; }
.featured-img-block::after { content: "✿"; font-size: 40px; opacity:.25; color: var(--green); }
.featured-biz-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
}
.featured-biz-card.tone-pink   { background: #f9eee8; }
.featured-biz-card.tone-green  { background: #e8f2ec; }
.featured-biz-card.tone-yellow { background: #f5f0e2; }
.featured-biz-card__img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-biz-card__img::after { content: "✿"; font-size: 22px; opacity: .4; color: var(--green); }
.featured-biz-card__body strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.featured-biz-card__body p { font-size: 12px; color: #7a7168; margin: 0 0 6px; }
.link-arrow { font-size: 12px; color: var(--green); font-weight: 600; }
.featured-rel-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.featured-rel-post {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.featured-rel-post.tone-pink  .featured-rel-post__img { background: #f7e9ee; }
.featured-rel-post.tone-green .featured-rel-post__img { background: #e8f2ec; }
.featured-rel-post__img { height: 90px; display: flex; align-items: center; justify-content: center; }
.featured-rel-post__img::after { content: "✿"; font-size: 24px; opacity:.3; color: var(--green); }
.featured-rel-post .chip { margin: 6px 8px 2px; }
.featured-rel-post__title { font-size: 12px; font-weight: 600; padding: 0 8px 10px; margin: 0; color: #2d2a27; }

/* ── 事業者登録完了 ── */
.biz-register-done {
  display: grid;
  min-height: 100vh;
  background: #faf8f4;
}
.biz-register-done__hero {
  height: 220px;
  background: linear-gradient(160deg, #f7eee8 0%, #eef5ef 100%);
}
.biz-register-done__body {
  padding: 28px 24px 24px;
  display: grid;
  gap: 16px;
}
.biz-register-done__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  margin: 0;
}
.biz-register-done__lead {
  font-size: 14px;
  color: #7a7168;
  text-align: center;
  line-height: 1.8;
  margin: 0;
}
.biz-register-done__checklist {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff;
}
.biz-register-done__checklist-title {
  font-size: 13px;
  font-weight: 700;
  color: #514b47;
  text-align: center;
  margin: 0 0 10px;
}
.biz-register-done__checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.biz-register-done__checklist li {
  font-size: 13px;
  color: #514b47;
  padding-left: 16px;
  position: relative;
}
.biz-register-done__checklist li::before { content: "・"; position: absolute; left: 0; }
.biz-register-done__tagline {
  font-size: 12px;
  color: #bbb;
  text-align: center;
  margin: 0;
  padding-bottom: 24px;
}

/* ── 事業者プロフィール編集 ── */
.biz-profile-edit { display: grid; background: #faf8f4; padding-bottom: 48px; }
.biz-profile-edit__cover {
  height: 140px;
  background: linear-gradient(135deg, #f7eee8, #eef5ef);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
}
.biz-profile-edit__cover-btn {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #514b47;
  cursor: pointer;
}
.biz-profile-edit__avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -36px;
  gap: 6px;
}
.biz-profile-edit__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.biz-profile-edit__avatar img { width: 100%; height: 100%; object-fit: cover; }
.biz-profile-edit__avatar-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
}
.biz-profile-edit__form { padding: 20px 20px 0; }

/* ── 退会ページ ── */
.withdraw-page { background: #faf8f4; min-height: 100vh; }
.withdraw-warning { background: #fdecea; padding: 24px 20px 16px; border-bottom: 1px solid #f5c2c0; }
.withdraw-warning h1 { font-size: 17px; font-weight: 700; color: #c0392b; margin: 0 0 8px; }
.withdraw-warning p { font-size: 13px; color: #7a4040; margin: 0; }
.withdraw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.withdraw-list li { font-size: 13px; color: #514b47; padding-left: 14px; position: relative; }
.withdraw-list li::before { content: "•"; position: absolute; left: 0; color: #aaa; }

/* ── 投稿削除確認 ── */
.modal-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 24px; background: rgba(0,0,0,.04); }
.modal-page__inner { background: #fff; border-radius: 16px; padding: 28px 24px; text-align: center; max-width: 340px; width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.modal-page__inner h2 { font-size: 17px; margin: 0 0 12px; }
.mini-post-preview { background: #f7f4ef; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #514b47; margin: 0 0 20px; }

/* ── シートページ（絞り込み・並び替え） ── */
.sheet-page { background: #fff; min-height: 100vh; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { font-size: 16px; font-weight: 700; margin: 0; }
.sheet-close { background: none; border: none; font-size: 18px; color: #aaa; cursor: pointer; padding: 4px 8px; }
.sheet-form { padding: 20px 20px 0; }
.sort-options { display: grid; }
.sort-option { padding: 16px 20px; border: none; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font-size: 15px; color: #514b47; cursor: pointer; }
.sort-option.is-active { color: var(--green); font-weight: 700; }
.sort-option.is-active::after { content: " ✓"; }

/* ── 事業者投稿一覧 ── */
.list-rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.list-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; cursor: pointer; }
.list-row__cover { width: 56px; height: 56px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.list-row__cover.pink { background: #f7e9ee; }
.list-row__cover.green { background: #e8f2ec; }
.list-row__cover.yellow { background: #f5f0e2; }
.list-row__body { display: grid; gap: 3px; }
.list-row__body b { font-size: 13px; font-weight: 700; }
.list-row__body .post-meta { font-size: 11px; color: #aaa; }

/* ── 料金プラン ── */
.pricing-page { background: #faf8f4; padding-bottom: 48px; }
.pricing-hero { padding: 32px 24px 20px; text-align: center; }
.pricing-hero__title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--green); margin: 0 0 10px; line-height: 1.5; }
.pricing-cards { display: grid; gap: 16px; padding: 0 16px; }
.pricing-card { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 24px 20px; position: relative; }
.pricing-card--featured { border-color: var(--green); }
.pricing-card__badge { position: absolute; top: -12px; left: 20px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.pricing-card__name { font-size: 15px; font-weight: 700; color: #514b47; margin-bottom: 8px; }
.pricing-card__price { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--green); margin-bottom: 16px; }
.pricing-card__price span { font-size: 14px; color: #aaa; }
.pricing-card__features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.pricing-card__features li { font-size: 13px; color: #514b47; }
.pricing-note { padding: 24px 20px 0; text-align: center; }
.pricing-note p { font-size: 13px; color: #7a7168; margin: 0 0 6px; }
.pricing-tagline { text-align: center; font-size: 12px; color: #bbb; padding: 24px 0 0; }

/* ── 初期パートナー募集 ── */
.early-partner-page { background: #faf8f4; min-height: 100vh; padding-bottom: 48px; }
.early-partner-hero { padding: 40px 24px 24px; text-align: center; background: linear-gradient(160deg, #f7eee8 0%, #eef5ef 100%); }
.early-partner-title { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--green); margin: 0; line-height: 1.4; }
.early-partner-benefits { margin: 20px 0; }
.early-partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.early-partner-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #514b47; background: #fff; border-radius: 12px; padding: 14px; }
.early-partner-list small { display: block; font-size: 12px; color: #aaa; margin-top: 3px; }
.benefit-icon { font-size: 22px; flex-shrink: 0; }
.early-partner-counter { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 20px; text-align: center; margin: 20px 0; }
.early-partner-counter p { font-size: 13px; color: #7a7168; margin: 0 0 8px; }
.counter-display strong { font-size: 36px; font-weight: 700; color: var(--green); }
.counter-display span { font-size: 14px; color: #aaa; margin-left: 4px; }

/* ── 運営者情報 ── */
.company-dl { margin: 0 0 24px; }
.company-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.company-row:last-child { border-bottom: 0; }
.company-row dt { font-size: 12px; color: #aaa; padding-top: 1px; }
.company-row dd { font-size: 14px; color: #514b47; margin: 0; font-weight: 600; }

/* ── 知恵袋回答フォーム ── */
.wisdom-answer-page { padding: 16px; display: grid; gap: 16px; }
.wisdom-q-preview { background: #f0f5f1; border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.wisdom-q-preview b { font-size: 15px; color: #2d2a27; line-height: 1.5; }
.wisdom-q-body { font-size: 13px; color: #7a7168; margin: 0; line-height: 1.6; }
.wisdom-answer-form { gap: 12px; }
.wisdom-upload { min-height: 72px; font-size: 14px; }
.form-note { font-size: 12px; color: #aaa; margin: 0; }

/* ── 検索結果なし ── */
.search-empty { padding: 24px 20px; text-align: center; }
.search-empty__query { font-size: 15px; font-weight: 700; color: #2d2a27; margin: 0 0 8px; }
.search-empty__hint  { font-size: 13px; color: #7a7168; margin: 0 0 24px; }
.search-empty__suggest p { font-size: 13px; font-weight: 700; color: #514b47; margin: 0 0 12px; }

/* ── エラー・メンテナンス ── */
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; padding: 32px 24px; text-align: center; gap: 12px; background: #faf8f4; }
.error-page h1 { font-size: 18px; font-weight: 700; color: #2d2a27; margin: 0; }
.error-code-circle { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: #514b47; margin-bottom: 8px; }
.maintenance-schedule { background: #fff8e8; border: 1.5px solid #f0d97a; border-radius: 10px; padding: 14px 20px; margin: 8px 0; }
.maintenance-schedule p { font-size: 12px; color: #7a7168; margin: 0 0 4px; }
.maintenance-schedule strong { font-size: 14px; color: #514b47; }

/* ── カテゴリー説明 ── */
.category-desc-list { display: grid; gap: 14px; margin-bottom: 24px; }
.category-desc-item { border-radius: 12px; padding: 16px; }
.category-desc-item.tone-pink   { background: #f9eee8; }
.category-desc-item.tone-green  { background: #e8f2ec; }
.category-desc-item.tone-yellow { background: #f5f0e2; }
.category-desc-item.tone-blue   { background: #e8edf5; }
.category-desc-item__label { font-size: 14px; font-weight: 700; color: #2d2a27; margin-bottom: 6px; }
.category-desc-item__body  { font-size: 13px; color: #514b47; margin: 0; line-height: 1.7; }

/* ── 決済ページ共通 ── */
.payment-page { display: flex; flex-direction: column; align-items: center; padding: 32px 24px 48px; gap: 14px; text-align: center; background: #faf8f4; min-height: 100vh; }
.payment-page h1 { font-size: 20px; font-weight: 700; color: #2d2a27; margin: 0; line-height: 1.4; }
.pay-product-card { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pay-product-card h3 { font-size: 14px; font-weight: 700; margin: 4px 0 2px; }
.pay-product-card p { font-size: 12px; color: #aaa; margin: 0; }
.pay-breakdown { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; width: 100%; }
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #514b47; }
.pay-row:last-child { border-bottom: 0; }
.pay-row b { font-weight: 700; }
.pay-row--total { font-weight: 700; color: var(--green); }
.pay-row--total b { font-size: 17px; }
.pay-method { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; width: 100%; text-align: left; }
.pay-method__label { font-size: 12px; color: #aaa; margin: 0 0 6px; }
.pay-method__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #514b47; }
.pay-notice { font-size: 12px; color: #aaa; line-height: 1.7; margin: 0; }
.pay-fee-note { font-size: 11px; color: #aaa; line-height: 1.7; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); }
.pay-tx-label { font-size: 12px; color: #aaa; margin: 0; }
.pay-ext-icon { font-size: 48px; }
.pay-ext-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--green); margin: 0; }
.pay-fail-icon { font-size: 52px; color: #e05c5c; }
.payment-page__lead { font-size: 13px; color: #7a7168; text-align: left; align-self: stretch; margin: 0; padding: 0 0 4px; }

/* ── 取引詳細 ── */
.transaction-page { background: #faf8f4; min-height: 100vh; }
.tx-steps { display: flex; justify-content: space-between; padding: 20px 24px; position: relative; }
.tx-steps::before { content: ""; position: absolute; top: 30px; left: 36px; right: 36px; height: 2px; background: var(--line); z-index: 0; }
.tx-step { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 1; }
.tx-step__dot { width: 14px; height: 14px; border-radius: 50%; background: #ddd; border: 2px solid #fff; }
.tx-step span { font-size: 11px; color: #aaa; }
.tx-step.done .tx-step__dot { background: var(--green); }
.tx-step.done span { color: var(--green); font-weight: 700; }
.tx-step.active .tx-step__dot { background: var(--pink); box-shadow: 0 0 0 4px rgba(224,128,144,.25); }
.tx-step.active span { color: var(--pink); font-weight: 700; }

/* ── 購入・販売履歴 ── */
.history-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.history-item { display: grid; gap: 8px; padding: 14px 16px; background: #fff; cursor: pointer; }
.history-item__body { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.history-item__body b { font-size: 13px; font-weight: 700; display: block; }
.history-item__body p { font-size: 12px; color: #aaa; margin: 0; }
.status-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #e8f2ec; color: var(--green); }
.status-pill.active { background: #fdecea; color: #c0392b; }
.status-pill.done { background: #e8f2ec; color: var(--green); }
.status-pill.cancel { background: #f0f0f0; color: #aaa; }
.post-cover.small { width: 56px; height: 56px; border-radius: 8px; }
.post-cover.tiny { width: 44px; height: 44px; border-radius: 8px; }

/* ── 販売履歴（出品者側） ── */
.sales-page { background: #faf8f4; min-height: 100vh; padding-bottom: 80px; }
.sales-summary-strip { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sales-summary-label { font-size: 12px; color: #aaa; display: block; margin-bottom: 2px; }
.sales-summary-amount { font-size: 22px; font-weight: 700; font-family: Georgia, serif; color: var(--green); }
.seller-history-item { gap: 6px; }
.seller-history-item.needs-action { border-left: 3px solid var(--pink); }
.seller-action-hint { font-size: 12px; font-weight: 700; color: var(--pink); background: var(--pale-pink); border-radius: 6px; padding: 6px 10px; }
.seller-step-hint { font-size: 12px; color: #aaa; padding: 2px 0; }
.status-pill.seller-pill-need-ship { background: #fdecea; color: #c0392b; }
.status-pill.seller-pill-shipped { background: #fff3d6; color: #a07020; }
.status-pill.seller-pill-done { background: #e8f2ec; color: var(--green); }

/* ── 売上管理 ── */
.revenue-page { background: #faf8f4; min-height: 100vh; }
.revenue-summary { background: var(--green); color: #fff; padding: 28px 20px; text-align: center; }
.revenue-summary__label { font-size: 13px; margin: 0 0 4px; opacity: .8; }
.revenue-summary__amount { font-family: var(--serif); font-size: 40px; font-weight: 700; margin: 0 0 4px; }
.revenue-summary__date { font-size: 12px; opacity: .7; margin: 0; }

/* ── 投稿詳細（決済フロー） ── */
.post-detail-page { background: #faf8f4; min-height: 100vh; padding-bottom: 48px; }
.post-cover-lg { height: 220px; display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: .7; }
.post-cover-lg.pink   { background: #f7e9ee; }
.post-cover-lg.green  { background: #e8f2ec; }
.post-cover-lg.yellow { background: #f5f0e2; }
.sold-banner { background: var(--pink); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 20px; letter-spacing: .1em; }

/* ── 商品詳細ページ（改善版） ── */
.detail-image-area { background: #f5f0e8; }
.detail-hero-img { height: 300px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.detail-flower-emoji { opacity: .5; }
.detail-thumbs-row { display: flex; gap: 8px; padding: 8px 16px 12px; overflow-x: auto; }
.detail-thumb { width: 56px; height: 56px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.detail-thumb.active { border-color: var(--green); }
.detail-thumb.pink  { background: #f7e9ee; }
.detail-thumb.green { background: #e8f2ec; }
.detail-thumb.yellow{ background: #f5f0e2; }
.detail-chip-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-cond-badge { font-size: 11px; background: #f5f0e8; color: #7a7168; border-radius: 20px; padding: 2px 10px; }
.detail-title { font-size: 20px; margin: 4px 0 12px; line-height: 1.4; }
.price-box-lg { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.price-label { font-size: 12px; color: #aaa; }
.price-value { font-size: 28px; font-weight: 700; font-family: Georgia, serif; color: var(--green); }
.price-tax { font-size: 11px; color: #aaa; }
.detail-stats { display: flex; gap: 12px; font-size: 12px; color: #aaa; margin-bottom: 16px; flex-wrap: wrap; }
.detail-section-head { font-size: 15px; font-weight: 700; margin: 16px 0 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.detail-safety-note { font-size: 12px; color: #aaa; background: #f5f5f5; border-radius: 8px; padding: 10px 12px; margin-top: 16px; }
.seller-card { display: flex; justify-content: space-between; align-items: center; margin: 12px 16px; padding: 16px; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.seller-card__left { display: flex; align-items: center; gap: 12px; }
.seller-card__info { display: flex; flex-direction: column; gap: 2px; }
.seller-rating { font-size: 12px; color: #e0a030; }
.seller-meta { font-size: 12px; color: #aaa; }
.detail-action-bar { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 16px; background: rgba(255,253,249,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 10; }
.detail-action-bar .like-button.detail-like { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 22px; background: #fff; }
.detail-action-bar .detail-cta { flex: 1; height: 48px; font-size: 15px; font-weight: 700; }

/* ── 購入確認ページ（改善版） ── */
.purchase-flow { display: flex; flex-direction: column; gap: 16px; padding: 16px; min-height: 100vh; background: #faf8f4; }
.purchase-steps-bar { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: 13px; }
.ps-step { color: #aaa; font-weight: 600; }
.ps-step.active { color: var(--green); }
.ps-sep { color: #ccc; }
.pay-section { background: #fff; border-radius: 14px; padding: 16px; }
.pay-section__title { font-size: 14px; font-weight: 700; margin: 0 0 12px; color: #514b47; }
.pay-address-card { background: #faf8f4; border-radius: 10px; padding: 12px; }
.pay-address-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 14px; }
.pay-address-row p { font-size: 12px; color: #aaa; margin: 4px 0 0; }
.pay-method-card { display: flex; flex-direction: column; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.pay-method__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.pay-method__row:last-child { border-bottom: 0; }
.pay-method__alt { color: #aaa; cursor: pointer; }
.pay-seller { font-size: 12px; color: #aaa; margin: 0; }
.pay-guide-links { display: flex; gap: 16px; justify-content: center; }
.pay-notice { font-size: 12px; color: #aaa; text-align: center; margin: 0; }
.pay-product-card.no-border { border: none; box-shadow: none; padding: 12px 0 0; }

/* ── 取引詳細（改善版） ── */
.tx-header-card { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 4px; }
.tx-id { font-size: 11px; color: #aaa; margin-bottom: 4px; }
.tx-action-banner { margin: 0 16px; background: var(--pale-pink); border-radius: 14px; padding: 16px; text-align: center; }
.tx-action-banner p { font-size: 14px; font-weight: 700; margin: 0 0 12px; color: var(--green); }
.tx-action-banner.done p { color: var(--green); }
.tx-action-note { font-size: 11px; color: #aaa; margin: 8px 0 0; }
.tx-info-section { margin: 0 16px 4px; background: #fff; border-radius: 14px; padding: 16px; }
.tx-info-section h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.tx-shipping-info { display: grid; gap: 0; }
.tx-info-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tx-info-row:last-child { border-bottom: 0; }
.tx-info-empty { font-size: 13px; color: #aaa; margin: 0; }
.tx-msg-preview { cursor: pointer; }
.tx-msg-bubble { background: #f5f0e8; border-radius: 12px 12px 12px 0; padding: 10px 14px; font-size: 13px; display: inline-block; margin-bottom: 8px; }
.tx-sub-links { display: flex; gap: 20px; justify-content: center; padding: 4px 0 16px; }

/* ── 受取確認 ── */
.receive-confirm-notice { background: #fff8e1; border-radius: 12px; padding: 14px; font-size: 13px; color: #7a6520; width: 100%; text-align: left; }
.receive-confirm-notice p { margin: 0 0 6px; }
.receive-confirm-notice p:last-child { margin: 0; }

/* ── 評価ページ ── */
.rating-page { padding: 20px 16px; min-height: 100vh; }
.rating-page h1 { font-size: 22px; margin: 0 0 8px; }
.rating-stars-row { display: flex; gap: 8px; justify-content: center; padding: 16px 0; }
.star-btn { font-size: 36px; color: #ddd; background: none; border: none; cursor: pointer; transition: color .15s; }
.star-btn.selected { color: #e0a030; }
.rating-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ── 取引完了（改善版） ── */
.tx-complete-next { width: 100%; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
.tx-complete-next__label { font-size: 12px; color: #aaa; padding: 12px 16px 8px; margin: 0; border-bottom: 1px solid var(--line); }
.tx-complete-next__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); cursor: pointer; background: #fff; }
.tx-complete-next__item:last-child { border-bottom: 0; }

/* ── 本人確認・売上管理 ── */
.kyc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 3px 10px; }
.kyc-badge--verified { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

.kyc-page { display: flex; flex-direction: column; align-items: center; padding: 28px 20px 40px; gap: 16px; min-height: 100vh; box-sizing: border-box; }
.kyc-page__icon { font-size: 56px; line-height: 1; }
.kyc-page__title { font-size: 22px; font-weight: 800; margin: 0; text-align: center; }
.kyc-page__lead { font-size: 14px; color: #6b6560; line-height: 1.7; margin: 0; text-align: center; }
.kyc-checklist { background: #faf8f4; border-radius: 12px; padding: 14px 16px; width: 100%; box-sizing: border-box; }
.kyc-checklist__label { font-size: 12px; font-weight: 700; color: #aaa; margin: 0 0 10px; }
.kyc-checklist ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.kyc-checklist li { font-size: 14px; color: #3a3530; line-height: 1.5; }
.kyc-notice { display: flex; gap: 8px; align-items: flex-start; background: #f0f7ff; border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; font-size: 13px; color: #395a80; }
.kyc-notice p { margin: 0; line-height: 1.5; }
.kyc-status-card { border-radius: 12px; padding: 14px 16px; width: 100%; box-sizing: border-box; }
.kyc-status-card--pending { background: #fff8e1; border: 1px solid #ffe082; }
.kyc-status-card--pending b { color: #b8860b; font-size: 14px; display: block; margin-bottom: 4px; }
.kyc-status-card--pending p { margin: 0; font-size: 13px; color: #6b5e0c; }

.revenue-page { display: flex; flex-direction: column; padding-bottom: 40px; }
.revenue-verified-banner { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #e8f5e9; border-bottom: 1px solid #c8e6c9; }
.revenue-verified-text { font-size: 13px; color: #2e7d32; font-weight: 500; }
.revenue-kyc-alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff8e1; border-bottom: 1px solid #ffe082; }
.revenue-kyc-alert span { font-size: 20px; flex-shrink: 0; }
.revenue-kyc-alert b { font-size: 14px; color: #7a5c00; display: block; margin-bottom: 4px; }
.revenue-kyc-alert p { font-size: 13px; color: #7a5c00; margin: 0; line-height: 1.5; }
.revenue-summary { background: var(--green); color: #fff; padding: 20px 16px 16px; }
.revenue-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.revenue-stat { text-align: center; }
.revenue-stat__label { font-size: 11px; opacity: 0.8; margin: 0 0 4px; }
.revenue-stat__value { font-size: 18px; font-weight: 800; margin: 0; }
.revenue-stat__value.pending { color: #ffd54f; }
.revenue-next-date { font-size: 11px; opacity: 0.75; margin: 0; text-align: center; }
.revenue-actions { padding: 16px 16px 0; display: flex; flex-direction: column; }
.revenue-history { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.revenue-history-item { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.revenue-history-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.revenue-history-title { font-size: 14px; font-weight: 700; flex: 1; }
.revenue-payout-status { font-size: 11px; font-weight: 700; border-radius: 20px; padding: 3px 9px; flex-shrink: 0; }
.revenue-payout-status.paid { background: #e8f5e9; color: #2e7d32; }
.revenue-payout-status.pending { background: #fff8e1; color: #b8860b; }
.revenue-payout-status.scheduled { background: #e3f2fd; color: #1565c0; }
.revenue-detail-rows { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.revenue-detail-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.revenue-detail-row:last-child { border-bottom: 0; }
.revenue-detail-row.deduction span { color: #aaa; }
.revenue-detail-row.deduction b { color: #c0392b; }
.revenue-detail-row.total { font-weight: 700; }
.revenue-detail-row.total b { color: var(--green); }
.revenue-history-date { font-size: 11px; color: #aaa; margin: 8px 0 0; }

/* ── 販売者取引詳細（ゆったり版） ── */
.seller-tx-page { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px 48px; }
.seller-tx-product { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 16px; }
.seller-tx-product__info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.seller-tx-product__info h3 { font-size: 15px; font-weight: 700; margin: 4px 0 2px; }
.seller-tx-product__info p { font-size: 13px; color: #7a7168; margin: 0; }
.seller-tx-txid { font-size: 11px; color: #bbb !important; margin-top: 4px !important; }

.seller-tx-steps { background: #fff; border-radius: 16px; padding: 20px 16px; }

.seller-tx-action-banner { border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.seller-tx-action-banner--warn { background: var(--pale-pink); }
.seller-tx-action-banner--wait { background: #fff8e1; }
.seller-tx-action-banner--done { background: #e8f5e9; }
.seller-tx-action-banner__title { font-size: 16px; font-weight: 800; margin: 0; color: #3a3530; }
.seller-tx-action-banner--done .seller-tx-action-banner__title { color: #2e7d32; }
.seller-tx-action-banner__desc { font-size: 13px; color: #7a7168; margin: 0; line-height: 1.5; }

.seller-tx-section { background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 0; }
.seller-tx-section__label { font-size: 12px; font-weight: 700; color: #aaa; margin: 0 0 14px; letter-spacing: 0.04em; }
.seller-tx-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.seller-tx-row:last-of-type { border-bottom: 0; }
.seller-tx-row--total { font-weight: 700; }
.seller-tx-row--total b { color: var(--green); font-size: 16px; }
.seller-tx-note { font-size: 11px; color: #bbb; margin: 10px 0 0; }
.seller-tx-msg-bubble { background: #f5f0e8; border-radius: 12px 12px 12px 0; padding: 14px 16px; font-size: 14px; line-height: 1.6; }

/* ── 探しています（wanted）投稿詳細 ── */
.wanted-helpers { background: #f5f9f2; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.wanted-helpers__label { font-size: 13px; color: var(--green); font-weight: 600; margin: 0; }
.wanted-helpers__avatars { display: flex; align-items: center; gap: 4px; font-size: 18px; }
.wanted-helpers__count { font-size: 12px; color: #aaa; margin-left: 4px; }

/* ── 届いた情報セクション ── */
.wanted-info-section {
  padding: 20px 16px;
  background: #fffef8;
  border-top: 1px solid #ede8e0;
}
.wanted-info-heading {
  font-size: 15px; font-weight: 700; color: #33423b;
  margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.wanted-info-count {
  font-size: 12px; font-weight: 600; color: var(--green);
  background: #eef5ef; padding: 2px 8px; border-radius: 20px;
}
.wanted-info-empty {
  font-size: 13px; color: #aaa; line-height: 1.7; margin: 0;
}
.wanted-info-list { display: grid; gap: 12px; }
.wanted-info-card {
  background: #fff;
  border: 1px solid #e4ded4;
  border-radius: 14px;
  padding: 14px 16px;
  display: grid; gap: 8px;
}
.wanted-info-card__header {
  display: flex; align-items: center; gap: 8px; font-size: 11px; color: #aaa;
}
.wanted-info-card__author { font-weight: 700; color: #5a6e50; }
.wanted-info-card__date { flex: 1; }
.wanted-info-card__report { font-size: 10px !important; color: #bbb !important; padding: 0; }
.wanted-info-card__title { font-size: 14px; font-weight: 700; color: #2d3d30; }
.wanted-info-card__body { font-size: 13px; color: #514b47; line-height: 1.7; margin: 0; }
.wanted-info-card__area { font-size: 12px; color: #888; margin: 0; }
.wanted-info-card__url { font-size: 12px; display: block; }

/* ── 情報を送るパネル（スライドアップ） ── */
.wanted-info-panel {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: flex-end;
}
.wanted-info-panel[hidden] { display: none; }
.wanted-info-panel__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.wanted-info-panel__inner {
  position: relative; z-index: 1;
  width: 100%; max-height: 90dvh;
  background: #fffef8;
  border-radius: 22px 22px 0 0;
  padding: 20px 18px 40px;
  overflow-y: auto;
  display: grid; gap: 14px;
}
.wanted-info-panel__header {
  display: flex; align-items: center; justify-content: space-between;
}
.wanted-info-panel__header h3 { margin: 0; font-size: 16px; color: #2d3d30; }
.wanted-info-panel__close {
  background: #eee; border: 0; border-radius: 50%;
  width: 30px; height: 30px; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.wanted-info-panel__note {
  font-size: 11px; color: #b87a50;
  background: #fff8f0; border: 1px solid #f0d4b0;
  border-radius: 8px; padding: 10px 12px; margin: 0; line-height: 1.6;
}
.wanted-info-anon-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #666; cursor: pointer;
}
.wanted-info-upload { font-size: 12px; }

/* ── KYC 販売ゲート ── */
.kyc-sell-gate { display: flex; gap: 12px; align-items: flex-start; background: #fff8e1; border: 1px solid #ffe082; border-radius: 14px; padding: 16px; margin-bottom: 8px; }
.kyc-sell-gate__icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.kyc-sell-gate__body b { font-size: 14px; color: #7a5c00; display: block; margin-bottom: 4px; }
.kyc-sell-gate__body p { font-size: 13px; color: #7a5c00; margin: 0; line-height: 1.5; }

.kyc-purchase-block { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 24px; text-align: center; }
.kyc-purchase-block__icon { font-size: 56px; }
.kyc-purchase-block h1 { font-size: 22px; font-weight: 800; margin: 0; }
.kyc-purchase-block p { font-size: 14px; color: #6b6560; line-height: 1.7; margin: 0; }

/* ── 投稿タイプ切り替えタブ ── */
.post-type-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 4px; }
.post-type-tab {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-align: center;
}
.post-type-tab.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* 価格入力ラッパー */
.price-input-wrap { display: flex; align-items: center; gap: 4px; }
.price-input-wrap input { flex: 1; }
.price-input-prefix, .price-input-suffix { font-size: 15px; color: var(--text-light); font-weight: 600; white-space: nowrap; }
.give-price-note { font-size: 12px; color: #b8860b; background: #fff8e1; border-radius: 8px; padding: 10px 12px; margin-top: 8px; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════════════════════ */

.admin-shell {
  display: flex;
  min-height: 100vh;
  background: #f4f5f7;
  font-family: -apple-system, "Hiragino Sans", sans-serif;
  font-size: 13px;
}

/* ── サイドバー ── */
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #1a2332;
  color: #c8d0dc;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar__logo {
  padding: 20px 16px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: .02em;
}
.admin-nav {
  flex: 1;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  width: 100%;
  background: none;
  border: none;
  color: #8fa0b4;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
  transition: background .12s, color .12s;
}
.admin-nav-item:hover { background: rgba(255,255,255,.06); color: #e0e8f4; }
.admin-nav-item.is-active { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; border-left: 3px solid #7ab893; }
.admin-nav-item span { font-size: 16px; width: 20px; text-align: center; }
.admin-sidebar__footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px 0 12px;
}

/* ── メインエリア ── */
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 52px;
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.admin-menu-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }
.admin-topbar__title { font-size: 15px; font-weight: 700; color: #1a2332; flex: 1; }
.admin-topbar__user { font-size: 12px; color: #8a9ab0; }
.admin-content {
  padding: 24px 20px 48px;
  flex: 1;
  overflow-x: auto;
}

/* ── セクション ── */
.admin-section { margin-bottom: 28px; }
.admin-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #6b7a90;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

/* ── 統計カード ── */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.admin-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e4e7ec;
}
.admin-stat-card__label { font-size: 11px; color: #8a9ab0; margin: 0 0 4px; }
.admin-stat-card__value { font-size: 24px; font-weight: 800; color: #1a2332; display: block; }
.admin-stat-card__sub { font-size: 11px; color: #e57373; margin: 2px 0 0; }

/* ── クイックアクション ── */
.admin-quick-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── ツールバー ── */
.admin-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search {
  flex: 1;
  min-width: 180px;
  height: 36px;
  border: 1.5px solid #d4d9e4;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  background: #fff;
}
.admin-filter-select {
  height: 36px;
  border: 1.5px solid #d4d9e4;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
  color: #3a4558;
}

/* ── テーブル ── */
.admin-specials-wp-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #eef6e8;
  border: 1.5px solid #b2d9a0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}
.admin-specials-wp-notice__icon { font-size: 28px; flex-shrink: 0; }
.admin-specials-wp-notice__body { flex: 1; }
.admin-specials-wp-notice__title { font-size: 15px; font-weight: 700; color: #2d4a28; margin: 0 0 6px; }
.admin-specials-wp-notice__desc  { font-size: 12px; color: #4a6a40; line-height: 1.7; margin: 0 0 14px; }
.admin-specials-wp-notice__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid #e4e7ec; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table thead tr { background: #f8f9fc; }
.admin-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: #6b7a90;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid #e4e7ec;
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2f6;
  vertical-align: middle;
  color: #2d3a4e;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #fafbfd; }
.admin-id { font-size: 11px; color: #8a9ab0; font-family: monospace; }
.admin-muted { color: #8a9ab0 !important; }
.admin-center { text-align: center; }
.admin-title-cell { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── バッジ・ステータスピル ── */
.admin-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.admin-type-product,
.admin-type-sell    { background: #fde8ec; color: #c0392b; }
.admin-type-give    { background: #e8f5e9; color: #2e7d32; }
.admin-type-exchange{ background: #e8f0fe; color: #1a56b0; }
.admin-type-wanted  { background: #fff3e0; color: #b8860b; }

.admin-status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.admin-status-green { background: #e8f5e9; color: #2e7d32; }
.admin-status-blue  { background: #e3f2fd; color: #1565c0; }
.admin-status-gray  { background: #f0f2f6; color: #6b7a90; }
.admin-status-warn  { background: #fff8e1; color: #b8860b; }
.admin-status-pink  { background: #fde8ec; color: #c0392b; }

.admin-report-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ── アクションボタン ── */
.admin-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.admin-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1.5px solid #d4d9e4;
  background: #fff;
  color: #3a4558;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s;
}
.admin-btn:hover { background: #f4f5f7; }
.admin-btn.warn { border-color: #ffe082; color: #b8860b; background: #fff8e1; }
.admin-btn.warn:hover { background: #fff3cd; }
.admin-btn.danger { border-color: #ffcdd2; color: #c0392b; background: #fde8ec; }
.admin-btn.danger:hover { background: #ffd5d5; }

/* ── 通報ステータスselectプルダウン ── */
.admin-status-select {
  height: 28px;
  border: 1.5px solid #d4d9e4;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 12px;
  background: #fff;
}

/* ── フォーム ── */
.admin-form { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.admin-form-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  padding: 20px;
  margin-bottom: 16px;
}
.admin-form-section h3 { font-size: 14px; font-weight: 700; margin: 0 0 16px; color: #1a2332; }
.admin-form-note { font-size: 12px; color: #8a9ab0; margin: -8px 0 14px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.admin-field:last-child { margin-bottom: 0; }
.admin-field label { font-size: 12px; font-weight: 600; color: #3a4558; }
.admin-field-note { font-size: 11px; color: #e57373; margin: 4px 0 0; }
.admin-input {
  height: 38px;
  border: 1.5px solid #d4d9e4;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  background: #fff;
  color: #1a2332;
}
.admin-input:focus { outline: none; border-color: #7ab893; }
.admin-input--wide { width: 100%; box-sizing: border-box; }
.admin-input--sm { width: 80px; }
textarea.admin-input { height: auto; padding: 10px 12px; resize: vertical; }
.admin-input-row { display: flex; align-items: center; gap: 8px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 14px 6px 0;
  color: #2d3a4e;
  font-size: 13px;
  font-weight: 600;
}
.admin-check input { width: 16px; height: 16px; accent-color: var(--green); }
.admin-form.compact { display: grid; gap: 12px; }
.admin-masked-row { display: flex; gap: 8px; align-items: center; }
.admin-masked-row .admin-input { flex: 1; font-family: monospace; letter-spacing: 0.04em; }

/* Stripeセクションバッジ */
.admin-section-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 10px; margin-left: 8px; vertical-align: middle;
}
.admin-section-badge--test { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.admin-section-badge--live { background: #d4edda; color: #155724; border: 1px solid #28a745; }

/* 現在有効モードバッジ */
.admin-stripe-active-badge {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  font-size: 12px; font-weight: 600;
}
.admin-stripe-active-badge--test { background: #fff8e6; border: 1px solid #ffc107; color: #7a6020; }
.admin-stripe-active-badge--live { background: #e8f5e9; border: 1px solid #28a745; color: #155724; }
.admin-stripe-active-badge code {
  font-family: monospace; background: rgba(0,0,0,0.07); padding: 2px 6px; border-radius: 4px;
  font-size: 11px;
}
.admin-check-list { display: flex; flex-direction: column; gap: 10px; }
.admin-check-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #2d3a4e; cursor: pointer; }
.admin-check-item input { width: 16px; height: 16px; }

/* トグルスイッチ */
.admin-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.admin-toggle input { display: none; }
.admin-toggle__track {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: #d4d9e4;
  position: relative;
  flex-shrink: 0;
  transition: background .2s;
}
.admin-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: left .2s;
}
.admin-toggle input:checked ~ .admin-toggle__track { background: #7ab893; }
.admin-toggle input:checked ~ .admin-toggle__track::after { left: 21px; }

.admin-form-actions { padding-top: 4px; }
.admin-save-btn { min-width: 120px; }

/* ── 403ページ ── */
.admin-403 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}
.admin-403 h1 { font-size: 20px; font-weight: 800; }
.admin-403 p { font-size: 14px; color: #6b7a90; }

/* ── マイページ管理者リンク ── */
.admin-menu-link { color: #527c63 !important; font-weight: 600; }

/* ════════════════════════════════════════
   事業者マイページ・ダッシュボード
   ════════════════════════════════════════ */

/* アラートバナー */
/* 事業者ページ整備ガイドバナー */
.biz-dash-guide-banner {
  background: linear-gradient(135deg, #e8f2ea 0%, #f3f0ea 100%);
  border-radius: 16px; padding: 20px 18px; margin-bottom: 20px;
}
.biz-dash-guide-title {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: #3e4c38; margin: 0 0 8px;
}
.biz-dash-guide-body { font-size: 13px; color: #5a5248; line-height: 1.7; margin: 0 0 10px; }
.biz-dash-guide-url { font-size: 11px; color: #7a7168; margin: 0 0 14px; word-break: break-all; }
.biz-dash-guide-url-link { color: #6a8c5a; text-decoration: underline; }
.biz-dash-guide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.biz-dash-guide-actions .button { margin: 0; }

.biz-dash-alert {
  margin: 0 0 16px; border-radius: 14px; padding: 16px 18px;
  font-size: 13px; line-height: 1.7;
}
.biz-dash-alert p { margin: 0 0 10px; }
.biz-dash-alert .button { margin-top: 0; }
.biz-dash-alert--warn { background: #fff8e6; border: 1px solid #f5d576; color: #7a6020; }
.biz-dash-alert--error { background: #fff0f0; border: 1px solid #f5a0a0; color: #8b2020; }
.biz-dash-alert--info { background: #eef4fb; border: 1px solid #a8c8ed; color: #2a4f7a; }

/* ステータスグリッド */
.biz-dash-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 8px;
}
.biz-dash-stat-card {
  background: #fff; border: 1px solid #ede8df; border-radius: 14px;
  padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px;
}
.biz-dash-stat-label { font-size: 11px; color: #a09588; }
.biz-dash-stat-value { font-size: 15px; font-weight: 700; color: #3e4c38; }
.biz-dash-stat-value small { font-size: 11px; font-weight: 400; color: #aaa; margin-left: 1px; }
.biz-dash-stat-value--verified { color: #527c63; }
.biz-dash-stat-value--pending { color: #c07820; }
.biz-dash-stat-value--rejected { color: #c03030; }
.biz-dash-stat-value--not_started { color: #aaa; }
.biz-dash-stat-value--green { color: #527c63; }

/* アクションボタン群 */
.biz-dash-actions { display: grid; gap: 8px; }
.biz-dash-action-btn {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid #ded9d0; border-radius: 14px;
  padding: 14px 16px; font-size: 14px; font-weight: 600; color: #3e4c38;
  cursor: pointer; text-align: left; position: relative;
}
.biz-dash-action-btn.is-disabled {
  background: #f5f3ef; color: #bbb; cursor: not-allowed; border-color: #e8e4dc;
}
.biz-dash-action-btn.is-disabled:hover { transform: none; box-shadow: none; }
.biz-dash-action-icon { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; }
.biz-dash-action-meta {
  margin-left: auto; font-size: 11px; font-weight: 400; color: #aaa;
  background: #f0ece4; border-radius: 8px; padding: 2px 8px;
}

/* ロックされたメニュー */
.biz-dash-locked { background: #f9f8f6 !important; }
.biz-dash-locked-label {
  font-size: 10px; font-weight: 700; color: #c0b8ae; letter-spacing: .08em;
  padding: 10px 16px 6px; text-transform: uppercase;
}
.biz-dash-locked-item {
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; font-size: 14px; color: #c0b8ae; border-top: 1px solid #f0ece4;
}
.biz-dash-locked-item > span:first-of-type {
  margin-left: auto;
  color: #b0a898;
  font-size: 10px;
  white-space: nowrap;
}
.biz-dash-locked-badge {
  font-size: 10px; color: #b0a898; background: #f0ece4;
  border-radius: 8px; padding: 2px 8px; white-space: nowrap;
}

/* プラン確認ページ */
.biz-plan-status-card {
  background: #fff; border: 1.5px solid #ddd8cf; border-radius: 20px;
  padding: 24px 20px; display: grid; gap: 16px;
}
.biz-plan-status-head { display: flex; flex-direction: column; gap: 4px; }
.biz-plan-status-name { font-size: 13px; font-weight: 700; color: #7a7168; }
.biz-plan-status-price {
  font-family: var(--serif); font-size: 28px; font-weight: 700; color: #3e4c38;
}
.biz-plan-status-price span { font-size: 12px; color: #aaa; font-family: var(--sans); font-weight: 400; margin-left: 2px; }
.biz-plan-status-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  border-radius: 20px; padding: 3px 12px; width: fit-content;
}
.biz-plan-status-badge--active { background: #e8f2ea; color: #527c63; }
.biz-plan-status-badge--inactive, .biz-plan-status-badge--canceled { background: #f0f0f0; color: #aaa; }
.biz-plan-status-badge--past_due { background: #fff0e0; color: #c07820; }

.biz-plan-status-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.biz-plan-status-table td { padding: 10px 4px; border-bottom: 1px solid #f0ece4; color: #514b47; }
.biz-plan-status-table td:first-child { color: #7a7168; }
.biz-plan-status-table td:last-child { text-align: right; font-weight: 600; }
.biz-plan-status--ok { color: #527c63 !important; }
.biz-plan-status--na { color: #c0b8ae !important; }
.biz-plan-status-usage { background: #f7f5f0; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; }
.biz-plan-status-usage-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #6b6158; }
.biz-plan-status-usage-row strong { font-weight: 700; color: #3e4c38; }
.biz-plan-cancel-btn { color: #c0b8ae !important; border-color: #e8e4dc !important; margin-top: 4px; }

/* ════════════════════════════════════════
   事業者様向けプランページ (bizPricingPage)
   ════════════════════════════════════════ */
.biz-plan-page { background: #faf8f4; }

/* 目的説明セクション */
.biz-plan-purpose {
  padding: 36px 24px 28px; background: #fff;
  border-bottom: 1px solid #e8e0d6; text-align: center;
}
.biz-plan-purpose-eyebrow {
  font-size: 11px; letter-spacing: 0.08em; color: #9a9288; text-transform: uppercase; margin: 0 0 10px;
}
.biz-plan-purpose-title {
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: #3e4c38;
  line-height: 1.45; margin: 0 0 16px;
}
.biz-plan-purpose-title em { font-style: normal; color: #7aac5a; }
.biz-plan-purpose-body { font-size: 13px; color: #5a5248; line-height: 1.8; margin: 0 0 16px; }
.biz-plan-purpose-list {
  list-style: none; margin: 0 0 16px; padding: 0; text-align: left;
  display: inline-block; max-width: 340px;
}
.biz-plan-purpose-list li {
  font-size: 13px; color: #5a5248; line-height: 1.7; padding: 4px 0;
}
.biz-plan-purpose-sub {
  font-size: 12px; color: #9a9288; line-height: 1.7; margin: 0;
  font-style: italic;
}

/* ヒーロー */
.biz-plan-hero {
  position: relative; padding: 48px 24px 40px; text-align: center;
  background: linear-gradient(160deg, #f7f4ee 0%, #faf8f4 100%);
  overflow: hidden;
}
.biz-plan-deco {
  position: absolute; font-size: 72px; opacity: 0.10; pointer-events: none; line-height: 1;
  color: #8aac6e;
}
.biz-plan-deco--tl { top: -12px; left: -12px; transform: rotate(-20deg); }
.biz-plan-deco--br { bottom: -16px; right: -8px; transform: rotate(15deg); }
.biz-plan-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  color: #8aac6e; background: #e8f2ea; border-radius: 20px; padding: 4px 14px; margin: 0 0 16px;
}
.biz-plan-hero-title {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: #3e4c38;
  line-height: 1.55; margin: 0 0 16px;
}
.biz-plan-hero-body {
  font-size: 14px; color: #6b6158; line-height: 1.8; margin: 0 0 24px; text-align: left;
}
.biz-plan-hero-actions { display: grid; gap: 10px; margin-bottom: 24px; }
.biz-plan-hero-sub {
  font-size: 12px; color: #9b9083; line-height: 1.7;
  border-top: 1px solid #e8e3db; padding-top: 16px; margin-top: 8px;
}

/* セクション共通 */
.biz-plan-section { padding: 48px 20px; }
.biz-plan-section--cream { background: #f3f0ea; }
.biz-plan-section-head { text-align: center; margin-bottom: 28px; }
.biz-plan-leaf-deco { font-size: 24px; margin-bottom: 10px; display: block; }
.biz-plan-section-title {
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: #3e4c38;
  margin: 0 0 10px; line-height: 1.4;
}
.biz-plan-section-sub { font-size: 13px; color: #7a7168; line-height: 1.7; margin: 0; }

/* できることカード */
.biz-plan-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz-plan-feature-card {
  background: #fff; border-radius: 16px; padding: 20px 16px;
  border: 1px solid #ede8df; text-align: center;
}
.biz-plan-feature-card:last-child:nth-child(odd) { grid-column: span 2; max-width: 280px; margin: 0 auto; width: 100%; }
.biz-plan-feature-icon { font-size: 28px; margin-bottom: 8px; }
.biz-plan-feature-title { font-size: 13px; font-weight: 700; color: #3e4c38; margin-bottom: 6px; }
.biz-plan-feature-body { font-size: 12px; color: #7a7168; line-height: 1.65; margin: 0; }

/* 料金カード */
.biz-plan-cards { display: grid; gap: 16px; }
.biz-plan-card {
  background: #fff; border: 1.5px solid #ddd8cf; border-radius: 20px;
  padding: 28px 20px 24px; position: relative; overflow: hidden;
}
.biz-plan-card--featured {
  border-color: #8aac6e; border-width: 2px;
  box-shadow: 0 4px 24px rgba(138,172,110,.16);
}
.biz-plan-card--featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #8aac6e, #b5d68a);
}
.biz-plan-card-ribbon {
  position: absolute; top: 16px; right: -8px;
  background: #8aac6e; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px 4px 12px; border-radius: 4px 0 0 4px;
}
.biz-plan-card-ribbon::after {
  content: ""; position: absolute; right: 0; bottom: -6px;
  border-width: 6px 8px 0 0; border-style: solid;
  border-color: #5d8247 transparent transparent transparent;
}
.biz-plan-card-head { margin-bottom: 20px; }
.biz-plan-card-name { font-size: 13px; font-weight: 700; color: #7a7168; margin-bottom: 6px; letter-spacing: .04em; }
.biz-plan-card-price {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: #3e4c38; line-height: 1.1; margin-bottom: 8px;
}
.biz-plan-card--featured .biz-plan-card-price { color: #527c63; }
.biz-plan-card-price span { font-size: 13px; color: #aaa; font-family: var(--sans); font-weight: 400; margin-left: 2px; }
.biz-plan-card-lead { font-size: 12px; color: #9b9083; margin: 0; }
.biz-plan-card-items {
  list-style: none; margin: 0 0 16px; padding: 0;
  border-top: 1px solid #f0ece4; padding-top: 16px;
  display: grid; gap: 8px;
}
.biz-plan-card-items li { font-size: 13px; color: #514b47; display: flex; align-items: baseline; gap: 6px; }
.biz-plan-check { color: #8aac6e; font-weight: 700; flex-shrink: 0; }
.biz-plan-card-desc {
  font-size: 12px; color: #7a7168; line-height: 1.7;
  background: #f7f5f0; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px;
}
.biz-plan-card-rec { margin-bottom: 20px; }
.biz-plan-card-rec-label { font-size: 11px; font-weight: 700; color: #8aac6e; margin: 0 0 8px; letter-spacing: .06em; }
.biz-plan-card-rec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.biz-plan-card-rec li { font-size: 12px; color: #7a7168; padding-left: 12px; position: relative; }
.biz-plan-card-rec li::before { content: "・"; position: absolute; left: 0; color: #b5c9a4; }

/* 単発イベント */
.biz-plan-event-card {
  background: #fff; border: 1.5px solid #ede8df; border-radius: 20px;
  padding: 28px 20px; text-align: center; max-width: 480px; margin: 0 auto;
}
.biz-plan-event-price {
  font-family: var(--serif); font-size: 32px; font-weight: 700; color: #527c63;
  margin-bottom: 12px; line-height: 1.1;
}
.biz-plan-event-price span { font-size: 14px; color: #aaa; font-family: var(--sans); font-weight: 400; }
.biz-plan-event-card p { font-size: 13px; color: #6b6158; line-height: 1.75; margin: 0 0 10px; }
.biz-plan-event-note { font-size: 12px !important; color: #aaa !important; margin-bottom: 20px !important; }

/* 手数料 */
.biz-plan-fee-block {
  background: #fff; border-radius: 20px; padding: 24px 20px;
  border: 1px solid #e4e0d7; max-width: 560px; margin: 0 auto;
}
.biz-plan-fee-block p { font-size: 13px; color: #6b6158; line-height: 1.8; margin: 0 0 12px; }
.biz-plan-fee-note {
  background: #f7f5f0; border-radius: 12px; padding: 14px 16px; margin-top: 8px;
}
.biz-plan-fee-note p { margin: 0 0 8px; }
.biz-plan-fee-note p:last-child { margin: 0; font-weight: 600; color: #527c63; }

/* ライトプラン専用ブロック */
.biz-plan-light-block {
  background: #fff; border: 2px solid #c8ddb8; border-radius: 20px; padding: 28px 20px;
  max-width: 560px; margin: 0 auto;
}
.biz-plan-light-intro {
  font-size: 13px; color: #6b6158; line-height: 1.8; margin: 0 0 24px;
  text-align: center;
}
.biz-plan-light-cols { display: grid; gap: 20px; margin-bottom: 24px; }
.biz-plan-light-col-title {
  font-size: 12px; font-weight: 700; color: #8aac6e; margin: 0 0 10px; letter-spacing: .06em;
}
.biz-plan-light-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.biz-plan-light-list li { font-size: 13px; color: #514b47; display: flex; align-items: baseline; gap: 6px; }
.biz-plan-check--green { color: #8aac6e; font-weight: 700; flex-shrink: 0; }
.biz-plan-light-list--leaf li { color: #6b6158; }
.biz-plan-light-cta {
  border-top: 1px solid #eae7e0; padding-top: 20px; text-align: center;
}
.biz-plan-light-price {
  font-size: 13px; color: #7a7168; margin-bottom: 12px;
}
.biz-plan-light-price strong {
  font-family: var(--serif); font-size: 28px; color: #527c63; margin: 0 4px;
}
.biz-plan-light-price span { font-size: 12px; color: #aaa; }

/* FAQ */
.biz-plan-faqs { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.biz-plan-faq {
  background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #e8e3db;
}
.biz-plan-faq-q {
  font-size: 14px; font-weight: 700; color: #3e4c38; margin-bottom: 10px; line-height: 1.5;
}
.biz-plan-faq-a { font-size: 13px; color: #6b6158; line-height: 1.75; }

/* CTA */
.biz-plan-cta {
  padding: 52px 24px 56px; text-align: center;
  background: linear-gradient(160deg, #e8f2ea 0%, #f3f0ea 100%);
}
.biz-plan-cta-deco { font-size: 22px; letter-spacing: .4em; margin-bottom: 16px; opacity: .7; }
.biz-plan-cta-title {
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: #3e4c38;
  line-height: 1.55; margin: 0 0 14px;
}
.biz-plan-cta-body { font-size: 13px; color: #6b6158; line-height: 1.8; margin: 0 0 28px; }
.biz-plan-cta-actions { display: grid; gap: 10px; }
.biz-plan-tagline { font-size: 12px; color: #a0b892; margin-top: 28px; letter-spacing: .06em; }

/* レスポンシブ: タブレット以上は料金カードを横並び */
@media (min-width: 640px) {
  .biz-plan-cards { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .biz-plan-light-cols { grid-template-columns: 1fr 1fr; }
  .biz-plan-hero-actions { grid-template-columns: 1fr 1fr; }
  .biz-plan-cta-actions { grid-template-columns: 1fr 1fr; max-width: 420px; margin: 0 auto; }
  .biz-plan-features { grid-template-columns: repeat(3, 1fr); }
  .biz-plan-feature-card:last-child:nth-child(odd) { grid-column: span 1; max-width: none; }
}

/* ── レスポンシブ（スマホ） ── */
@media (max-width: 640px) {
  .admin-sidebar { display: none; position: fixed; z-index: 200; height: 100%; }
  .admin-sidebar.is-open { display: flex; }
  .admin-menu-toggle { display: block; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-content { padding: 16px 12px 40px; }
}

/* ────────────────────────────
   事業者申し込みページ（明朝体・上品）
   ──────────────────────────── */
.biz-apply-page {
  background: var(--cream, #f9f8f4);
  font-family: var(--serif);
  padding-bottom: 0;
}

/* ── ヒーロー：写真背景 ── */
.biz-apply-hero {
  position: relative;
  min-height: 320px;
  display: flex; align-items: flex-end;
  background: url("../figma-top/biz-illust-3.png") center 30% / cover no-repeat;
  overflow: hidden;
}
.biz-apply-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,38,28,.18) 0%, rgba(20,28,18,.72) 100%);
}
.biz-apply-hero-content {
  position: relative; z-index: 1;
  padding: 32px 22px 36px; width: 100%; box-sizing: border-box;
}
.biz-apply-hero-eyebrow {
  font-family: -apple-system, sans-serif;
  font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.75);
  margin: 0 0 12px; text-transform: uppercase;
}
.biz-apply-hero-title {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff;
  line-height: 1.5; margin: 0 0 24px; text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.biz-apply-hero-title em { font-style: normal; color: #b8dba0; }
.biz-apply-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
}

/* ── 共通ボタン ── */
.biz-apply-btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 50px; padding: 0 20px;
  background: #fff; color: #3e4c38;
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  border: none; border-radius: 25px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: opacity .15s;
}
.biz-apply-btn-primary:hover { opacity: .9; }
.biz-apply-btn-secondary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 50px; padding: 0 20px;
  background: transparent; color: #fff;
  font-family: var(--serif); font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 25px; cursor: pointer;
  transition: background .15s;
}
.biz-apply-btn-secondary:hover { background: rgba(255,255,255,.12); }

/* ── リード文 ── */
.biz-apply-lead {
  padding: 40px 24px 36px; border-bottom: 1px solid #e6e0d6;
}
.biz-apply-lead-catch {
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: #3e4c38;
  line-height: 1.55; margin: 0 0 16px;
}
.biz-apply-lead-body {
  font-family: -apple-system, sans-serif;
  font-size: 14px; color: #5a5248; line-height: 1.9; margin: 0;
}

/* ── セクション共通ラベル ── */
.biz-apply-label {
  font-family: var(--serif); font-size: 11px; letter-spacing: .14em;
  color: #9a9080; margin: 0 0 20px; text-transform: uppercase;
}

/* ── 使い方グリッド ── */
.biz-apply-usage-section { padding: 40px 24px 36px; border-bottom: 1px solid #e6e0d6; }
.biz-apply-usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.biz-apply-usage-item { display: flex; flex-direction: column; gap: 8px; }
.biz-apply-usage-num {
  font-family: var(--serif); font-size: 28px; font-weight: 300; color: #c8bfb0; line-height: 1;
}
.biz-apply-usage-text {
  font-family: -apple-system, sans-serif;
  font-size: 13px; color: #4a4038; line-height: 1.7; margin: 0;
}
.biz-apply-usage-text b { color: #3e4c38; }

/* ── できることリスト ── */
.biz-apply-features-section { padding: 40px 24px 36px; background: #f3f0e8; border-bottom: 1px solid #e6e0d6; }
.biz-apply-feature-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.biz-apply-feature-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #ddd6c8;
  font-family: -apple-system, sans-serif;
}
.biz-apply-feature-list li:last-child { border-bottom: none; }
.biz-apply-feature-name {
  font-family: var(--serif); font-size: 14px; font-weight: 700; color: #3e4c38;
  flex-shrink: 0; min-width: 100px;
}
.biz-apply-feature-desc { font-size: 13px; color: #6a6158; line-height: 1.6; }

/* ── 対象者タグ ── */
.biz-apply-targets-section { padding: 40px 24px 36px; border-bottom: 1px solid #e6e0d6; }
.biz-apply-target-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-apply-tag {
  font-family: -apple-system, sans-serif;
  font-size: 12px; color: #5a5248;
  padding: 6px 14px; border: 1px solid #c8bfb0; border-radius: 20px;
  background: #fff;
}

/* ── プランカード ── */
.biz-apply-plans-section { padding: 40px 20px 36px; }
.biz-apply-plan-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.biz-apply-plan-card {
  background: #fff; border: 1px solid #e0d8ce; border-radius: 14px;
  padding: 22px 20px; position: relative; box-sizing: border-box;
}
.biz-apply-plan-card--featured {
  border-color: #8aac6e; border-width: 2px;
  background: #f6fbf2;
}
.biz-apply-plan-badge {
  display: inline-block; font-family: -apple-system, sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  background: #8aac6e; color: #fff; padding: 3px 10px;
  border-radius: 10px; margin: 0 0 8px;
}
.biz-apply-plan-name {
  font-family: var(--serif); font-size: 16px; font-weight: 700; color: #3e4c38; margin: 0 0 6px;
}
.biz-apply-plan-price {
  font-family: var(--serif); font-size: 26px; font-weight: 300; color: #3e4c38;
  margin: 0 0 14px; letter-spacing: -.01em;
}
.biz-apply-plan-price small { font-size: 13px; color: #9a9080; }
.biz-apply-plan-items {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.biz-apply-plan-items li {
  font-family: -apple-system, sans-serif;
  font-size: 13px; color: #5a5248; padding-left: 14px; position: relative; line-height: 1.5;
}
.biz-apply-plan-items li::before {
  content: "–"; position: absolute; left: 0; color: #8aac6e;
}
.biz-apply-plan-btn {
  width: 100%; height: 44px; border-radius: 22px; border: 1.5px solid #c8bfb0;
  background: #fff; color: #3e4c38; cursor: pointer;
  font-family: var(--serif); font-size: 14px; font-weight: 600;
  transition: background .15s, border-color .15s;
}
.biz-apply-plan-btn:hover { background: #f3f0e8; border-color: #8aac6e; }
.biz-apply-plan-btn--featured {
  background: #3e4c38; color: #fff; border-color: #3e4c38;
}
.biz-apply-plan-btn--featured:hover { background: #2e3c28; }
.biz-apply-plan-note {
  font-family: -apple-system, sans-serif;
  font-size: 12px; color: #9a9080; text-align: center; margin: 0;
}
.biz-apply-plan-footnote {
  font-size: 11px;
  color: #b0a898;
  line-height: 1.7;
  padding: 10px 14px;
  border-top: 1px solid #e8e0d4;
  margin: 0;
}

/* ── フッターCTA ── */
.biz-apply-footer-cta {
  padding: 48px 24px 56px; text-align: center;
  background: #3e4c38;
}
.biz-apply-footer-title {
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff;
  margin: 0 0 24px; line-height: 1.5;
}
.biz-apply-footer-cta .biz-apply-btn-primary {
  max-width: 280px; margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   地図ページ (Leaflet)
═══════════════════════════════════════════════════════════════ */
.map-page {
  display: flex; flex-direction: column;
  height: calc(100dvh - 56px); /* bottombar分引く */
  overflow: hidden; position: relative;
}
.map-filter-bar {
  display: flex; gap: 8px; padding: 10px 14px;
  overflow-x: auto; flex-shrink: 0;
  background: #fff; border-bottom: 1px solid #ede8e0;
  scrollbar-width: none;
}
.map-filter-bar::-webkit-scrollbar { display: none; }
.map-chip {
  white-space: nowrap; padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid #ccc; background: #fff; font-size: 13px;
  cursor: pointer; transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.map-chip.is-active {
  background: var(--deep-green); border-color: var(--deep-green); color: #fff;
}
.map-leaflet-container {
  flex: 1; min-height: 0; position: relative;
}
.map-loading-msg {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 14px; color: #888;
  background: #f8f5f0;
}
/* Leaflet カスタムピン */
.map-div-pin {
  width: 36px; height: 36px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: flex; align-items: center;
  justify-content: center; font-size: 16px; border: 2px solid rgba(0,0,0,.15);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.map-div-pin > * { transform: rotate(45deg); }
.map-div-pin--business { border-radius: 50%; transform: none; }
/* ピン詳細シート */
.map-pin-sheet {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.12); padding: 12px 20px 24px;
  z-index: 500; animation: slideUp .2s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.map-pin-sheet-handle {
  width: 36px; height: 4px; border-radius: 2px; background: #ddd;
  margin: 0 auto 14px;
}
.map-sheet-card {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px;
}
.map-sheet-thumb {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.map-sheet-thumb--pink   { background: #fbe9eb; }
.map-sheet-thumb--green  { background: #eef5ef; }
.map-sheet-thumb--orange { background: #fff3e0; }
.map-sheet-thumb--blue   { background: #e3f2fd; }
.map-sheet-thumb--yellow { background: #fff9e0; }
.map-sheet-info { flex: 1; min-width: 0; }
.map-sheet-tag {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 10px; margin-bottom: 6px;
}
.map-sheet-tag--product,
.map-sheet-tag--sell    { background: #fbe9eb; color: #c0536d; }
.map-sheet-tag--give    { background: #eef5ef; color: #3e6c3a; }
.map-sheet-tag--exchange{ background: #fff3e0; color: #b06a20; }
.map-sheet-tag--wanted  { background: #e3f2fd; color: #1a6aaa; }
.map-sheet-tag--event   { background: #f0e9ff; color: #6a3aaa; }
.map-sheet-title {
  font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3;
}
.map-sheet-meta { font-size: 12px; color: var(--muted); margin: 0 0 2px; }
.map-sheet-sub  { font-size: 11px; color: #aaa; margin: 0; }
/* カウントバッジ */
.map-count-badge {
  position: absolute; top: 56px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
  padding: 4px 10px; border-radius: 12px; z-index: 400; pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   特集一覧ページ (/specials)
═══════════════════════════════════════════════════════════════ */
.specials-page { background: #f9f8f4; }
.specials-hero {
  padding: 40px 22px 32px; background: var(--deep-green); color: #fff; text-align: center;
}
.specials-hero-eyebrow {
  font-size: 11px; letter-spacing: .12em; color: #b8dba0; margin: 0 0 12px;
}
.specials-hero-title {
  font-size: 22px; font-weight: 700; line-height: 1.5; margin: 0 0 12px;
}
.specials-hero-lead { font-size: 13px; color: rgba(255,255,255,.78); margin: 0; }
.specials-cats {
  display: flex; gap: 8px; padding: 12px 16px;
  overflow-x: auto; background: #fff; scrollbar-width: none;
}
.specials-cats::-webkit-scrollbar { display: none; }
.specials-grid {
  display: flex; flex-direction: column; gap: 16px; padding: 16px;
}
.specials-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s;
}
.specials-card:active { transform: scale(.98); }
.specials-card-img { height: 140px; position: relative; overflow: hidden; }
.specials-card-eyecatch {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.specials-card-eyecatch.tone-pink   { background: linear-gradient(135deg,#fce9eb,#f4c0cc); }
.specials-card-eyecatch.tone-green  { background: linear-gradient(135deg,#e0f0da,#b8d9a8); }
.specials-card-eyecatch.tone-yellow { background: linear-gradient(135deg,#fff8e0,#f9d97a); }
.specials-card-eyecatch.tone-blue   { background: linear-gradient(135deg,#e0eeff,#b0cef8); }
.specials-card-body { padding: 16px; }
.specials-cat-tag {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 10px; background: #f0ebe2; color: #6b5c44; margin-bottom: 8px;
}
.specials-card-title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.specials-card-lead  { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.specials-card-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.specials-card-date { font-size: 12px; color: #aaa; }

/* 特集詳細ページ */
.specials-detail-page { background: #f9f8f4; }
.specials-detail-hero {
  min-height: 200px; display: flex; align-items: flex-end;
  padding: 32px 22px 28px;
}
.specials-detail-hero.tone-pink   { background: linear-gradient(160deg,#fce9eb 0%,#f4c0cc 100%); }
.specials-detail-hero.tone-green  { background: linear-gradient(160deg,#e0f0da 0%,#a8d090 100%); }
.specials-detail-hero.tone-yellow { background: linear-gradient(160deg,#fff8e0 0%,#f9d97a 100%); }
.specials-detail-hero.tone-blue   { background: linear-gradient(160deg,#e0eeff 0%,#b0cef8 100%); }
.specials-detail-hero-inner { width: 100%; }
.specials-detail-title {
  font-size: 24px; font-weight: 700; margin: 8px 0 8px; line-height: 1.4;
  color: #2a3a28;
}
.specials-detail-date { font-size: 12px; color: rgba(42,58,40,.65); }
.specials-detail-body { padding: 24px 18px 40px; }
.specials-detail-lead {
  font-size: 15px; color: #444; line-height: 1.7; margin: 0 0 28px;
  padding-bottom: 20px; border-bottom: 1px solid #e8e2d8;
}
.specials-section { margin-bottom: 28px; }
.specials-section-title {
  font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--deep-green);
}
.specials-biz-list { display: flex; flex-direction: column; gap: 12px; }
.specials-biz-card {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: #fff; border-radius: 12px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.specials-biz-thumb {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.specials-posts-grid { display: flex; flex-direction: column; gap: 12px; }
.specials-detail-cta { text-align: center; margin: 24px 0; }
.specials-back-row { text-align: center; margin-top: 28px; }

/* ═══════════════════════════════════════════════════════════════
   ホーム特集セクション
═══════════════════════════════════════════════════════════════ */
.home-specials-section { padding: 24px 0; }
.home-specials-grid {
  display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 0;
}
.home-specials-card {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; padding: 0 14px 0 0;
  transition: transform .15s;
}
.home-specials-card:active { transform: scale(.98); }
.home-specials-thumb {
  width: 80px; height: 80px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-size: 28px;
}
.home-specials-thumb.tone-pink   { background: linear-gradient(135deg,#fce9eb,#f4c0cc); }
.home-specials-thumb.tone-green  { background: linear-gradient(135deg,#e0f0da,#b8d9a8); }
.home-specials-thumb.tone-yellow { background: linear-gradient(135deg,#fff8e0,#f9d97a); }
.home-specials-thumb.tone-blue   { background: linear-gradient(135deg,#e0eeff,#b0cef8); }
.home-specials-body { flex: 1; padding: 12px 0; min-width: 0; }
.home-specials-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #8a7060; background: #f0ebe2; padding: 2px 8px;
  border-radius: 8px; display: inline-block; margin-bottom: 6px;
}
.home-specials-title {
  font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3;
}
.home-specials-lead {
  font-size: 12px; color: var(--muted); margin: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════
   管理画面追加スタイル
═══════════════════════════════════════════════════════════════ */
.admin-toggle-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding: 16px 0; border-top: 1px solid #ede8e0; margin-top: 8px;
}
.admin-toggle-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.admin-toggle-label input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--deep-green); }
.admin-summary-row {
  padding: 14px 20px; font-size: 13px; color: var(--muted);
}
.admin-id { font-size: 11px; color: #aaa; }
.admin-center { text-align: center; }
.admin-form-wide { grid-column: 1 / -1; }

/* ═══════════════════════════════════════════════════════════════
   初期パートナー申請ページ
═══════════════════════════════════════════════════════════════ */
.partner-apply-page { background: #f9f8f4; }
.partner-apply-hero {
  background: var(--deep-green); padding: 36px 22px 32px; color: #fff;
}
.partner-apply-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,.15); color: #b8dba0;
  padding: 4px 12px; border-radius: 12px; margin-bottom: 16px;
  border: 1px solid rgba(184,219,160,.3);
}
.partner-apply-title {
  font-size: 22px; font-weight: 700; line-height: 1.5; margin: 0 0 12px; color: #fff;
}
.partner-apply-subtitle {
  font-size: 14px; color: rgba(255,255,255,.82); margin: 0; line-height: 1.6;
}
.partner-apply-subtitle strong { color: #b8dba0; }
.partner-apply-section {
  padding: 24px 18px; border-bottom: 1px solid #e8e2d8;
}
.partner-apply-section-title {
  font-size: 16px; font-weight: 700; color: var(--deep-green); margin: 0 0 16px;
}
.partner-apply-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.partner-apply-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.partner-benefit-icon {
  font-size: 22px; width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; background: #eef5ef; border-radius: 10px; flex-shrink: 0;
}
.partner-apply-benefits li div p { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.partner-apply-benefits li div strong { font-size: 14px; }
.partner-apply-note { font-size: 12px; color: #aaa; margin-top: 16px; }
.partner-apply-form { display: flex; flex-direction: column; gap: 16px; }
.partner-apply-full {
  padding: 60px 24px; text-align: center; display: flex;
  flex-direction: column; gap: 16px; align-items: center;
}
.partner-apply-full h1 { font-size: 20px; margin: 0; }
.partner-apply-full p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* 管理｜初期パートナーカウンター */
.admin-partner-counter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: #eef5ef; border: 1px solid #c0d8b0; border-radius: 12px;
  padding: 16px 20px; margin-bottom: 20px;
}
.admin-partner-slot-used { font-size: 32px; font-weight: 700; color: var(--deep-green); }
.admin-partner-slot-total { font-size: 20px; color: var(--muted); }
.admin-partner-slot-label { font-size: 13px; color: #555; flex-basis: 100%; }
.admin-partner-slot-bar {
  width: 100%; height: 8px; background: #dde; border-radius: 4px; overflow: hidden;
}
.admin-partner-slot-fill { height: 100%; background: var(--deep-green); border-radius: 4px; transition: width .4s; }

/* 管理 - 特集フォームのグリッド */
.admin-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 600px) { .admin-form-grid { grid-template-columns: 1fr; } }

/* 初期パートナー募集バナー（事業者プランページ） */
.biz-plan-partner-section {
  background: linear-gradient(135deg, #1e3020 0%, #2d4a2a 100%);
  margin: 0; padding: 40px 22px 48px;
}
.biz-plan-partner-inner { max-width: 480px; margin: 0 auto; text-align: center; }
.biz-plan-partner-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: #b8dba0; background: rgba(184,219,160,.15); border: 1px solid rgba(184,219,160,.3);
  padding: 4px 14px; border-radius: 12px; margin-bottom: 20px;
}
.biz-plan-partner-title {
  font-size: 22px; font-weight: 700; color: #fff; line-height: 1.5; margin: 0 0 16px;
}
.biz-plan-partner-title em { font-style: normal; color: #b8dba0; }
.biz-plan-partner-lead {
  font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.7; margin: 0 0 20px;
}
.biz-plan-partner-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 24px;
}
.biz-plan-partner-slot {
  font-size: 14px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 20px;
}
.biz-plan-partner-slot.is-full { color: #ff9a9a; }
.biz-plan-partner-slot strong { color: #b8dba0; font-size: 18px; }
.biz-plan-partner-price { font-size: 13px; color: rgba(255,255,255,.72); padding: 6px 0; }
.biz-plan-partner-price strong { color: #b8dba0; }
.biz-plan-partner-btn {
  display: block; width: 100%; max-width: 300px; margin: 0 auto; height: 50px;
  background: #b8dba0; color: #1e3020; border: none; border-radius: 25px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s;
}
.biz-plan-partner-btn:hover { background: #caeab0; }
.biz-plan-partner-full-msg { color: rgba(255,255,255,.65); font-size: 14px; }
.biz-plan-partner-note { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════════
   TOPページ 新着投稿セクション
═══════════════════════════════════════════════════════════════ */
.home-new-posts { padding-top: 24px; padding-bottom: 8px; margin-top: 0; }
.home-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 16px 0;
}
.home-post-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 12px rgba(82,124,99,.1); cursor: pointer;
  transition: transform .15s;
}
.home-post-card:active { transform: scale(.97); }
.home-post-card.is-sold { opacity: .72; }
.home-post-img {
  height: 110px; display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative;
}
.home-post-img.pink   { background: linear-gradient(135deg,#fce9eb,#f4bec8); }
.home-post-img.green  { background: linear-gradient(135deg,#eaf4ea,#b8d9a8); }
.home-post-img.blue   { background: linear-gradient(135deg,#e3f0ff,#b0cef8); }
.home-post-img.orange { background: linear-gradient(135deg,#fff0e0,#f9cc8a); }
.home-post-img.yellow { background: linear-gradient(135deg,#fffce0,#f9e07a); }
.home-post-img.deep   { background: linear-gradient(135deg,#e0eee8,#8abaa0); }
.home-post-sold-label {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px;
  letter-spacing: .06em;
}
.home-post-sold-label--closed { background: rgba(100,80,60,.6); }
.home-post-body { padding: 10px 12px 12px; }
.home-post-body .chip { font-size: 10px; padding: 2px 7px; margin-bottom: 6px; }
.home-post-title {
  font-size: 13px; font-weight: 700; margin: 0 0 4px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-post-price {
  font-size: 13px; font-weight: 700; color: var(--deep-green); margin: 0 0 4px;
}
.home-post-meta {
  font-size: 11px; color: var(--muted); margin: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ── 新着投稿カルーセル ── */
.home-posts-track {
  display: flex; gap: 14px; padding: 12px 16px 4px;
}
.home-posts-track .home-post-card {
  flex: 0 0 160px; width: 160px;
}
.home-post-img {
  height: 110px; border-radius: 0; /* カード角丸はカード側で管理 */
}
/* ボタン中央揃えラッパー */
.home-more-wrap {
  display: flex; justify-content: center; margin-top: 16px;
}
.home-more-wrap .home-more {
  margin: 0;
  display: block;
  width: fit-content;
  min-width: 220px;
  min-height: 47px;
  font-size: 13px;
}

/* ── 意見箱 TOP セクション ───────────────────────────── */
.feedback-top-section {
  padding: 16px;
}
.feedback-top-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f9f5;
  border: 1px solid #c9e0ce;
  border-radius: 12px;
  padding: 14px 16px;
}
.feedback-top-card__icon {
  font-size: 28px;
  flex-shrink: 0;
}
.feedback-top-card__body {
  flex: 1;
  min-width: 0;
}
.feedback-top-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 2px;
}
.feedback-top-card__lead {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* ── 意見箱フォームページ ────────────────────────────── */
.feedback-form .field-opt {
  font-size: 11px;
  color: #999;
  font-weight: 400;
}
.feedback-form .field-req {
  font-size: 11px;
  color: #e05c5c;
  font-weight: 600;
  margin-left: 4px;
}
.feedback-form .field--checkbox {
  padding: 4px 0;
}
.feedback-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* ── 意見箱 完了画面 ─────────────────────────────────── */
.done-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d4edda;
  color: #527c63;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* ── 意見箱 インラインカード（helpPage / contactPage） ── */
.feedback-inline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f9f5;
  border: 1px solid #c9e0ce;
  border-radius: 10px;
  padding: 14px 16px;
}
.feedback-inline-card__icon {
  font-size: 24px;
  flex-shrink: 0;
}
.feedback-inline-card__body {
  flex: 1;
  min-width: 0;
}
.feedback-inline-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 2px;
}
.feedback-inline-card__lead {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* ── 意見箱 管理画面 ─────────────────────────────────── */
.admin-cell-body {
  max-width: 240px;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 12px;
}
.admin-select-sm {
  font-size: 12px;
  padding: 4px 6px;
  min-width: 80px;
}

/* ── 購入補助フォーム ───────────────────────────────── */
.pay-edit-page {
  max-width: 720px;
  margin: 0 auto;
}
.pay-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.pay-choice-card + .pay-choice-card {
  margin-top: 10px;
}
.pay-choice-card input {
  margin-top: 4px;
}
.pay-choice-card b {
  display: block;
  color: var(--deep-green);
  font-size: 15px;
}
.pay-choice-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 4px;
}

/* ── 決済手数料 購入者負担バッジ ──────────────────────── */
.pay-fee-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #e8f4ea;
  color: #527c63;
  border: 1px solid #b8d9be;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}
.pay-fee-badge-inline {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #e8f4ea;
  color: #527c63;
  border: 1px solid #b8d9be;
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.4;
  font-style: normal;
}
.pay-row--fee span { color: #666; }
.pay-row--seller b { color: #527c63; font-size: 15px; }
.seller-tx-row--fee b { font-style: normal; }

/* ── 事業者受取予定額（購入確認） ───────────────────────── */
.pay-seller-receives {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f9f5;
  border: 1px solid #c9e0ce;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 4px;
  font-size: 13px;
}
.pay-seller-receives b {
  font-size: 15px;
  font-weight: 700;
  color: #2d5c3a;
}

/* ── カートページ ─────────────────────────────────────── */
.cart-page { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-page__title { font-size: 18px; font-weight: 700; margin: 0; }
.cart-page__biz { font-size: 12px; color: #888; margin: 0; }
.pay-biz-label { font-size: 13px; font-weight: 600; color: #527c63; margin: 4px 0; }

.cart-free-shipping-bar {
  display: flex; align-items: center; gap: 8px;
  background: #fff8e6; border: 1px solid #f0d88c; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: #6b5c1e;
}
.cart-free-shipping-bar--done {
  background: #edf6ee; border-color: #b8d9be; color: #2d5c3a;
}
.cart-free-shipping-bar__icon { font-size: 16px; }
.cart-free-shipping-bar b { color: #c47c00; }
.cart-free-shipping-bar--done b { color: #2d5c3a; }

.cart-items { display: flex; flex-direction: column; gap: 8px; }
.cart-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px;
}
.cart-item__img { flex-shrink: 0; width: 52px; height: 52px; border-radius: 8px; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__title { font-size: 13px; font-weight: 600; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__price { font-size: 12px; color: #555; margin: 0; }
.cart-item__qty { display: flex; align-items: center; gap: 6px; }
.cart-qty-btn {
  width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px;
  background: #f5f5f5; font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cart-item__qty span { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-remove-btn {
  background: none; border: none; color: #bbb; font-size: 14px; cursor: pointer;
  padding: 4px; flex-shrink: 0;
}

.cart-breakdown { background: #fafaf8; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eee; }
.cart-row:last-child { border-bottom: none; }
.cart-row--fee span { color: #666; }
.cart-row--total { font-weight: 700; font-size: 15px; color: #1e1e1e; padding-top: 8px; }
.cart-row--total b { font-size: 17px; }

.cart-seller-receives {
  display: flex; justify-content: space-between; align-items: center;
  background: #f4f9f5; border: 1px solid #c9e0ce; border-radius: 8px;
  padding: 10px 14px; font-size: 13px;
}
.cart-seller-receives b { font-size: 14px; font-weight: 700; color: #2d5c3a; }
.cart-shipping-note { font-size: 12px; color: #666; margin: 0; }

/* ── カートに入れる ボタン群 ──────────────────────────── */
.detail-cta-group { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cart-view-btn { position: relative; }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #e05c5c; color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  margin-left: 6px; vertical-align: middle;
}

/* ── カート競合トースト ──────────────────────────────── */
.cart-conflict-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: #333; color: #fff; border-radius: 10px;
  padding: 12px 18px; font-size: 13px; z-index: 9999;
  max-width: 320px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.3);
  animation: toast-in .2s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── 配送・送料設定ページ ────────────────────────────── */
.cart-example-box {
  background: #f4f9f5; border: 1px solid #c9e0ce; border-radius: 8px;
  padding: 12px 14px; margin-top: 8px;
}
.cart-example-box__title { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.cart-example-box__body { font-size: 12px; color: #555; margin: 0; line-height: 1.6; }
