/* webtravelmaple.com blog: single post and /blog/ index. Loaded after home.css. */

.fg-crumb {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.fg-crumb a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text-soft);
}

.fg-label {
  display: inline-block;
  padding-left: 14px;
  border-left: 3px solid var(--matsu);
  color: var(--matsu);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.fg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.fg-meta span::before {
  content: "・";
  margin-right: 4px;
  color: var(--koke);
}

/* ---------- Single ---------- */
main > .fg-post {
  padding: clamp(20px, 3vw, 36px) 0 clamp(56px, 8vw, 96px);
}

.fg-narrow {
  max-width: calc(760px + 64px);
}

.fg-head h1 {
  margin: 14px 0 16px;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.5;
}

.fg-dek {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.fg-head .fg-meta {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.fg-hero {
  max-width: calc(980px + 64px);
  margin: 32px auto 0;
}

.fg-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 0 28px 28px;
}

.fg-body {
  margin-top: 40px;
}

.fg-body h2 {
  margin: 2em 0 0.6em;
  padding-top: 14px;
  border-top: 3px solid var(--matsu);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.fg-body h3 {
  margin: 1.6em 0 0.4em;
  font-family: var(--body);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--matsu);
}

.fg-body ul,
.fg-body ol {
  margin: 0 0 1.2em;
  padding: 16px 20px;
  background: var(--washi);
}

.fg-body li {
  position: relative;
  padding-left: 1.3em;
}

.fg-body li + li {
  margin-top: 6px;
}

.fg-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--matsu);
}

.fg-body ol {
  counter-reset: fg;
}

.fg-body ol li {
  counter-increment: fg;
  padding-left: 1.8em;
}

.fg-body ol li::before {
  content: counter(fg);
  position: absolute;
  left: 0;
  font-family: var(--head);
  color: var(--matsu);
}

.fg-body a {
  color: var(--matsu);
  text-underline-offset: 4px;
}

.fg-body img {
  height: auto;
}

/* Offer panel (same green panel as the homepage closing block) */
.fg-offer {
  margin-top: 48px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--matsu);
  color: var(--paper);
  border-radius: 0 28px 28px 0;
}

.fg-offer h2 {
  color: var(--paper);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.fg-offer p {
  max-width: 34em;
}

.fg-offer-note {
  margin: 16px 0 0;
  font-size: 0.82rem;
  line-height: 1.8;
}

@media (max-width: 599px) {
  .fg-offer {
    border-radius: 0 0 22px 22px;
  }

  .fg-offer .box {
    display: flex;
    white-space: normal;
    text-align: center;
  }
}

/* More articles */
main > .fg-more {
  background: var(--washi);
  padding: clamp(48px, 7vw, 88px) 0;
}

.fg-more-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.fg-more-head h2 {
  margin: 0;
}

.fg-all,
.notes-all {
  display: inline-block;
  padding: 10px 0;
  color: var(--sumi);
  font-weight: 700;
  font-size: 0.92rem;
  text-underline-offset: 6px;
}

/* ---------- Cards ---------- */
.fg-grid {
  display: grid;
  gap: 36px 28px;
}

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

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

.fg-card {
  min-width: 0;
}

.fg-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  color: var(--text);
  text-decoration: none;
}

.fg-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fg-cbody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 20px 4px 4px;
}

.fg-cbody {
  padding: 20px 20px 22px;
}

.wtm-index .fg-link {
  border-top: 3px solid var(--matsu);
}

.fg-title {
  font-family: var(--head);
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--sumi);
}

.fg-link:hover .fg-title {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.fg-ex {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.85;
}

.fg-link .fg-meta {
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- Blog index ---------- */
main > .bx-top {
  padding: 0 0 clamp(36px, 5vw, 56px);
}

.bx-top-grid {
  display: grid;
  align-items: start;
}

.bx-panel {
  position: relative;
  z-index: 1;
  padding: 18px 36px 36px;
  background: var(--matsu);
  color: var(--paper);
  border-radius: 0 0 28px 28px;
}

.bx-panel h1 {
  margin-bottom: 0.5em;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--paper);
}

.bx-panel p:last-child {
  margin: 0;
  max-width: 30em;
}

.bx-panel .fg-crumb,
.bx-panel .fg-crumb a {
  color: var(--matsu-soft);
}

.bx-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 900px) {
  .bx-top-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .bx-panel {
    margin-right: -48px;
  }

  .bx-photo {
    margin-top: 40px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 899px) {
  .bx-top-grid {
    padding: 0;
  }

  .bx-panel {
    padding: 14px 22px 28px;
    border-radius: 0 0 22px 22px;
  }

  .bx-photo {
    display: none;
  }
}

.bx-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

main > .bx-list {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.bx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.bx-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--sumi);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.bx-chips a:hover {
  border-color: var(--matsu);
}

.bx-chips a[aria-current="page"] {
  background: var(--sumi);
  border-color: var(--sumi);
  color: var(--kinu);
}

.bx-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.bx-pages a,
.bx-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--sumi);
  border-radius: 3px;
  color: var(--sumi);
  font-weight: 700;
  text-decoration: none;
}

.bx-pages .current {
  background: var(--sumi);
  color: var(--kinu);
}

.bx-pages .dots {
  border-color: transparent;
}

.bx-empty {
  padding: 28px;
  background: var(--washi);
}

main > .bx-offer {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.bx-offer .fg-offer {
  margin-top: 0;
}
