/* ******************************************
   component.css
   見出し装飾、パンくず、ボタン、ロゴ、ナビなど小さい部品
****************************************** */
/* ============================
  ヘッダー
=============================== */
/* 全体の共通設定 */
.header-area {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header-bg {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.8; /* 初期：透過 */
}
.header-left-bg {
  flex: 0 0 35%;
  background: var(--logo-bg-gradient);
}
.header-right-bg {
  flex: 1;
  background: var(--nav-bg-gradient);
}

/* 中身（ロゴ・ナビ） */
.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  z-index: 1; /* 背景より前に出す */
}

/* ロゴ */
.site-logo img {
  max-width: 260px;
  height: auto;
  min-width: 200px;
  display: block;
  margin-bottom: 0;
}

/* ナビを横並びに */
.header-nav .menu {
  display: flex; 
  gap: var(--space-sm);
  margin: 0;
  padding: 0;  
}
/* ナビの各liをヘッダーの高さに合わせる */
.header-nav .menu li {
  height: 50px; /* header-innerの高さと一致させる */
  display: flex;
  align-items: center; /* 垂直中央揃え */  
}
/* ナビリンクの見た目 */
.header-nav .menu li a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center; 
  height: 100%;
  width: 100%;
  padding: 0 1em;  
  font-size:  clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
}
/* お問い合わせだけ別色 */
.header-nav .menu .menu-item-21 {
  background: var(--nav-bg-gradient-contact);
}

/* ナビリンク装飾 */
.header-nav a::after {
  position: absolute; /*.header-nav .menu li aとの親子関係明確にしないと動作しない*/
  bottom: 7px;
  content: '';
  display: block;
  margin: 0 -0.5em;
  width: calc(100% + 0.1em);
  height: 3px;
  background: var(--header-logo-color);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: center;
}
.header-nav .current-menu-item a::after {
  transform: scaleX(1);
}
.header-nav a:hover::after {
  background: rgba(100, 176, 118, 0.6);
  transform: scaleX(1);
}

/* === ハンバーガー === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  transition: transform var(--transition-normal);;
}
.nav-toggle .bar {
  background: var(--header-nav-toggle-bar); 
  height: 5px;
  border-radius: 2px;
  width: 100%;
  transition: transform var(--transition-normal);;
  transform-origin: center;
}
/* === ハンバーガー 開いた状態（×マーク）=== */
.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 6px);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}


/* スマホ対応 */
@media (max-width: 768px) {
  .header-bg {
    background: var(--logo-bg-gradient);
    flex-direction: column;
  }
  .header-left-bg,
  .header-right-bg {
    display: none;
  }
  .header-bg {
    display: block;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 55%;
  }
  .header-nav.open {
    display: flex;
  }  
  .header-nav .menu {
    flex-direction: column; 
    gap: 0;  
    background-color: rgba(63, 126, 101, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;    
  } 
  .header-nav .menu li {
    height: 100%;
  }

  .header-nav .menu li a {
    display: block;
    color: var(--color-white);
    padding: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }
  .header-nav a::after {
    display: none;
  }
}
/* PCではハンバーガーを非表示 */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
  .header-nav {
    display: flex;
  }
}

/* ============================
  フッター
=============================== */

.footer-main-area {
  background: var(--footer-nav-bg-gradient); /* グリーン系 */
  color: #fff;
  padding: 0.5rem 0;
}
.footer-bottom-area {
  background: var(--footer-bottom-bg-color); /* 濃いグレー */
  color: #fff;
}


/* === ナビ表示 === */
.footer-nav ul {
  font-size: 0; /* インライン間の余白潰しテク */
  text-align: center;
  margin: var(--space-md) 0;
}
.footer-nav ul li {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  display: inline-block;
  margin-right: var(--space-sm);
  padding: var(--space-xxs) 0;
}
.footer-nav ul li a::after {
  content: '';
  display: block;
  margin: 0 -0.5em;
  width: calc(100% + 1em);
  height: 3px;
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: center;
}
.footer-nav ul li a:hover::after {
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(1);
}
.footer-nav ul li:last-child {
  margin-right: 0;
}

/* === NUAL所在 === */
.footer-info {
  text-align: center;
  padding: var(--space-xs) var(--space-sm);
}
.footer-info .footer-logo {
  font-size: var(--font-size-xl);
  font-weight: bold;
  letter-spacing: var(--ls-tight);
  margin-bottom: 0;
  display: inline-block;
  transform: scaleY(1.4);
}
.footer-info .footer-name-ja {
  margin-bottom: 0;
}
.footer-info .footer-name-en,
.footer-info .footer-tel {
  font-size: 0.85rem;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-xxs);
}
.footer-info .footer-name-en{
  font-family: 'Cormorant Garamond', serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
}
.footer-info .footer-tel {
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.copyright {
  padding: var(--space-sm);
  text-align: center;
  font-size: var(--font-size-small);
}
.copyright p {
  margin-bottom: 0;
}


/* === スマホ専用ナビ === */
.footer-sp-links {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  padding: 1rem 0;
}
.footer-sp-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {


  .footer-sp-links {
    display: block;
  }
}


/* ============================
  パンくずリスト
=============================== */
.breadcrumb {
    font-size: 0.85em;
    margin: 1em 0;
}
.breadcrumb span {
    color: var(--color-primary-text);
}  


/* ============================
  セクションヘッダー H2
=============================== */
/* --- セクションヘッダー --- */
.section-heading {
  background: var(--section-header-bg-gradient);
  color: var(--color-white);
  text-align: center;
  padding: 0.8rem 1rem;
  margin: 4rem auto 3rem;
  line-height: 1.2;
}
.section-heading .en {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;  
  font-weight: 500;
}
.section-heading .jp {
  display: block;
  font-size: 1rem;
  margin-top: 0.25em;
}

/* 薄い背景＋濃い文字色版 */
.section-heading--lightgreen {
  background: var(--section-header-bg-light);
  color: var(--color-primary-text); 
}

/* ============================
  ページネーション
=============================== */
.pagination {
    display: flex;
    gap: 0.5em;
    list-style: none;
    padding: 0;
    margin-top: 2em;
    justify-content: center;
}
.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 0.4em 0.8em;
    border: 1px solid var(--color-border);
    font-size: 0.9em;
    transition: background 0.3s;
}
.pagination li .current {
    background: var(--pagination--bg);
    color: var(--color--white);
    border-color: var(--pagination--border);
}
.pagination li a:hover {
    background: var(--pagination--bg--hover);
}
@media (max-width: 768px) {
    .pagination li {
      display: none;
    }
    .pagination li.pagination-prev,
    .pagination li.pagination-next,
    .pagination li:has(span.current) {
      display: inline-block;
    }
}

/* ============================
  ページトップに戻るボタン
=============================== */
.arrow-up {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--button-top-arrow-color);
  border-left: 2px solid var(--button-top-arrow-color);
  transform: rotate(45deg);
  position: relative; 
  top: -4px;
}
.scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: block;
    opacity: 0;
    pointer-events: none;
    width: 60px;
    height: 60px;
    background: var(--button-top-bg); 
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    font-weight: 800;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(20px); /* 最初下に隠れてる */
}
/* showクラスが付いたときに出現 */
.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* ホバー時 */
.scroll-to-top:hover {
    background: var(--button-top-bg-hover); 
}
/* iPhone iPadでSafariで1度タッチされたらずっとhoverが残る現象を回避 */
@media (hover: none) {
    .scroll-to-top:hover {
      background: var(--button-top-bg);  /* 通常時と同じ背景にする */
    }
    .scroll-to-top:hover i {
        color: var(--color-main); /* 通常時と同じ色にする */
    }    
}

/* ============================
  <br> 表示制御（PC/SP切替用）
=============================== */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}

  
/* ============================
  投稿画面　前後ボタン
=============================== */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-weight: bold;
  font-size: 0.9em;
}
.prev-post {
  text-align: right;
}
.next-post {
  text-align: left;
}

/* ============================
  「ホームに戻る」「一覧に戻る」ボタン
=============================== */
.button-wrapper {
  text-align: center;
  margin: 2.5em 0;
}

.btn-home,
.btn-back {
  display: inline-block;
  background: var(--button-back-bg);  
  color: var(--color-white);
  padding: 0.6em 2em;
  border-radius: 4px; 
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-home:hover,
.btn-back:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: var(--button-back-bg-hover);
}

/* ============================
  トップページ　トップバナー
=============================== */
.top-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 0; /* ヘッダーより後ろに */
  margin-top: -60px;  
}
.top-banner img {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom:0;
}
@media (max-width: 768px) {
  .top-banner img {
    height: 200px; 
  }
}

/* ============================
  トップページ　ヒーローセクション
=============================== */
.top-hero .hero-visual-area {
  position: relative;
  width: 100%;
  background: var(--hero-bg-gradient);  
  overflow: hidden;
  z-index: 10;
  /*高さ分のスペースを埋めておくmessageが上がってくる問題*/
  height: 100%;
  padding-top: 450px;
}

.hero-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  padding-top: 1.5rem;
}

/* レイヤー画像群を中央に配置して重ねる */
.hero-img-wrapper .hero-img-pc {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.hero-img-wrapper .hero-img-pc .layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 100%;
  height: auto;
  opacity: 0; 
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

/* アニメーション開始後の状態 */
.hero-img-pc .layer.is-visible {
  opacity: 1;
  top: 0;
  transform: translateX(-50%) translateY(0);
}

/* 遅延を個別に */
.hero-img-wrapper .hero-img-pc .layer.layer1 {
  top: 30px;
  transition-delay: 0.05s;
}
.hero-img-wrapper .hero-img-pc .layer.layer2 {
  top: 110px;
  transition-delay: 0.1s;
}
.hero-img-wrapper .hero-img-pc .layer.layer3 {
  top: 140px;
  transition-delay: 0.15s;
}
.hero-img-wrapper .hero-img-pc .layer.layer4 {
  top: 130px;
  transition-delay: 0.2s;
}

.hero-title-overlay,
.hero-message {
  position: relative;
  z-index: 2;
}

/* --- PCでは重ねる --- */
.top-hero .hero-title-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); 
  text-align: center;
  z-index: 2;
}
.top-hero .hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: var(--line-height-tight);
  letter-spacing: var(--ls-tight);
  color: var(--hero-title-color); 
  white-space: nowrap;
}

.top-hero .content-box {
  position: relative;
  z-index: 0;
}

.top-hero .hero-message {
  color: var(--color-text); 
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}
.top-hero .hero-message > p:first-child {
  color: var(--hero-title-color); 
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 0.8em;
}
/* スマホ画像非表示が初期状態 */
.hero-img-sp {
  display: none;
}
/* 1200px以上：画像は全幅表示 */
@media (min-width: 1200px) {
  .hero-img-wrapper .hero-img-pc .layer {
    width: 100%;
    max-width: none;
  }
}
/* 768〜1199px：両端カット（中央固定） */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero-img-wrapper .hero-img-pc .layer {
    width: 1200px;
    max-width: none;
  }
}
/* SP用画像表示＋スマホ向け表示調整 */
@media (max-width: 768px) {
  .hero-img-wrapper {
    position: relative;
    height: auto;
    z-index: 1;
    pointer-events: auto;
    padding-top: 0;
  }  
  .hero-img-pc {
    display: none;
  }
  .hero-img-sp {
    display: block;
    width: 100vw;
    height: auto;
    object-fit: contain;
    max-width: none;  
  }
  .top-hero .hero-visual-area {
    position: static; /* ←重ねるのをやめる */
    padding-top:0;
  }
  .top-hero .hero-title-overlay {
    position: static;
    transform: none;
    padding: 0 1rem;
    text-align: center;
  }  
  .top-hero .hero-title {
    font-size: 2.4rem;
    letter-spacing: var(--ls-wide);
    line-height: 1.1;
    margin: var(--space-sm) 0 0;
  }
  .top-hero .hero-message > p:first-child {
    font-size: 1.3rem;
  }  
}


/* ============================
  トップページ　協賛セクション sponsor
=============================== */
.sponsor-section {
  padding: 3rem 1rem;
}

/* バナーエリア：2列→1列に切り替え */
.sponsor-banner-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
  justify-items: center;
}
.sponsor-banner-item {
  width: 400px;
  height: 100px;
  border: 1px solid #ccc; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; 
  padding: 8px;
}
/* 設定しないと中の画像サイズが基準になり拡張されてしまう*/
.sponsor-banner-item a {
/*  display: block;*/
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;   
  padding: 4px; /*画像がscale(1.05)してもはみ出さないように*/
}

.sponsor-banner-item img {
  max-width: 100%;
/*  max-height: 100%;*/
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
  margin-bottom:0 ;
}

.sponsor-banner-item img:hover {
  transform: scale(1.05);
}

.sponsor-intro {
  margin-bottom: 2rem;
  text-align: center;
}
.sponsor-heading {
  font-size: 1.2rem;
  font-weight: normal;
  color: #666; 
}


/* スマホで1列 */
@media (max-width: 768px) {
  .sponsor-banner-area {
    grid-template-columns: 1fr;
  }
  .sponsor-banner-item {
    width: 100%;
    max-width: 400px;
  }
}

/* ============================
  トップページ　Topics（イベント情報スライダー）→スライダーではなく普通のgridに
=============================== */

.news-list-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 4rem;
  padding-inline: 2rem;
}


.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}


.news-card-thumb {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  margin: 0 auto;  
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-title {
  max-width: 300px;
  width: 100%;
  margin: 0.5rem auto 0;
  text-align: center;
  font-weight: 500;  
  color: var(--section-topics-title-color);
}

/* 開催日と開催場所を追加 */
.news-card-meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  max-width: 300px;
  width: 100%;
  margin: 0.5rem auto 0;  
}
.news-card-meta .event-date,
.news-card-meta .event-place {
  margin: 0 ;
}
.news-card-meta .info-date {
  color:var(--post-meta-color);
  font-weight : 500;
  text-align: center;
}

/*一覧はこちら*/
.news-more-link {
  text-align: right;
  margin-top: 1.5rem;
}
.news-more-link a {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  color: #3f5e49;
  padding-bottom: 0.2rem;
  transition: opacity 0.3s ease;
}
.news-more-link a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .news-list-grid {
    grid-template-columns: 1fr; /* スマホでは1列に */
  }
}



/*以下　スライダー用　あとで削除　
.news-slider-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 4rem;
  width: 100%;
}
.swiper {
  padding-inline: 2rem;
}

.news-slide-thumb {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  margin: 0 auto;  
}
.news-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-slide-title {
  max-width: 300px;
  width: 100%;
  margin: 0.5rem auto 0;
  text-align: center;
  font-weight: 500;  
  color: var(--section-topics-title-color);
}

.news-slider-controls {
  display: flex;
  justify-content: center;
  gap: 14rem;
  margin-top: 1rem;
}

.news-slider-button-prev,
.news-slider-button-next {
  cursor: pointer;
}

.arrow-img {
  width: 4.5rem;
  height: auto;
}*/

/* 開催日と開催場所を追加 
.news-slide-meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  max-width: 300px;
  width: 100%;
  margin: 0.5rem auto 0;  
}
.news-slide-meta .event-date,
.news-slide-meta .event-place {
  margin: 0 ;
}*/

/* ============================
  トップページ　Information（お知らせ）→表示をTopicsと同様に変更で不使用
=============================== */
/* 日付を追加 
#information .news-slide-meta{
  color:var(--post-meta-color);
  font-weight : 500;
  text-align: center;
}


.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.5rem;
  flex-wrap: nowrap; 
}
.info-item:first-child {
    border-top: 1px solid var(--color-border); 
}
.info-meta {
  flex: 0;
  width: 10rem; 
  font-weight: bold;
  color: var( --post-date-color);
  line-height: 0.8;
  padding-left: 4rem;
}
.info-date-year {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem; 
}
.info-date-day {
  display: block;
  font-size: 1.3rem;
}

.info-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 1rem;
  gap: 1rem;
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
  min-width: 0;
  min-height: 4rem;
}
.info-title-link {

  width: 100%;
  max-width: 95%;
  color: var(--color-text);
}


.info-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.info-text-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
}
.info-arrow {
  width: 2rem; 
  height: auto;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.info-title {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-thumb {
  max-width: 180px;
  max-height: 180px;
}

.only-sp {
  display: none;
}


@media screen and (max-width: 768px) {
  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-meta {
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
    padding-left: 0;
  }
  .info-date-year {
    padding: 0 0.5rem 0 0.5rem;
  }  
  .info-date-day {
    display: inline-block;
    border-bottom: 1px solid var(--color-border); 
    padding: 0 0.5rem 0.8rem 0.5rem;
  }
  
  .info-title-wrapper {
    border-left: none;
    padding-left: 0.5rem;
    margin-left: 0;
    width: 100%;
  }
  .info-title-link {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    max-width: 100%;
  }
  .info-text-area {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .info-arrow {
    width: 2.2rem;
  }

  .only-pc {
    display: none;
  }
  .only-sp {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
  }
  .only-sp img {
    max-width: 80%;
    height: auto;
  }
}*/

/* ============================
  サブページ　ヒーローエリア　ページタイトルH1
=============================== */
.subpage-hero {
  position: relative;
  z-index: 0; /* ヘッダーより後ろに */
  margin-top: -60px;
}

.subpage-hero .hero-visual-area {
  padding-top: 60px;
  position: relative;
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center center;
}
.subpage-hero .hero-visual-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.subpage-hero .hero-overlay-box {
  position: absolute;
  bottom: 0;
  width: 60%;
  background:rgba(50, 140, 70, 0.75);
  padding: 1rem 0;
  left: 50%;                    /* ← 左端を50%に寄せて */
  transform: translateX(-50%);  /* ← 自分の半分だけ左に戻す */
}
.subpage-hero .hero-title {
  color: var(--color-white);
/*  font-size: 2.4rem;*/
  font-size: var(--font-size-xl);
  font-weight: 500;
  text-align: center;
  margin: 0;
}
.subpage-hero .hero-subtext-box {
  width: 60%;
  margin-inline: auto;
  margin-top: 0; /* ピッタリくっつける */
  background: var(--section-header-bg-gradient);
  padding: 0.8rem;
  text-align: center;
  color: var(--color-white);
  position: relative;
  z-index: 0; /* hero-visual-areaより下 */
}
.subpage-hero .hero-subtext {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .subpage-hero .hero-overlay-box {
    width: 94%;
  }
  .subpage-hero .hero-subtext-box {
    width: 94%;
  }
}


/* ******************************************
   投稿一覧　と　投稿詳細　（お知らせ）
****************************************** */
/* 投稿一覧の1件分の投稿 */
.article-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.article-item:last-child {
    border-bottom: none;
}
.article-item a {
    padding: 0.8rem;
}
.article-item a:hover {
    background-color: var(--color-background);
    border-radius: 0.4rem;
    transition: background-color 0.3s ease;
}

/* 投稿一覧　サムネイルが無ければ非表示　*/
.article-thumbnail .no-image {
    display: none;
}

.article-thumbnail {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  margin: 0 auto;  
}
.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .article-thumbnail {
    max-width: 300px;
  }
}


/* 投稿ページと投稿一覧共通　日付 */
.article-date {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var( --post-date-color);
}

/* カード型記事表示 */
.card-layout {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6rem;
}
.post-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ヘッダ・カテゴリ・タグ */
.article-head {
    margin-bottom: 1em;
}
.article-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 1em 0;
}
.article-cat .cat-label {
    background: var(--color-dark-bg-light);
    color: var(--color-white);
    padding: 0.2em 0.6em;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    transition: background 0.3s;
}
.cat-label:hover {
    background: var(--color-dark-bg);
}

.article-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 1em 0;
}
.article-tag .tag {
    background: var(--color-border);
    padding: 0.3em 0.6em;
    border-radius: 10px;
    font-size: 0.8rem;
    transition: background 0.3s;
}


/* イベント情報ACF（日付　場所）*/
.event-meta {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.event-meta p {
  margin: 0.25em 0;
}



/* ******************************************
   サイドに表示するエリア（投稿一覧・詳細）
****************************************** */
.common-side-area {
    width: 260px; 
    align-self: flex-start; 
}

/* サイドに表示するBOX */
.info-box {
    background-color: var(--color-white); 
    margin-bottom: 2em;
}
.banner-wrapper {
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 0;
}
.banner-wrapper img{
  margin-bottom: 0;
}
    
/* サイドの最新の投稿一覧 */
.latest-posts-box {
    margin-bottom: 2rem;
    font-size: 0.85rem;
}
.latest-posts-heading {
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--post-widget-accent);
    padding-left: 0.5rem;
}
.latest-posts-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.latest-posts-list li {
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.3em;
    margin-bottom: 0.3em;
}
.latest-posts-list a {
    transition: color 0.2s ease;
}

/* ******************************************
   地元協賛企業・会員企業一覧
****************************************** */
/* リストの全体設定 */
#sponsor-list .wp-block-list,
#member-list .wp-block-list {
  list-style: none; /* デフォルトのマーカー削除 */
  padding-left: 0;
  margin: 0;
}

/* 各項目のスタイル */
#sponsor-list .wp-block-list li ,
#member-list .wp-block-list li {
  position: relative;
  padding-left: 1.5em;  /* アイコンとテキストの間 */
  margin-bottom: 0.5em;
  line-height: 1.5;
}

/* 四角いマーカーを疑似要素で追加 */
#sponsor-list .wp-block-list li::before ,
#member-list .wp-block-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.8em;
  height: 0.8em;
  background-color: var(--sponsor-icon-color); /* 緑色 */
}

/* 会員一覧の中のul */
#member-list .wp-block-column ul {
  margin-top : 1rem;
  margin-bottom : 1.5rem;
}

/* 会員一覧の中のP（あ行～その他） */
#member-list .wp-block-column p {
  font-size : 1.1rem;
  font-weight : 600;
  color: var(--sponsor-icon-color);
}

/* スマホのときは前後間隔0に */
@media (max-width: 768px) {
  .wp-block-columns.is-layout-flex,
  .is-layout-flex {
    gap: 0 !important;
  }
}

/* ******************************************
   規約・役員名簿
****************************************** */
/*
.member-list .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.member-list .wp-block-column {
  flex: 1 1 50%;
  min-width: 260px;
}
.member-list table {
  width: 100%;
  table-layout: fixed; 
  border-collapse: collapse;
  font-size: 1rem;
}
.member-list td {
  padding: 0.4em 0.75em;
  vertical-align: top;
  text-align: left;
  border: none; 
}

.member-list td:first-child {
  width: 35%;
  border-right: 1px solid var(--color-border);
  padding-right: 1rem;
}
.member-list td:last-child {
  width: 65%;
  padding-left: 1rem;
}
  */
/* 表全体を見やすく整える 
.executive-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.executive-table th,
.executive-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}
.executive-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}
.executive-table th {
  display: none;
}
*/
/* === 共通スタイル === */
.executive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  background-color: #fff;
}

.executive-table th,
.executive-table td {
  padding: 1.4rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
.executive-table tr:last-child td {
  border-bottom: none;
}

/* th は構造上だけ存在（非表示） */
.executive-table thead {
  display: none;
}

/* 役職を目立たせる */
.executive-table td:first-child {
  font-weight: bold;
  color: #3f5e49;
  white-space: nowrap;
  width: 8rem;
}

/* 氏名・卒年：自然な長さで折り返し */
.executive-table td:nth-child(2) {
  word-break: keep-all;
}

/* 勤務先：ややトーンを落とす */
.executive-table td:nth-child(3) {
  color: #666;
}



/* スマホで崩れないように、最低限の工夫 */
@media screen and (max-width: 768px) {

  .executive-table td:nth-child(1)::before {
    content: "▼ ";
    font-weight: bold;
    color: #3f5e49; /* お好みのカラーに */
    margin-right: 0.25em;
  }

  .executive-table {
    font-size: 0.9rem;
  }

  .executive-table td:nth-child(2),
  .executive-table td:nth-child(3) {
    display: block;
    padding-top: 0.2rem;
  }
  .executive-table th,
  .executive-table td {
    padding: 0.5rem;
  }
  .executive-table tr {
    display: block;
    margin-bottom: 1rem;
  }

  .executive-table td {
    display: block;
    width: 100%;
    border: none;
/*    border-bottom: 1px solid #ddd;*/
  }


}



/* ******************************************
   お問い合わせ
****************************************** */
table.inquiry {
  width: 100%;
  border-collapse: collapse;
  background-color: #f5f5f5;
  padding: 1rem;
  margin-bottom: 2rem;
}
table.inquiry th,
table.inquiry td {
  padding: 1rem;
  vertical-align: top;
}
table.inquiry th {
  width: 23%;
  text-align: left;
  font-weight: bold;
  padding-right: 0;
}
/* 必須マーク */
.haveto {
  background-color: #d9232d;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2em 0.5em;
  margin-right: 0.5em;
  border-radius: 2px;
}
/* 入力欄の共通スタイル */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  border-radius: 0;
  box-sizing: border-box;
}
/* テキストエリア */
textarea {
  min-height: 8em;
  resize: vertical;
}

/* 送信ボタンエリア　*/
.submit-area{
  margin-inline: auto;
  text-align: center;
}

/* チェックボックス説明 */
.spam1 {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 送信ボタン */
#formbtn {
  display: inline-block;
  background-color: var(--button-submit-bg);
  color: white;
  padding: 1rem 2rem;
  margin-top: 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-align: center;
}

/* 親が中央寄せできるように */
#formbtn:where(*) {
  margin-inline: auto; 
  display: block;
}

#formbtn:hover {
  background-color: var(--button-submit-bg-hover);
}

@media (max-width: 768px) {
  table.inquiry {
    width: 100%;
  }

  table.inquiry tr {
    display: block;
    margin-bottom: 1rem;
  }

  table.inquiry th,
  table.inquiry td {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
  }

  table.inquiry th {
    padding-bottom: 0; /* th下の余白を減らす */
  }

  table.inquiry td {
    padding-top: 0.25rem; /* thとtdの間を詰める */
    
  }
  table.inquiry input,
  table.inquiry textarea {
    width: 100%;
  }
}


/* ******************************************
   プライバシーポリシー
****************************************** */
.policy .wp-block-list{
  padding-left: 1rem;
}


/* ******************************************
   リンク集
****************************************** */

.link-univ,
.link-alumni {
  background-color: #f9fdf9;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e0eae0;
  border-radius: 6px;
}

.link-univ h3,
.link-alumni h3 {
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #dceddf;  
  padding: 0.5em 1em;
  border-bottom: 2px solid #b0cc95;
  border-radius: 6px 6px 0 0;
  margin-bottom: 1rem;
}


/* ===== リンクリストの装飾 ===== */
.link-univ ul,
.link-alumni ul {
  list-style: none;
  padding-left: 0;
}

.link-univ li,
.link-alumni li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.75em;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.link-univ li::before,
.link-alumni li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.8em;  
  color: var(--color-primary-text, #4b6e59); 
  font-size: 0.85em;
}

.link-univ li a,
.link-alumni li a {
  display: block;
  padding: 0.5em 0.75em;
  text-decoration: none;
  color: inherit;
}


.link-univ li:hover,
.link-alumni li:hover {
  background-color: #edf6ee; /* ホバー色：ほんのり緑 */
  border-radius: 4px;
}