/*
Theme Name: おぶちこども園 カスタムテーマ
Theme URI: https://example.com/obuchi-kodomoen
Author: Antigravity
Author URI: https://example.com
Description: おぶちこども園のウェブサイト用カスタムテーマ。カスタマイザーからすべてのセクションが動的に編集可能です。
Version: 1.4.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obuchi-kodomoen
*/

/* ==========================================================================
   Design System & Root Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #e95413;       /* Main Orange */
  --color-secondary: #517c38;     /* Green accent */
  --color-accent: #f0932b;        /* Soft Amber Orange */
  --color-bg-base: #fcfbfa;       /* Warm Soft White */
  --color-text-main: #3a3330;     /* Cozy Dark Brown-Gray */
  --color-text-muted: #6b635f;    /* Muted Brown-Gray */
  --color-bg-gradient-start: #fff9f0;
  --color-bg-gradient-end: #f5ece1;

  /* Fonts */
  --font-main: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading: 'Quicksand', var(--font-main);

  /* Layout */
  --header-height: 105px; /* ロゴの1.5倍化に合わせてヘッダー高さを拡張 */
  --max-width: 1200px;
}

/* ==========================================================================
   Resets & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* フォーカス時のアウトライン（無骨な緑や青の枠）を非表示に調整 */
*:focus {
  outline: none !important;
}
/* キーボード操作時のみ優しくブランドカラーのシャドウでフォーカス表示（アクセシビリティ対応） */
*:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(81, 124, 56, 0.3) !important;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

main {
  overflow: hidden; /* ヒーロー全幅画像やカルーセルなどの負マージンはみ出し要素による右側の余白（横スクロールバグ）を完全に防止 */
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Background Decorations
   ========================================================================== */
.bg-decor-top-left {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-bg-gradient-start) 0%, rgba(252,251,250,0) 70%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

.bg-decor-top-right {
  position: absolute;
  top: 0;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #f4faee 0%, rgba(252,251,250,0) 80%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

.quick-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.site-header {
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* WordPress Admin Bar adjustment for fixed header */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Header floating state on scroll */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.7); /* 追従時は白背景を70%透過して美しく透かす */
  box-shadow: 0 4px 30px rgba(81, 124, 56, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.header-logo {
  height: 84px; /* ロゴサイズを1.5倍に拡大 (56px * 1.5 = 84px) */
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.header-logo:hover {
  transform: scale(1.02);
}
.header-logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
.header-nav {
  display: block;
}
.header-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
.header-nav a.nav-item,
.header-nav ul li a {
  font-size: 15px;
  font-weight: 700;
  color: #e27b58; /* 園名ロゴと調和する温かいオレンジ */
  padding: 8px 4px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}
.header-nav a.nav-item::after,
.header-nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #e27b58;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.header-nav a.nav-item:hover,
.header-nav a.nav-item.active,
.header-nav li.current-menu-item a,
.header-nav li.current-menu-item a:hover {
  color: #c95c39; /* ホバー・アクティブ時はやや濃いオレンジ */
}
.header-nav a.nav-item:hover::after,
.header-nav a.nav-item.active::after,
.header-nav li.current-menu-item a::after {
  width: 80%; /* ホバー時・アクティブ時は下線を表示 */
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 110;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 10px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }

/* Mobile Menu Opened state */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #fff;
  z-index: 105;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav-item,
.mobile-nav-menu ul li a {
  font-size: 16px;
  font-weight: 700;
  color: #e27b58;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f0ede9;
  transition: color 0.3s ease;
  text-decoration: none;
}
.mobile-nav-item.active,
.mobile-nav-menu li.current-menu-item a {
  color: #c95c39;
  border-bottom-color: #e27b58;
}

/* ==========================================================================
   Hero Section Component
   ========================================================================== */
.hero-section {
  width: 100%; /* ウィンドウ幅100%を保証 */
  padding-top: var(--header-height); /* ヘッダーのすぐ下から開始し、隙間を排除 */
  padding-bottom: 40px;
  position: relative;
  /* min-height:100vh を廃止：縦長ウィンドウでセクションがメイン画像より高く伸び、
     下端基準のそら豆画像・円形ボタンが画像の下に落ちるため、高さはメイン画像に追従させる */
  display: flex;
  align-items: stretch; /* 子コンテナを縦いっぱいに広げる */
}


.hero-container {
  width: 100%;
  max-width: 100%;
  margin: 0; /* 中央寄せマージンを解除し、左端から開始させて右側を確実にウィンドウ右端へ吸着 */
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 2.5fr; /* グリッド比率を調整して右側の割合いを拡大 */
  gap: 0;
  align-items: stretch; /* 縦いっぱいに広げて上端吸着を可能にする */
}

/* Hero Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 520px;
  /* 左側の余白を最大幅1200pxの中央寄せロゴ位置に合わせる */
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  padding-right: 24px;
  padding-top: 105px; /* さらに20px文字全体を下にずらす調整 */
  position: relative;
  z-index: 5; /* 画像の上に文字が重なるよう前面に配置 */
}

.hero-text-area {
  margin-bottom: 30px;
}

.hero-title {
  font-size: 46px; /* 文字サイズを1.1倍に拡大 (42px * 1.1 = 46.2px) */
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-main);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  white-space: nowrap; /* 明示的な<br>以外の箇所で勝手に自動改行されるのを防止 */
}

.dots-decor {
  width: 100px;
  margin-bottom: 25px;
}

.hero-lead {
  font-size: 18px; /* 文字サイズを1.2倍に拡大 (15px * 1.2 = 18px) */
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap; /* リード文も勝手に改行されてレイアウトが崩れるのを防止 */
}

/* Small Classroom Image (Organic Pot/Bean Shape) */
.hero-sub-image {
  width: 627px; /* 0.95倍に縮小してテキストとのかぶりを緩和 (660px * 0.95 = 627px) */
  height: 328px; /* 0.95倍に縮小 (345px * 0.95 = 327.75px -> 328px) */
  position: absolute;
  left: max(-60px, calc((100vw - var(--max-width)) / 2 - 60px));
  bottom: 95px; /* 5px下へずらす (100px - 5px = 95px) */
  max-width: none;
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.85)); /* シャドウを白色（ホワイトグロウ）に変更 */
  z-index: 6;
}
.sub-image-mask {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* 添付デザイン案の有機的な二重うねりのあるそら豆型マスクを適用 */
  clip-path: url(#sub-organic-mask);
}
.sub-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-sub-image:hover img {
  transform: scale(1.05);
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; /* 画像を上揃えにしてヘッダー直下にピッタリ接させる */
  width: calc(100% + 12vw + 40px); /* 左シフト70px分、幅を拡張して右端吸着を維持 */
  margin-left: calc(-12vw + 30px); /* 50px右に戻す調整 */
  transform: translateX(-70px); /* 70pxだけ左にずらす */
  /* clip-pathをかけると要素自体の影が消えるため、親要素にドロップシャドウをかける */
  filter: drop-shadow(0 15px 35px rgba(255, 255, 255, 0.85)); /* シャドウを白色に変更 */
  z-index: 1;
}

/* Big Image Mask (Organic leaf/wave shape using SVG mask) */
.main-image-mask {
  width: 100%; /* 画像エリアを100%まで拡大 */
  aspect-ratio: 1.45 / 1; /* アスペクト比をさらに横長にして、画像の縦幅（高さ）をさらに50px削減 */
  overflow: hidden;
  /* SVGで定義したより複雑な有機적S字波型クリップパスを適用 */
  clip-path: url(#hero-organic-mask); 
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.hero-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-main-img.active {
  opacity: 1;
  z-index: 2;
}
.main-image-mask:hover .hero-main-img {
  transform: scale(1.04);
}

/* Circular Floating Button */
.hero-circle-btn {
  position: absolute;
  bottom: 4%;
  right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px)); /* 画面端ではなく1200pxのサイト幅の右端に綺麗に整列させる */
  width: 160px; /* 少し大きめにして視認性を向上 */
  height: 160px;
  background-color: rgba(226, 123, 88, 0.8); /* カンプ通りオレンジを80%透過 (rgba(226, 123, 88, 0.8)) */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(226, 123, 88, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 10;
}
.circle-btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.btn-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}
.btn-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}
.btn-arrow {
  display: inline-block;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

/* Floating button hover animations */
.hero-circle-btn:hover {
  background-color: rgba(226, 123, 88, 0.95); /* ホバー時は透過をやや濃くして反応を示す */
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(226, 123, 88, 0.35);
}
.hero-circle-btn:hover .btn-icon {
  transform: rotate(-10deg) scale(1.1);
}
.hero-circle-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet Layout (1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 90px; /* タブレット版もヘッダー高さを拡張 */
  }
  .header-logo {
    height: 72px; /* タブレット版のロゴ高さも拡大 */
  }
  .hero-container {
    gap: 30px;
  }
  .hero-title {
    font-size: 34px;
    white-space: normal; /* タブレット以下では自動折り返しを許可して画面はみ出しを防止 */
  }
  .hero-lead {
    white-space: normal; /* リード文も自動折り返しを許可 */
  }
  .hero-sub-image {
    width: 266px;
    height: 152px;
  }
  .hero-circle-btn {
    width: 135px;
    height: 135px;
    right: 24px; /* タブレット版もはみ出さずに枠内右端に配置 */
  }
  .btn-text {
    font-size: 11px;
  }
}

/* Mobile & Small Tablet (768px) */
@media (max-width: 768px) {
  .site-header {
    height: 85px; /* モバイル版も1.5倍に合わせてヘッダー高さを拡張 */
  }
  .site-header.scrolled {
    height: 75px;
  }
  .header-logo {
    height: 60px; /* モバイル版ロゴも1.5倍に拡大 (40px * 1.5 = 60px) */
  }
  .header-nav, .header-contact {
    display: none; /* Hide desktop nav and contact */
  }
  .mobile-menu-toggle {
    display: block; /* Show hamburger toggle */
  }

  .hero-section {
    padding-top: 85px; /* モバイルヘッダー高さに合わせ、隙間をなくして上端に吸着 */
    padding-bottom: 0;
    min-height: auto;
    height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr; /* Single column */
    gap: 0;
    text-align: center;
    padding: 0; /* 左右の余白を完全になくし、画像を画面の端までぴったり広げる */
  }
  .hero-content {
    display: none; /* スマホ表示時はそら豆（テキスト領域全体）を非表示にする */
  }
  .dots-decor {
    margin: 0 auto 20px;
  }
  .hero-sub-image {
    position: relative; /* absolute配置をリセットし通常の縦並びに戻す */
    left: auto;
    bottom: auto;
    margin: 30px auto 0;
    width: 90%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1.9 / 1; /* 横長比率を維持 */
  }
  .hero-visual {
    order: 1; /* スマホ表示では画像を最上部に配置 */
    justify-content: flex-end; /* 右端に吸着させる */
    max-width: none; /* 最大幅の制限を解除して画面幅一杯にする */
    margin: 0;
    width: 100%;
    margin-left: 0; /* PC版のネガティブマージンをリセット */
    transform: none; /* PC版のスライド位置調整用移動をリセット */
  }
  .main-image-mask {
    width: 100%;
    aspect-ratio: 1.6 / 1; /* スマホで見栄えの良いアスペクト比を維持 */
  }
  .hero-circle-btn {
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    width: 140px;
    height: 140px;
  }
  .hero-circle-btn:hover {
    transform: translateX(50%) translateY(-5px) scale(1.02);
  }
  .leaf-top-left {
    width: 100px;
    top: 80px;
    left: 10px;
  }
  .leaf-mid-left {
    display: none;
  }
}

/* Extra Small Phones (480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* ==========================================================================
   What We Value Section (私たちが大切にすること - 2カラムレイアウト)
   ========================================================================== */
.value-section {
  background-color: var(--color-bg-base);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.value-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

/* Left Column: Title & Lead */
.value-left {
  width: 28%;
  position: relative;
}

.value-main-title {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.4;
  margin-bottom: 30px;
}
.value-title-leaf {
  height: 28px; /* 1行目の文字サイズ32pxとバランスが取れるように28pxに調整 */
  width: auto;
  vertical-align: -3px; /* テキストの1行目の高さにカチッと揃えるための微調整 */
  margin-right: 10px; /* 文字との間に適切な余白を確保 */
  display: inline-block;
}

.value-main-title span.title-decor {
  display: inline-flex;
  vertical-align: middle;
  transform: rotate(-15deg);
}

.value-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Right Column: 3 rounded items */
/* Right Column: 3 horizontal card boxes */
.value-right {
  width: 72%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.value-card-box {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px 20px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(81, 124, 56, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* Value Card Box hover effect is removed to prevent dead link confusion since they are static descriptions. */

.value-circle-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(58, 51, 48, 0.03);
  transition: transform 0.4s ease;
}

/* Watercolor gradients (pink, green, blue) */
.bg-soft-pink {
  background: radial-gradient(circle, rgba(232, 141, 162, 0.15) 0%, rgba(232, 141, 162, 0.8) 100%);
}
.bg-soft-green {
  background: radial-gradient(circle, rgba(155, 195, 160, 0.15) 0%, rgba(155, 195, 160, 0.8) 100%);
}
.bg-soft-blue {
  background: radial-gradient(circle, rgba(123, 174, 200, 0.15) 0%, rgba(123, 174, 200, 0.8) 100%);
}

.value-card-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.value-card-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Category Cards Section (3枚の大きな横長カード)
   ========================================================================== */
.category-cards-section {
  background-color: var(--color-bg-base);
  padding: 0 0 100px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  display: flex;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(58, 51, 48, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(81, 124, 56, 0.08);
}

.category-card.cat-green {
  background-color: #9cb583;
}
.category-card.cat-orange {
  background-color: #df9b5a;
}
.category-card.cat-darkgreen {
  background-color: #76966f;
}

.category-content {
  padding: 30px 24px;
  flex: 1; /* 左右半分半分の50%:50%に分割 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff; /* 文字色を白に統一 */
}

.category-content p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9); /* 説明文も白抜きテキストに */
}

.category-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cat-green .category-btn {
  background-color: #fff;
  color: #9cb583; /* 矢印を背景色と同じ色に */
}
.cat-orange .category-btn {
  background-color: #fff;
  color: #df9b5a;
}
.cat-darkgreen .category-btn {
  background-color: #fff;
  color: #76966f;
}

.category-card:hover .category-btn {
  transform: scale(1.1);
}

.category-img {
  flex: 1; /* 左右半分半分の50%:50%に分割 */
  height: 100%;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: none; /* 斜めクリップを解除してカスタマイザーによる通常画像差し替えに対応 */
  transition: transform 0.6s ease;
}

.category-card:hover .category-img img {
  transform: scale(1.05);
}

/* ==========================================================================
   Gallery Section (施設紹介ギャラリー)
   ========================================================================== */
.gallery-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg-base);
  position: relative;
  /* 左右のはみ出しカットをセクション全体の枠外マージンで十分に吸収（傾斜による白抜け防止） */
  margin-left: -150px;
  width: calc(100% + 300px);
}

.gallery-inner {
  display: flex;
  width: calc(14 * 26vw); /* 幅を明確な計算値にして画像読込前の幅0によるフリーズバグを完全防止 */
  animation: loop-slide-right-to-left 28s linear infinite; /* 右から左へ流れるループ */
}


.gallery-item {
  position: relative;
  height: 420px;
  width: 26vw; /* PC時：画面幅の約1/4サイズ */
  flex-shrink: 0; /* カルーセル内で縮まないように固定 */
  overflow: hidden;
  transform: skewX(-12deg); /* 右上がりの斜めスリット */
  margin: 0 -2px; /* 重なり境界を埋める */
  z-index: 1;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: -30%; /* 傾斜によるはみ出しのために大きく余裕を持たせる */
  width: 160%; /* 幅を160%に拡大 */
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: skewX(12deg) scale(1.45); /* 傾斜の相殺と、四隅を完全に埋める大きめのスケールアップ */
}

/* Infinite loop scrolling from right to left */
@keyframes loop-slide-right-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Info & Admission Section (お知らせ＆入園案内)
   ========================================================================== */
.info-section {
  background-color: #fff;
  padding: 100px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 24px;
}

/* News Card */
.news-card {
  background-color: var(--color-bg-base);
  border-radius: 28px;
  padding: 45px 35px;
  box-shadow: 0 10px 30px rgba(58, 51, 48, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0ede9;
  padding-bottom: 15px;
}

.news-title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-title-pencils {
  height: 28px; /* 文字サイズに合わせて28pxに調整 */
  width: auto;
  object-fit: contain;
}

.news-title .icon svg {
  color: var(--color-secondary);
  vertical-align: middle;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.news-list li {
  font-size: 14.5px;
  border-bottom: 1px dashed #f0ede9;
  padding-bottom: 12px;
}

.news-item-link {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.news-item-link:hover {
  opacity: 0.8;
}

.news-item-link:hover .news-text {
  color: var(--color-primary); /* ホバー時にタイトル色を変更 */
}

.news-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #e27b58;
  margin-right: 18px;
  white-space: nowrap;
}

.news-text {
  color: var(--color-text-main);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.badge {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

.badge-green {
  background-color: var(--color-secondary);
  color: #fff;
}

.news-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.more-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.more-link:hover {
  color: var(--color-secondary);
}

.more-link .arrow {
  transition: transform 0.3s ease;
}

.more-link:hover .arrow {
  transform: translateX(4px);
}

/* Admission Card */
.admission-card {
  background-color: #f7f1e6; /* Soft Beige */
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(240, 147, 43, 0.05);
}

.admission-content {
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admission-title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.admission-title-book {
  height: 28px; /* 文字サイズに合わせて28pxに調整 */
  width: auto;
  object-fit: contain;
}

.admission-lead {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.admission-lead-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.admission-lead {
  margin-bottom: 0;
  line-height: 1.8;
}

.admission-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  opacity: 0.9;
}

.admission-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.admission-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

/* Updated green theme button to match design mockup */
.btn-green {
  background-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 15px rgba(81, 124, 56, 0.2);
  border: none;
}

.btn-green:hover {
  background-color: #3b5c28;
  transform: translateY(-2px);
}

.btn-border-green {
  background-color: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-border-green:hover {
  background-color: #f4f7f2;
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.admission-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.admission-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Sub-Navigation Cards (下部リンクカード)
   ========================================================================== */
.quick-nav-section {
  background-color: var(--color-bg-base);
  padding: 100px 0 100px; /* イラスト表示のために以前広げていた余白を調整 */
  position: relative;
  overflow: hidden; /* イラストの左右はみ出しをカット */
}

/* Hills Background Illustration Container */
.hills-decor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 69px; /* イラスト画像の高さの3倍（69px）に固定 */
  background-image: url('assets/hills-decor.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 3072px 69px; /* 画像のサイズを3倍（幅3072px、高さ69px）に拡大してリピート */
  z-index: 1;
  pointer-events: none; /* クリック干渉防止 */
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2; /* イラストの手前にカードを表示 */
}

.quick-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(58, 51, 48, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  text-decoration: none;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(81, 124, 56, 0.08);
}

.quick-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.quick-card:hover .quick-icon {
  transform: scale(1.08) translateY(-4px); /* 丸が無いのでホバー時は少し大きくなって上に浮くアニメーションに変更 */
}

/* Watercolor gradients for icons - まるいらないため背景・影を完全透過 */
.bg-water-peach,
.bg-water-olive,
.bg-water-green,
.bg-water-orange {
  background: transparent;
  box-shadow: none;
}

/* Make all SVGs inside watercolor circles white per mockup */
.quick-icon svg {
  stroke: #fff !important;
}
.quick-icon svg circle,
.quick-icon svg path,
.quick-icon svg rect,
.quick-icon svg polyline,
.quick-icon svg line {
  stroke: #fff !important;
}

.quick-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.quick-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.quick-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f7f5f2;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.quick-card:hover .quick-arrow {
  background-color: var(--color-secondary);
  color: #fff;
}

/* ==========================================================================
   Site Footer (フッター)
   ========================================================================== */
.site-footer {
  background-color: #809665; /* Olive Green (#809665) */
  color: #fff;
  padding: 80px 0 0;
  font-size: 14.5px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1.1fr; /* 中央のアクセス情報を横並びにするため広げる */
  gap: 0;
  padding-bottom: 60px;
}

/* Brand Area */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.25); /* カラム間縦線 */
}

.footer-logo {
  display: inline-block;
  height: 60px;
}

.footer-logo-img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1); /* 白抜き版として描画 */
}

.footer-desc {
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 500;
}

/* Heading */
.footer-heading {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

/* Access Area (Horizontal Layout) */
.footer-access {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 0 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.25); /* カラム間縦線 */
}

.footer-access-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-address {
  line-height: 1.6;
  opacity: 0.95;
}

.footer-tel {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-size: 13.5px;
}

.btn-map {
  background-color: #fff;
  color: #809665; /* フッター色と合わせる */
  align-self: flex-start;
}

.btn-map:hover {
  background-color: #fff9f5;
  transform: translateY(-2px);
}

.footer-img {
  width: 200px;
  height: 200px; /* アクセス写真を正方形に変更 */
  border-radius: 20px; /* カンプの大きめの角丸 */
  overflow: hidden;
  flex-shrink: 0;
}

.footer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Area */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 50px;
}

.footer-contact-tel {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
}

.footer-contact-tel .label {
  font-size: 14px;
  font-weight: 700;
}

.footer-contact-tel .number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-time {
  line-height: 1.6;
  opacity: 0.95;
}

.btn-mail {
  background-color: #fff;
  color: #809665; /* フッター色と合わせる */
  align-self: flex-start;
}

.btn-mail:hover {
  background-color: #fff9f5;
  transform: translateY(-2px);
}

/* Bottom Area */
.footer-bottom {
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* フッター底面との境界線 */
}

/* ==========================================================================
   Responsive overrides for new sections
   ========================================================================== */
@media (max-width: 1024px) {
  .value-container {
    flex-direction: column;
    gap: 40px;
  }
  .value-left, .value-right {
    width: 100%;
  }
  .value-right {
    flex-direction: column;
    gap: 20px;
  }
  
  .gallery-inner {
    display: flex;
    width: calc(14 * 48vw); /* 幅を計算値に固定してアニメーション停止バグを防止 */
    margin-left: 0;
    animation: loop-slide-right-to-left 22s linear infinite;
  }
  .gallery-item {
    transform: skewX(-8deg);
    margin: 0 -2px;
    width: 48vw; /* タブレット：画面に約2枚強見える */
    height: 300px;
  }
  .gallery-image {
    width: 150%;
    left: -25%;
    transform: skewX(8deg) scale(1.35);
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-card {
    height: 150px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr; /* タブレットから縦並びにして余裕を持たせる */
    gap: 40px;
    padding-bottom: 40px;
  }
  
  .footer-brand, .footer-access, .footer-contact {
    border-right: none;
    padding: 0;
  }
  
  .footer-access {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .value-section {
    padding: 60px 0;
  }
  
  .value-container {
    flex-direction: column;
    gap: 30px;
  }
  .value-left, .value-right {
    width: 100%;
  }
  .value-right {
    flex-direction: column;
    gap: 16px;
  }
  .value-main-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .value-circle-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
  }
  .value-card-box {
    padding: 30px 16px;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }
  
  .gallery-inner {
    display: flex;
    width: calc(14 * 72vw); /* 幅を計算値に固定してアニメーション停止バグを防止 */
    margin-left: 0;
    animation: loop-slide-right-to-left 16s linear infinite;
  }
  .gallery-item {
    transform: skewX(-6deg);
    margin: 0 -2px;
    width: 72vw; /* スマホ：画面に1枚強見える */
    height: 240px;
  }
  .gallery-image {
    width: 140%;
    left: -20%;
    transform: skewX(6deg) scale(1.3);
  }
  
  .info-section {
    padding: 60px 0;
  }
  
  .admission-lead-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .admission-decor {
    display: none;
  }
  
  .admission-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .news-card {
    padding: 30px 20px;
  }
  
  .admission-card {
    grid-template-columns: 1fr;
  }
  
  .admission-img-wrapper {
    height: 220px;
  }
  
  .admission-img-wrapper img {
    clip-path: none;
  }
  .category-card {
    height: auto;
    flex-direction: column;
  }
  .category-content {
    padding: 24px;
    order: 1;
  }
  .category-img {
    height: 140px;
    order: 0;
  }
  .category-img img {
    clip-path: none;
  }
  
  .quick-nav-section {
    padding: 60px 0;
  }
  
  .quick-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  
  .footer-brand, .footer-access, .footer-contact {
    border-right: none;
    padding: 0;
  }
  
  .footer-access {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logo {
    height: 52px;
  }
  
  .btn-map, .btn-mail {
    align-self: stretch;
  }
}

/* ==========================================================================
   Page Top Button (ページトップに戻るボタン)
   ========================================================================== */
.page-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--color-brand-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(81, 124, 56, 0.25);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  text-decoration: none;
}

.page-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top:hover {
  background-color: #3b5f27;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(81, 124, 56, 0.35);
}

/* Responsive adjustments for mobile menu overlap prevention */
@media (max-width: 768px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   Scroll Fade In Animations (スクロール連動フェードイン)
   ========================================================================== */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers for cascade animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Sub-Pages Styles (下層ページ共通スタイル & 各ページ個別定義)
   ========================================================================== */

/* 1. Page Header (下層共通ヘッダー) */
.page-header {
  width: 100%;
  padding-top: var(--header-height);
  position: relative;
  background-color: #fff;
  overflow: hidden;
  height: 380px; /* 元の高さ (380px) に統一 */
  display: flex;
  align-items: stretch;
}

.page-header-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 45% 55%; /* コンテンツ量に左右されないようパーセンテージで比率を完全固定 */
  align-items: stretch;
}

.page-header-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 縦中央寄せではなく、上部から固定位置で配置 */
  padding-top: 55px; /* ヘッダー下からパンくずリストまでの余白を55pxで完全に統一 */
  padding-left: max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
  padding-right: 40px; /* 元のパディングに戻す */
  position: relative;
  z-index: 5;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}

/* Title */
.page-header-title {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Title Underline (復活：見本画像にあるオレンジ色のアンダーライン) */
.page-header-title-line {
  width: 45px;
  height: 4px;
  background-color: var(--color-primary); /* オレンジ色のアクセントカラー */
  border-radius: 2px;
  margin-bottom: 20px;
}

.page-header-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: normal;
  max-width: 420px; /* 元の最大幅に戻す */
}

/* Right side organic photo shape */
.page-header-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  width: calc(100% + 15vw); /* 元の食い込み幅に戻す */
  margin-left: calc(-15vw);  /* 元のネガティブマージンに戻す */
  z-index: 1;
}

.page-header-image-mask {
  width: 100%;
  height: 100%; /* アスペクト比を固定せず、親グリッドに追従させる */
  overflow: hidden;
  clip-path: url(#hero-organic-mask);
  position: relative;
}
.page-header-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. Sub-page Content Base (下層ページコンテンツ領域) */
.sub-content-section {
  padding: 80px 0;
  background-color: #fcfbfa; /* 心地よいアース調の背景色 */
  min-height: 400px;
}

.sub-content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* Editor default elements style (the_content() 用の装飾定義) */
.entry-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-primary);
  padding-left: 15px;
}
.entry-content p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

/* responsive media queries for page header */
@media (max-width: 1024px) {
  .page-header {
    height: auto;
    padding-bottom: 50px;
  }

  .page-header-container {
    grid-template-columns: 1fr;
  }
  .page-header-content {
    padding-top: 40px;
    padding-right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
    align-items: center;
    text-align: center;
  }
  .page-header-title {
    justify-content: center;
  }
  .page-header-title-line {
    margin-left: auto;
    margin-right: auto; /* モバイル表示時はアンダーラインを中央寄せ */
  }
  .page-header-visual {
    display: none; /* タブレット以下では画像をスッキリ非表示に */
  }

}

/* お知らせ詳細（single）: 記事タイトルが長くなりがちなため、
   PC表示ではテキスト列を広げ画像の食い込みを減らして文字被りを防ぐ */
@media (min-width: 1025px) {
  .single .page-header-container {
    grid-template-columns: 58% 42%;
  }
  .single .page-header-visual {
    width: calc(100% + 6vw);
    margin-left: calc(-6vw);
  }
}

/* --------------------------------------------------------------------------
   3. About Page Styles (園について)
   -------------------------------------------------------------------------- */
.about-section {
  margin-bottom: 80px;
}
.about-section:last-child {
  margin-bottom: 0;
}
.about-sub-title {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 30px;
  position: relative;
}
.about-sub-title.centered {
  text-align: center;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}
.about-text-area {
  display: flex;
  flex-direction: column;
}
.about-desc {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}
.about-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: right;
  margin-top: 10px;
}
.about-author span {
  font-size: 20px;
}

.about-image-area {
  width: 100%;
}
.about-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(58, 51, 48, 0.05);
  object-fit: cover;
  aspect-ratio: 1.3 / 1;
}

/* 理念・方針カード */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.philosophy-card {
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(58, 51, 48, 0.02);
}
.philosophy-card.bg-soft-pink {
  background-color: rgba(246, 215, 209, 0.4);
}
.philosophy-card.bg-soft-green {
  background-color: rgba(185, 213, 176, 0.3);
}
.philosophy-icon {
  font-size: 32px;
  margin-bottom: 15px;
}
.philosophy-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 15px;
}
.philosophy-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
}
.philosophy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.philosophy-card ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.philosophy-card ul li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* 園の概要テーブル */
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(58, 51, 48, 0.02);
}
.about-table th,
.about-table td {
  padding: 20px 30px;
  border-bottom: 1px solid #f2eee9;
  font-size: 15px;
}
.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}
.about-table th {
  width: 25%;
  background-color: #f7f4ef;
  color: var(--color-text-main);
  font-weight: 700;
  text-align: left;
}
.about-table td {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 施設紹介ギャラリー */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.facility-card {
  background-color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(58, 51, 48, 0.02);
  display: flex;
  flex-direction: column;
}
.facility-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}
.facility-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  padding: 20px 24px 10px;
}
.facility-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  padding: 0 24px 24px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Life Page Styles (園での生活)
   -------------------------------------------------------------------------- */
.life-section {
  margin-bottom: 85px;
}
.life-section:last-child {
  margin-bottom: 0;
}

.timeline-area-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}

/* Timeline Left Decor */
.timeline-header-decor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.decor-dots {
  display: flex;
  gap: 6px;
}
.decor-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.decor-dots span:nth-child(1) { background-color: #e27b58; }
.decor-dots span:nth-child(2) { background-color: #84a98c; }
.decor-dots span:nth-child(3) { background-color: #ebd68c; }

.decor-sub-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e27b58;
}

.timeline-section-caption {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}
.timeline-section-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.timeline-main-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 15px;
}
.timeline-lead-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* Timeline Vertical Line */
.timeline-steps {
  position: relative;
  padding-left: 20px;
}
.timeline-steps::before {
  content: "";
  position: absolute;
  left: 55px;
  top: 30px;
  bottom: 30px;
  width: 3px;
  background: repeating-linear-gradient(to bottom, #dcd7cf 0, #dcd7cf 6px, transparent 6px, transparent 12px);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  width: 75px;
  height: 36px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  flex-shrink: 0;
}
.bg-badge-blue { background-color: #8da9c4; }
.bg-badge-green { background-color: #84a98c; }
.bg-badge-orange { background-color: #e27b58; }
.bg-badge-pink { background-color: #e88da2; }
.bg-badge-yellow { background-color: #e3b04b; }
.bg-badge-olive { background-color: #7f9c96; }

.timeline-content-box h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 5px;
}
.timeline-content-box p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* Timeline Right Photos */
.timeline-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.timeline-photo-card {
  background-color: #fff;
  padding: 16px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(58, 51, 48, 0.03);
}
.timeline-photo {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-radius: 16px;
}
.photo-caption {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 15px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-caption::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Section Title With Icon (下層共通装飾見出し) */
.section-title-with-icon {
  margin-bottom: 45px;
  text-align: center;
}
.title-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.section-title-with-icon h2 {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.title-sub {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* 年間行事四季カード */
.events-seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.season-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 30px 24px;
  box-shadow: 0 8px 25px rgba(58, 51, 48, 0.02);
  display: flex;
  flex-direction: column;
}
.season-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 12px;
}
.season-icon {
  font-size: 24px;
}
.season-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-main);
}
.season-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.season-events-list li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}
.season-events-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
/* 四季の色合い */
.season-spring { background-color: rgba(246, 215, 209, 0.35); }
.season-spring .season-events-list li::before { color: #e88da2; }
.season-summer { background-color: rgba(189, 224, 254, 0.25); }
.season-summer .season-events-list li::before { color: #8da9c4; }
.season-autumn { background-color: rgba(254, 228, 203, 0.35); }
.season-autumn .season-events-list li::before { color: #e27b58; }
.season-winter { background-color: rgba(216, 226, 220, 0.4); }
.season-winter .season-events-list li::before { color: #7f9c96; }

/* 沿革年表 */
.history-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(58, 51, 48, 0.02);
}
.history-table th,
.history-table td {
  padding: 24px 30px;
  border-bottom: 1px solid #f2eee9;
  font-size: 15px;
}
.history-table tr:last-child th,
.history-table tr:last-child td {
  border-bottom: none;
}
.history-table th {
  width: 20%;
  background-color: #f7f4ef;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
}
.history-table td {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.admission-title-chick {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  display: inline-block;
}

.life-title-sandbox {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   5. Admission Page Styles (入園案内)
   -------------------------------------------------------------------------- */
.admission-page-section {
  margin-bottom: 90px;
}
.admission-page-section:last-child {
  margin-bottom: 0;
}

/* 入園ステップ */
.admission-steps-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.admission-step-item {
  display: flex;
  align-items: stretch;
  gap: 30px;
}
.step-badge {
  width: 100px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.step-body-card {
  background-color: #fff;
  padding: 24px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(58, 51, 48, 0.02);
  width: 100%;
}
.step-body-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.step-body-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* 見学案内ボックス */
.admission-visit-box {
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(58, 51, 48, 0.02);
}
.admission-visit-box.bg-soft-green {
  background-color: rgba(185, 213, 176, 0.25);
}
.admission-visit-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 15px;
}
.admission-visit-box p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}
.visit-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.visit-details-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}
.visit-details-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

/* FAQアコーディオン (details / summary) */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(58, 51, 48, 0.02);
  transition: all 0.3s ease;
}
.faq-item[open] {
  box-shadow: 0 10px 25px rgba(58, 51, 48, 0.04);
}
.faq-question {
  padding: 24px 30px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none; /* デフォルトの三角形を隠す */
}
.faq-question::-webkit-details-marker {
  display: none; /* Safari 用デフォルト三角の非表示 */
}
.faq-question::before {
  content: "Q";
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  margin-right: 15px;
}
.faq-arrow-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-arrow-icon::before,
.faq-arrow-icon::after {
  content: "";
  position: absolute;
  background-color: #c9c5be;
  border-radius: 1px;
}
.faq-arrow-icon::before {
  width: 14px;
  height: 2.5px;
  left: 5px;
  top: 11px;
}
.faq-arrow-icon::after {
  width: 2.5px;
  height: 14px;
  left: 11px;
  top: 5px;
  transition: opacity 0.3s ease;
}
.faq-item[open] .faq-arrow-icon {
  transform: rotate(180deg);
}
.faq-item[open] .faq-arrow-icon::after {
  opacity: 0; /* 開いた時は横棒（マイナス）に見せるため縦棒を非表示に */
}

.faq-answer {
  padding: 0 30px 24px 65px;
  border-top: 1px solid #fcfbfa;
}
.faq-answer p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
  position: relative;
}
.faq-answer p::before {
  content: "A";
  color: var(--color-secondary);
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  left: -35px;
  top: 0;
}

/* --------------------------------------------------------------------------
   6. Contact Page Styles (お問い合わせ)
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
  background-color: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(58, 51, 48, 0.03);
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  border-bottom: 2px dashed #f2eee9;
  padding-bottom: 25px;
}

.custom-contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.required-badge {
  background-color: #e27b58;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #f2eee9;
  border-radius: 12px;
  font-size: 15px;
  color: var(--color-text-main);
  background-color: #faf9f6;
  outline: none;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(81, 124, 56, 0.05);
}

.form-group-checkbox {
  margin-top: 10px;
  text-align: center;
}
.form-group-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
}
.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-submit-btn-area {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  position: relative; /* 矢印を絶対配置するための基準 */
}
/* Contact Form 7 の [submit] でも白い矢印アイコンを再現する設定 */
.form-submit-btn-area::after {
  content: "";
  position: absolute;
  left: calc(50% + 42px); /* 送信ボタンの中央から右寄りの位置 */
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  z-index: 10;
  pointer-events: none; /* クリック動作を阻害しない */
}

.submit-btn {
  border: none;
  font-size: 16px;
  padding: 16px 55px 16px 45px; /* 矢印とのバランスを取るために右パディングを少し広げる */
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. News Archive & Single Styles (お知らせ一覧・詳細)
   -------------------------------------------------------------------------- */
.archive-news-wrapper {
  background-color: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(58, 51, 48, 0.03);
}

.archive-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.archive-news-item {
  border-bottom: 1px solid #f2eee9;
}
.archive-news-item:last-child {
  border-bottom: none;
}
.archive-news-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.archive-news-item a:hover {
  background-color: #fdfcfb;
  transform: translateX(5px);
}

.archive-news-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  width: 250px;
}
.archive-news-meta .date {
  font-size: 14px;
  font-weight: 700;
  color: #c9c5be;
}
.archive-news-meta .category {
  background-color: rgba(132, 169, 140, 0.15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.archive-news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  width: 100%;
  margin: 0;
  text-align: left;
}

.archive-news-item .arrow-btn {
  color: #c9c5be;
  margin-left: 20px;
  transition: color 0.3s ease;
}
.archive-news-item a:hover .arrow-btn {
  color: var(--color-primary);
}

/* Pagination */
.archive-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.archive-pagination .pagination {
  display: flex;
  gap: 8px;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f7f4ef;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.3s ease;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Single News Meta & Details */
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px; /* タイトルラインの下に適度な隙間を配置 */
  margin-bottom: 0;
}
.single-post-meta .date {
  font-size: 14px;
  font-weight: 700;
  color: #c9c5be;
}
.single-post-meta .category {
  background-color: rgba(132, 169, 140, 0.15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.single-post-article {
  background-color: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(58, 51, 48, 0.03);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  border-top: 2px dashed #f2eee9;
  padding-top: 30px;
}
.post-navigation a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.post-navigation a:hover {
  color: var(--color-text-main);
}
.nav-back-list {
  text-align: center;
}
/* 「一覧へ戻る」: 基本のピル型ボタン装飾が .admission-buttons 限定だったため、
   記事詳細では余白なしの四角い枠になっていた。角丸ピル型として表示する */
.post-navigation .btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.post-navigation .btn.btn-border-green {
  color: var(--color-secondary);
}
.post-navigation .btn.btn-border-green:hover {
  color: var(--color-secondary);
  background-color: #f4f7f2;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. Responsive Layouts for Subpages (スマホ対応レスポンシブ)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* About */
  .about-grid,
  .about-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-image-area {
    order: -1; /* スマホでは画像が上に来るように */
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .facility-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-table th,
  .about-table td {
    padding: 15px 20px;
  }
  
  /* Life (Timeline) */
  .timeline-area-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  /* 年間行事 */
  .events-seasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Admission */
  .admission-step-item {
    flex-direction: column;
    gap: 10px;
  }
  .step-badge {
    width: 100%;
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  .sub-content-section {
    padding: 40px 0;
  }
  .contact-form-wrapper,
  .single-post-article,
  .archive-news-wrapper {
    padding: 30px 20px;
  }
  
  .about-table th {
    width: 30%;
  }
  
  /* Timeline photo cards */
  .timeline-right {
    grid-template-columns: 1fr;
  }
  
  /* Seasons events list */
  .events-seasons-grid {
    grid-template-columns: 1fr;
  }
  
  /* History Table mobile layout */
  .history-table th {
    width: 30%;
    padding: 15px;
  }
  .history-table td {
    padding: 15px;
  }
  
  /* Archive List mobile style */
  .archive-news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .archive-news-meta {
    width: auto;
  }
  .archive-news-item .arrow-btn {
    display: none; /* スマホでは矢印を非表示に */
  }
  
  /* Post navigation */
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
}
}

