@import url("reset.css");

.dopc {
  display: block;
}
.dosp {
  display: none;
}

@media (max-width: 767px) {
  .dosp {
    display: block !important;
  }
  .dopc {
    display: none !important;
  }
}

:root {
}
/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
    "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding-top: 80px; /* ヘッダー固定分の余白 */
}

/* 基本設定 */
html {
  font-size: 62.5%;
  scroll-padding-top: 100px; /* ヘッダー高さ + 余白 */
  scroll-behavior: smooth; /* スムーズスクロール */
}

/*====================================
  header.php
====================================*/
/* ヘッダー全体 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

/* ヘッダー本体 */
.header__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
}

/* ロゴ部分 */
.header__sitename {
  margin: 0;
}

.header__logo-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.header__logo-img {
  display: block;
  height: auto;
}

/* ナビゲーション全体 */
.header__nav-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  height: 100%;
  align-items: center;
}

.header__nav {
  position: relative;
  height: 100%;
}

/* ナビゲーションリスト */
.header__nav-list {
  height: 100%;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

/* ナビゲーションアイテム */
.header__nav-item {
  position: relative;
  width: 100px;
  border-left: 1px solid #ccc;
}

.header__nav-item:last-child {
  border-right: 1px solid #ccc;
}

/* ナビゲーションリンク */
.header__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 5px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
  min-height: 60px;
  justify-content: center;
  height: 100%;
  cursor: pointer;
}

.header__nav-link:hover {
  background-color: #f5f5f5;
}

/* ナビゲーションタイトル */
.header__nav-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

/* ナビゲーションサブタイトル */
.header__nav-subtitle {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  text-align: center;
}

/* ナビゲーションアイコン */
.header__nav-icon {
  font-size: 18px;
  margin-bottom: 5px;
  color: #666;
}

/* ハンバーガーメニュー */
.header__hamburger-menu {
  display: none;
  position: relative;
}

/* ハンバーガーチェックボックス（非表示） */
.header__hamburger-checkbox {
  display: none;
}

/* ハンバーガーボタン */
.header__hamburger-open {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 51;
}

/* ハンバーガー3本線 */
.header__hamburger-line,
.header__hamburger-line::before,
.header__hamburger-line::after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #333;
  position: absolute;
  transition: transform 0.3s ease;
}

.header__hamburger-line {
  top: 50%;
  transform: translateY(-50%);
}

.header__hamburger-line::before {
  top: -8px;
}

.header__hamburger-line::after {
  top: 8px;
}

/* ハンバーガーメニューが開いた時のアニメーション */
.header__hamburger-checkbox:checked
  + .header__hamburger-open
  .header__hamburger-line {
  background-color: transparent;
}

.header__hamburger-checkbox:checked
  + .header__hamburger-open
  .header__hamburger-line::before {
  transform: rotate(45deg);
  top: 0;
}

.header__hamburger-checkbox:checked
  + .header__hamburger-open
  .header__hamburger-line::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 背景オーバーレイ */
.header__hamburger-close {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.header__hamburger-checkbox:checked ~ .header__hamburger-close {
  opacity: 1;
  visibility: visible;
}

/* ドロワーメニュー */
.header__drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  /* padding-top: 80px; */
}

.header__hamburger-checkbox:checked ~ .header__drawer-menu {
  transform: translateX(0);
}

/* ドロワーリスト */
.header__drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ドロワーアイテム */
.header__drawer-item {
  border-bottom: 1px solid #eee;
}

/* ドロワーリンク */
.header__drawer-link {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.header__drawer-link:hover {
  background-color: #f5f5f5;
}

/* ドロワーメニュー - ロゴ */
.header__drawer-item--logo {
  padding: 20px;
  text-align: center;
  background-color: #fff;
  border-bottom: 2px solid #f0f0f0;
}

.header__drawer-logo {
  max-width: 200px;
  height: auto;
}

/* ドロワーメニュー - 電話番号 */
.header__drawer-item--tel {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
}

.header__drawer-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1976d2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.header__drawer-tel:hover {
  color: #0d47a1;
}

.header__drawer-tel i {
  font-size: 16px;
}

/* トップへ戻るリンク */
.header__drawer-item--gotop .header__drawer-link {
  background-color: #f8f8f8;
  font-weight: bold;
}

/* サブヘッダー */
.header__drawer-item--subhead {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header__nav {
    height: 0px;
  }
  .header__nav-wrapper {
    display: block;
    flex: none;
    height: auto;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  /* スマートフォン表示用アイテムを表示 */
  .header__nav-item--sp {
    display: block;
  }

  /* PC表示用アイテムを非表示 */
  .header__nav-item--pc {
    display: none;
  }

  /* ハンバーガーメニューを表示 */
  .header__hamburger-menu {
    display: block;
  }

  /* ナビゲーションリストの調整 */
  .header__nav-list {
    gap: 10px;
  }

  .header__nav-link {
    padding: 8px 10px;
    min-height: 50px;
  }

  .header__nav-title {
    font-size: 12px;
  }
}

@media (min-width: 769px) {
  /* PC表示用アイテムを表示 */
  .header__nav-item--pc {
    display: block !important;
  }

  /* スマートフォン表示用アイテムを非表示 */
  .header__nav-item--sp {
    display: none;
  }
}

/*====================================
  footer.php
====================================*/
/* フッター全体 */
.footer {
  background-color: #333;
  color: #fff;
  margin-top: auto;
}

/* フッターコンテナ */
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* フッターメインコンテンツ */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid #555;
}

/* 左側ブランド部分 */
.footer__brand {
  flex: 1;
  max-width: 400px;
}

/* フッターロゴ画像ラッパー */
.footer__logo-wrapper {
  margin-bottom: 15px;
}

/* フッターロゴ画像 */
.footer__logo-img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

/* フッターロゴ */
.footer__logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.3;
}

/* フッター連絡先 */
.footer__contact {
  margin-top: 15px;
}

/* フッター電話番号 */
.footer__tel {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  gap: 8px;
  cursor: pointer;
}

.footer__tel:hover {
  color: #ccc;
}

.footer__tel i {
  font-size: 14px;
}

/* 右側全体 */
.footer__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

/* ナビゲーション部分 */
.footer__nav {
  display: flex;
  justify-content: flex-end;
}

/* ナビゲーションリスト */
.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

/* ナビゲーションアイテム */
.footer__nav-item {
  margin: 0;
}

/* ナビゲーションリンク */
.footer__nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: block;
  white-space: nowrap;
  cursor: pointer;
}

.footer__nav-link:hover {
  color: #fff;
}

/* フッターメッセージ */
.footer__message {
  text-align: left;
}

.footer__message-text {
  font-size: 13px;
  line-height: 1.7;
  color: #999;
  margin: 0;
}

/* コピーライト部分 */
.footer__copyright {
  text-align: center;
  padding: 20px 0;
}

/* コピーライトテキスト */
.footer__copyright-text {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* フッターコンテンツをモバイル用に調整 */
  .footer__content {
    padding: 30px 0;
    display: block;
  }

  /* ブランド部分をモバイル用に調整 */
  .footer__brand {
    margin: 0 auto 30px;
    text-align: center;
    width: 100%;
  }

  .footer__logo-wrapper,
  .footer__contact {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .footer__tel {
    justify-self: center;
  }

  .footer__logo-img {
    height: 50px;
  }

  /* フッターロゴサイズ調整 */
  .footer__logo {
    font-size: 20px;
    margin-bottom: 15px;
  }

  /* 右側全体をモバイル用に調整 */
  .footer__right {
    width: 100%;
    margin-top: 20px;
    gap: 25px;
  }

  /* ナビゲーション部分をモバイル用に調整 */
  .footer__nav {
    width: 100%;
    justify-content: center;
  }

  .footer__nav-list {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* メッセージ部分をモバイル用に調整 */
  .footer__message {
    text-align: center;
  }

  .footer__message-text {
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  /* さらに小さい画面用の調整 */
  .footer__container {
    padding: 0 15px;
  }

  .footer__content {
    padding: 25px 0;
  }

  .footer__logo {
    font-size: 18px;
  }

  .footer__tel {
    font-size: 14px;
  }

  .footer__nav-title {
    font-size: 15px;
  }

  .footer__nav-link {
    font-size: 13px;
  }

  .footer__copyright {
    padding: 15px 0;
  }

  .footer__copyright-text {
    font-size: 12px;
  }
}

/*====================================
 index.php
====================================*/
/*----- ファーストビュー -----*/

/* ファーストビュー全体 */
.firstview {
  position: relative;
  width: 100%;
}

/* ファーストビューコンテンツ */
.firstview__content {
  position: relative;
  width: 100%;
  height: auto;
}

/* 画像コンテナ */
.firstview__image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* 実際の画像 */
.firstview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* PC/SP表示制御 */
.dopc {
  display: block;
}

.dosp {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* ファーストビュー全体をスマートフォン用に調整 */
  .firstview {
  }

  /* PC/SP表示制御を切り替え */
  .dopc {
    display: none;
  }

  .dosp {
    display: block;
  }
}

/*----- マップ画像 -----*/
.map {
  text-align: center;
  padding: 60px 0;
}

.map__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.map__img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.map__img:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .map {
    padding: 40px 20px;
  }

  .map__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .map__wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
  }

  .map__img {
    width: 200%;
    max-width: none;
    min-width: 600px;
  }
}

/* モーダル表示 */
.map-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.map-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-modal__content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  animation: zoomIn 0.3s ease;
}

.map-modal__img {
  width: 100%;
  height: auto;
  max-height: 95vh;
  object-fit: contain;
}

.map-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.3s ease;
}

.map-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}



/*----- 注意事項セクション -----*/
.attention {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.attention__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 3px solid #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.attention p {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.attention p.red {
  font-size: 20px;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 30px;
  padding: 15px 20px;
  background-color: #fff;
  border-left: 5px solid #d32f2f;
  border-radius: 4px;
}

.attention p.blue {
  font-size: 14px;
  font-weight: 500;
  color: #1976d2;
  margin-top: 30px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .attention {
    padding: 40px 0;
  }

  .attention__title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }

  .attention p {
    font-size: 14px;
    line-height: 1.7;
  }

  .attention p.red {
    font-size: 16px;
    padding: 12px 15px;
    margin-bottom: 25px;
  }

  .attention p.blue {
    font-size: 13px;
    margin-top: 25px;
  }
}

/*----- ショップ一覧 -----*/
.shopList {
  padding: 60px 0;
  background-color: #fff;
}

.shopList__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.shopList__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.shop-list {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-list thead {
  background-color: #333;
  color: #fff;
}

.shop-list th {
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #444;
}

.shop-list th:nth-child(1),
.shop-list th:nth-child(4) {
  width: 8%;
}

.shop-list th:nth-child(2),
.shop-list th:nth-child(5) {
  width: 25%;
}

.shop-list th:nth-child(3),
.shop-list th:nth-child(6) {
  width: 17%;
}

.shop-list tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.2s ease;
}

.shop-list tbody tr:hover {
  background-color: #f8f9fa;
}

.shop-list td {
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  border: 1px solid #ddd;
}

.shop-list td:nth-child(1),
.shop-list td:nth-child(4) {
  color: #666;
  font-weight: 500;
}

.shop-list td a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.shop-list td a:hover {
  color: #2196f3;
  text-decoration: underline;
}

/* 電話番号リンク */
.shop-list td:nth-child(3) a,
.shop-list td:nth-child(6) a {
  color: #1976d2;
}

.shop-list td:nth-child(3) a:hover,
.shop-list td:nth-child(6) a:hover {
  color: #0d47a1;
}

/* レスポンシブ対応 - スマホでは2列カード表示 */
@media (max-width: 768px) {
  .shopList {
    padding: 40px 0;
  }

  .shopList__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .shop-list thead {
    display: none;
  }

  .shop-list,
  .shop-list tbody {
    display: block;
    box-shadow: none;
  }

  .shop-list tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    row-gap: 0;
    margin-bottom: 15px;
    border-bottom: none;
  }

  /* 各店舗をカードとして表示 */
  .shop-list td {
    display: block;
    text-align: left;
    border: none;
  }

  /* 左列のカード（1番目の店舗: 1-3番目のセル） */
  .shop-list td:nth-child(1),
  .shop-list td:nth-child(2),
  .shop-list td:nth-child(3) {
    grid-column: 1;
  }

  /* 右列のカード（2番目の店舗: 4-6番目のセル） */
  .shop-list td:nth-child(4),
  .shop-list td:nth-child(5),
  .shop-list td:nth-child(6) {
    grid-column: 2;
  }

  /* 各カードのコンテナ作成 */
  .shop-list td:nth-child(1) {
    grid-row: 1;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    min-height: 40px;
  }

  .shop-list td:nth-child(2) {
    grid-row: 2;
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* padding: 8px 15px; */
    font-size: 16px;
    font-weight: 600;
    /* margin-top: -8px; */
  }

  .shop-list td:nth-child(3) {
    grid-row: 3;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* padding: 8px 15px 15px 15px; */
    border-top: 1px solid #f0f0f0;
    /* margin-top: -8px; */
  }

  .shop-list td:nth-child(4) {
    grid-row: 1;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    min-height: 40px;
  }

  .shop-list td:nth-child(5) {
    grid-row: 2;
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* padding: 8px 15px; */
    font-size: 16px;
    font-weight: 600;
    /* margin-top: -8px; */
  }

  .shop-list td:nth-child(6) {
    grid-row: 3;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* padding: 8px 15px 15px 15px; */
    border-top: 1px solid #f0f0f0;
    /* margin-top: -8px; */
  }

  /* No.バッジのスタイル */
  .shop-list td:nth-child(1),
  .shop-list td:nth-child(4) {
    color: #030303;
    font-size: 11px;
    font-weight: 500;
  }

  .shop-list td:nth-child(1)::before,
  .shop-list td:nth-child(4)::before {
    content: "No.";
    margin-right: 3px;
  }

  /* 店名のラベル */
  /* .shop-list td:nth-child(2)::before,
  .shop-list td:nth-child(5)::before {
    content: "店名：";
    color: #666;
    font-weight: 400;
    font-size: 12px;
    margin-right: 5px;
  } */

  /* 電話番号のアイコン */
  .shop-list td:nth-child(3)::before,
  .shop-list td:nth-child(6)::before {
    content: "☎ ";
    margin-right: 5px;
  }

  .shop-list td:nth-child(3) a,
  .shop-list td:nth-child(6) a {
    font-size: 15px;
    font-weight: 500;
  }
}

/* タブレット調整 */
@media (min-width: 769px) and (max-width: 1024px) {
  .shop-list th,
  .shop-list td {
    padding: 10px 8px;
    font-size: 13px;
  }

  .shop-list th:nth-child(1),
  .shop-list th:nth-child(4) {
    width: 6%;
  }

  .shop-list th:nth-child(2),
  .shop-list th:nth-child(5) {
    width: 28%;
  }

  .shop-list th:nth-child(3),
  .shop-list th:nth-child(6) {
    width: 16%;
  }
}






/*----- 協会からのお知らせ -----*/
.association {
  padding: 60px 0;
  background-color: #fff;
}

.association__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 2px solid #ccc;
}

.association__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

/* お知らせリスト - PC版4列レイアウト */
.association__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* お知らせアイテム */
.association__item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.association__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* お知らせ画像 */
.association__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.association__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.association__item:hover .association__img {
  transform: scale(1.05);
}

/* お知らせコンテンツ */
.association__content {
  padding: 15px;
}

.association__date {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 400;
}

.association__item-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* もっと見るボタン */
.association__more {
  text-align: center;
}

.association__more-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #2196f3;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.association__more-button:hover {
  background-color: #1976d2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* ===== レスポンシブ対応 (SP版) ===== */
@media screen and (max-width: 768px) {
  /* 協会セクション */
  .association {
    padding: 40px 0;
  }

  .association__container {
    padding: 20px 0 0;
    overflow: hidden;
  }

  .association__title {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* お知らせリスト - SP版スライド式 */
  .association__list {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* スクロールバーのスタイリング */
  .association__list::-webkit-scrollbar {
    height: 6px;
  }

  .association__list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .association__list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }

  .association__list::-webkit-scrollbar-thumb:hover {
    background: #999;
  }

  /* お知らせアイテム - SP版調整 */
  .association__item {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .association__image {
    height: 160px;
  }

  .association__content {
    padding: 12px;
  }

  .association__item-title {
    font-size: 13px;
  }

  /* もっと見るボタン - SP版調整 */
  .association__more {
    padding: 0 15px;
  }

  .association__more-button {
    padding: 10px 30px;
    font-size: 15px;
  }
}

/* タブレット版調整 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .association__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .association__image {
    height: 200px;
  }
}


/*====================================
  お知らせページ news.php
====================================*/
.news {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.news__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.news__page-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  padding-bottom: 20px;
  border-bottom: 3px solid #333;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news__item {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news__image {
  flex-shrink: 0;
  width: 300px;
  /* height: 200px; */
  overflow: hidden;
}

.news__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__content {
  flex: 1;
  padding: 25px 30px 25px 0;
  display: flex;
  flex-direction: column;
}

.news__date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.news__title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news__text {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* スマホ版 */
@media (max-width: 768px) {
  .news {
    padding: 40px 0;
  }

  .news__page-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .news__list {
    gap: 25px;
  }

  .news__item {
    flex-direction: column;
    gap: 0;
  }

  .news__image {
    width: 100%;
    height: 200px;
  }

  .news__content {
    padding: 20px;
  }

  .news__date {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .news__title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .news__text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/*====================================
  協会概要ページ about.php
====================================*/
.about {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.about__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about__page-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  padding-bottom: 20px;
  border-bottom: 3px solid #333;
}

.about__section {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about__section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #2196f3;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.about__principle {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #2196f3;
}

.about__principle-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.about__info-table {
  width: 100%;
  border-collapse: collapse;
}

.about__info-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.about__info-table tbody tr:last-child {
  border-bottom: none;
}

.about__info-table th {
  font-size: 16px;
  width: 30%;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #333;
  background-color: #f8f9fa;
  vertical-align: top;
}

.about__info-table td {
  font-size: 16px;
  padding: 15px 20px;
  color: #666;
  line-height: 1.8;
}

.about__tel-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about__tel-link:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* スマホ版 */
@media (max-width: 768px) {
  .about {
    padding: 40px 0;
  }

  .about__page-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .about__section {
    padding: 25px 20px;
    margin-bottom: 25px;
  }

  .about__section-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .about__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .about__principle {
    padding: 15px;
  }

  .about__principle-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .about__info-table {
    display: block;
  }

  .about__info-table tbody,
  .about__info-table tr {
    display: block;
  }

  .about__info-table th,
  .about__info-table td {
    display: block;
    width: 100%;
    padding: 10px 15px;
  }

  .about__info-table th {
    padding-bottom: 5px;
    background-color: transparent;
    font-size: 14px;
  }

  .about__info-table td {
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 14px;
  }
}

/*====================================
  協会の歴史ページ history.php
====================================*/
.history {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.history__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.history__page-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  padding-bottom: 20px;
  border-bottom: 3px solid #333;
}

.history__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.history__item {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.history__image {
  flex-shrink: 0;
  width: 300px;
  /* height: 200px; */
  overflow: hidden;
}

.history__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history__content {
  flex: 1;
  padding: 25px 30px 25px 0;
  display: flex;
  flex-direction: column;
}

.history__date {
  font-size: 16px;
  color: #1976d2;
  margin-bottom: 10px;
  font-weight: 600;
}

.history__title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.history__text {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* スマホ版 */
@media (max-width: 768px) {
  .history {
    padding: 40px 0;
  }

  .history__page-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .history__list {
    gap: 25px;
  }

  .history__item {
    flex-direction: column;
    gap: 0;
  }

  .history__image {
    width: 100%;
    height: 200px;
  }

  .history__content {
    padding: 20px;
  }

  .history__date {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .history__title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .history__text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/*----- 協会からのお知らせ -----*/
.introduction {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.introduction__title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

.introduction__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.introduction__item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.introduction__image {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.introduction__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.introduction__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.introduction__subtitle {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.introduction__text {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.introduction__link {
  text-align: center;
  margin-top: 40px;
}

.introduction__link-btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #2196f3;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.introduction__link-btn:hover {
  background-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.introduction__more {
  text-align: center;
  margin-top: 40px;
  display: none; /* PC版では非表示 */
}

.introduction__more-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.introduction__more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* SP版スタイル */
@media (max-width: 768px) {
  .introduction__item {
    flex-direction: column;
    padding: 20px;
    position: relative;
  }

  .introduction__item--hidden {
    display: none;
  }

  .introduction__item--truncated {
    overflow: hidden;
  }

  .introduction__item--truncated .introduction__text {
    max-height: 54px; /* 2行分の高さ (16px * 1.7 * 2) */
    overflow: hidden;
    position: relative;
  }

  .introduction__item--truncated .introduction__text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 27px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
  }

  .introduction__item--truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(2px);
    pointer-events: none;
    border-radius: 0 0 12px 12px;
  }

  .introduction__image {
    width: 100%;
    height: 180px;
  }

  .introduction__subtitle {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .introduction__text {
    font-size: 14px;
    margin-bottom: 0;
  }

  .introduction__title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .introduction__list {
    gap: 25px;
    margin-bottom: 0;
  }

  .introduction__link {
    display: none; /* SP版では最初は非表示 */
    margin-top: 20px;
  }

  .introduction__link.show {
    display: block; /* 展開時に表示 */
  }

  .introduction__link-btn {
    font-size: 15px;
    padding: 12px 30px;
  }

  .introduction__more {
    display: block; /* SP版でのみ表示 */
    position: relative;
    z-index: 10;
    margin-top: 20px;
  }

  .introduction__item--truncated + .introduction__link + .introduction__more .introduction__more-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}


