/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .haneji-nav          - ボタン区切り型ナビ（guppypreschool参考）
 * .haneji-nav__item    - ナビアイテム（区切り線・hover背景）
 * .haneji-cta          - フッター上CTA帯
 * .haneji-footer       - フッター本体（地図+情報の2カラム）
 * .haneji-mv           - メインビジュアル（Ken Burns + キャッチ）
 * .haneji-news         - お知らせセクション（2カラム：左=見出し、右=記事一覧）
 * .haneji-greeting     - ごあいさつセクション（55%/45%分割）
 * .haneji-menu         - コンテンツメニュー（4列バナーカード）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * - ボタン区切り型ナビ（haneji-nav）: 状態不足（PC区切りボタン型）
 * - フッター背景画像+白ボックス: 構造不足（参考サイト固有の重なり構造）
 * - MVキャッチコピーの位置（bottom:10%、center）: 指定方向不足
 *
 */

/* ==========================================================================
   CSS カスタムプロパティ（ヘッダー・共通用）
   ========================================================================== */
:root {
  --base: #FFFFFF;
  --sub: #C5E890;
  --sub-deep: #9BCE60;
  --accent: #86CEE9;
  --accent-deep: #4FB0D4;
  --ink: #2a3a24;
  --ink-soft: #4a5a46;
  --ink-mute: #7a8778;
  --line: #e6ede0;
  --bg-soft: #f6f8ef;
  --warm: #f2e7c9;
  --earth: #b88a5a;
  --shadow: 0 10px 30px rgba(30,60,30,.08);
  --radius: 14px;
  --maxw: 1200px;
  --font-jp: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   フォント変数
   ========================================================================== */
body {
  font-family: "Noto Sans JP", "YakuHanJP", Lato, sans-serif;
}
.font-en,
.heading__en,
.sp-nav__en,
.header__nav-en,
.footer-cta__label,
.heading-big .heading__en {
  font-family: "Montserrat", sans-serif;
}

/* ==========================================================================
   カラー上書き（共通CSSのデフォルト色をサイト固有色に変更）
   ========================================================================== */

/* ---- テキストカラー ---- */
.text-base  { color: #C5E890; }
.text-sub   { color: #86CEE9; }
.text-accent { color: #86CEE9; }

/* ---- 背景色 ---- */
.bg-base    { background-color: #C5E890; }
.bg-sub     { background-color: #86CEE9; }
.bg-soft    { background-color: #F6F8EF; }
.bg-section { background-color: #f5f9f0; }
.bg-section2 { background-color: #eef7fb; }
.bg-base-light { background-color: #e8f5d0; }
.bg-accent-light { background-color: #d4eef8; }

/* ---- ボタン ---- */
.btn--solid {
  background-color: #86CEE9;
  border-color: #86CEE9;
  color: #fff;
}
.btn--solid:hover {
  background-color: #6ab8d8;
  border-color: #6ab8d8;
  color: #fff;
  opacity: 1;
}
.btn--outline {
  color: #C5E890;
  border-color: #C5E890;
}
.btn--outline:hover {
  background-color: #C5E890;
  color: #333;
}
.btn--accent {
  background-color: #86CEE9;
  border-color: #86CEE9;
  color: #fff;
}

/* ---- 見出し系 ---- */
.heading__en   { color: #C5E890; }
.heading__sub  { color: #C5E890; }
.heading-bar   { border-left-color: #C5E890; }
.heading-accent::after { background-color: #C5E890; }
.heading-underline::after { background-color: #C5E890; }

/* ---- ページヒーロー ---- */
.page-hero--solid {
  background: #C5E890;
  color: #333;
}
.page-hero--solid .page-hero__content .heading__en,
.page-hero--solid .page-hero__content .heading__ja {
  color: #333;
}

/* ---- ヘッダー ---- */

/* ---- ヘッダー レイアウト（Clauddesign準拠） ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-info {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header .hours {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: right;
  color: var(--ink-soft, #4a5a46);
  padding-right: 10px;
  border-right: 1px solid var(--line, #e6ede0);
}
.site-header .hours strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink, #2a3a24);
  font-weight: 600;
}

/* 電話・お問い合わせ・PDFボタン */
.btn-tel,
.btn-contact,
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .04em;
  transition: transform .15s ease, box-shadow .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-tel {
  background: var(--sub, #C5E890);
  color: var(--ink, #2a3a24);
}
.btn-tel:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(155,206,96,.4);
  color: var(--ink, #2a3a24);
}
.btn-contact {
  background: var(--accent, #86CEE9);
  color: #fff;
}
.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(79,176,212,.4);
  color: #fff;
}
.btn-pdf {
  background: #86CEE9;
  color: #fff;
  border: 2px solid #86CEE9;
  font-weight: 900;
}
.btn-pdf:hover {
  background: #6ab8d8;
  border-color: #6ab8d8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(134,206,233,.4);
}

/* ヘッダー内 SVG アイコン：巨大化防止（必須） */
.site-header svg,
.btn-tel svg,
.btn-contact svg,
.btn-pdf svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  overflow: visible;
}

/* ナビゲーション */
.main-nav {
  border-top: 1px solid var(--line, #e6ede0);
  background: #fff;
}
.nav-inner {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  display: flex;
}
.nav-inner a {
  flex: 1;
  text-align: center;
  padding: 22px 10px;
  font-weight: 600;
  font-size: 1.4rem;
  position: relative;
  transition: background .2s ease, color .2s ease;
  border-right: 1px solid var(--line, #e6ede0);
  text-decoration: none;
  color: var(--ink, #2a3a24);
}
.nav-inner a:first-child { border-left: 1px solid var(--line, #e6ede0); }
.nav-inner a .en {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.0rem;
  color: var(--ink-mute, #7a8778);
  letter-spacing: .2em;
  margin-top: 2px;
  font-weight: 500;
}
.nav-inner a:hover {
  background: var(--bg-soft, #f6f8ef);
  color: var(--accent-deep, #4FB0D4);
}
.nav-inner a.current {
  background: var(--bg-soft, #f6f8ef);
  color: var(--accent-deep, #4FB0D4);
}
.nav-inner a.current::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  background: var(--accent, #86CEE9);
}

/* ハンバーガーボタン（モバイル用） */
.site-header .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-soft, #f6f8ef);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  font-family: inherit;
  color: inherit;
}
.site-header .nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ヘッダー レスポンシブ */
@media (max-width: 900px) {
  /* nav-toggle: PC では非表示 → 900px 以下で表示 */
  .site-header .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    border-top: 1px solid var(--line, #e6ede0);
  }
  .main-nav.open { display: block; }
  .nav-inner { flex-direction: column; }
  .nav-inner a {
    border-right: none;
    border-left: none !important;
    border-bottom: 1px solid var(--line, #e6ede0);
    padding: 16px;
  }
}

@media (max-width: 768px) {
  /* ヘッダー全体 */
  .header-top {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 12px 10px;
    gap: 0;
  }

  /* 上段：header-brand（ロゴのみ、かん水の効果は固定バーへ移動） */
  .header-brand {
    width: 100%;
    order: 1;
    justify-content: center;
    margin-bottom: 10px;
  }
  .header-brand .btn-pdf { display: none; }
  .site-header .header__logo {
    width: auto;
    flex: none;
    justify-content: center;
  }
  .header-logo {
    align-items: center;
    text-align: center;
  }
  .header-logo__sub {
    display: block;
  }

  /* 下段：header-info は固定バーに移動するため非表示 */
  .header-info { display: none; }

  /* ハンバーガー：ボタン行の右端 */
  .site-header .nav-toggle {
    order: 2;
    margin-left: 8px;
    flex-shrink: 0;
  }
}

.header__cta {
  background-color: #86CEE9;
  color: #fff;
}
.header__cta:hover {
  background-color: #6ab8d8;
}

/* site-header内でのlogo anchor */
.site-header .header__logo {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  flex-shrink: 0;
}

/* ---- SP固定ボタンバー ---- */
.sp-fixed-bar {
  display: none;
}

@media (max-width: 768px) {
  .sp-fixed-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    padding: 0;
    background: none;
    border-top: none;
    box-shadow: none;
  }
  .sp-fixed-bar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    transition: opacity .2s ease;
  }
  .sp-fixed-bar__item:hover { opacity: .85; }
  .sp-fixed-bar__item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .sp-fixed-bar__item--pdf {
    background: #86CEE9;
    color: #fff;
  }
  .sp-fixed-bar__item--tel {
    background: #C5E890;
    color: #2a3a24;
  }
  .sp-fixed-bar__item--contact {
    background: #86CEE9;
    color: #fff;
  }
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  .page-top {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* ---- フッター ---- */
.footer-bottom {
  background-color: #333;
}
.footer-bottom__copyright {
  color: #fff;
}

/* ==========================================================================
   ヘッダー（ロゴ / ボタン区切りナビ）
   ========================================================================== */
.header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-logo__name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}
.header-logo__sub {
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  color: #86CEE9;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ボタン区切り型ナビ */
.haneji-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.haneji-nav__item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  background: #86cee9;
  transition: all 0.25s ease;
}
.haneji-nav__item > a:hover {
  background: #C5E890;
  border-color: #C5E890;
}
.haneji-nav__item > a .header__nav-en {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333333;
  line-height: 1;
}
.haneji-nav__item > a .header__nav-ja {
  font-size: 1.0rem;
  color: #333;
  line-height: 1.2;
}
.haneji-nav__item > a:hover .header__nav-en,
.haneji-nav__item > a:hover .header__nav-ja {
  color: #333;
}

/* is-fixed 時（スクロール後）のヘッダー */
.header-sticky.is-fixed .haneji-nav__item > a {
  border-color: #ccc;
}

/* ==========================================================================
   メインビジュアル（Ken Burns方式）
   ========================================================================== */
.haneji-mv {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  margin-top: 0;
}
@media (max-width: 896px) {
  .haneji-mv { height: 70vh; }
}
@media (max-width: 639px) {
  .haneji-mv { height: 55vh; }
}

#slideshow {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
}
@media (max-width: 896px) {
  #slideshow { height: 70vh; }
}
@media (max-width: 639px) {
  #slideshow { height: 55vh; }
}

#slideshow .swiper-slide {
  height: 95vh;
}
@media (max-width: 896px) {
  #slideshow .swiper-slide { height: 70vh; }
}
@media (max-width: 639px) {
  #slideshow .swiper-slide { height: 55vh; }
}

/* Ken Burns アニメーション */
@keyframes haneji-zoomin {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.swiper-slide-active .haneji-mv__img,
.swiper-slide-duplicate-active .haneji-mv__img,
.swiper-slide-prev .haneji-mv__img {
  animation: haneji-zoomin 11s linear 0s 1 normal both;
}

.haneji-mv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MV暗幕 */
.haneji-mv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.03) 40%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

/* キャッチコピー */
.haneji-mv__catch {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 700px;
}
.haneji-mv__catch-text {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  letter-spacing: 0.15em;
  line-height: 1.6;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 20px 40px;
  border-radius: 12px;
  border-left: 4px solid #C5E890;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 896px) {
  .haneji-mv__catch-text {
    font-size: 2.4rem;
    padding: 16px 24px;
  }
}
@media (max-width: 639px) {
  .haneji-mv__catch-text {
    font-size: 1.8rem;
    padding: 12px 16px;
    letter-spacing: 0.08em;
  }
}

/* ==========================================================================
   波SVGディバイダー
   ========================================================================== */
.haneji-mv__wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 5; line-height: 0; }
.haneji-mv__wave svg { display: block; width: 100%; height: auto; }
.wave-divider { position: relative; line-height: 0; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; height: auto; }

/* ==========================================================================
   お知らせセクション（詳細スタイルは top-custom.css に定義）
   ========================================================================== */

/* ==========================================================================
   ごあいさつセクション（参考サイト top_about をトンマナ踏襲）
   ========================================================================== */
.haneji-greeting {
  padding: 100px 0;
}
.haneji-greeting__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.haneji-greeting__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
}
.haneji-greeting__img {
  width: 55%;
  padding: 40px;
}
.haneji-greeting__img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
}
.haneji-greeting__text {
  width: 45%;
  padding-left: 5%;
}
.haneji-greeting__ttl {
  font-size: 2.8rem;
  font-weight: 700;
  color: #86CEE9;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 4px solid #C5E890;
  line-height: 1.5;
}
.haneji-greeting__desc {
  background: #eef7fb;
  color: #444;
  border-radius: 0 24px 24px 0;
  margin-left: -30px;
  padding: 50px;
  font-size: 1.8rem;
  line-height: 1.9;
  font-weight: 500;
  position: relative;
}
.haneji-greeting__desc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #86CEE9;
  opacity: 0.4;
  border-radius: 0 0 0 0;
}
@media (max-width: 896px) {
  .haneji-greeting__img,
  .haneji-greeting__text { width: 100%; padding: 0; }
  .haneji-greeting__img { padding: 0 0 30px; }
  .haneji-greeting__img img { height: 300px; }
  .haneji-greeting__ttl { font-size: 2.2rem; margin-bottom: 24px; }
  .haneji-greeting__desc { border-radius: 0 16px 16px 0; margin-left: 0; padding: 30px; font-size: 1.5rem; }
}
@media (max-width: 639px) {
  .haneji-greeting { padding: 60px 0; }
  .haneji-greeting__img img { height: 220px; }
  .haneji-greeting__ttl { font-size: 1.8rem; padding-left: 12px; }
  .haneji-greeting__desc { padding: 20px; font-size: 1.3rem; }
}

/* お知らせ heading 白バージョン */
.heading--white .heading__en { color: rgba(255,255,255,0.5); opacity: 1; }

/* ==========================================================================
   コンテンツメニュー（4つのバナーカード）
   ========================================================================== */
.haneji-menu {
  padding: 100px 0;
  background: #f0f7e8;
}
.haneji-menu__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.haneji-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 896px) {
  .haneji-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .haneji-menu__grid {
    grid-template-columns: 1fr;
  }
}

.haneji-menu__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}
.haneji-menu__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.haneji-menu__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.haneji-menu__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.haneji-menu__card:hover .haneji-menu__card-bg img {
  transform: scale(1.08);
}
.haneji-menu__card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.haneji-menu__card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
}
.haneji-menu__card-en {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #C5E890;
  letter-spacing: 0.1em;
}
.haneji-menu__card-ja {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.haneji-menu__card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-top: 6px;
  transition: background 0.3s ease;
}
.haneji-menu__card:hover .haneji-menu__card-arrow {
  background: rgba(255,255,255,0.4);
}

/* ==========================================================================
   CTA帯
   ========================================================================== */
.haneji-cta {
  background: url(../img/body.jpg) center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.haneji-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(134, 206, 233, 0.88);
}
.haneji-cta .footer-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.haneji-cta .footer-cta__label {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}
.haneji-cta .footer-cta__tel {
  font-size: 3.4rem;
  font-weight: 900;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.haneji-cta .footer-cta__tel:hover { opacity: 0.8; }
.haneji-cta-hours {
  color: rgba(255,255,255,0.85);
  font-size: 1.4rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.haneji-cta .footer-cta__mail {
  background: #fff;
  color: #333;
  border-color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 700;
  max-width: 340px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.haneji-cta .footer-cta__mail:hover {
  background: transparent;
  color: #fff;
}
@media (max-width: 639px) {
  .haneji-cta { padding: 50px 0; }
  .haneji-cta .footer-cta__label { font-size: 1.8rem; }
  .haneji-cta .footer-cta__tel { font-size: 2.6rem; }
}
.haneji-cta__download {
  color: #fff;
  text-decoration: underline;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: opacity 0.3s ease;
}
.haneji-cta__download:hover {
  opacity: 0.75;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.haneji-footer {
  background: #2f4528;
  color: #e8efe0;
}

/* Google Map（横幅100%） */
.haneji-footer__map iframe {
  width: 100%; height: 320px;
  border: 0; display: block;
  filter: grayscale(.2);
}

/* フッター本体 */
.haneji-footer__main { padding: 60px 24px; }

.haneji-footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}

/* 各カラム共通：見出し */
.haneji-footer__inner h4 {
  font-size: 1.4rem; margin: 0 0 16px;
  color: #fff; letter-spacing: .1em; font-weight: 600;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.2);
}

/* 左：ブランド情報 */
.haneji-footer__name { font-size: 2rem; font-weight: 700; margin: 0 0 4px; }
.haneji-footer__en {
  font-family: var(--font-en); letter-spacing: .24em;
  font-size: 1.1rem; color: rgba(255,255,255,.6); margin: 0;
}
.haneji-footer__addr {
  font-size: 1.4rem; line-height: 1.9; margin-top: 20px;
  color: rgba(255,255,255,.85); font-style: normal;
}
.haneji-footer__tel {
  font-family: var(--font-en); font-size: 2rem;
  color: #fff; font-weight: 600; margin: 6px 0;
  display: block; text-decoration: none;
}
.haneji-footer__tel:hover { color: var(--sub); opacity: 1; }

/* 中央：CONTENTSナビ */
.haneji-footer__nav ul { list-style: none; padding: 0; margin: 0; }
.haneji-footer__nav li { margin-bottom: 10px; font-size: 1.4rem; }
.haneji-footer__nav a {
  color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s;
}
.haneji-footer__nav a:hover { color: var(--sub); }

/* 右：営業時間 */
.haneji-footer__hours-body {
  font-size: 1.4rem; color: rgba(255,255,255,.85); line-height: 1.9;
}

/* コピーライト */
.haneji-footer__bottom {
  text-align: center; padding: 18px 24px;
  background: #253a1e;
  font-size: 1.2rem; color: rgba(255,255,255,.6);
  font-family: var(--font-en); letter-spacing: .1em;
}
.haneji-footer__bottom small { color: inherit; font-size: inherit; }

@media (max-width: 800px) {
  .haneji-footer__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 639px) {
  .haneji-footer__main { padding: 40px 20px; }
  .haneji-footer__map iframe { height: 220px; }
}

/* ==========================================================================
   ページヒーロー（下層）共通
   ========================================================================== */
.haneji-page-hero {
  background: linear-gradient(135deg, #C5E890 0%, #86CEE9 100%);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.haneji-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/body.jpg) center/cover no-repeat;
  opacity: 0.15;
}
.haneji-page-hero__inner {
  position: relative;
  z-index: 1;
}
.haneji-page-hero__en {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 8px;
}
.haneji-page-hero__ja {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.haneji-page-hero__breadcrumb {
  margin-top: 20px;
  color: rgba(255,255,255,.85);
  font-size: 1.3rem;
}
.haneji-page-hero__breadcrumb a {
  color: var(--sub); text-decoration: none;
}
.haneji-page-hero__breadcrumb a:hover { opacity: .8; }
.haneji-page-hero__breadcrumb span { margin: 0 8px; }
@media (max-width: 896px) {
  .haneji-page-hero { padding: 80px 0 55px; }
  .haneji-page-hero__ja { font-size: 2.4rem; }
}
@media (max-width: 639px) {
  .haneji-page-hero { padding: 60px 0 45px; }
  .haneji-page-hero__ja { font-size: 2rem; }
}

/* ==========================================================================
   ニュースセクション追加
   ========================================================================== */
.haneji-news-more {
  color: #fff;
  border-color: #fff;
  background: transparent;
  padding: 14px 36px;
  border-radius: 30px;
}
.haneji-news-more:hover {
  background: #fff;
  color: #C5E890;
}

/* ==========================================================================
   PDFダウンロードリンク（決算関連書類・申請書）
   ========================================================================== */
.haneji-pdf-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #333;
}
.haneji-pdf-link:hover {
  border-color: #86CEE9;
  background: #eef7fb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(134,206,233,0.3);
}
.haneji-pdf-link__icon {
  color: #e53935;
  font-size: 2.4rem;
  flex-shrink: 0;
}
.haneji-pdf-link__text {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}
.haneji-pdf-link__badge {
  background: #e53935;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   組織図プレースホルダー
   ========================================================================== */
.haneji-org-placeholder {
  padding: 50px;
  font-size: 1.6rem;
}
.haneji-org-dept__name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #86CEE9;
  margin-bottom: 10px;
  border-bottom: 2px solid #C5E890;
  padding-bottom: 6px;
}

/* ==========================================================================
   共通セクション見出し（heading）上書き
   ========================================================================== */
.heading .heading__en {
  color: #C5E890;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  opacity: 0.3;
}
.heading .heading__ja {
  color: #333;
  font-weight: 600;
}
.heading .heading__ja::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #C5E890;
  border-radius: 2px;
  margin-top: 12px;
}

/* ==========================================================================
   水利用カード（water.php）
   ========================================================================== */
.haneji-water-types {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.haneji-water-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.haneji-water-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.haneji-water-card__img img {
  transition: transform 0.6s ease;
}
.haneji-water-card:hover .haneji-water-card__img img {
  transform: scale(1.05);
}
.haneji-water-card__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #C5E890;
  color: #333;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.haneji-water-card__label--accent {
  background: #86CEE9;
  color: #fff;
}
.haneji-water-card__body {
  padding: 28px;
}
.haneji-water-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C5E890;
}
@media (max-width: 639px) {
  .haneji-water-card { min-width: 100%; }
  .haneji-water-card__img { height: 200px; }
}

/* ==========================================================================
   施設カード（facility.php）
   ========================================================================== */
.haneji-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.haneji-facility-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.haneji-facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.haneji-facility-card__img {
  height: 200px;
  overflow: hidden;
}
.haneji-facility-card__img img {
  transition: transform 0.6s ease;
}
.haneji-facility-card:hover .haneji-facility-card__img img {
  transform: scale(1.05);
}
.haneji-facility-card__body {
  padding: 22px;
}
.haneji-facility-card__label {
  display: inline-block;
  background: #e8f5fc;
  color: #86CEE9;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.haneji-facility-card__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.haneji-facility-card__desc {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.7;
}
@media (max-width: 896px) {
  .haneji-facility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .haneji-facility-grid { grid-template-columns: 1fr; }
  .haneji-facility-card__img { height: 180px; }
}

/* ==========================================================================
   申請書ダウンロード（download.php）
   ========================================================================== */
.haneji-download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.haneji-download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}
.haneji-download-item:hover {
  border-color: #86CEE9;
  background: #eef7fb;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(134,206,233,0.25);
}
.haneji-download-item__icon {
  font-size: 2.8rem;
  color: #e53935;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.haneji-download-item__body {
  flex: 1;
}
.haneji-download-item__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.haneji-download-item__note {
  font-size: 1.3rem;
  color: #777;
}
.haneji-download-item__badge {
  background: #e53935;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
}
@media (max-width: 639px) {
  .haneji-download-item { padding: 18px 20px; flex-wrap: wrap; }
  .haneji-download-item__badge { margin-left: auto; }
}

/* ==========================================================================
   ブログ記事詳細（entry.php）
   ========================================================================== */
.haneji-entry {
  border-top: 3px solid #C5E890;
  padding-top: 32px;
  margin-bottom: 60px;
}
.haneji-entry__date {
  font-size: 1.4rem;
  color: #86CEE9;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
}
.haneji-entry__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}
.haneji-entry__body {
  line-height: 2;
}
@media (max-width: 639px) {
  .haneji-entry__title { font-size: 2rem; }
}

/* ==========================================================================
   共通CTAバナー（contact-cta.php）
   ========================================================================== */
.haneji-top-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #3EA0C7 100%);
  color: #fff; text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.haneji-top-cta h2 {
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 700; letter-spacing: .08em; margin-bottom: 14px;
}
.haneji-top-cta p { font-size: 1.6rem; margin-bottom: 30px; opacity: .95; }
.haneji-top-cta .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.haneji-top-cta .btn {
  width: auto; max-width: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 1.5rem; font-weight: 600;
}
.haneji-top-cta .btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.haneji-top-cta .btn-primary { background: #fff; color: var(--accent-deep); border-color: #fff; }
.haneji-top-cta .btn-primary:hover { background: var(--sub); color: var(--ink); border-color: var(--sub); }
.haneji-top-cta .btn-outline  { border-color: #fff; color: #fff; background: transparent; }
.haneji-top-cta .btn-outline:hover { background: rgba(255,255,255,.18); }

.cta-br { display: none; }

@media (max-width: 600px) {
  .cta-br { display: block; }
  .haneji-top-cta .btns { flex-direction: column; align-items: center; }
  .haneji-top-cta .btn  { width: auto; }
}

/* ==========================================================================
   お知らせページ ページヒーロー背景
   ========================================================================== */
[data-page="entry-list"] .haneji-page-hero,
[data-page="entry"] .haneji-page-hero {
  background:
    linear-gradient(135deg, rgba(47,69,40,.8) 0%, rgba(30,50,25,.7) 100%),
    url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27945/4.jpg') center/cover;
  padding: 140px 24px 100px;
}
[data-page="entry-list"] .haneji-page-hero::before,
[data-page="entry"] .haneji-page-hero::before { display: none; }
[data-page="entry-list"] .haneji-page-hero__en,
[data-page="entry"] .haneji-page-hero__en { color: var(--sub); }

@media (max-width: 639px) {
  [data-page="entry-list"] .haneji-page-hero,
  [data-page="entry"] .haneji-page-hero { padding: 100px 24px 70px; }
}
