/*
Theme Name: habakiri-child
Theme URI: http://2inc.org
Description: Habakiri の子テーマです
Author: Takashi Kitajima
Author URI: http://2inc.orgVersion: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: habakiri
*/

body {
  font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    Arial, "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
}

/*-----------------------------------------
見出しデザイン
-----------------------------------------*/
/* H2: 黒背景で強調 */
#main h2.wp-block-heading {
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  margin: 40px 0 24px 0;
  font-size: 22px;
  font-weight: bold;
  border-radius: 2px;
  border: none;
}

/* H3: 左線＋下線 */
#main h3.wp-block-heading {
  border-left: 8px solid #333;
  border-bottom: 1px solid #ccc;
  padding: 10px 15px;
  margin: 32px 0 20px 0;
  font-size: 19px;
  font-weight: bold;
  color: #333;
  background: transparent;
}
#main h3.wp-block-heading:before {
  display: none;
}

/* H4: 左線のみ（シンプル） */
#main h4.wp-block-heading {
  border-left: 4px solid #888;
  padding: 8px 12px;
  margin: 24px 0 16px 0;
  font-size: 17px;
  font-weight: bold;
  color: #444;
  border-bottom: none;
}

/* H5, H6 */
#main h5.wp-block-heading,
#main h6.wp-block-heading {
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin: 20px 0 12px 0;
  font-size: 16px;
  color: #555;
}


/*-----------------------------------------
サイドバー
-----------------------------------------*/
/* --- サイドバー全体の配置 --- */
#secondary {
    background: transparent;
    padding: 0;
    border: none;
    margin-bottom: 50px;
}

/* --- ウィジェット枠（カードデザイン） --- */
#secondary .widget {
    background-color: #fff;
    border: 1px solid #ddd; /* メインエリアの表と同じ枠線色 */
    border-radius: 4px;     /* 角丸4pxで統一 */
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03); /* わずかな影 */
}

/* --- ウィジェットタイトル --- */
#secondary .widget-title {
    background-color: #f7f9fa; /* 表のヘッダーと同じ背景色 */
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    border-left: 5px solid #0068b7; /* 青いアクセントライン */
    line-height: 1.4;
}

/* 既存テーマの装飾をリセット */
#secondary .widget-title:before,
#secondary .widget-title:after {
    display: none;
}

/* --- リスト（ul/li）の基本設定 --- */
#secondary .widget ul {
    padding: 0;
    margin: 0;
}

#secondary .widget ul li {
    list-style: none;
    border-bottom: 1px solid #eee; /* 薄い区切り線 */
    margin: 0;
    padding: 0;
}

#secondary .widget ul li:last-child {
    border-bottom: none;
}

/* --- リンクのデザイン --- */
#secondary .widget ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.2s ease;
    line-height: 18.1875px; /* 指定の行高 */
}

/* アイコン (右矢印) */
#secondary .widget ul li a:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
    margin-right: 10px;
    transition: all 0.2s ease;
}

/* --- ホバー時の挙動 --- */
#secondary .widget ul li a:hover {
    background-color: #f0f7ff; /* 極薄い青背景 */
    color: #0068b7;            /* 文字を青に */
    padding-left: 24px;        /* 右に動くアニメーション */
}

#secondary .widget ul li a:hover:before {
    border-color: #0068b7;     /* 矢印も青に */
}

/* --- 子カテゴリー（階層表示） --- */
#secondary .widget ul ul {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

#secondary .widget ul ul li a {
    padding-left: 35px; /* インデント */
    font-size: 13px;
    color: #666;
}

#secondary .widget ul ul li a:hover {
    padding-left: 39px;
    background-color: #f0f7ff;
}

/* --- スマホ表示調整 --- */
@media (max-width: 767px) {
    #secondary {
        margin-top: 40px;
    }
    #secondary .widget-title {
        padding: 12px 15px;
        font-size: 15px;
    }
    /* スマホではリストの余白を少し調整 */
    #secondary .widget ul li a {
        padding: 12px 15px;
    }
}

/*-----------------------------------------
パンくずリスト
-----------------------------------------*/
.breadcrumbs {
  display: block;
  /* ▼▼▼ エリア全体の背景設定 ▼▼▼ */
  background-color: #f7f9fa;
  padding: 12px 20px; /* 内側に余白を設ける（左右にも） */
  border-radius: 8px; /* エリアの角を少し丸く */
  margin-bottom: 30px;

  /* 元の「>」を消す設定 */
  font-size: 0;
  line-height: 0;

  /* スマホ用横スクロール設定 */
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar {
  display: none;
}

/* --- リンクと現在地の共通設定 --- */
.breadcrumbs a,
.breadcrumbs strong {
  font-size: 13px;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* --- リンクのデザイン --- */
.breadcrumbs a {
  color: #666;
  text-decoration: none; /* 下線なし */
  padding: 4px 0;
  transition: color 0.2s;
}

/* ホバー時 */
.breadcrumbs a:hover {
  color: #000; /* 黒く強調 */
  text-decoration: none; /* 下線なし */
}

/* --- 矢印のデザイン (CSSで生成) --- */
.breadcrumbs a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  transform: rotate(45deg);
  margin: 0 12px; /* 左右の余白 */
  vertical-align: 1px;
}

/* --- 現在地（strong）のデザイン --- */
.breadcrumbs strong {
  font-weight: bold;
  color: #000; /* 文字は黒 */
}

/*-----------------------------------------
ページネーション
-----------------------------------------*/
/* 1. コンテナのレイアウト */
.pagination-wrapper .pagination {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 60px 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2. リストアイテムのリセット */
.pagination-wrapper .pagination > li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Bootstrapの結合スタイルを解除 */
.pagination-wrapper .pagination > li:first-child > a,
.pagination-wrapper .pagination > li:last-child > a {
  border-radius: 50% !important;
  margin-left: 0 !important;
}

/* 3. ボタン本体 (共通スタイル) */
.pagination-wrapper .pagination > li > a,
.pagination-wrapper .pagination > li > span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  background-color: transparent !important;
  color: #444 !important;
  border: none !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

/* 4. ホバー時 (薄いグレーの丸背景が出る) */
.pagination-wrapper .pagination > li > a:not(.dots):hover {
  background-color: #f2f2f2 !important;
  color: #000 !important;
}

/* 5. 現在のページ (黒丸・白文字) */
.pagination-wrapper .pagination > li > span.current,
.pagination-wrapper .pagination > li > a.current {
  background-color: #222 !important;
  color: #fff !important;
  cursor: default;
}

/* 6. 「...」ドット部分 */
.pagination-wrapper .pagination > li > span.dots {
  color: #ccc !important;
  background-color: transparent !important;
  cursor: default;
}

/*-----------------------------------------
広域交付住民票　個別投稿ページ
-----------------------------------------*/
/* --- 1. 全幅ヘッダー --- */
.koiki-work-header-full {
  margin-bottom: 20px;
}

/* タイトル上の都道府県名 */
.koiki-pref-name-header {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.koiki-work-title {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

/* --- 2. メインセクション（画像と右データ） --- */
.koiki-main-section {
  margin-bottom: 40px;
}

.koiki-left-col {
  margin-bottom: 30px;
}

.koiki-work-image-area {
  text-align: center;
}

.koiki-main-img {
  width: 100%;
  height: auto !important;
  vertical-align: top;
}

/* 右カラム基本データ */
.koiki-info-list-basic {
  margin: 0;
  border-top: 1px solid #eee;
}

.koiki-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.koiki-info-row dt {
  width: 40%;
  font-size: 13px;
  color: #888;
  margin: 0;
  font-weight: normal;
}

.koiki-info-row dd {
  width: 60%;
  text-align: right;
  font-size: 15px;
  color: #333;
  margin: 0;
  font-weight: bold;
  word-break: break-all;
}

/* --- 3. 下部詳細エリア --- */
.koiki-detail-section-full {
  margin-bottom: 40px;
}

.koiki-detail-block {
  margin-bottom: 40px;
}

.koiki-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.koiki-detail-content img {
  max-width: 100%;
  height: auto;
}

/* --- 4. 関連記事エリア --- */
/* エリア全体を薄いグレーで囲う */
.koiki-related-section {
  margin-top: 60px;
  padding: 40px;
  background-color: #f7f9fa;
  border-radius: 8px;
}

/* タイトルスタイル調整 */
.koiki-related-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  border: none;
}

/* --- 記事リストのレイアウト --- */
.koiki-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.koiki-item {
  width: calc(33.333% - 14px);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* リンク全体 */
.koiki-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

/* 画像エリア */
.koiki-image-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eee;
}
.koiki-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト情報エリア */
.koiki-info {
  padding: 15px;
}

.koiki-pref {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
}

.koiki-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  color: #333;
  border: none;
}

/* --- スマホ表示調整 --- */
@media (max-width: 767px) {
  .koiki-related-section {
    padding: 20px 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }

  .koiki-item {
    width: 100%;
    margin-bottom: 0;
  }

  .koiki-gallery {
    gap: 15px;
  }
}

/*-----------------------------------------
広域交付住民票　アーカイブ
-----------------------------------------*/
/* ギャラリー全体のレイアウト */
.koiki-gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

/* 各カードの親要素（基本：PC大画面） */
.koiki-item {
  width: 25%;
  flex: 0 0 calc(25% - 15px);
  padding: 8px;
  box-sizing: border-box;
}

/* 画面幅 991px以下（タブレット・小さめのノートPC） */
@media (max-width: 991px) {
  .koiki-item {
    width: 33.333%;
    flex: 0 0 calc(33.333% - 15px);
  }
}

/* 画面幅 767px以下（スマホ） */
@media (max-width: 767px) {
  .koiki-item {
    width: 50%;
    flex: 0 0 calc(50% - 15px);
    padding: 6px;
  }
}

/* カードのリンク設定 */
.koiki-card-link {
  text-decoration: none !important;
  color: #333;
  display: block !important;
  transition: opacity 0.3s ease;
}

.koiki-card-link:hover {
  opacity: 0.9;
}

.koiki-image-box img {
  transition: transform 0.5s ease !important;
  transform-origin: center center;
}

.koiki-card-link:hover .koiki-image-box img {
  transform: scale(1.1) translateZ(0);
}
/* 正方形の画像ボックス */
.koiki-image-box {
  position: relative !important;
  width: 100% !important;
  padding-top: 100% !important;
  height: 0 !important;
  overflow: hidden !important;
  border-radius: 8px;
  background: #f2f2f2;
  margin-bottom: 8px;
  border: 1px solid #eee;
}

/* 画像自体の制御 */
.koiki-image-box img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

/* No Image 表示用 */
.no-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
}

/* テキストエリア */
.koiki-info {
  padding: 0 2px;
}

.koiki-pref {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.koiki-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*-----------------------------------------
郵便局　個別投稿ページ
-----------------------------------------*/
/* --- ページヘッダー (カスタム) --- */
.custom-page-header {
  background-color: #f7f9fa;
  border-bottom: 1px solid #ddd;
  padding: 30px 0;
  margin-bottom: 30px;
  text-align: center;
}
.custom-page-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* --- 個別ページヘッダーエリア --- */
.postal-header {
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/* ふりがな */
.postal-kana {
  font-size: 12px;
  color: #666;
  display: inline-block;
  margin-right: 10px;
}

/* 営業状態バッジ */
.postal-status-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  vertical-align: middle;
}
.postal-status-badge.status-営業中 {
  background-color: #0068b7;
} /* 青 */
.postal-status-badge.status-一時閉鎖 {
  background-color: #e6a23c;
} /* オレンジ */
.postal-status-badge.status-廃止 {
  background-color: #666;
} /* グレー */

/* 郵便局名 */
.postal-title {
  font-size: 28px;
  font-weight: bold;
  margin: 5px 0 10px;
  line-height: 1.3;
}

/* 局番 */
.postal-office-number {
  font-size: 14px;
  color: #555;
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* 企業バッジ (ゆうちょ・かんぽ) */
.postal-corporate-badges {
  margin: 10px 0 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.corp-name-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  background-color: #f7f9fa;
  border: 1px solid #ddd;
}
.badge-yucho {
  border-left: 4px solid #009944;
}
.badge-kampo {
  border-left: 4px solid #004098;
}

/* --- アラートボックス --- */
.postal-alert {
  background-color: #fff5f5;
  border: 1px solid #ffcccc;
  color: #cc0000;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 4px;
  font-weight: bold;
}

/* --- H2見出し --- */
.postal-detail-page #main h2.wp-block-heading {
  background-color: #f2f4f5;
  border-left: 6px solid #333;
  border-bottom: 1px solid #ddd;
  padding: 16px 20px;
  margin: 40px 0 24px 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  border-radius: 4px;
}
/* 既存テーマのアイコン消去用 */
.postal-detail-page #main h2.wp-block-heading:before {
  display: none;
}

/* --- データリスト (スペック表) --- */
.postal-info-list {
  border: 1px solid #e5e5e5;
  background: #fff;
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
}
.postal-row {
  display: flex;
  border-bottom: 1px solid #e5e5e5;
}
.postal-row:last-child {
  border-bottom: none;
}

.postal-row dt {
  width: 30%;
  background-color: #f7f9fa;
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #444;
  border-right: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
}
.postal-row dd {
  width: 70%;
  padding: 15px;
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* --- Googleマップボタン --- */
.postal-map-link {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  background-color: #4285f4; /* Google Blue */
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.postal-map-link:hover {
  background-color: #3367d6;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

/* --- 窓口情報レイアウト --- */
.postal-window-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.window-time-row {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.postal-handling-row.mt-2 {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.handling-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.handling-tag.is-ok {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.handling-tag.is-ok:before {
  content: "✔ ";
}
.handling-tag.is-ng {
  background-color: #f5f5f5;
  color: #aaa;
  text-decoration: line-through;
  border: 1px solid #eee;
}

/* --- サービスアイコンバッジ --- */
.postal-service-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-item {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background-color: #999;
}
/* アイコン色分け */
.service-item.type-郵便窓口 {
  background-color: #d32f2f;
}
.service-item.type-貯金窓口,
.service-item.type-ATM {
  background-color: #388e3c;
}
.service-item.type-保険窓口 {
  background-color: #004098;
}
.service-item.type-ゆうゆう窓口 {
  background-color: #d32f2f;
} /* 赤 */
.service-item.type-キャッシュレス,
.service-item.type-駐車場 {
  background-color: #616161;
}

/* --- メモ・フッター --- */
.postal-memo {
  background: transparent;
  padding: 0;
  border: none;
  margin-bottom: 30px;
  line-height: 1.8;
}
.postal-meta-footer {
  text-align: right;
  font-size: 12px;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* --- 地図 (Leaflet) --- */
#postal-map-wrapper {
  margin-bottom: 60px; /* 地図とコンパスの間の余白 */
  position: relative;
}
#postal-map-area {
  width: 100%;
  aspect-ratio: 4 / 3; /* アスペクト比 4:3 */
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 1;
}
.map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  height: 100%;
}

/* 地図フォント調整 */
.leaflet-popup-content {
  font-size: 14px !important;
  line-height: 1.6;
}
.popup-label {
  font-weight: bold;
  color: #666;
  font-size: 12px;
}
.popup-val {
  font-weight: bold;
  color: #333;
}
.leaflet-control-layers-list label {
  font-size: 14px !important;
  cursor: pointer;
}

/* 〒アイコン (太字) */
.postal-div-icon {
  background: transparent;
  border: none;
}
.postal-marker-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-family: "Arial Black", "Yu Gothic UI", sans-serif;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  border: 2px solid #fff;
  padding-top: 2px;
}

/* 地図上のカスタムコントロール */
.map-custom-control {
  background: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  cursor: pointer;
  line-height: 1.2;
  margin-bottom: 10px !important;
}
.map-custom-control label {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
  font-weight: bold;
}
.map-custom-control input {
  margin-right: 6px;
}

/* --- 3x3 コンパス --- */
.postal-compass-container {
  max-width: 500px;
  margin: 0 auto 40px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}
.compass-label-text {
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
  color: #555;
  font-size: 14px;
}
.postal-compass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.compass-cell {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90px;
}
/* 真ん中 */
.cell-center {
  background-color: #333;
  color: #fff;
  border-color: #333;
}
.center-marker {
  font-size: 10px;
  background-color: #d32f2f;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.center-name {
  font-weight: bold;
  font-size: 13px;
  line-height: 1.3;
}
/* 方角 */
.dir-badge {
  font-size: 10px;
  color: #999;
  background-color: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: bold;
}
.compass-link {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  color: #0068b7;
  text-decoration: none;
  margin-bottom: 2px;
}
.compass-dist {
  font-size: 11px;
  color: #e65100;
}
.compass-none {
  color: #ddd;
  font-size: 16px;
}

/* --- スマホ対応 (メディアクエリ) --- */
@media (max-width: 767px) {
  .postal-title {
    font-size: 22px;
  }
  .postal-row {
    display: block;
  }
  .postal-row dt {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px;
  }
  .postal-row dd {
    width: 100%;
    padding: 12px 10px;
  }

  .postal-compass-container {
    padding: 10px;
  }
  .postal-compass-grid {
    gap: 5px;
  }
  .compass-cell {
    min-height: 80px;
    padding: 5px;
  }
  .compass-link {
    font-size: 11px;
  }
}
