/* Featured areas (v0.4.63): homepage area cards, area pages, spot backlinks.
   Loaded on the front page and on pages using the エリア特集 template. */

/* --- Shared area cards (homepage section, hub page, "other areas") --- */
.wt-area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.wt-area-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9ece6; border-radius: 21px; overflow: hidden; box-shadow: 0 2px 12px rgba(28, 64, 55, .025); transition: transform .2s, box-shadow .2s; }
.wt-area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wt-area-card-image { position: relative; display: block; aspect-ratio: 1.62 / 1; overflow: hidden; }
.wt-area-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; display: block; }
.wt-area-card:hover .wt-area-card-image img { transform: scale(1.04); }
.wt-area-card-body { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px 18px; }
.wt-area-card-body strong { font-size: 18px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.wt-area-card-tagline { font-size: 12px; color: #7c8984; }
.wt-area-card-count { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 850; color: var(--teal); }
.wt-area-card-count svg { width: 15px; }

/* --- Area page layout --- */
.wt-area-shell { max-width: 1000px; }
.wt-area-hero .wt-kicker { display: flex; align-items: center; gap: 9px; letter-spacing: .2em; font-weight: 800; color: #d7896c; margin-bottom: 15px; }
.wt-area-lead { margin: 14px 0 4px; color: #5d7268; font-size: 15px; line-height: 2; max-width: 46em; }
.wt-area-cover { margin: 26px 0 6px; }
.wt-area-cover img { width: 100%; max-height: 430px; object-fit: cover; border-radius: 22px; display: block; }
.wt-area-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 6px; }
.wt-area-nav a { border: 1px solid #cadcd0; background: #f5f9f5; color: #2c6558; border-radius: 100px; padding: 8px 15px; font-size: 12px; font-weight: 800; }
.wt-area-nav a:hover { background: #e9f3ec; }
.wt-area-section { margin-top: 44px; }
.wt-area-section .wt-section-head { margin-bottom: 20px; }
.wt-area-section h2 { font-size: clamp(22px, 2.6vw, 29px); }
.wt-area-guide { margin-top: 58px; }
.wt-area-guide .wt-rich-content { max-width: 850px; }
.wt-area-others { margin-top: 58px; }
.wt-area-hub-intro { margin-bottom: 30px; }
.wt-area-grid--hub { margin-top: 10px; }

/* --- Section heads on area pages: kicker + refined underline (v0.4.64) --- */
.wt-area-section .wt-section-head,
.wt-area-guide .wt-section-head,
.wt-area-others .wt-section-head { position: relative; border-bottom: 1px solid #e4eae1; padding-bottom: 15px; }
.wt-area-section .wt-section-head::after,
.wt-area-guide .wt-section-head::after,
.wt-area-others .wt-section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px; border-radius: 2px; background: #d7896c; }

/* --- Area card size line (area pages) --- */
.wt-area-card-sizes { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: #2c6558; margin: 0 0 6px; min-height: 0; }
.wt-area-card-sizes svg { width: 14px; height: 14px; }
.wt-area-place-card .wt-card-body p.wt-area-card-sizes { min-height: 0; margin: 0 0 6px; }

/* --- Spot page backlink to its area feature --- */
.wt-place-areas { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.wt-place-area-link { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cadcd0; background: #f5f9f5; color: #2c6558; border-radius: 100px; padding: 9px 16px; font-size: 12px; font-weight: 800; }
.wt-place-area-link:hover { background: #e9f3ec; }
.wt-place-area-link svg { width: 15px; }

@media (max-width: 1050px) {
  .wt-area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 790px) {
  .wt-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-area-cover img { max-height: 300px; }
}
@media (max-width: 540px) {
  .wt-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .wt-area-card-body { padding: 12px 14px 14px; }
  .wt-area-card-body strong { font-size: 15px; }
  .wt-area-card-tagline { font-size: 11px; }
  .wt-area-card-count { font-size: 11px; margin-top: 5px; }
  .wt-area-lead { font-size: 13px; }
  .wt-area-section { margin-top: 34px; }
}
