/* ===== エリアタブ ===== */
section#hall_search {
margin-top:220px;
}
.area-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin:32px auto 24px;
  padding: 40px 8px 8px;
}
.area-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  padding:12px 18px;
  border-radius:9999px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
  color:#1f2937;
  font-weight:700;
  text-decoration:none;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background-color .15s ease,
    color .15s ease;
}
.area-tab:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  border-color:#d1d5db;
}
.area-tab:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(11,95,255,.35);
}
.area-tab.is-active{
  background:#0b5fff;
  color:#fff;
  border-color:#0b5fff;
  box-shadow:0 8px 18px rgba(11,95,255,.18);
}

@media (max-width: 767px){
section#hall_search {
    margin-top: 116px;
}
  .area-tab{ flex:1 1 calc(50% - 10px); min-width:auto; }
}

@media (min-width: 768px){
section#hall_search {
margin-top:220px;
}
}

/* ===== 見出しの色 ===== */
#hall_search h2{
  margin:70px auto 24px;
  text-align:center;
  font-size:1.5em;
  font-weight:800;
  color:#334155;
}
@media (min-width:768px){
  #hall_search h2{margin: 40px auto 40px;font-size:1.875em;}
}

/* ===== リスト共通 ===== */
#hall_search li a{ color:#0b74c7; }
#hall_search li a:hover{ text-decoration:underline; }

/* .max-w-3xl…  */
.max-w-3xl.mx-auto.p-4.bg-white.rounded-2xl.shadow-lg{ max-width:100%; }

/* ===== Hall List (taxonomy / hall-list) ===== */
#hall_list .inner{
  margin-top: 10px;
}

/* 見出し */
#hall_list h2{
  margin: 32px auto 22px;
  text-align: center;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: #0f172a;
}

/* 1件ブロック */
#hall_list .col_wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 28px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(2,8,23,.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
#hall_list .col_wrap:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2,8,23,.08);
}

/* タイトル（式場名） */
#hall_list h3{
  margin: 0 0 6px;
  font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
}

/* サムネイル */
#hall_list .col_wrap > div:first-child{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(2,8,23,.04);
}
#hall_list .col_wrap > div:first-child img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 詳細（定義リスト） */
#hall_list .col_wrap dl{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  border-top: 1px dashed rgba(2,8,23,.08);
}
#hall_list .col_wrap dt,
#hall_list .col_wrap dd{
  padding: 12px 10px;
  border-bottom: 1px dashed rgba(2,8,23,.08);
}

/* ラベル */
#hall_list .col_wrap dt{
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  border-right: 1px dashed rgba(2,8,23,.06);
}
#hall_list .col_wrap dd{
  font-size: .98rem;
  color: #1f2937;
  word-break: break-word;
  line-height: 1.8;
}

/* CTAリンク（dd内のリンクをボタン風に） */
#hall_list .col_wrap dd a{
  text-decoration: none;
  color: #0f766e;
}
#hall_list .col_wrap dd a:hover,
#hall_list .col_wrap dd a:focus-visible{
  text-decoration: underline;
}
#hall_list .col_wrap dd a[href$=".pdf"],
#hall_list .col_wrap dd a:where([target="_blank"]){
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em .9em;
  border-radius: 999px;
  background: #0ea5e914;
  border: 1px solid #0ea5e94d;
  color: #0369a1;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
#hall_list .col_wrap dd a[href$=".pdf"]:hover,
#hall_list .col_wrap dd a:where([target="_blank"]):hover{
  background: #0ea5e922;
  border-color: #0ea5e980;
  transform: translateY(-1px);
}

/* レイアウト：横並び（768px〜） */
@media (min-width: 768px){
  #hall_list .col_wrap{
    grid-template-columns: minmax(280px, 36%) 1fr;
    gap: 22px;
    padding: 22px;
  }
  #hall_list .col_wrap dl{
    border-radius: 10px;
  }
  #hall_list .col_wrap dt{
    padding-left: 14px;
  }
}

/* レイアウト：さらに広い（1024px〜） */
@media (min-width: 1024px){
  #hall_list .col_wrap{
    gap: 26px;
    padding: 24px 26px;
  }
  #hall_list .col_wrap dl{
    grid-template-columns: 140px 1fr;
  }
}

/* アクセシビリティ */
#hall_list .col_wrap a:focus-visible{
  outline: 3px solid #22c55e;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ===== Pagination（HTML指定構造） ===== */
.pagination{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 28px auto 8px;
}
.pagination .page-numbers{
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(2,8,23,.08);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible{
  border-color: rgba(2,8,23,.25);
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2,8,23,.08);
}
.pagination .page-numbers.current,
.pagination .page-numbers[aria-current="page"]{
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 6px 16px rgba(14,165,233,.35);
}

/* 前後テキスト（必要なら .prev/.next を追加で） */
.pagination .prev, .pagination .next{
  padding: 0 14px;
  min-width: 46px;
}

/* スマホ微調整 */
@media (max-width: 480px){
  .pagination .page-numbers{
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: .9rem;
  }
}

/* ===== Hall Tab（上部タブの最終調整；ズレ対策） ===== */
.area_tab{
  position: relative;
  top: 0; left: 0;
  margin: 24px auto 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.area_tab a{
  display: block;
}
@media (min-width: 640px){
  .area_tab{
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
  }
}

