/* 共通 */
: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: 100px 0;
}

@media only screen and (max-width: 767px){
  section {
    margin: 70px 0;
  }
}

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

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

.container {
  margin: auto;
}

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

/* ヘッダー */
.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;
}

@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: 1024px){
  .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: 22px 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 {
  position: relative;
  text-align: center;
  margin: 50px 0;
}
.hero img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.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; 
  }
}


/* 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:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1)
}

.card .card_pic img {
  width: 100%;
  height: auto;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease,-webkit-transform 0.6s ease
}

.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
  }
}

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



/* 役員・各県理事長 */
.yakuin-section .yakuin-main-title {
  font-size: 1.875rem; /* 元: text-3xl */
  font-weight: 700; /* 元: font-bold */
  text-align: center;
  margin-bottom: 2rem; /* 元: mb-8 */
}

/* 上部団体情報カード */
.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-table-wrapper {
  /* 1行の高さを約40pxと仮定し、10行分(400px)の高さを設定 */
  max-height: 420px; 
  overflow-y: scroll; /* 縦方向にスクロールバーを表示 */
  border: 1px solid #e0e0e0; /* 枠線を少し薄く */
  margin-top: 20px;
  border-radius: 8px; /* 角を丸くする */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 影を追加 */
}

.rekidai-table {
  width: 100%;
  border-collapse: collapse; /* ボーダーを重ねる */
  font-size: 0.9rem;
}

.rekidai-table th,
.rekidai-table td {
  padding: 12px 15px; /* パディングを調整 */
  text-align: center; /* すべてのテキストを中央寄せ */
  white-space: nowrap; /* セル内での改行を防ぐ */
  border-bottom: 1px solid #eee; /* 下線のみに変更してシンプルに */
}

/* 最後の行の下線を消す */
.rekidai-table tr:last-child td {
    border-bottom: none;
}

.rekidai-table thead th {
  position: sticky; /* スクロール時にヘッダーを固定 */
  top: 0;
  background-color: #f9f9f9; /* ヘッダーの背景色をより薄く */
  z-index: 1; /* ヘッダーが他の要素の上に表示されるようにする */
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0; /* ヘッダーの下線を少し濃く */
}

/* スクロールバーのデザイン（任意） */
.rekidai-table-wrapper::-webkit-scrollbar,
.rekidai-accordion.is-sp dl::-webkit-scrollbar {
  width: 8px;
}

.rekidai-table-wrapper::-webkit-scrollbar-track,
.rekidai-accordion.is-sp dl::-webkit-scrollbar-track {
  background: #f9f9f9;
}

.rekidai-table-wrapper::-webkit-scrollbar-thumb,
.rekidai-accordion.is-sp dl::-webkit-scrollbar-thumb {
  background: #ccc; /* スクロールバーの色を薄く */
  border-radius: 4px;
}

.rekidai-table-wrapper::-webkit-scrollbar-thumb:hover,
.rekidai-accordion.is-sp dl::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

.rekidai-accordion.is-sp {
  display: none; /* デフォルト(PC)では非表示 */
}

@media only screen and (max-width: 767px) {
  /* SPではPC用テーブルを非表示 */
  .rekidai-table-wrapper.is-pc {
    display: none;
  }

  /* SPではアコーディオンを表示 */
  .rekidai-accordion.is-sp {
    display: block;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* 角丸を維持するため */
  }

  .rekidai-accordion.is-sp dl {
    /* 10件分の高さ + α を目安に設定 */
    max-height: 500px; 
    overflow-y: scroll;
  }

  .rekidai-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    transition: background-color 0.3s;
  }

  .rekidai-accordion.is-sp dl > dd:last-of-type {
    border-bottom: none;
  }

  .rekidai-accordion-header:hover {
    background-color: #f0f0f0;
  }

  .rekidai-accordion-sokai {
    font-weight: bold;
    color: #333;
  }

  .rekidai-accordion-date {
    font-size: 0.9rem;
    color: #333;
    padding-right: 20px; /* アイコンスペース */
  }

  /* 開閉アイコン */
  .rekidai-accordion-header::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: bold;
    color: #333333;
    transition: transform 0.3s;
  }

  .rekidai-accordion-header.active::after {
    content: '−';
  }

  .rekidai-accordion-body {
    display: none; /* JSで制御 */
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
  }

  .rekidai-accordion-body li {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
  }

  .rekidai-accordion-body li:last-child {
    border-bottom: none;
  }

  .rekidai-accordion-title {
    font-weight: 600;
    color: #333333;
    width: 35%;
    flex-shrink: 0;
  }
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.history-item {
  text-align: center;
}

.history-item img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.history-grid h2 {
  font-size: 23px;
}

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

@media only screen and (max-width: 767px){
  .history-grid h2 {
    font-size: 16px;
  }
}


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

.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: 1025px) {
  .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;
}
