/* 共通 */
:root {
--c-text: #333;
--c-muted: #999;
--c-accent: #5BC3E7;
--c-divider: #e6e6e6;
--font-base: 'Inter', 'Noto Sans JP', sans-serif;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  color: #333333;
}

html {
  /* margin: 0 20%; */
}

a {
  text-decoration: none;
  color: #333333;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

section {
  margin: 50px 0;
}

@media only screen and (max-width: 767px){
  section {
    margin: 40px 0;  /* SPの上下余白を小さくする */
  }
}


section h1 {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid #000;
  padding-bottom: 0.3em;
}

section,
.kaiin,
.sanjokaiin {
  scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
}

.container {
  margin: auto;
}

h1, h2, h3, h4, h5, h6, p, span, li, a, th, td, label {
  color: #333333;
}

/* ふだんは何もしない（インライン＆透明） */
.br {
  display: inline;
}

/* iPad Air以下（目安として1036px以下）だけここで改行させる */
@media only screen and (max-width: 1036px) {
  .br {
    display: block;   /* ここで行を分ける */
    height: 0;
  }
}

/* ふだんは何もしない（インラインのまま） */
.br-min424 {
  display: inline;
}

/* 424px以下のときだけ改行させる */
@media (max-width: 424px) {
  .br-min424 {
    display: block;  /* ここで行を分ける */
    height: 0;       /* 余計な縦スペースを増やさないための保険 */
  }
}



/* ヘッダー */
.site-header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: #FFF;
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.title_logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  /* width: 60px;
  height: 60px; */
  width: 50%;
}

@media only screen and (max-width: 767px){
  .title_logo h1 {
    display: none;
  }
}

.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.main-nav {
  margin-left: 20px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-item-pc {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item-pc .nav-item-right {
  margin-left: auto;
}

/* ハンバーガーメニュー */
@media only screen and (max-width: 1536px){
  .nav-item-pc {
    display: none !important;
  }

  .hamburger {
    position: absolute;
    right: 40px;
    /* top: 21px; */
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 300;
  }
  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #000;
    transition: all .6s;
  }

  .hamburger_border_top {
      top: 14px;
  }

  .hamburger_border_center {
      top: 20px;
  }

  .hamburger_border_bottom {
      top: 26px;
  }
}

body.nav-open {
  overflow: hidden; /* サイドメニューが開いているときにページ全体のスクロールを無効にする */
}

.nav-item-sp {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  z-index: 200;
  padding: 1em;
  height: 100vh;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  visibility: hidden;
}

.nav-item-sp li {
  margin: 16px 0;
}

.black_bg {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}


/* スマホ用：開いたら表示 */
.nav-open .nav-item-sp {
  transform: translateX(0);
  visibility: visible;
}
.nav-open .black_bg {
  opacity: 1;
  visibility: visible;
}


/* ハンバーガーの×ボタン変形 */
.hamburger.active .hamburger_border_top {
  transform: rotate(45deg);
  top: 20px;
}

.hamburger.active .hamburger_border_center {
  opacity: 0;
}

.hamburger.active .hamburger_border_bottom {
  transform: rotate(-45deg);
  top: 20px;
}




/* フロントページ共通 */
.front-page {
  margin: 0 20%;
  padding-top: 80px;
}

@media only screen and (max-width: 767px){
  .front-page {
    margin: 0 10%;
  }
}


/* hero */
/* ================================
   Hero Title（元コード）
================================ */
.hero-title { 
  font-size: 2rem;
  font-weight: 800;
  color: #333333;
  text-align: center;
  margin: 24px auto 32px auto;
  letter-spacing: 0.08em;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #45C6E5 0%, #F9D93B 100%);
  margin: 24px auto 0 auto;
  border-radius: 3px;
}

@media only screen and (max-width: 1036px){
  .hero-title {
    font-size: 1.5rem;
  }
}

/* ================================
   今回追加するスタイル
================================ */

/* Hero 全体 */
.hero {
  text-align: center;
  padding: 40px 16px;
}

.hero img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

/* 本文（新規追加クラス） */
.hero-text {
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  color: #333;
}

/* PC向け：画像が大きくなりすぎないように制限 */
@media (min-width: 1024px) {
  .hero img {
    max-width: 800px;  /* 好みに応じて 800px / 900px などに調整可 */
  }
}


/* SP（〜767px） */
@media (max-width: 767px) {

  /* h2を24pxに固定 */
  .hero-title {
    font-size: 24px !important;   /* 指定済みのfont-sizeを確実に上書き */
    line-height: 1.35;
  }

  .hero {
    padding: 24px 16px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.8;
    max-width: 100%;
  }
}



/* TBSとは */
#TBS { 
  /* 固定ヘッダーがある場合、アンカー遷移時に隠れないようオフセット */
  scroll-margin-top: 80px; /* ←ヘッダーの実高さに合わせて調整 */
}

.sec-about { padding: 48px 0; }           /* 既存のセクション余白規則に合わせてOK */
.sec-about .sec-title { margin-bottom: 16px; }
.sec-about p { line-height: 1.8; }



/* お知らせ */

.heading {
  display: flex;
}

.section_headerBtn {
  text-align: center; /* ボタンをセンターに配置 */
  margin-top: 25px;
}

.more-button {
  background-color: #000000; /* ボタンの背景色 */
  color: #ffffff; /* ボタンの文字色 */
  text-decoration: none; /* 下線を消す */
  padding: 10px 20px; /* パディングでボタンの大きさを調整 */
  display: inline-block; /* ブロック要素として配置 */
  transition: background-color 0.3s, color 0.3s; /* 色変更のアニメーション */
  border: 1px solid #ffffff; /* 白いボーダーを追加 */
  border-radius: 5px; /* 角を丸める */
  font-weight: bold; /* 文字を太字に */
}

.cardList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media only screen and (max-width: 822px){
  .cardList {
    grid-template-columns: repeat(1, 1fr);
  }
}

.cardList section {
  margin: 25px 0;
  position: relative;
}

.card .card_label {
  position: absolute;
  /* top: 10px;
  left: 0; */
  z-index: 50
}

.card .card_label .label {
  margin-right: 5px
}

.card .card_pic {
  background-color: #f0f0f0; /* ★余白が出る場合、その背景色（薄いグレーなど） */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 200px; /* ★ここで固定したい高さを指定 */
}

.card .card_pic img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ★全体を表示させる設定 */
  display: block;
  -webkit-transition: none; /* ホバー拡大を無効化 */
  transition: none;
}

.label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 3px 15px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background-color: #000
}

a.label:hover {
  background-color: black;
  font-weight: bold;
  color: #fff
}

.label-lg {
  padding: 5px 50px 5px 30px;
  font-size: 15px
}

.label-radius {
  border-radius: 5px
}

.label-rounded {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50%;
  width: 75px;
  height: 75px
}

.label-main {
  color: #45C6E5;
  border: 1px solid #45C6E5;
  color: #fff
}

.label-theme {
  color: #000;
  border: 1px solid #000;
  color: #fff
}

.label-gray {
  color: #707070;
  border: 1px solid #707070;
  color: #fff
}

.label-light-gray {
  color: #f5f5f5;
  border: 1px solid #f5f5f5;
  color: #fff
}

.label-black {
  color: #000;
  color: #fff
}

.label-white {
  color: #fff;
  border: 1px solid #fff;
  color: #fff
}

.label-transparent {
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff
}

.label-sky {
  color: #45C6E5;
  border: 1px solid #45C6E5;
  color: #fff
}

.label-yellow {
  color: #F9D93B;
  border: 1px solid #F9D93B;
  color: #fff
}

.label-blue {
  color: #64C8E6;
  border: 1px solid #64C8E6;
  color: #fff
}

.label-orange {
  color: #FD9F5B;
  border: 1px solid #FD9F5B;
  color: #fff
}

.label-darkblue {
  color: #1F7B96;
  border: 1px solid #1F7B96;
  color: #fff
}

.label-green {
  color: #2D953C;
  border: 1px solid #2D953C;
  color: #fff
}

@media only screen and (max-width: 767px) {
  .label {
      padding:2px 15px
  }

  .label-lg {
      padding: 4px 30px 4px 15px;
      font-size: 12px
  }
}



/* ご挨拶 */
.greeting__body p {
  margin-bottom: 1.5em;
}

.greeting-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  background-color: #006CB8; /* サイト基準の青 */
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s;
}

.greeting-btn:hover {
  background-color: #005a96;
}


/* 組織図 */
.sosikizu {
  max-width: 600px;
}



/* 役員・各県理事長 */
/* ===== yakuin (plain CSS) ===== */
.yak-sec{padding:48px 0;}
.yak-wrap{max-width:1040px;margin:0 auto;padding:0 16px;}
.yak-hdr h2{font-size:32px;line-height:1.3;font-weight:700;color:#0B3357;text-align:center;margin:0;}
.yak-hdr p{margin:8px 0 24px;color:#475569;font-size:14px;text-align:center;}

.yak-tabarea{display:none;}          /* SP:非表示 */
.yak-accarea{display:block;}         /* SP:表示  */
@media (min-width:640px){
  .yak-tabarea{display:block;}
  .yak-accarea{display:none;}
}
/* tabs */
.yak-tabbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;}
.yak-tab{
  appearance:none;border:1px solid #D7E3EE;background:#fff;color:#334155;
  padding:8px 12px;border-radius:12px;font-size:15px;cursor:pointer;
}
.yak-tab:hover{background:#F1F5F9;}
.yak-tab.is-active{background:#006CB8;color:#fff;border-color:#006CB8;}
.yak-panel{
  background:#fff;border:1px solid #E5EEF5;border-radius:16px;padding:20px;
}
.yak-panel.is-hidden{display:none;}
/* headings */
.yak-h3{font-size:20px;font-weight:700;color:#0B3357;margin:0 0 12px;}
.yak-h4{font-size:16px;font-weight:700;color:#0B3357;margin:12px 0 8px;}
/* dl */
.yak-dl{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0;}
.yak-dl>div{display:grid;grid-template-columns:150px 1fr;gap:12px;background:#F8FAFC;border-radius:12px;padding:10px 12px;}
.yak-dl dt{font-weight:600;color:#334155;}
.yak-dl dd{margin:0;color:#111827;}
/* list */
.yak-list{display:grid;grid-template-columns:1fr;gap:8px 24px;margin:0 0 12px;padding:0;list-style:none;}
@media (min-width:640px){.yak-list{grid-template-columns:1fr 1fr;}}

/* block cards */
.yak-card{background:#F9FBFD;border:1px solid #E5EEF5;border-radius:16px;padding:16px;margin:0 0 12px;}
.yak-cardtitle{font-size:16px;font-weight:700;margin:0 0 8px;}
.c-cyan1{color:#0EA5E9;} .c-cyan2{color:#06B6D4;} .c-blue{color:#3B82F6;}
.c-amber{color:#F59E0B;} .c-emerald{color:#10B981;} .c-violet{color:#8B5CF6;}
.c-sky{color:#60A5FA;} .c-green{color:#34D399;} .c-pink{color:#F472B6;}

/* accordion (SP) */
.yak-acc{border:1px solid #E5EEF5;border-radius:16px;background:#fff;margin:0 0 12px;}
.yak-accsum{padding:12px 14px;font-weight:700;color:#0B3357;cursor:pointer;list-style:none;}
.yak-acc[open] .yak-accsum{border-bottom:1px solid #E5EEF5;background:#F8FAFC;}
.yak-accbody{padding:14px;}

@media (max-width: 639px){
  .yak-dl>div{
    grid-template-columns: 1fr; /* 1列に */
    gap: 6px;                  /* 縦の間隔 */
  }
  .yak-dl dt{
    font-weight:700;
  }
  .yak-dl dd{
    margin-top:2px;
  }
}


/* 上部団体情報カード */
.info-card {
  background-color: #ffffff; /* 元: bg-white */
  padding: 1.5rem; /* 元: p-6 */
  border-radius: 0.5rem; /* 元: rounded-lg */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* 元: shadow-md */
  margin-bottom: 2.5rem; /* 元: mb-10 */
  max-width: 56rem; /* 元: max-w-4xl */
  margin-left: auto;
  margin-right: auto;
}

.info-card-title {
  font-size: 1.5rem; /* 元: text-2xl */
  font-weight: 700; /* 元: font-bold */
  border-bottom: 2px solid #4299e1; /* 元: border-b-2 border-blue-500 */
  padding-bottom: 0.5rem; /* 元: pb-2 */
  margin-bottom: 1rem; /* 元: mb-4 */
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 元: grid grid-cols-1 */
  gap: 1rem 2rem; /* 元: gap-y-4 gap-x-8 */
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 元: md:grid-cols-2 */
  }
}

.yakushoku-title {
  font-weight: 600; /* 元: font-semibold */
  width: 7rem;      /* 元: w-28 */
  margin-right: 1em;
  display: inline-block;
}

.info-grid > div > span {
  display: inline-block;
}

@media only screen and (max-width: 1160px) {
  .info-grid > div > span {
    display: block;
  }
}

.secretariat-info {
  margin-top: 1.5rem; /* 元: mt-6 */
  border-top: 1px solid #e2e8f0; /* 元: border-t */
  padding-top: 1rem; /* 元: pt-4 */
}

.secretariat-title {
  font-weight: 600; /* 元: font-semibold */
  font-size: 1.125rem; /* 元: text-lg */
  margin-bottom: 0.5rem; /* 元: mb-2 */
}

/* アコーディオンのスタイル */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 元: space-y-3 */
  max-width: 56rem; /* 元: max-w-4xl */
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  background-color: #ffffff; /* 元: bg-white */
  border-radius: 0.5rem; /* 元: rounded-lg */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* 元: shadow-sm */
  overflow: hidden;
}

.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem; /* 元: p-5 */
  text-align: left;
  font-weight: 600; /* 元: font-semibold */
  font-size: 1.125rem; /* 元: text-lg */
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.accordion-toggle:hover {
  background-color: #f7fafc; /* 元: hover:bg-gray-50 */
}

.accordion-title-wrapper {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .accordion-title-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem; /* 元: md:space-x-2 */
  }
}

.block-leader {
  font-weight: 400; /* 元: font-normal */
  font-size: 0.875rem; /* 元: text-sm */
}

@media (min-width: 768px) {
  .block-leader {
    font-weight: 600; /* 元: md:font-semibold */
    font-size: 1rem; /* 元: md:text-base */
  }
}

.chevron {
  width: 1.5rem; /* 元: w-6 */
  height: 1.5rem; /* 元: h-6 */
  flex-shrink: 0; /* 元: shrink-0 */
  transition: transform 0.4s ease-in-out;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.accordion-content-inner {
  padding: 1.25rem; /* 元: p-5 */
  border-top: 1px solid #e2e8f0; /* 元: border-t border-gray-200 */
}

/* アコーディオン内のカラムレイアウト */
.column-layout {
  column-count: 1;
  column-gap: 2rem;
}
@media (min-width: 768px) {
  .column-layout {
    column-count: 2;
  }
}
.column-layout > div {
  break-inside: avoid;
  padding-bottom: 1rem;
}

.coop-name {
  font-weight: 500; /* 元: font-medium */
}

.director-name {
  padding-left: 0.5rem; /* 元: pl-2 */
}

/* 事務局情報レスポンシブ調整 */
@media (max-width: 430px) {
  /* 住所の郵便番号の後で改行 */
  .secretariat-address span:first-child {
    display: block;
  }

  /* TelとFaxをそれぞれ改行して表示 */
  .secretariat-contact span:not(.contact-divider) {
    display: block;
  }

  /* 区切り文字「/」を非表示 */
  .secretariat-contact .contact-divider {
    display: none;
  }
}


/* 役員・各県理事長 */
/* アコーディオンのアニメーション */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content.open {
    max-height: 1000px; /* 十分な高さを確保 */
    transition: max-height 0.5s ease-in;
}
.chevron {
    transition: transform 0.3s ease;
}
.accordion-item.open .chevron {
    transform: rotate(180deg);
}
/* マルチカラムレイアウト */
.column-layout {
    column-gap: 2rem; /* カラム間の隙間 */
}
@media (min-width: 768px) { /* md breakpoint */
    .column-layout {
        column-count: 2;
    }
}
.column-layout > div {
    break-inside: avoid; /* カラムの途中で改ページされるのを防ぐ */
    margin-bottom: 1rem;
}




/* 歴代 */
/* ==== rekidai ==== */
.rk-sec{padding:48px 0;}
.rk-wrap{max-width:1040px;margin:0 auto;padding:0 16px;}
.rk-hdr h2{margin:0;font-size:28px;line-height:1.25;font-weight:700;color:#0B3357;text-align:center;}
.rk-hdr p{margin:8px 0 20px;text-align:center;color:#64748B;font-size:14px;}

.rk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;list-style:none;padding:0;margin:0;}
@media (min-width:640px){.rk-grid{grid-template-columns:repeat(3,1fr);gap:16px;}}
@media (min-width:960px){.rk-grid{grid-template-columns:repeat(4,1fr);gap:18px;}}

.rk-card{background:#fff;border:1px solid #E5EEF5;border-radius:12px;overflow:hidden;}
.rk-card figure{margin:0;}
.rk-card img{display:block;width:100%;height:260px;object-fit:cover;background:#F3F4F6;}
.rk-card figcaption{padding:10px 12px;font-size:14px;color:#111827;text-align:center;}
.rk-link{display:block;color:inherit;text-decoration:none;}
.rk-link:hover .rk-card img{filter:brightness(1.02);}

/* modal */
.rk-modal{border:none;padding:0;max-width:min(90vw,960px);width:auto}
.rk-modal::backdrop{background:rgba(0,0,0,.5);}
.rk-modal img{display:block;max-width:min(90vw,960px);max-height:70vh;margin:0 auto;}
.rk-cap{text-align:center;margin:8px 0 16px;color:#111827;}
.rk-close{
  position:absolute;right:8px;top:8px;border:1px solid #CBD5E1;border-radius:999px;
  width:32px;height:32px;background:#fff;cursor:pointer;font-size:16px;line-height:30px;
}

/* 640px未満（=今の2カラム帯）だけ上寄せ */
.rk-card img{
  object-position: center top; /* もしくは center 10% */
}

/* 
  会員
*/
/* サイトのデザインに合わせて調整してください */
/* フィルタコントロール全体のレイアウト */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    padding: 0 10px;
}

/* ボタンの基本デザイン */
.filter-btn {
    appearance: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px; /* 少し角丸 */
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    min-width: 100px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ホバー（マウスを乗せた時） */
.filter-btn:hover {
    background: #f8f8f8;
    border-color: #bbb;
    transform: translateY(-1px);
}

/* アクティブ（現在選択されているボタン） */
.filter-btn.active {
    background: #333; /* 役員タブ等に合わせて黒、またはメインカラー */
    color: #fff;
    border-color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* スマホ対応：ボタンが小さくなりすぎないよう調整 */
@media screen and (max-width: 767px) {
    .filter-controls {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: calc(33.33% - 8px); /* 3列に並ぶように調整 */
    }
}

/* 会員リストの外枠 */
.member-list-wrapper {
    margin-top: 20px;
}

/* 各ブロックのタイトル（北海道ブロックなど） */
.block-title {
    font-size: 20px;
    border-left: 4px solid #c00; /* アクセントカラー */
    padding-left: 15px;
    margin: 40px 0 20px;
    font-weight: bold;
}

/* 単組名（〜協同組合など） */
.unit-name {
    font-size: 16px;
    color: #666;
    margin: 25px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ccc;
}

.member-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; font-size: 28px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #c00; }

.member-block { margin-bottom: 60px; }
.block-title { background: #333; color: #fff; padding: 12px 20px; font-size: 22px; margin-bottom: 30px; border-radius: 4px; }

.member-unit { margin-bottom: 40px; padding: 0 15px; }
.unit-name { font-size: 18px; color: #c00; border-bottom: 1px solid #ddd; padding-bottom: 8px; margin-bottom: 20px; font-weight: bold; }

.company-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 15px; 
    list-style: none; 
    padding: 0; 
}

.company-item { 
    background: #fff; 
    border: 1px solid #eee; 
    padding: 12px 15px; 
    font-size: 15px; 
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.company-item:hover { background: #fdfdfd; border-color: #ccc; }
.company-item a { color: #0066cc; text-decoration: none; width: 100%; display: block; }
.company-item a:hover { text-decoration: underline; }


/* 賛助会員 */
.member h2 {
  font-size: 1.4rem;
  font-weight: 600;
  
  padding-left: 0.75em;
  margin-top: 2em;
  color: #333;
}

.special{border-left: 4px solid #b61207;}
.premium{border-left: 4px solid #fd6a01;}
.regular{border-left: 4px solid #ff1696;}


.member {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.kaiin, .sanjokaiin {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  margin: 24px 0 16px;
  padding-left: 16px; /* 擬似要素のスペースを確保 */
  position: relative;
  border-bottom: 2px solid var(--c-divider);
  padding-bottom: 8px;
}

.kaiin::before, .sanjokaiin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.2em;
  border-radius: 3px;
}

/* 賛助会員見出しの上部マージンを調整 */
.sanjokaiin {
  margin-top: 48px;
  font-size: 1.25rem; /* 20px */
}

/* * 会員リストのグリッドスタイル
  * .kaiinn-grid にCSS Gridを適用し、レスポンシブなレイアウトを実現します。
  */
.kaiinn-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* モバイルでのデフォルトは1列 */
  gap: 12px 24px; /* 縦と横の隙間 */
  padding: 0;
  margin: 0;
}

/* 以前付けた white-space: nowrap; があれば打ち消す */
.member .kaiinn-grid .kaiinn-item p {
  white-space: normal;
  margin: 0;
}

/* * グリッド内のアイテムのスタイル
  * .kaiinn-item に下線のスタイルを適用します。
  */
.kaiinn-item {
  padding: 8px 0;
  border-bottom: 1px dotted var(--c-divider);
}

/* * アイテム内のpタグのスタイル
  * pタグのデフォルトマージンをリセットし、トランジションを設定します。
  */
.kaiinn-item p {
  margin: 0;
  transition: color 0.2s ease-in-out;
}

/* * ホバーエフェクト
  * .kaiinn-itemにホバーした際に、中のpタグの文字色を変更します。
  */
.kaiinn-item:hover p {
  color: var(--c-accent);
}

/* * メディアクエリによるレスポンシブ対応
  * 画面幅(breakpoint)に応じて、グリッドの列数を変更します。
  */
@media (min-width: 640px) {
  .kaiinn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* 会員社名 備考 */
.member-remarks {
  margin-top: 2.5rem; /* 40px */
  padding-top: 1.5rem; /* 24px */
  border-top: 1px solid #e5e7eb; /* gray-200 */
  font-size: 1rem; /* 16px */
  line-height: 1.75; /* 28px */
  color: #333333; /* gray-700 */
}

.member-remarks p {
  margin: 0;
  padding-bottom: 0.25rem; /* 4px */
}


/* フッター */
.site-footer {
  background: #f4f4f4;
  padding: 2rem;
  text-align: center;
}

.site-footer .title_logo {
  justify-content: center;
}

.footer-logo {

}

.site-footer .copyright {
  font-size: 0.875rem; /* 14px */
  color: #333333; /* gray-600 */
  margin-top: 1rem;
  text-align: center;
  word-break: keep-all;
}

/* フッターロゴのレスポンシブ調整 */
@media (max-width: 400px) {
  .site-footer .title_logo {
    flex-direction: column;
  }
}

/* TOPに戻るボタン */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: none; /* JSで制御するため非表示 */
  width: 50px;
  height: 50px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.page-top-btn:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 767px){
  .page-top-btn{
    bottom: 50px;
    right: 20px;
  }
}


/* PCサイズではSP用メニュー関連を非表示 */
@media (min-width: 1537px) {
  .nav, /* SP用navコンテナ */
  .nav-item-sp,
  .black_bg,
  .hamburger {
    display: none !important;
  }
}

/* 投稿一覧ページ(index.php) */
.archive-page {
  margin: 0 20%;
  padding-top: 80px;
}

@media only screen and (max-width: 767px){
  .archive-page {
    margin: 0 10%;
  }
}

main .archive {
  padding: 0px 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

main .archive_title {
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 10px
}

main .archive_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: -10px;
  list-style: none;
  padding: 0;
}

main .archive_list li {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px
}

main .archive_list li a {
  position: relative;
  font-weight: bold;
  line-height: 1.4;
  display: inline-block;
  padding: 10px 30px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  border: 1px solid #707070;
  font-size: 14px
}

main .archive_list li a:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

main .archive_list li a[aria-current] {
  color: #fff;
  background-color: #000;
  border-color: #000;;
}

main .archive_list li.current-cat a {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

main .archive_yealy,
.archive_category {
  padding-top: 30px
}


@media only screen and (max-width: 767px) {
  main .archive {
    -webkit-box-orient:vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  main .archive_list li a {
    padding: 5px 10px;
    font-size: 12px
  }
}



/* 投稿ページ(single.php) */
.single-page {
  margin: 0 20%;
  padding-top: 80px;
}

@media only screen and (max-width: 767px){
  .single-page {
    margin: 0 10%;
  }
}

.heading {
  font-weight: bold;
  line-height: 1.2
}

.heading>span {
  display: block;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
  font-size: 14px
}

.heading-primary {
  position: relative;
  display: block;
  padding-bottom: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
  font-size: 2rem;
  top: 20px;
}

.heading-primary:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: -webkit-gradient(linear,left top,right top,color-stop(5%,#fff),color-stop(5%,#fff),to(#fff));
  background: linear-gradient(to right,#fff 5%,#fff 5%,#fff 100%)
}

.post .post_content {
  padding: 30px 0
}

.post .post_content time {
  display: block;
  text-align: right;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bold
}

.content * {
  font-family: "游ゴシック体",sans-serif;
}

.content {
  /* margin: 0 10%; */
}

.content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1em
}

.content p {
  /* font-size: 1.6rem; */
  line-height: 1.8;
  margin-bottom: 15px
}

.prevNext {
  padding-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%
}

.prevNext .prevNext_item {
  width: 50%
}

.prevNext .prevNext_item a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: #000;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none
}

.prevNext .prevNext_item a i {
  color: #45C6E5;
  font-size: 28px
}

.prevNext .prevNext_item a span {
  display: inline-block;
  padding: 0 10px;
  font-size: 1.3rem;
}

.prevNext .prevNext_item a:hover span {
  text-decoration: underline
}

.prevNext .prevNext_item-prev {
  border-right: 1px solid #000;
  margin-right: auto
}

.prevNext .prevNext_item-next {
  text-align: right;
  margin-left: auto
}

@media only screen and (max-width: 767px) {
  .prevNext {
      padding-top:20px
  }

  .prevNext .prevNext_item a {
      font-size: 12px
  }

  .prevNext .prevNext_item a i {
      font-size: 18px
  }
}

.angle-right {
  transform: scale(-1,1);
}

.btn {
  position: relative;
  font-weight: bold;
  line-height: 1.4;
  display: inline-block;
  padding: 10px 30px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  border: 1px solid #707070;
  font-size: 14px
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.btn.is-active {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

.btn-sm {
  padding: 4px 6px;
  font-size: 12px;
}

/* -------------------------------------------------- 
  固定ページ共通レイアウト（TOP/投稿ページと統一）
-------------------------------------------------- */
.page-contact {
  margin: 0 20%;      /* PC時の左右余白 */
  padding-top: 80px;  /* 固定ヘッダー分の余白 */
}

@media only screen and (max-width: 767px) {
  .page-contact {
    margin: 0 10%;    /* SP時の左右余白 */
    padding-top: 60px; /* SP時のヘッダー高さに合わせる場合は調整 */
  }
}

/* 固定ページのタイトルスタイルをTOPの section h1 と統一 */
.page-contact .page-title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid #000;
  padding-bottom: 0.3em;
  margin-bottom: 40px;
  margin-top: 50px;
}

@media only screen and (max-width: 767px) {
  .page-contact .page-title {
    font-size: 1.5rem;
    margin-top: 40px;
  }
}

/* -------------------------------------------------- 
  MW WP Form カスタム（既存コードのブラッシュアップ）
-------------------------------------------------- */
.mw_wp_form .mwf-list {
  margin: 0;
  padding: 0;
}

.mw_wp_form .mwf-list dt {
  margin: 24px 0 8px; /* 余白を少し広めに */
  color: #333;
  font-weight: 600;
  font-size: 16px;
}

.mw_wp_form .mwf-list dd {
  margin: 0 0 16px;
}

/* 入力フィールドのフォーカス時スタイル追加 */
.mw_wp_form input[type="text"], 
.mw_wp_form input[type="tel"], 
.mw_wp_form input[type="email"], 
.mw_wp_form textarea {
  width: 100%;
  padding: .8rem;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.mw_wp_form input:focus, 
.mw_wp_form textarea:focus {
  outline: none;
  border-color: #006CB8; /* サイトのアクセントカラー */
}

/* ボタン周り（greeting-btnのデザインに寄せる） */
.mw_wp_form .form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-bottom: 60px;
}

.mw_wp_form .form-actions input[type="submit"], 
.mw_wp_form .form-actions input[type="button"],
.mw_wp_form .form-actions button {
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 4px;
  background-color: #006CB8;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  appearance: none;
}

.mw_wp_form .form-actions input[type="submit"]:hover, 
.mw_wp_form .form-actions input[type="button"]:hover {
  background-color: #005a96;
  opacity: 0.9;
}

/* 戻るボタンのスタイル変更（サブカラー的に） */
.mw_wp_form .form-actions input[name="back_button"] {
  background-color: #666;
}

/* エラーメッセージ */
.mw_wp_form .error {
  color: #e34234;
  font-size: 13px;
  margin-top: 6px;
  display: block;
  font-weight: bold;
}

/* ------------------ 
  お問い合わせ
------------------ */

.mw_wp_form .mwf-list {
    margin: 0;
    padding: 0;
  }
  .mw_wp_form .mwf-list dt {
    margin: 16px 0 6px;
    color: #333;
    font-weight: 600;
  }
  .mw_wp_form .mwf-list dd {
    margin: 0 0 14px;
  }
  .mw_wp_form .mwf-list .req {
    color: #e34234;
    font-size: 12px;
    margin-left: .25em;
  }
  .mw_wp_form input[type="text"], .mw_wp_form input[type="tel"], .mw_wp_form input[type="email"], .mw_wp_form textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid #d8dde3;
    border-radius: 6px;
  }
  .mw_wp_form .mwform-checkbox-field {
    display: inline-block;
    margin-right: 1rem;
  }
  .mw_wp_form .error {
    color: #e34234;
    font-size: 12px;
    margin-top: 4px;
    display: block;
  }
  .mw_wp_form .form-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
  }
  .mw_wp_form .form-actions input[type="submit"], .mw_wp_form .form-actions input[type="button"] {
    min-width: 160px;
    padding: .6rem 1.2rem;
    border-radius: 6px;
    border: 1px solid #006CB8;
  }
  
/* -------------------------------------------------- 
  確認画面（.mw_wp_form_confirm）のデザイン修正版
  完了画面（グレーの箱）に合わせるスタイル
-------------------------------------------------- */

/* 1. 全体の枠（完了画面と同じグレーのボックス） */
.mw_wp_form_confirm .mwf-list {
  border-radius: 8px;
  padding: 40px 0 0;
  margin: 0 auto 40px;
  max-width: 800px;
  
  /* 以前のGrid設定をリセット */
  display: block;
}

/* 2. 項目名（左側） */
.mw_wp_form_confirm .mwf-list dt {
  color: #006CB8;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
  margin-top: 24px;
  
  /* 以前のスタイルリセット */
  width: auto;
  float: none;
  background: none;
  border: none;
  padding: 0;
}

.mw_wp_form_confirm .mwf-list dt:first-child {
  margin-top: 0;
}

/* 3. 入力内容（右側） */
.mw_wp_form_confirm .mwf-list dd {
  font-size: 16px;
  line-height: 1.6;
  margin-left: 0;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #ccc; /* 点線区切り */
  
  /* 以前のスタイルリセット */
  width: auto;
  float: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

/* 4. 必須マーク等の非表示 */
.mw_wp_form_confirm .mwf-list .req,
.mw_wp_form_confirm .mwf-list dt.is-action-label {
  display: none;
}

/* 5. ボタンエリアの調整 */
.mw_wp_form_confirm .mwf-list dd.form-actions {
  border-bottom: none; /* 点線なし */
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 40px;
  text-align: center;
  
  display: flex;
  justify-content: center;
  gap: 20px;
  
  /* リセット */
  background: transparent !important;
  border: 0 !important;
}

/* スマホ対応 */
@media only screen and (max-width: 767px) {
  .mw_wp_form_confirm .mwf-list {
    padding: 20px;
  }
}

  .mw_wp_form_complete .mwf-complete-title {
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 16px;
    background: #F3F8FF;
    color: #334455;
    border: 1px solid #E6EEF7;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
  }
  .mw_wp_form_complete .mwf-complete-lead {
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 16px;
    background: #fff;
    color: #111;
    border: 1px solid #E6EEF7;
    border-top: 0;
    border-bottom: 0;
    text-align: center;
  }
  .mw_wp_form_complete .mwf-complete-actions {
    max-width: 820px;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border: 1px solid #E6EEF7;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    text-align: center;
  }
  .mw_wp_form_complete .mwf-complete-actions .btn {
    display: inline-block;
    padding: .6rem 1.2rem;
    border: 1px solid #006CB8;
    border-radius: 6px;
  }

  /* 電話番号フィールドを横並びにする設定 */
.mw_wp_form .mwform-tel-field {
    display: flex;
    align-items: center; /* ハイフンとボックスを縦中央揃え */
    gap: 5px; /* ボックス間の隙間 */
    width: 100%;
    max-width: 300px; /* PCでも広がりすぎないように制限（お好みで調整） */
}

/* 電話番号のinputタグ個別の設定 */
.mw_wp_form .mwform-tel-field input[type="text"] {
    width: auto !important; /* 親のwidth:100%指定を強制解除 */
    flex: 1; /* 3つのボックスを均等な幅に広げる */
    min-width: 0; /* Flexbox内でのはみ出し防止 */
    text-align: center; /* 数字を真ん中に表示 */
    padding: 0.6rem 4px; /* スマホで文字が切れないように内側の余白を微調整 */
}

/* -------------------------------------------------- 
  完了画面（サンクスページ）のデザイン
-------------------------------------------------- */

/* 全体の囲み */
.complete-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}

/* 「送信が完了しました」タイトル */
.complete-title {
  font-size: 24px;
  font-weight: bold;
  color: #006CB8; /* サイトのメインカラー */
  margin-bottom: 24px;
}

/* リード文 */
.complete-lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* 送信内容の表示エリア（グレーの箱） */
.complete-details {
  background-color: #f9f9f9;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: left; /* 中身は左揃え */
}

/* リストのデザイン */
.complete-details dl {
  margin: 0 0 16px 0;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 16px;
}

.complete-details dl:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.complete-details dt {
  font-weight: bold;
  color: #006CB8;
  font-size: 14px;
  margin-bottom: 8px;
}

.complete-details dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  word-wrap: break-word; /* 長いメールアドレス等がはみ出ないように */
}

/* 最後の注釈メッセージ */
.complete-note {
  font-size: 14px;
  margin-bottom: 40px;
  color: #666;
}

/* ボタンエリア */
.complete-btn-area {
  margin-top: 40px;
  padding-bottom: 60px;
}

/* ボタンのデザイン（既存の .btn クラスを利用しつつ調整） */
.complete-btn-area .btn {
  background-color: #006CB8;
  color: #fff;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.3s;
  display: inline-block;
}

.complete-btn-area .btn:hover {
  opacity: 0.8;
  background-color: #005a96;
}

/* スマホ表示の調整 */
@media only screen and (max-width: 767px) {
  .complete-details {
    padding: 20px;
  }
  .complete-title {
    font-size: 20px;
  }
}