/* =====================================================================
   工業団地を探す - Find Industrial Parks listing page styles
   ---------------------------------------------------------------------
   Page-specific section styles only. Global chrome (header, footer,
   breadcrumb, lead banner) lives in main.css and the shared template parts.
   ===================================================================== */

/* ---- animations / helpers lifted from inline <style> ---- */
.apk-card{transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s ease,border-color .25s ease;}
    .apk-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px -14px rgba(6,22,41,0.30);}
    .apk-card__img{transition:transform .8s cubic-bezier(.16,1,.3,1);}
    .apk-card:hover .apk-card__img{transform:scale(1.06);}
    .apk-card:hover .apk-card__title{color:#C8102E;}
    .apk-card__title{transition:color .2s ease;}
    .apk-card__more-ar{transition:transform .3s cubic-bezier(.16,1,.3,1);}
    .apk-card:hover .apk-card__more-ar{transform:translateX(5px);}
    @keyframes apkFadeUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
    @keyframes apkKenburns{from{transform:scale(1.06);}to{transform:scale(1.13);}}

/* ---------- Park listings ---------- */

.listing__box {
  background: rgb(244, 247, 252);
  border-top: 1px solid rgb(227, 231, 238);
}

.listing__box-2 {
  max-width: 1280px;
  margin: 0px auto;
  padding: 40px 24px 72px;
}

.listing__label-3 {
  flex: 1 1 0%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing__label-5 {
  flex: 1 1 0%;
}

.listing__label-6 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: rgb(6, 22, 41);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.listing__box-8 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.listing__link {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0px;
  text-decoration: none;
}

.listing__box-9 {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

.listing__img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing__box-10 {
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(6, 22, 41, 0.3) 0%, rgba(6, 22, 41, 0) 32%, rgba(6, 22, 41, 0) 56%, rgba(6, 22, 41, 0.8) 100%);
}

.listing__box-11 {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.listing__label-8 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgb(200, 16, 46);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
}

.listing__label-9 {
  background: rgb(12, 45, 94);
  color: rgb(255, 255, 255);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.listing__box-12 {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.listing__label-10 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.listing__label-11 {
  font-size: 13px;
}

.listing__box-13 {
  padding: 17px 20px 16px;
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
}

.listing__box-14 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.listing__label-12 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgb(45, 87, 146);
  letter-spacing: 0.13em;
}

.listing__card-title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18.5px;
  color: rgb(26, 26, 26);
  margin: 0px;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.listing__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgb(107, 114, 128);
  margin: 10px 0px 0px;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing__box-15 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.listing__label-13 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 3px;
  padding: 3px 9px;
  white-space: nowrap;
}

.listing__box-16 {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgb(239, 242, 247);
}

.listing__label-14 {
  width: 3px;
  height: 13px;
  background: rgb(200, 16, 46);
  flex-shrink: 0;
}

.listing__label-15 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing__label-16 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.listing__label-17 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(12, 45, 94);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listing__link-2 {
  background: rgb(6, 22, 41);
  border: 1px solid rgb(20, 59, 114);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0px;
  text-decoration: none;
}

.listing__box-17 {
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(6, 22, 41, 0.34) 0%, rgba(6, 22, 41, 0) 34%, rgba(6, 22, 41, 0.88) 100%);
}

.listing__label-18 {
  background: rgb(200, 16, 46);
  color: rgb(255, 255, 255);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.listing__label-19 {
  background: rgba(6, 22, 41, 0.62);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 5px 9px;
}

.listing__label-20 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgb(200, 16, 46);
  letter-spacing: 0.13em;
}

.listing__label-21 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.listing__card-title-2 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18.5px;
  color: rgb(255, 255, 255);
  margin: 0px;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.listing__text-2 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0px 0px;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing__box-18 {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.listing__label-22 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgb(255, 255, 255);
  color: rgb(6, 22, 41);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 4px;
  white-space: nowrap;
}

.listing__label-23 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing__label-24 {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(255, 255, 255);
  color: rgb(12, 45, 94);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 3px;
  box-shadow: rgba(6, 22, 41, 0.22) 0px 2px 8px;
}

.listing__box-19 {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.listing__label-25 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  padding: 0px 6px;
  letter-spacing: 0.1em;
}

/* =====================================================================
   MOBILE / RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  .listing__box-8 { grid-template-columns: 1fr; }
}

/* =====================================================================
   LEAD
   ===================================================================== */

/* The parks lead runs a longer line than the shared 560px column in main.css
   allows, so it is widened here rather than site-wide. */
.lead__text { max-width: 650px; }

/* The country pill carries the country's flag. The design used an emoji; the
   flag here is the term's own image, so it needs a box rather than a font size. */
img.listing__label-11 {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

/* The card carries links of its own (country pill, tag chips), so it cannot be
   one big <a> - no nested links. It is a container instead, and the 詳細 link
   stretches an invisible overlay across it, keeping the whole card clickable.
   The chips sit above that overlay and stay individually clickable. */
.listing__link--stretch {
  position: relative;
}

/* The overlay must size against the CARD, so the 詳細 link itself stays static -
   give it position:relative and inset:0 would cover only its own text, which is
   the whole card minus everything you would actually click. */
.listing__more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
}

a.listing__label-10,
a.listing__label-13 {
  position: relative;
  z-index: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

a.listing__label-10:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

a.listing__label-13:hover {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
}

