:root {
  line-break: strict;
  word-break: normal;
}
:where(*) {
  min-width: 0;
}
.fb-journal {
  --fb-paper: #f8f5ee;
  --fb-ink: #22231e;
  --fb-accent: #886725;
  --fb-line: #c5bfb1;
  background: var(--fb-paper);
  color: var(--fb-ink);
  padding: 130px max(24px, calc((100vw - 1280px) / 2)) 72px;
  font:
    400 1.125rem/1.85 "Noto Sans JP",
    sans-serif;
  position: relative;
}
.fb-journal p {
  font: inherit;
  text-align: justify;
  text-justify: inter-character;
  text-align-last: start;
  overflow-wrap: anywhere;
}
.fb-journal a {
  color: inherit;
}
.fb-journal h1,
.fb-journal h2 {
  font-family: inherit;
  color: inherit;
  line-height: 1.45;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  text-wrap: initial;
}
.fb-journal h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  margin: 12px 0 22px;
}
.fb-journal button,
.fb-journal input,
.fb-journal select {
  font: inherit;
  color: inherit;
  border-radius: 0;
}
.fb-journal button {
  cursor: pointer;
}
.fb-journal a:focus-visible,
.fb-journal button:focus-visible,
.fb-journal input:focus-visible,
.fb-journal select:focus-visible {
  outline: 3px solid var(--fb-accent);
  outline-offset: 5px;
}
.fb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 36px;
}
.fb-breadcrumb a {
  min-height: 44px;
  display: block;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.fb-intro {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: center;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--fb-line);
}
.fb-intro p {
  margin: 0;
}
.fb-eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: var(--fb-accent);
  display: block;
}
.fb-seal {
  width: 180px;
  height: 180px;
  border: 1px solid var(--fb-accent);
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  transform: rotate(4deg);
}
.fb-seal span:first-child {
  font-size: 2.5rem;
  letter-spacing: 0.15em;
}
.fb-seal i {
  position: absolute;
  inset: 9px;
  border: 1px solid var(--fb-line);
}
.fb-tools {
  display: grid;
  grid-template-columns: 1fr 260px auto;
  gap: 24px;
  align-items: end;
  padding: 30px 0 44px;
}
.fb-tools label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}
.fb-tools input,
.fb-tools select {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 1px solid var(--fb-line);
  background: transparent;
  padding: 10px 14px;
}
.fb-tools select {
  background: var(--fb-paper);
}
.fb-count {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  white-space: nowrap;
}
.fb-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
}
.fb-card {
  border-top: 1px solid var(--fb-line);
  padding-top: 18px;
}
.fb-card[hidden] {
  display: none !important;
}
.fb-card-photo {
  overflow: hidden;
  background: #e5e0d4;
}
.fb-card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.fb-card:hover .fb-card-photo img {
  transform: scale(1.025);
}
.fb-photo-note {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  color: var(--fb-ink);
  background: linear-gradient(145deg, #eee9dc, #dad2bf);
}
.fb-photo-note span {
  font-size: 1.75rem;
  letter-spacing: 0.14em;
}
.fb-photo-note small {
  font: inherit;
  font-size: 1rem;
}
.fb-card-copy {
  padding: 22px 0 0;
}
.fb-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--fb-accent);
}
.fb-card h2 {
  font-size: 1.55rem;
  margin: 16px 0;
}
.fb-card h2 a {
  text-decoration: none;
}
.fb-card-copy > p {
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fb-read,
.fb-original {
  display: inline-block;
  padding: 12px 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-weight: 600;
}
.fb-read span {
  margin-left: 20px;
}
.fb-more {
  display: block;
  margin: 44px auto 0;
  min-height: 52px;
  padding: 12px 32px;
  border: 1px solid var(--fb-accent);
  background: transparent;
}
.fb-more[hidden],
.fb-no-results[hidden] {
  display: none;
}
.fb-endnote {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--fb-line);
  font-size: 1rem;
}
.fb-endnote a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
}
.fb-entry-head {
  max-width: 780px;
  margin: 0 auto 42px;
  border-bottom: 1px solid var(--fb-line);
  padding-bottom: 28px;
}
.fb-entry-head h1 {
  font-size: 2.75rem;
}
.fb-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.fb-entry-body p {
  margin: 0 0 28px;
  line-height: 1.95;
}
.fb-gallery {
  display: grid;
  gap: 18px;
}
.fb-photo {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  width: 100%;
}
.fb-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.fb-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #fff;
  background: #1b1d1c;
  padding: 6px 12px;
  font-size: 0.875rem;
}
.fb-entry-nav {
  margin-top: 70px;
  border-top: 1px solid var(--fb-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.fb-entry-nav a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
}
.fb-draft-banner {
  border: 1px solid var(--fb-line);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 1rem;
}
.fb-status,
.fb-photo-pending {
  font-size: 1rem !important;
}
.fb-empty {
  padding: 70px 0 60px;
  max-width: 800px;
}
.fb-empty h2 {
  font-size: 2rem;
}
.fb-empty .fb-read {
  display: block;
}
.fb-lightbox {
  position: fixed;
  inset: 0;
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  background: #171a18;
  border: 1px solid #90856c;
  color: #fff;
  overflow: auto;
}
.fb-lightbox::backdrop {
  background: #101310ed;
}
.fb-lightbox > img {
  display: block;
  width: 100%;
  max-height: 70dvh;
  object-fit: contain;
}
.fb-lightbox button {
  font: 500 1rem sans-serif;
  min-height: 48px;
  min-width: 48px;
  color: #fff;
  border: 1px solid #aea48e;
  background: transparent;
  padding: 10px 18px;
  cursor: pointer;
}
.fb-lightbox > button {
  display: block;
  margin: 0 0 12px auto;
}
.fb-lightbox > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}
.fb-lightbox output {
  font: 1rem sans-serif;
}
.fb-site-entry {
  margin: 48px 24px;
  padding: 30px;
  border: 1px solid #8f856e;
  background: #f5f1e7;
  color: #252923;
  font: 1.125rem/1.8 sans-serif;
}
.fb-site-entry a {
  color: inherit;
  text-decoration: underline;
  display: inline-block;
  min-height: 44px;
  padding: 12px 0;
}
/* 黒：金の目盛り、横に開く写真と本文。既存の本文の生成りを受け継ぐ。 */
.fb-black {
  --fb-accent: #705017;
  --fb-paper: #f3efe4;
  --fb-ink: #24221e;
  --fb-line: #beb5a4;
}
.fb-black .fb-intro {
  border-top: 4px solid #b29a62;
  padding-top: 30px;
}
.fb-black .fb-seal {
  background: #1c211f;
  color: #dcc389;
  border-color: #b29a62;
}
.fb-black .fb-feed {
  grid-template-columns: 1fr;
}
.fb-black .fb-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 42px;
  padding-top: 24px;
}
.fb-black .fb-card-copy {
  padding: 10px 0;
}
.fb-black .fb-card h2 {
  font-size: 1.9rem;
}
.fb-black .fb-meta span:first-child {
  font-size: 2rem;
  line-height: 1.2;
}
.fb-black .fb-entry-head {
  margin-left: 0;
}
/* 緑：曲線と縦の余白。写真を左右に交互に流す。 */
.fb-nature {
  --fb-accent: #335a43;
  --fb-paper: #f3f6ef;
  --fb-ink: #24382b;
  --fb-line: #aebdaf;
}
.fb-nature .fb-seal {
  border-radius: 52% 48% 42% 58%;
  transform: rotate(-8deg);
}
.fb-nature .fb-seal i {
  border-radius: 48% 52% 58% 42%;
}
.fb-nature .fb-feed {
  gap: 80px 64px;
}
.fb-nature .fb-card:nth-child(even) {
  margin-top: 80px;
}
.fb-nature .fb-card-photo {
  border-radius: 70px 8px 8px 8px;
}
.fb-nature .fb-card:nth-child(even) .fb-card-photo {
  border-radius: 8px 8px 70px 8px;
}
.fb-nature .fb-read {
  border-bottom: 1px solid var(--fb-accent);
  text-decoration: none;
}
.fb-nature .fb-intro {
  padding-bottom: 60px;
}
/* 白：紙とインク。狭い本文の列と大きな写真で誌面を組む。 */
.fb-white {
  --fb-accent: #444d50;
  --fb-paper: #fffef9;
  --fb-ink: #292f30;
  --fb-line: #bec5c4;
}
.fb-white .fb-seal {
  border: none;
  border-left: 1px solid var(--fb-line);
  transform: none;
}
.fb-white .fb-seal i {
  display: none;
}
.fb-white .fb-intro h1 {
  font-family: serif;
  letter-spacing: 0.1em;
}
.fb-white .fb-card-copy {
  border-left: 2px solid var(--fb-ink);
  padding-left: 22px;
}
.fb-white .fb-meta span:first-child {
  font-size: 1.5rem;
}
.fb-white .fb-entry-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
@media (max-width: 800px) {
  .fb-journal {
    padding: 108px 24px 48px;
  }
  .fb-intro {
    grid-template-columns: 1fr 100px;
    gap: 12px;
  }
  .fb-seal {
    width: 94px;
    height: 110px;
  }
  .fb-seal span:first-child {
    font-size: 1.75rem;
  }
  .fb-seal span {
    font-size: 0.875rem;
  }
  .fb-tools {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .fb-count {
    grid-column: 1/-1;
    padding: 0;
  }
  .fb-feed {
    gap: 36px 24px;
  }
  .fb-black .fb-card {
    gap: 24px;
  }
  .fb-entry-layout,
  .fb-white .fb-entry-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fb-entry-body {
    max-width: 720px;
  }
  .fb-entry-head h1 {
    font-size: 2.2rem;
  }
  .fb-nature .fb-card:nth-child(even) {
    margin-top: 40px;
  }
}
@media (max-width: 560px) {
  .fb-journal {
    padding: 104px 20px 44px;
  }
  .fb-intro {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }
  .fb-seal {
    display: none;
  }
  .fb-journal h1 {
    font-size: 2.5rem;
  }
  .fb-tools {
    grid-template-columns: 1fr;
  }
  .fb-count {
    grid-column: auto;
  }
  .fb-feed {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .fb-black .fb-card {
    display: block;
  }
  .fb-black .fb-card-copy {
    padding-top: 20px;
  }
  .fb-black .fb-card h2 {
    font-size: 1.5rem;
  }
  .fb-nature .fb-card:nth-child(even) {
    margin-top: 0;
  }
  .fb-nature .fb-card-photo {
    border-radius: 40px 4px 4px 4px;
  }
  .fb-white .fb-card-copy {
    padding-left: 16px;
  }
  .fb-entry-head {
    margin-bottom: 28px;
  }
  .fb-breadcrumb {
    margin-bottom: 24px;
  }
  .fb-entry-nav {
    justify-content: start;
  }
  .fb-photo-note {
    min-height: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fb-card-photo img {
    transition: none;
  }
  .fb-card:hover .fb-card-photo img {
    transform: none;
  }
}
/* 追加ページの共通フッターにも、拡大時の長い連絡先を折り返す。 */
body[data-facebook-page] footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 1000px) {
  .fb-tools {
    grid-template-columns: 1fr;
  }
  .fb-count {
    white-space: normal;
  }
  .fb-black .fb-card {
    grid-template-columns: 1fr;
  }
  .fb-nature .fb-feed,
  .fb-white .fb-feed {
    grid-template-columns: 1fr;
  }
  .fb-nature .fb-card:nth-child(even) {
    margin-top: 0;
  }
}
@media (max-width: 1000px) {
  .fb-intro {
    grid-template-columns: 1fr;
  }
  .fb-seal {
    display: none;
  }
}
