/*
Theme Name: re-belief-hope
Theme URI: https://belief-hope.com/
Description: 一般社団法人ビリーフ「希望の道」
Version: 2.0
Author: Webleaf
Text Domain: re-belief-hope
*/

/* =========================================================
   基本 / リセット
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #2a2016;
  background: #f4ecda;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
}

a {
  color: #2f6b45;
  text-decoration: none;
}

a:hover {
  color: #5a3f28;
}

::selection {
  background: #e6b23f;
  color: #26301f;
}

/* デザイン配色トークン（参考）
   背景 #f4ecda / 深緑 #1e3d2f / 緑 #2f6b45 / 茶 #5a3f28 / 黄 #e6b23f / 青 #2f5d86 */

/* =========================================================
   アニメーション
   ========================================================= */
@keyframes bh-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes bh-rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bh-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes bh-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* =========================================================
   グローバルナビ
   ========================================================= */
.bh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw;
  mix-blend-mode: difference;
}

.bh-nav__logo {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #f4ecda;
  font-weight: 700;
}

.bh-nav__logo .dot {
  color: #e6b23f;
  font-style: normal;
}

.bh-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bh-nav__links a {
  color: #f4ecda;
}

/* =========================================================
   HERO
   ========================================================= */
.bh-hero {
  position: relative;
  min-height: 100vh;
  background: #1e3d2f;
  color: #f4ecda;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4vw;
}

.bh-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(0.15) contrast(1.03);
}

.bh-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 80% 10%, rgba(230, 178, 63, 0.30), transparent 55%);
}

.bh-hero__inner {
  position: relative;
  z-index: 2;
  animation: bh-rise 1s cubic-bezier(.2, .8, .2, 1) both;
}

.bh-hero__eyebrow {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  letter-spacing: 0.05em;
  font-size: clamp(14px, 1.4vw, 20px);
  color: #e6b23f;
  margin-bottom: 2vh;
  font-weight: 500;
}

.bh-hero__title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  line-height: 0.98;
  font-size: clamp(52px, 10.5vw, 190px);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.bh-hero__title .accent {
  color: #e6b23f;
}

.bh-hero__sub {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 500;
  font-size: clamp(20px, 3.4vw, 52px);
  margin-top: 2vh;
  opacity: 0.9;
  letter-spacing: 0.04em;
}

.bh-hero__meta {
  position: absolute;
  z-index: 2;
  bottom: 5vh;
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.bh-hero__meta span {
  opacity: 0.75;
}

.bh-hero__flower {
  position: absolute;
  top: 14vh;
  right: 4vw;
  z-index: 2;
  width: clamp(90px, 10vw, 150px);
  height: clamp(90px, 10vw, 150px);
  animation: bh-float 5s ease-in-out infinite;
}

.bh-hero__flower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: bh-spin 26s linear infinite;
}

/* =========================================================
   マーキー
   ========================================================= */
.bh-marquee {
  background: #e6b23f;
  color: #26301f;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #26301f;
  border-bottom: 2px solid #26301f;
}

.bh-marquee__track {
  display: inline-block;
  animation: bh-marquee 22s linear infinite;
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
}

.bh-marquee__track span {
  padding: 0 30px;
}

/* =========================================================
   セクション共通
   ========================================================= */
.bh-section {
  padding: clamp(70px, 11vh, 150px) 4vw;
  position: relative;
}

.bh-section__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.bh-section__head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.bh-section__en {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1;
}

.bh-section__ja {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
}

/* ABOUT */
.bh-about {
  background: #f4ecda;
}

.bh-about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.bh-about__head {
  margin-bottom: 0;
}

.bh-about__en {
  color: #2f6b45;
}

.bh-about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}

.bh-about__text {
  grid-column: 1 / span 7;
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 30px);
  line-height: 2.1;
  letter-spacing: 0.02em;
}

.bh-about__text mark {
  background: linear-gradient(transparent 62%, #f0d89a 62%);
  color: inherit;
}

.bh-about__link {
  margin-top: 28px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.bh-about__link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 15px;
  color: #2f6b45;
  border-bottom: 2px solid #2f6b45;
  padding-bottom: 4px;
  transition: gap .2s, color .2s;
}

.bh-about__link a:hover {
  color: #5a3f28;
  border-color: #5a3f28;
  gap: 16px;
}

.bh-about__link a span {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
}

.bh-about__card {
  grid-column: 9 / span 4;
  border: 2px solid #5a3f28;
  padding: 28px;
  background: #5a3f28;
  color: #f4ecda;
  transform: rotate(2deg);
}

.bh-about__card-en {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 20px;
  color: #e6b23f;
}

.bh-about__card-ja {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
}

/* WORK */
.bh-work {
  background: #5a3f28;
  color: #f4ecda;
}

.bh-work__en {
  color: #e6b23f;
}

.bh-work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}

.bh-work__lead {
  grid-column: 1 / span 6;
}

.bh-work__lead h3 {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1.3;
  color: #e6b23f;
}

.bh-work__lead p {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 2;
  margin-top: 28px;
  opacity: 0.9;
}

.bh-work__note {
  grid-column: 8 / span 5;
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 2;
  opacity: 0.82;
  border-left: 3px solid #e6b23f;
  padding-left: 20px;
}

.bh-work__gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}

.bh-work__gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.bh-work__gallery img:first-child {
  filter: grayscale(0.1);
}

/* A DAY */
.bh-day {
  background: #2f5d86;
  color: #f4ecda;
}

.bh-day__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bh-day__en {
  color: #e6b23f;
}

.bh-day__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bh-day__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 2px solid rgba(244, 236, 218, 0.5);
}

.bh-day__row:last-child {
  border-bottom: 2px solid rgba(244, 236, 218, 0.5);
}

.bh-day__time {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  color: #e6b23f;
}

.bh-day__label {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 30px);
}

/* NEWS */
.bh-news {
  background: #f4ecda;
}

.bh-news__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bh-news__en {
  color: #2f6b45;
}

.bh-news__row {
  display: grid;
  grid-template-columns: 150px 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 8px;
  border-top: 1px solid #2a2016;
  color: #2a2016;
  transition: background .25s, color .25s;
}

.bh-news__row:last-of-type {
  border-bottom: 1px solid #2a2016;
}

.bh-news__row:hover {
  background: #2f6b45;
  color: #f4ecda;
}

.bh-news__date {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 20px;
}

.bh-news__cat {
  justify-self: start;
  border: 1px solid currentColor;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.bh-news__title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
}

.bh-news__arrow {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
}

.bh-news__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  border: 2px solid #2f6b45;
  color: #2f6b45;
  padding: 16px 30px;
  transition: background .25s, color .25s;
}

.bh-news__more:hover {
  background: #2f6b45;
  color: #f4ecda;
}

.bh-news__more span {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
}

.bh-news__empty {
  font-family: 'Shippori Mincho B1', serif;
  padding: 26px 8px;
  border-top: 1px solid #2a2016;
}

/* =========================================================
   フッター
   ========================================================= */
.bh-footer {
  background: #1e3d2f;
  color: #f4ecda;
  padding: clamp(70px, 11vh, 140px) 4vw 48px;
}

.bh-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.bh-footer__lead {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(44px, 9vw, 150px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.bh-footer__lead .accent {
  color: #e6b23f;
}

.bh-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(244, 236, 218, 0.25);
}

.bh-footer__brand {
  grid-column: 1 / span 5;
}

.bh-footer__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
  background: #f4ecda;
  padding: 12px 18px;
  border-radius: 6px;
}

.bh-footer__addr {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 18px;
  line-height: 1.9;
  opacity: 0.85;
}

.bh-footer__tel {
  grid-column: 7 / span 3;
}

.bh-footer__tel-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #e6b23f;
  margin-bottom: 14px;
}

.bh-footer__tel-num {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
}

.bh-footer__tel-open {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}

.bh-footer__links {
  grid-column: 11 / span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bh-footer__links a {
  color: #f4ecda;
}

.bh-footer__links a.accent {
  color: #e6b23f;
}

.bh-footer__copy {
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

/* PageTop */
#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  opacity: 0;
  transform: translateY(150px);
}

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

#page-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #2f6b45;
  color: #f4ecda;
  border-radius: 50%;
  font-size: 20px;
  font-family: 'Bodoni Moda', serif;
}

#page-top a:hover {
  background: #e6b23f;
  color: #26301f;
}

/* =========================================================
   下層ページ（固定ページ / 投稿詳細 / 一覧 / 404）
   ========================================================= */
.bh-page {
  padding: clamp(120px, 16vh, 200px) 4vw clamp(60px, 9vh, 120px);
  background: #f4ecda;
  min-height: 70vh;
}

.bh-page__inner {
  max-width: 900px;
  margin: 0 auto;
}

.bh-page__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #5a3f28;
}

.bh-page__en {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  color: #2f6b45;
  line-height: 1;
}

.bh-page__title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.4;
}

.bh-page__time {
  font-family: 'Bodoni Moda', serif;
  color: #5a3f28;
  margin-bottom: 8px;
}

/* 記事本文 */
.entry-content {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #2a2016;
}

.entry-content>*+* {
  margin-top: 1.2em;
}

.entry-content h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  color: #1e3d2f;
  border-left: 6px solid #e6b23f;
  padding-left: 16px;
  margin-top: 2em;
}

.entry-content h3 {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #2f6b45;
  margin-top: 1.6em;
}

.entry-content a {
  color: #2f6b45;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #5a3f28;
}

.entry-content img {
  height: auto;
  border-radius: 6px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content blockquote {
  border-left: 4px solid #e6b23f;
  padding-left: 18px;
  opacity: 0.9;
}

.entry-content table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

.entry-content th,
.entry-content td {
  border: 1px solid #cfc3a4;
  padding: 10px;
  text-align: center;
}

.entry-content th {
  background: #5a3f28;
  color: #f4ecda;
}

/* 前後記事ナビ */
.bh-postnav {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Shippori Mincho B1', serif;
}

.bh-postnav a {
  color: #2f6b45;
}

/* 一覧（archive / index） */
.bh-archive__list {
  display: flex;
  flex-direction: column;
}

.bh-archive__row {
  display: grid;
  grid-template-columns: 150px 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 8px;
  border-top: 1px solid #2a2016;
  color: #2a2016;
  transition: background .25s, color .25s;
}

.bh-archive__row:last-child {
  border-bottom: 1px solid #2a2016;
}

.bh-archive__row:hover {
  background: #2f6b45;
  color: #f4ecda;
}

.bh-archive__date {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 18px;
}

.bh-archive__cat {
  justify-self: start;
  border: 1px solid currentColor;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.bh-archive__title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(16px, 1.6vw, 22px);
}

.bh-archive__arrow {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
}

/* ページネーション */
.bh-pagination {
  margin: 50px 0 0;
}

.bh-pagination .page-numbers,
.bh-pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.bh-pagination a.page-numbers,
.bh-pagination span.page-numbers {
  border: 1px solid #5a3f28;
  color: #5a3f28;
  background: #fff;
  padding: 8px 14px;
}

.bh-pagination .current {
  background: #2f6b45;
  color: #f4ecda;
  border-color: #2f6b45;
}

.bh-pagination a.page-numbers:hover {
  background: #e6b23f;
  color: #26301f;
}

/* 404 */
.bh-404 {
  text-align: center;
}

.bh-404 h1 {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(64px, 14vw, 180px);
  color: #2f6b45;
  line-height: 1;
}

.bh-404 p {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 20px;
  margin-top: 20px;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .bh-nav__links {
    gap: 16px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .bh-about__grid,
  .bh-work__grid,
  .bh-footer__grid {
    grid-template-columns: 1fr;
  }

  .bh-about__text,
  .bh-work__lead,
  .bh-work__note {
    grid-column: auto;
  }

  .bh-about__card {
    grid-column: auto;
    transform: none;
  }

  .bh-footer__brand,
  .bh-footer__tel,
  .bh-footer__links {
    grid-column: auto;
  }

  .bh-work__gallery {
    grid-template-columns: 1fr;
  }

  .bh-work__gallery img {
    height: 240px;
  }

  .bh-day__row {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }

  .bh-news__row,
  .bh-archive__row {
    grid-template-columns: 90px 1fr;
    gap: 8px;
  }

  .bh-news__cat,
  .bh-archive__cat,
  .bh-news__arrow,
  .bh-archive__arrow {
    display: none;
  }

  .bh-news__date,
  .bh-archive__date {
    font-size: 15px;
  }
}