/************************************
** Destinations ページ（/destinations/、2026-10-19）
************************************/
.page-destinations .main,
.page-destinations #main { width: 100%; max-width: 1200px !important; margin: 0 auto; background: #F7F4EA; }
.page-destinations .article { max-width: 1200px !important; width: 100%; margin: 0 auto; }
.page-destinations .entry-content { max-width: none !important; }
.page-destinations .entry-title {
  font: 700 clamp(32px, 4.4vw, 52px)/1.1 var(--et-font-heading, system-ui, sans-serif);
  letter-spacing: -.02em;
  color: #1F3A5F;
  text-align: center;
  margin-top: 16px;
}
.page-destinations .eye-catch-wrap, .page-destinations .date-tags { display: none; }
.page-destinations .entry-content > p.eds-intro { max-width: 640px; margin: 0 auto 28px !important; text-align: center; font-size: 18px; color: #526477; }

.eds { --eds-navy: #1F3A5F; --eds-cta: #C8412A; --eds-line: #E4DED0; --eds-sub: #526477; }

/* 検索と絞り込み */
.eds-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px;
  margin: 0 0 8px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--eds-line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 30, 50, .06);
}
.eds-search {
  flex: 1 1 260px;
  min-width: 0;
  height: 48px;
  padding: 0 16px 0 44px !important;
  border: 1px solid #CFD6DF;
  border-radius: 999px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") no-repeat 16px center / 18px;
  font-size: 16px;
  color: #1A1D23;
}
.eds-search:focus { outline: none; border-color: var(--eds-navy); box-shadow: 0 0 0 3px rgba(31, 58, 95, .18); }
.eds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eds-chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #D9D3C6;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--eds-navy);
  font: 600 14px/1 var(--et-font-heading, system-ui, sans-serif);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.eds-chip:hover { border-color: var(--eds-navy); }
.eds-chip[aria-pressed="true"] { background: var(--eds-navy); border-color: var(--eds-navy); color: #FFFFFF; }
.eds-chip:focus-visible, .eds-card a:focus-visible { outline: 3px solid var(--eds-navy); outline-offset: 2px; }
.eds-count { margin: 0 0 8px !important; min-height: 1.5em; font-size: 14px; color: var(--eds-sub); }

/* セクション */
.eds-section { margin: 40px 0 0; }
.eds-section[hidden] { display: none; }
.article .eds-h {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  font: 700 clamp(24px, 2.8vw, 32px)/1.2 var(--et-font-heading, system-ui, sans-serif);
  color: #1A1D23;
}
.article .eds-h::before, .article .eds-h::after { content: none; }
.eds-sub { margin: 0 0 20px !important; color: var(--eds-sub); font-size: 16px; }

/* カード */
.eds-grid { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.article .eds-grid li { margin: 0; padding: 0; }
.article .eds-grid li::before { content: none; }
.eds-card[hidden] { display: none; }
.eds-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--eds-line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.eds-card a:hover { box-shadow: 0 14px 32px rgba(20, 30, 50, .12); transform: translateY(-3px); }
.eds-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E9E4DA; }
.eds-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.eds-card a:hover .eds-img { transform: scale(1.05); }
.eds-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.eds-name { font: 700 19px/1.25 var(--et-font-heading, system-ui, sans-serif); color: #1A1D23; }
.eds-desc { font-size: 14px; line-height: 1.55; color: var(--eds-sub); }
.eds-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--eds-navy); }
.eds-card a:hover .eds-more { color: var(--eds-cta); }

/* 最初の4エリアは大きく */
.eds-grid-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eds-grid-featured .eds-card-big { grid-column: span 2; }
.eds-card-big a { position: relative; }
.eds-card-big .eds-media { aspect-ratio: 16 / 9; }
.eds-card-big .eds-name { font-size: 26px; }
.eds-card-big .eds-desc { font-size: 15px; }

.eds-empty { margin: 32px 0 !important; padding: 24px; text-align: center; background: #FFFFFF; border: 1px dashed #D9D3C6; border-radius: 14px; color: var(--eds-sub); }

/* タブレット */
@media (max-width: 1023px) {
  .eds-grid, .eds-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eds-grid-featured .eds-card-big { grid-column: auto; }
  .eds-card-big .eds-name { font-size: 22px; }
}
/* スマートフォン */
@media (max-width: 599px) {
  .page-destinations .entry-content > p.eds-intro { font-size: 16px; }
  .eds-tools { position: static; padding: 12px; }
  .eds-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 2px; scrollbar-width: none; }
  .eds-chips::-webkit-scrollbar { display: none; }
  .eds-chip { flex: 0 0 auto; }
  .eds-grid { gap: 12px; }
  .eds-body { padding: 10px 12px 12px; }
  .eds-name { font-size: 16px; }
  .eds-desc { font-size: 13px; }
  .eds-more { font-size: 13px; }
  .eds-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eds-grid-featured .eds-card-big { grid-column: span 2; }
  .eds-card-big .eds-name { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .eds-card a, .eds-img { transition: none; }
  .eds-card a:hover { transform: none; }
  .eds-card a:hover .eds-img { transform: none; }
}

/* 2026-11-08 所要時間・予算の絞り込みとカードの所要時間 */
.eds-chips-sub { margin-top: 10px; align-items: center; }
.eds-chips-label { flex: 0 0 auto; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--eds-sub); margin-right: 2px; }
.eds-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--eds-navy); }
.eds-time::before { content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 2026-11-09 地図 */
.eds-view { display: none; gap: 8px; margin: 0 0 12px; }
.eds-view-btn { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--eds-navy); border-radius: 999px; background: #FFFFFF; color: var(--eds-navy); font-weight: 700; font-size: 14px; cursor: pointer; }
.eds-view-btn[aria-pressed="true"] { background: var(--eds-navy); color: #FFFFFF; }
.eds-mapwrap { display: none; margin: 0 0 32px; }
.eds-hasmap .eds-mapwrap { display: block; }
.eds-map { height: 440px; border-radius: 12px; border: 1px solid #E3E1DA; z-index: 0; }
.eds-map-note { margin: 8px 0 0 !important; font-size: 13px; color: var(--eds-sub); }
.eds-pop { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.eds-pop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 4px; }
.eds-pop span { font-size: 13px; color: #5B6270; }
.eds-pop a { font-weight: 700; }
.leaflet-container a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 22px; line-height: 30px; }
@media (max-width: 767px) {
  .eds-hasmap .eds-view { display: flex; }
  .eds-hasmap .eds-mapwrap { display: none; }
  .eds-hasmap.eds-show-map .eds-mapwrap { display: block; }
  .eds-hasmap.eds-show-map .eds-section, .eds-hasmap.eds-show-map .eds-empty { display: none !important; }
  .eds-map { height: 70vh; min-height: 380px; }
}

/* 2026-11-10 写真の読み込み前は淡い青海波（トップのカードとそろえる） */
.eds-media { background: #EEF2F7 var(--et-seigaiha-light) repeat; }
