/* The Japanese homepage only. The existing theme sets shared page widths. */
.kit-top-nav.nav-bar {
  height: 112px;
}
.kit-top-nav .nav-bar-inner {
  height: 60px;
}
.kit-top-nav .nav-bar-menu-list > li + li {
  margin-left: clamp(5px, 1vw, 14px);
}
.kit-top-audience-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 16px);
  margin: 8px auto 0;
  max-width: 960px;
}
.kit-top-audience-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px;
  border: 1px solid #fff;
  color: #fff;
  font-size: clamp(11px, 1vw, 14px);
  text-align: center;
}
.kit-top-audience-list a:hover,
.kit-top-audience-list a:focus-visible {
  background: #fff;
  color: #000;
}
.kit-top-youtube svg {
  vertical-align: middle;
}
.kit-top-donate a,
.nav-bar-menu-list > .kit-top-donate > a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 2px;
  background: #dfbd55;
  background: linear-gradient(120deg, #edce76, #dfbd55);
  color: #14100a;
  font-weight: 700;
  line-height: 1.25;
}
.nav-bar-menu-list > .kit-top-donate > a:hover,
.kit-top-donate a:hover,
.kit-top-donate a:focus-visible {
  background: linear-gradient(120deg, #edce76, #dfbd55);
  filter: brightness(1.16);
  color: #14100a;
}
.kit-top-hero {
  padding-bottom: 40px;
}
.kit-top-hero .kv-content,
.kit-top-hero .kv-content.has-alert {
  /* The carousel writes its original viewport height as an inline style. */
  height: 393px !important;
  min-height: 0;
  max-height: none;
}
.kit-top-hero .kv-images-list > li {
  background-position: center center;
}
.kit-top-hero .kv-content-position {
  left: clamp(16px, 4.2vw, 50px);
  bottom: 55px;
  width: fit-content;
  max-width: min(680px, calc(100% - 2 * clamp(16px, 4.2vw, 50px)));
  box-sizing: border-box;
  padding: 16px 24px;
  overflow-wrap: anywhere;
  background: rgba(36, 57, 73, .66);
}
.kit-top-hero .kv-content-heading {
  width: auto;
  font-size: clamp(25px, 3.8vw, 46px);
  line-height: 1.14;
}
/* Older slide captions store fixed font sizes in inline markup. */
.kit-top-hero .kv-content-position font[size],
.kit-top-hero .kv-content-heading [style*="font-size"] {
  font-size: inherit !important;
}
.kit-top-hero .kv-content-heading .cross_icon {
  width: .58em;
  height: auto;
}
.kit-top-hero .kv-content-sub-head {
  margin-top: 8px;
}
.kit-top-hero .kv-content-sub-heading {
  width: auto;
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.35;
}
.kit-top-hero .kv-content-text {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.45;
}
.kit-top-hero .kv-content-sub-text {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.35;
}
.kit-top-hero .carousel-indicators {
  z-index: 2;
}
.kit-top-cards {
  background: #fff;
}
.kit-top-cards > .fixed-inner + .fixed-inner > .fixed-inner-block {
  border-top: 0;
}
.kit-top-cards .topics > .content-inner {
  padding-bottom: 22px;
}
.kit-top-cards .mission > .content-inner {
  padding-top: 8px;
}
@media (max-width: 767px) {
  .kit-top-hero {
    padding-bottom: 24px;
  }
  .kit-top-hero .kv-content,
  .kit-top-hero .kv-content.has-alert {
    height: 330px !important;
  }
  .kit-top-hero .kv-content-position {
    left: 12px;
    bottom: 36px;
    max-width: calc(100% - 24px);
    padding: 12px 14px;
  }
  .kit-top-hero .kv-content-heading {
    font-size: clamp(21px, 6.4vw, 32px);
  }
}

/* Latest three News items in the existing compact homepage band. */
.kit-top-news .news-post > a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}
.kit-top-news .news-post-time {
  flex: 0 0 90px;
  width: 90px;
  float: none;
}
.kit-top-news .news-post-head {
  flex: 1;
  min-width: 0;
  width: auto;
  margin-left: 0;
  float: none;
}
.kit-top-news .news-post-heading {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.75;
}
.kit-top-news .news-post + .news-post {
  margin-top: 12px;
}
@media (min-width: 768px) {
  .kit-top-news .news-content-inner {
    height: auto;
    min-height: 199px;
  }
}
@media (max-width: 767px) {
  .kit-top-news .news-post > a {
    gap: 8px;
  }
  .kit-top-news .news-post-time {
    flex-basis: 74px;
    width: 74px;
    font-size: 12px;
  }
}

/* 2026-11-20: sustained hover, balanced gaps and information rows. */
.kit-top-donate a {
  transition: filter .2s ease;
}
.kit-top-nav a[title="Twitter"] svg,
.kit-top-nav a[title="Twitter"] svg *,
.kit-top-nav a[title="LINE"] svg,
.kit-top-nav a[title="LINE"] svg *,
.toggle-menu-bottom-list-sns a[title="Twitter"] svg *,
.toggle-menu-bottom-list-sns a[title="LINE"] svg * {
  transition: fill .2s ease;
}
.kit-top-nav a[title="Twitter"]:hover svg,
.kit-top-nav a[title="Twitter"]:hover svg *,
.kit-top-nav a[title="Twitter"]:focus-visible svg *,
.kit-top-nav a[title="LINE"]:hover svg,
.kit-top-nav a[title="LINE"]:hover svg *,
.kit-top-nav a[title="LINE"]:focus-visible svg *,
.toggle-menu-bottom-list-sns a[title="Twitter"]:hover svg *,
.toggle-menu-bottom-list-sns a[title="Twitter"]:focus-visible svg *,
.toggle-menu-bottom-list-sns a[title="LINE"]:hover svg *,
.toggle-menu-bottom-list-sns a[title="LINE"]:focus-visible svg * {
  fill: #999 !important;
}
.kit-top-cards .topics > .content-inner {
  padding-top: 0;
}
.kit-top-cards .topics .content-panel {
  padding-top: 40px;
}
.kit-top-news-tail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto 1fr auto 1fr;
}
.kit-top-news-tail > .news-content > .news-content-inner {
  height: 100%;
}
@media (min-width: 768px) {
  .kit-top-news-tail .news-content-box {
    min-height: 199px;
  }
}
@media (max-width: 767px) {
  .kit-top-cards .topics .content-panel {
    padding-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kit-top-donate a,
  .kit-top-nav a[title="Twitter"] svg *,
  .kit-top-nav a[title="LINE"] svg *,
  .toggle-menu-bottom-list-sns a[title="Twitter"] svg *,
  .toggle-menu-bottom-list-sns a[title="LINE"] svg * {
    transition: none;
  }
}


/* Restore the original production Events column widths. */
@media (min-width: 768px) {
  .kit-top-news-tail .events .news-post-time {
    width: 90px;
    float: left;
  }
  .kit-top-news-tail .events .news-post-head {
    width: 80%;
    margin-left: 12px;
    float: left;
  }
}

/* Align the nine home panels with uniform row spacing. */
.kit-top-cards .mission .content-panel {
  padding-top: 0;
}

/* Keep the three homepage bands compact even with multi-line event dates. */
@media (min-width: 768px) {
  .kit-top-news-tail .news-post > a {
    display: flow-root;
  }
  .kit-top-news-tail .news-post + .news-post {
    margin-top: 12px;
  }
  .kit-top-news-tail .events .news-post-time {
    line-height: 20px;
  }
}
