@charset "utf-8";
/* CSS Document */
/* Common layout widths for renewed templates. */

.wrap,
.header_inner,
.footer_inner,
#content,
.content,
.content_gray,
.content_white,
#headline_blk .header_inner,
#emergency-notice {
  width: clamp(var(--wrap-min), calc(100% - 40px), var(--wrap));
  margin-right: auto;
  margin-left: auto;
}

#content,
.content,
.content_gray,
.content_white,
#headline_blk .header_inner,
#emergency-notice {
  box-sizing: border-box;
  max-width: 100%;
}

#content_outer {
  padding-bottom: 70px;
  background: #fff;
}

/* Category index cards
----------------------------------- */
.category-index {
  padding: 40px 0 0;
}

#content .category-simulation-link-wrap {
  margin: 0 0 60px;
  text-align: center;
}

#content .category-simulation-lead {
  margin: 0 0 14px;
  color: #4f5755;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

#content .category-simulation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  background: var(--green);
  transition: color .2s ease, background-color .2s ease;
}

#content .category-simulation-link:hover {
  color: var(--green-dark);
  text-decoration: none;
  background: #fff;
}

#content .category-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#content .category-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  margin: 0;
  padding: 32px 30px 28px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 74, 58, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#content .category-card:hover {
  border-color: var(--green-dark);
  box-shadow: 0 12px 30px rgba(0, 74, 58, .11);
  transform: translateY(-3px);
}

#content .category-card-title {
  position: static;
  z-index: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: #2f3735;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  background: none;
}

#content .category-card-title::after {
  display: none;
  content: none;
}

#content .category-card-text {
  flex: 1;
  margin: 18px 0 26px;
  color: #4f5755;
  font-size: 15px;
  line-height: 1.9;
}

#content .category-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 170px;
  min-height: 44px;
  padding: 9px 24px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: var(--green);
  transition: color .2s ease, background-color .2s ease;
}

#content .category-card-link:hover {
  color: var(--green-dark);
  text-decoration: none;
  background: #fff;
}

#content .category-card--icon {
  padding-top: 28px;
}

#content .category-card-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.category-plan-section + .category-plan-section {
  margin-top: 58px;
}



#content .category-section-lead {
  margin: 0 0 22px;
  font-size: 15px;
}

@media (max-width: 520px) {
  .category-index {
    padding: 28px 0 0;
  }

  #content .category-simulation-link-wrap {
    margin-bottom: 28px;
  }

  #content .category-simulation-lead {
    margin-bottom: 12px;
    font-size: 14px;
  }

  #content .category-simulation-link {
    width: min(100%, 320px);
    min-width: 0;
  }

  #content .category-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #content .category-card {
    min-height: 0;
    padding: 26px 22px 24px;
  }

  #content .category-card-title {
    font-size: 18px;
  }

  #content .category-card-text {
    margin: 14px 0 22px;
    font-size: 14px;
  }

  #content .category-card-link {
    width: 80%;
    min-width: 0;
  }

  .category-plan-section + .category-plan-section {
    margin-top: 42px;
  }

  #content .category-section-title {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-left-width: 4px;
    font-size: 19px;
  }

  #content .category-section-lead {
    margin-bottom: 18px;
    font-size: 14px;
  }
}

#content *,
.content *,
.content_gray *,
.content_white * {
  max-width: 100%;
}

#content table,
.content table,
.content_gray table,
.content_white table {
  width: 100%;
  table-layout: fixed;
}

@media (max-width: 520px) {
  #content_outer {
    padding-bottom: 50px;
  }

  .wrap,
  .header_inner,
  .footer_inner,
  #content,
  .content,
  .content_gray,
  .content_white,
  #headline_blk .header_inner,
  #emergency-notice {
    width: min(100% - 24px, var(--wrap));
  }

  #content,
  .content,
  .content_gray,
  .content_white {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  #content ul.subnav,
  .subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-start;
  }

  #content ul.subnav li,
  .subnav li {
    flex: 1 1 100%;
    margin-right: 0;
  }

  #content th,
  #content td,
  .content th,
  .content td,
  .content_gray th,
  .content_gray td,
  .content_white th,
  .content_white td {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
