:root {
  --color_base: #333333;
  --color_main: #FAFAFA;
  --color_accent: #f0cfa0;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text_dark);
  color: var(--base_light);
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

.home-main {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.home-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg) scale(1.1);
  z-index: 1;
  opacity: 0.6;
}

.home-gallery_lists {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
  /* スライドを横一列に強制 */
  will-change: transform;
}

.home-gallery_list {
  flex-shrink: 0;
  width: 320px;
  height: 480px;
}

@media screen and (min-width: 768px) {
  .home-gallery_list {
    width: 400px;
    height: 640px;
  }
}

.home-gallery_list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(80%);
}

.home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 5;
}

.home-statement {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  pointer-events: none;
}

/* .home-statement_title {} */

.home-statement_text {
  white-space: nowrap;
  font-size: 8vw;
  letter-spacing: 0.25em;
  text-align: center;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .home-statement_text {
    font-size: 48px;
  }
}

.home-statement_scroll {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
}

.home-statement_scroll-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.home-statement_scroll-bar {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #fff, transparent);
}


/* メニューセクション自体は表示に影響させない */
.menu {
  position: static;
}

/* ハンバーガーボタン */
.menu-trigger {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100;
  cursor: pointer;
  padding: 10px;
}

.menu-trigger_label {
  font-size: 16px;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 8px;
  text-align: right;
}

.menu-trigger_lines {
  width: 100%;
  height: 1px;
  background: var(--base_light);
  position: relative;
}

/* メニュー本体 (オーバーレイ) */
.menu-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  z-index: 150;
  /* display: grid;
  grid-template-columns: 1fr 1.5fr; */
  display: flex;
  flex-direction: column-reverse;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-trigger {
  cursor: pointer;
  border-radius: 3px;
  text-align: center;
  font-size: 16px;
  margin: auto;
  padding: 24px;
}

/* メインメニュー: カテゴリー */
.nav-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}

.nav-item {
  display: block;
  text-decoration: none;
  padding: 3vh 0;
  position: relative;
}

.nav-item_num {
  font-size: 14px;
  opacity: 0.3;
  margin-right: 20px;
}

.nav-item_title {
  font-size: 3.2rem;
  transition: transform 0.5s ease, color 0.3s;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .nav-item_title {
    font-size: 4rem;
  }
}

.nav-item:hover .nav-item_title {
  transform: translateX(20px);
  color: var(--base_light);
}


/* Layout Basis */
.card-section {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #18181b;
}

.card-image {
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-container:hover .card-image {
  transform: scale(1.08);
}

.card-container:hover .card-arrow {
  transform: translateX(5px);
}

.fishing-bg {
  background-image: url(https://files.f-kawano.com/files/2622a853.__.131206.jpg);
}

.craft-bg {
  background-image: url(https://files.f-kawano.com/files/dae8f427.__.132351.jpg);
}

.background-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: right;
  pointer-events: none;
}

.background-text h3 {
  font-size: 3.8rem;
  font-style: italic;
  color: var(--base_light);
  opacity: 0.6;
}

.overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: grid;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sub-text {
  font-size: 10px;
  color: var(--base_light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
  font-weight: 300;
}

.main-title {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
  color: var(--base_light);
}

.uppercase {
  text-transform: uppercase;
}

.card-arrow {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
  background-color: transparent;
  transition: transform 0.3s ease;
}

.card-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--base_light);
  transform: translateY(-50%);
}

.card-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--base_light);
  border-right: 2px solid var(--base_light);
  transform: translateY(-50%) rotate(45deg);
}


@media (min-width: 768px) {
  .card-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .background-text h3 {
    font-size: 4.2rem;
  }

  .overlay {
    padding: 2.5rem;
  }

  .sub-text {
    font-size: 12px;
  }

}

@media (min-width: 1024px) {
  .card-image {
    height: 480px;
  }

  .main-title {
    font-size: 3.2rem;
  }
}

.footer {
  background-color: #0f0f0f;
  color: var(--base_light);
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  font-family: "しっぽり明朝", serif;
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.copyright {
  margin-top: 3rem;
  font-size: 0.7rem;
  opacity: 0.4;
}


@media (min-width: 768px) {
  .footer {
    padding: 80px 20px;
  }
}

@media (min-width: 1024px) {}





:root {
  --bg: #050505;
  --fg: #ffffff;
  --accent: #c5a47e;
  --line: rgba(255, 255, 255, 0.1);
  --font-main: 'Montserrat', 'Noto Sans JP', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- 固定ヘッダー --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
  transition: transform 0.4s ease, background 0.4s ease;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.logo {
  font-size: 18px;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: #fff;
  font-weight: 300;
}

.menu-trigger {
  font-size: 10px;
  letter-spacing: 0.2em;
  cursor: pointer;
}

/* --- アーカイブ・ヒーロー --- */
.archive-hero {
  padding: 180px 40px 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.archive-hero_label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.archive-hero_title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- 投稿一覧グリッド --- */
.posts-container {
  padding: 60px 40px 120px;
  max-width: 1800px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 60px 40px;
}

.post-card {
  text-decoration: none;
  color: var(--fg);
  display: block;
  opacity: 0;
  /* JSでフェードインさせる用 */
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.post-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-card_image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 3;
  overflow: hidden;
  background-color: #111;
  margin-bottom: 20px;
}

.post-card_image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s;
  filter: grayscale(20%) brightness(0.9);
}

.post-card:hover .post-card_image-wrap img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

@media (min-width: 768px) {
  .post-card_image-wrap {
    aspect-ratio: 6 / 7;
  }
}

@media (min-width: 1024px) {}

/* 投稿情報 */
.post-card_meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
  font-weight: 300;
}

.post-card_title {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* --- ページネーション --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}

.page-num {
  text-decoration: none;
  color: var(--fg);
  font-size: 14px;
  opacity: 0.4;
  transition: 0.3s;
}

.page-num.is-current,
.page-num:hover {
  opacity: 1;
  color: var(--accent);
}

/* --- フッターナビ --- */
.next-category {
  padding: 120px 40px;
  text-align: center;
  background-color: #0a0a0a;
}

.next_label {
  font-size: 11px;
  letter-spacing: 0.5em;
  opacity: 0.5;
  display: block;
  margin-bottom: 20px;
}

.next_link {
  font-size: clamp(2rem, 5vw, 4rem);
  text-decoration: none;
  color: var(--fg);
  font-weight: 200;
  transition: color 0.4s, transform 0.4s;
  display: inline-block;
}

.next_link:hover {
  color: var(--accent);
  transform: translateY(-5px);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .archive-hero {
    padding: 60px 20px;
  }

  .post-container {
    padding: 40px 20px 80px;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-card_image-wrap {
    aspect-ratio: 3 / 4;
  }
}

/* WordPress特有の出力に対応するための追加CSS */
.pagination .page-num {
  text-decoration: none;
  color: var(--fg);
  font-size: 14px;
  opacity: 0.4;
  transition: 0.3s;
  display: inline-block;
  padding: 0 10px;
}

.pagination .page-num.is-current {
  opacity: 1 !important;
  color: var(--accent) !important;
  font-weight: 400;
}

.pagination .page-num:hover {
  opacity: 1;
  color: var(--accent);
}

/* 「Next」や「Prev」のテキスト用 */
.pagination .next,
.pagination .prev {
  letter-spacing: 0.1em;
}





/* メインコンテナ */
.post-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 15vh 20px;
  position: relative;
}

/* 記事ヘッダー */
.post-header {
  margin-bottom: 8vh;
}

.post-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.post-title {
  font-family: var(--font-mincho);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 400;
}

.post-meta {
  font-size: 0.8rem;
  color: var(--accent-color);
  border-left: 1px solid #333;
  padding-left: 1rem;
}

/* アイキャッチ画像 */
.post-eyecatch {
  width: 100%;
  height: 60vh;
  background: #1a1a1a;
  margin: 4vh 0 8vh 0;
  overflow: hidden;
  border-radius: 2px;
}

.post-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}