/* =====================================================================
   Project Management detail (single pm_guide) - section styles.
   Shared chrome (reset, header, breadcrumb, lead, footer) lives in
   main.css; this file holds only the article / note / related styles.
   ===================================================================== */

/* ---- animations / helpers lifted from inline <style> ---- */
.egd-body { font-family: 'Noto Sans JP', system-ui, sans-serif; }
    .egd-body p { font-size: 16.5px; line-height: 1.98; margin: 0 0 22px; color: #3A3A3A; }
    .egd-body strong { color: #1A1A1A; font-weight: 700; }
    .egd-body ul { margin: 0 0 22px; padding-left: 4px; list-style: none; }
    .egd-body li { position: relative; font-size: 16px; line-height: 1.9; color: #3A3A3A; padding-left: 24px; margin-bottom: 10px; }
    .egd-body li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; background: #C8102E; border-radius: 50%; }
    .egd-share { transition: transform .2s ease; }
    .egd-share:hover { transform: translateY(-3px); }
    .egd-tag { transition: border-color .15s ease, color .15s ease; }
    .egd-tag:hover { border-color: #0C2D5E; color: #0C2D5E; }
    .egd-part { transition: background .15s ease, border-color .15s ease, color .15s ease; }
    .egd-part:hover { border-color: #0C2D5E; color: #0C2D5E; }
    .egd-pnav { transition: color .15s ease; }
    .egd-pnav:hover { color: #C8102E; }
    .egd-rel { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .2s ease; }
    .egd-rel:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(6,22,41,0.26); }
    .egd-rel:hover .egd-rel__img { transform: scale(1.06); }
    .egd-rel__img { transition: transform .8s cubic-bezier(.16,1,.3,1); }
    .egd-rel:hover .egd-rel__t { color: #C8102E; }
    .egd-rel__t { transition: color .2s ease; }

/* ---------- Design-state annotations ---------- */

/* ---------- Article (header + body) ---------- */

.article__box {
  background: rgb(255, 255, 255);
}

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

.article__box-3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* Country chip - kept identical to the Topics & Industrial Park detail pages
   (og_country_chip), so the country reads the same everywhere. */
.egd-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(232, 238, 247);
  color: rgb(12, 45, 94);
  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(12, 45, 94, 0.08);
}

a.egd-country {
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.egd-country:hover {
  background: rgb(224, 232, 244);
  border-color: rgba(12, 45, 94, 0.22);
}

.article__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: rgb(31, 138, 91);
  background: rgba(31, 138, 91, 0.08);
  border-radius: 3px;
  padding: 5px 12px;
  white-space: nowrap;
}

.article__label-2 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(31, 138, 91);
}

.article__label-3 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article__label-4 {
  width: 1px;
  height: 13px;
  background: rgb(227, 231, 238);
}

.article__label-5 {
  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;
}

.article__title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: rgb(6, 22, 41);
  margin: 0px;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.article__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  color: rgb(58, 58, 58);
  line-height: 1.9;
  margin: 20px 0px 0px;
  /* Same measure as the park hero (.hero__text): 80% of the header keeps the
     line length readable rather than running edge to edge, and the whole width
     below the tablet breakpoint, where 80% would just waste the column. The
     three content types carry the summary the same way. */
  max-width: 80%;
}

.article__box-4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 22px 0px 26px;
}

.article__box-5 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article__label-6 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.article__label-7 {
  width: 3px;
  height: 13px;
  background: rgb(200, 16, 46);
}

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

/* Japanese in a label slot built for English small caps: Barlow has no kana or
   kanji, and 0.12em tracking is wide for them. */
.article__label--ja {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
}

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

.article__label-10 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  white-space: nowrap;
}

/* Author byline in the header meta row (執筆 - Name). */
/* Author box (profile card after the tags), same as News & Topics. */
.egd-author-card {
  margin-top: 36px;
  padding: 28px 30px;
  background: rgb(244, 247, 252);
  border: 1px solid rgb(230, 234, 240);
  border-radius: 12px;
}

.egd-author-card__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(227, 231, 238);
}

.egd-author-card__label {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.egd-author-card__name {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: rgb(12, 45, 94);
  letter-spacing: 0.01em;
}

.egd-author-card__row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.egd-author-card__media {
  flex: 0 0 auto;
  width: 150px;
}

.egd-author-card__media img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: rgb(232, 238, 247);
}

.egd-author-card__bio {
  flex: 1 1 0%;
  min-width: 0;
}

.egd-author-card__bio p {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.95;
  color: #3A3A3A;
  margin: 0 0 14px;
}

.egd-author-card__bio p:last-child {
  margin-bottom: 0;
}

.egd-author-card__bio strong {
  font-weight: 700;
  color: #1A1A1A;
}

.egd-author-card__bio a {
  color: #C8102E;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .egd-author-card {
    padding: 22px 20px;
  }

  .egd-author-card__row {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 18px;
  }

  .egd-author-card__media,
  .egd-author-card__media img {
    width: 120px;
    height: 120px;
  }
}

.article__box-6 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.article__label-11 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article__box-7 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article__link {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-2 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(24, 119, 242);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-3 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(10, 102, 194);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-4 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(6, 199, 85);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__box-8 {
  max-width: 1280px;
  margin: 18px auto 0px;
  padding: 0px 24px;
}

.article__box-9 {
  background: rgb(244, 247, 252);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 8px;
  padding: 18px 22px;
}

.article__box-10 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.article__label-12 {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: rgb(31, 138, 91);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: rgb(255, 255, 255);
}

.article__label-13 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: rgb(6, 22, 41);
  line-height: 1.2;
}

.article__label-14 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgb(107, 114, 128);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.article__box-11 {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.article__link-5 {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgb(227, 231, 238);
  background: rgb(255, 255, 255);
  color: rgb(58, 58, 58);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.article__link-6 {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgb(31, 138, 91);
  background: rgb(31, 138, 91);
  color: rgb(255, 255, 255);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.article__box-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgb(227, 231, 238);
  flex-wrap: wrap;
}

.article__link-7 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgb(58, 58, 58);
  max-width: 46%;
}

.article__label-15 {
  display: flex;
  flex-direction: column;
  min-width: 0px;
}

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

.article__label-17 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article__link-8 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgb(58, 58, 58);
  max-width: 46%;
  text-align: right;
  /* Anchor the "next / Part 2" button to the right even when it is the only
     button in the row (e.g. Part 1 of a 2-part series has no prev). Without this,
     space-between drops a lone child to the left. A lone prev button keeps its
     natural left position. */
  margin-left: auto;
}

.article__label-18 {
  display: flex;
  flex-direction: column;
  min-width: 0px;
/*   align-items: flex-end; */
}

.article__box-13 {
  max-width: 1280px;
  margin: 0px auto;
  padding: 20px 24px 0px;
}

.article__box-14 {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

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

.article__box-14 > .article__img {
  position: static;
  height: auto;
  max-height: 540px;
}

.article__box-15 {
  max-width: 1000px;
  margin: 0px auto;
  padding: 44px 24px 24px;
}

.article__box-16 {
  margin: 40px 0px 20px;
}

.article__box-17 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}

.article__label-19 {
  width: 22px;
  height: 2px;
  background: rgb(200, 16, 46);
}

.article__heading {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: rgb(6, 22, 41);
  margin: 0px;
  letter-spacing: 0.01em;
  line-height: 1.36;
}

.article__box-18 {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

.article__box-19 {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgb(227, 231, 238);
}

.article__box-20 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article__box-21 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article__link-9 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 100px;
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.article__box-22 {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgb(227, 231, 238);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article__link-10 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: rgb(12, 45, 94);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
}

.article__link-11 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(107, 114, 128);
  text-decoration: none;
}

.article__box-23 {
  height: 44px;
}

/* ---------- Related guides ---------- */

.related__label {
  flex: 1 1 0%;
}

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

.related__box {
  max-width: 1280px;
  margin: 0px auto;
  padding: 44px 24px 52px;
}

.related__box-2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.related__label-2 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(200, 16, 46);
}

.related__heading {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: rgb(6, 22, 41);
  margin: 0px;
  letter-spacing: 0.01em;
}

.related__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: rgb(6, 22, 41);
  text-decoration: none;
  border-bottom: 2px solid rgb(200, 16, 46);
  padding-bottom: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.related__box-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

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

.related__box-5 {
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(6, 22, 41, 0.05) 0%, rgba(6, 22, 41, 0.55) 100%);
}

.related__label-3 {
  position: absolute;
  left: 11px;
  bottom: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6, 22, 41, 0.62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 3px;
}

.related__box-6 {
  padding: 15px 17px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}

.related__card-title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgb(26, 26, 26);
  margin: 0px;
  line-height: 1.46;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.related__label-4 {
  width: 3px;
  height: 12px;
  background: rgb(200, 16, 46);
}

.related__label-5 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgb(107, 114, 128);
  white-space: nowrap;
}

.related__label-6 {
  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.08em;
  text-transform: uppercase;
}

/* =====================================================================
   MOBILE / RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  .article__title { font-size: clamp(24px, 7vw, 40px); }
  .related__box-3 { grid-template-columns: 1fr; }
  .article__text { max-width: none; }

  /* Series part navigation.
     Side by side, each link is capped at 46% of the row and its title is held
     to one line - on a phone that leaves room for three or four characters of a
     Japanese title before the ellipsis, so the link says nothing about where it
     goes. Stacked full width, with the title free to wrap onto a second line,
     it reads. */
  .article__box-12 { flex-direction: column; align-items: stretch; gap: 14px; }
  .article__link-7,
  .article__link-8 { max-width: none; width: 100%; align-items: flex-start; }
  .article__link-8 { justify-content: flex-start; }
  .article__label-15,
  .article__label-18 { flex: 1 1 auto; min-width: 0; }
  .article__label-17 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.6;
  }
  /* The arrows sit at the top of a two-line title rather than floating
     halfway down it. */
  .article__link-7 > svg,
  .article__link-8 > svg { flex: 0 0 auto; margin-top: 4px; }

  /* The same pair at the foot of the guide. */
  .article__box-22 { flex-direction: column; align-items: stretch; gap: 12px; }
  .article__link-10 { width: 100%; align-items: flex-start; }
  .article__link-10 > svg { flex: 0 0 auto; margin-top: 4px; }
}

/* =====================================================================
   REPRINT / COPYRIGHT NOTICE
   Same treatment as Local Insights and News, so the three article types
   end identically. og_strip_body_copyright() removes the copy migrated
   guides carry in their body, leaving this the only notice on the page.
   ===================================================================== */
.ind-copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(227, 231, 238); font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 12.5px; line-height: 1.9; color: rgb(107, 114, 128); text-align: center; }
