/* =========================================================
   site.css — Site chrome (footer, pagetop, back bar, inner pages)
   Prefer migrating rules here; remove from main.css / style.css.
   ========================================================= */

/* ---------- Inner page: breadcrumb / content shell ---------- */
#main > header.major {
  margin: 0 0 1.35em;
  text-align: left;
  font-size: var(--fs-meta);
}

#main > header.major a {
  border-bottom: none;
  color: #000;
}

.major .page:before {
  content: "\03e";
  margin: 0 0.6em;
}

span.page a {
  color: #000;
}

/* Text size control — mobile only, in #header .header-bar */
#header .header-bar .tool-textsize {
  display: none !important;
}

@media screen and (max-width: 980px) {
  #header .header-bar .tool-textsize {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0.35rem 0 0 !important;
    padding: 0.3rem 0.4rem 0.3rem !important;
    border: 0 !important;
    border-radius: 0;
    background: rgba(233, 238, 245, 1) !important;
    color: #111 !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  #header .header-bar .tool-textsize:hover,
  #header .header-bar .tool-textsize:focus-visible {
    background: rgba(233, 238, 245, 1) !important;
    opacity: 1 !important;
    outline: none;
  }

  #header .header-bar .tool-textsize[aria-pressed="true"] {
    background: rgba(233, 238, 245, 1) !important;
  }

  #header .header-bar .tool-textsize__pair {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    line-height: 1;
  }

  #header .header-bar .tool-textsize__sm,
  #header .header-bar .tool-textsize__lg {
    font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
  }

  #header .header-bar .tool-textsize__sm {
    font-size: 0.5rem;
    opacity: 0.55;
  }

  #header .header-bar .tool-textsize__lg {
    font-size: 0.7rem;
    opacity: 0.95;
  }

  #header .header-bar .tool-textsize[aria-pressed="true"] .tool-textsize__sm {
    opacity: 0.35;
  }

  #header .header-bar .tool-textsize[aria-pressed="true"] .tool-textsize__lg {
    opacity: 1;
  }

  #header .header-bar .tool-textsize:not([aria-pressed="true"]) .tool-textsize__sm {
    opacity: 0.9;
  }

  #header .header-bar .tool-textsize:not([aria-pressed="true"]) .tool-textsize__lg {
    opacity: 0.45;
  }
}

#content {
  margin-bottom: 1em;
}

/* Valid list links: <li><a>…</a></li> (archives / news lists) */
.wpnews .news-list_item > a {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   News archive — notebook list (aligned columns, soft chips)
   ========================================================= */

.wrapper.style2.style2--soft {
  background: #efeff2;
}

/* News archive: white page; balanced bottom air before Back */
body.blog .wrapper.style2 #main,
body.category .wrapper.style2 #main {
  padding-bottom: 1.25rem;
}

body.blog #content.wpnews,
body.category #content.wpnews,
.wpnews.wpnews--news {
  margin-bottom: 0;
}

.wpnews .news-main-head {
  margin: 0 0 0.85em;
  padding: 0 0 0.75em;
  border-bottom: 1px solid #e4e9f0;
}

.wpnews .news-main-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: var(--fs-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #111;
}

/* Homepage-matching stream head (News / お知らせ) */
.wpnews .news-main-head--stream {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.wpnews .news-eyebrow {
  margin: 0 0 0.55rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a7380;
  line-height: 1.2;
}

.wpnews .news-main-head--stream h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.wpnews .news-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.wpnews .news-list--stream {
  margin-bottom: 0;
  border-top: 1px solid #eceff3;
}

.wpnews .news-list_item {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #eceff3;
  transition: background 0.2s ease;
}

.wpnews .news-list_item:last-child {
  border-bottom: 0;
}

.wpnews .news-list--stream .news-list_item:last-child {
  border-bottom: 1px solid #eceff3;
}

.wpnews .news-list_item:hover {
  opacity: 1;
  background: #f7f9fc;
}

.wpnews .news-list_item > a {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55em 0.75em;
  overflow: visible;
  margin: 0;
  padding: 0.95em 0.15em;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wpnews .news-list--stream .news-list_item > a {
  grid-template-columns: 6.4em minmax(0, 1fr) auto;
}

.wpnews .news-list_item > a:hover {
  opacity: 1;
  color: #000;
}

.wpnews .news-list_date {
  float: none;
  margin: 0;
  font-size: var(--fs-meta);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #6a7380;
}

.wpnews .news-list_label {
  float: none;
  margin: 0;
  justify-self: start;
}

.wpnews .news-list_item .label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 5.2em;
  min-height: 0;
  margin: 0;
  /* JP: ink sits high — slightly more top padding */
  padding: 0.48em 0.65em 0.34em;
  border: 0;
  background: rgba(18, 18, 20, 0.08);
  color: #121214;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  position: static;
  top: auto;
  vertical-align: middle;
}

.wpnews .news-list_item .label.news,
.wpnews .news-list_item .label.new-item {
  border: 0;
  background: rgba(18, 18, 20, 0.08);
  color: #121214;
}

.wpnews .news-list_item .label.update {
  border: 0;
  background: rgba(18, 18, 20, 0.08);
  color: #121214;
}

.wpnews .news-list_text {
  margin: 0;
  min-width: 0;
  font-size: var(--fs-title);
  font-weight: 500;
  line-height: 1.45;
  color: #141414;
}

.wpnews .news-list_item > a:hover .news-list_text {
  color: #000;
}

.wpnews .news-list_arrow {
  color: #9aa3ad;
  transition: transform 0.2s ease, color 0.2s ease;
}

.wpnews .news-list_item > a:hover .news-list_arrow {
  color: #9726ec;
  transform: translateX(3px);
}

.wpnews .news-list_text .newicon {
  margin: 0 0 0 0.4em;
  padding: 0.2em 0.45em;
  border: 0;
  background: #111;
  color: #fff;
  font-family: "proxima-soft", sans-serif;
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  height: auto;
  vertical-align: middle;
}

.wpnews .news-list_item.is-empty {
  padding: 1em 0.15em;
  color: #6a7380;
  font-size: var(--fs-lead);
}

/* Document archive — equal-width category chips */
.wpnews.document-archive .news-list_item > a,
.post-type-archive-document .wpnews .news-list_item > a {
  grid-template-columns: 6.8em minmax(0, 1fr);
}

.wpnews.document-archive .news-list_label,
.post-type-archive-document .wpnews .news-list_label {
  width: 100%;
}

.wpnews.document-archive .news-list_item .label.document,
.post-type-archive-document .wpnews .news-list_item .label.document {
  width: 100%;
  min-width: 0;
  justify-content: center;
  border: 0;
  background: rgba(18, 18, 20, 0.08);
  color: #121214;
}

.wpnews.document-archive .news-list_item .label .document-tag,
.post-type-archive-document .wpnews .news-list_item .label .document-tag {
  display: inline;
}

.wpnews.document-archive .news-list_text .taxadded,
.post-type-archive-document .wpnews .news-list_text .taxadded {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 0 0 0.4em;
  padding: 0.32em 0.45em 0.2em;
  border: 1px solid #5a6470;
  background: #5a6470;
  color: #fff;
  font-size: var(--fs-tiny);
  font-weight: 500;
  line-height: 1;
  height: auto;
}

.wpnews.document-archive .news-list_text .taxadded.update,
.post-type-archive-document .wpnews .news-list_text .taxadded.update {
  border-color: #00b8ae;
  background: #00b8ae;
  color: #fff;
}

@media screen and (max-width: 736px) {
  .wpnews .news-main-head h2 {
    font-size: 1.18em;
  }

  .wpnews .news-main-head--stream h2 {
    font-size: 1.35rem;
  }

  .wpnews .news-list_item > a {
    grid-template-columns: auto 1fr;
    gap: 0.4em 0.75em;
    padding: 0.9em 0.1em;
  }

  .wpnews .news-list_date {
    grid-column: 1;
    grid-row: 1;
  }

  .wpnews .news-list_label {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .wpnews .news-list_text {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.95em;
  }

  .wpnews .news-list_item .label {
    min-width: 0;
    font-size: 0.66em;
    padding: 0.44em 0.55em 0.3em;
    line-height: 1;
  }

  /* Match homepage news list: date | title on one row */
  .wpnews .news-list--stream .news-list_item > a {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wpnews .news-list--stream .news-list_date,
  .wpnews .news-list--stream .news-list_text {
    grid-column: auto;
    grid-row: auto;
  }

  .wpnews .news-list--stream .news-list_arrow {
    display: none;
  }

  .wpnews.document-archive .news-list_item > a,
  .post-type-archive-document .wpnews .news-list_item > a {
    grid-template-columns: 5.8em minmax(0, 1fr);
  }

  .wpnews.document-archive .news-list_label,
  .post-type-archive-document .wpnews .news-list_label {
    grid-column: 1;
    grid-row: 1;
  }

  .wpnews.document-archive .news-list_text,
  .post-type-archive-document .wpnews .news-list_text {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
}

@media screen and (max-width: 1280px) {
  #main {
    padding: 2em 0;
  }
}

@media screen and (max-width: 980px) {
  #main > header.major {
    margin: 0 0 1.25em;
  }
}

@media screen and (max-width: 736px) {
  #content {
    margin-bottom: 1em;
  }

  body.blog .wrapper.style2 #main,
  body.category .wrapper.style2 #main {
    padding-bottom: 2rem;
  }

  body.blog #content.wpnews,
  body.category #content.wpnews,
  .wrapper.style2 #content.wpnews--news {
    margin-bottom: 0;
  }
}

/* ---------- Back / parent-archive buttons ---------- */
#main .inner > hr {
  margin: 1.75em 0 1.25em;
  border: 0;
  border-top: 1px solid #eef1f5;
}

ul.actions.last {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

ul.actions.last > li.aright {
  margin: 0 0 0 auto;
  float: none;
  text-align: right;
}

/* PC: equal size for stacked back buttons (rem = same px regardless of button font-size) */
ul.actions.last .button.icon.fa-angle-left,
ul.actions.last .button.special.small.icon.fa-angle-left {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 11rem;
  min-width: 11rem;
  max-width: 11rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  line-height: 1;
}

/* Archive / parent return (フォーラム・お知らせ・ドキュメント etc.) */
ul.actions.last .button.special.small.icon.fa-angle-left {
  gap: 0.45em;
  margin: 0;
  border: 0;
  background: rgba(81, 197, 232, 0.14);
  color: #1f8fb0;
  font-size: var(--fs-ui);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  transition: background 0.2s ease, color 0.2s ease;
}

ul.actions.last .button.special.small.icon.fa-angle-left:before {
  margin: 0;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.85;
  color: inherit;
}

ul.actions.last .button.special.small.icon.fa-angle-left:hover,
ul.actions.last .button.special.small.icon.fa-angle-left:focus-visible {
  background: rgba(81, 197, 232, 0.22);
  color: #1a7a98;
  opacity: 1;
}

@media screen and (max-width: 736px) {
  /* Match footer Back: one full-width row each */
  ul.actions.last:not(.fixed),
  .wrapper.style7.homenon ul.actions.last {
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    margin: 0;
    margin-left: 0;
  }

  ul.actions.last:not(.fixed) > li,
  ul.actions.last > li.aright,
  .wrapper.style7.homenon ul.actions.last > li {
    flex: none;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  /* Flush back bar edge-to-edge (no gray gap before pagetop) */
  .wrapper.style7.homenon {
    margin: 0;
    padding: 0;
  }

  .wrapper.style7.homenon > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  ul.actions.last:not(.fixed) > li > .button,
  ul.actions.last .button,
  ul.actions.last .button.icon,
  ul.actions.last .button.special.small.icon.fa-angle-left,
  .wrapper.style7.homenon .button.icon.fa-angle-left,
  .pagetop {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 3.15rem !important;
    min-height: 3.15rem !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0 1.2em !important;
    line-height: 1 !important;
    font-size: 0.88rem;
    border-radius: 0;
  }

  ul.actions.last .button.special.small.icon.fa-angle-left:before,
  .wrapper.style7.homenon .button.icon.fa-angle-left:before {
    margin: 0 0.45em 0 0;
  }

  .pagetop {
    flex-direction: column !important;
    gap: 0.22em !important;
    padding: 0.55rem 1.2em !important;
    font-weight: 600;
    letter-spacing: 0.06em;
  }

  .pagetop i {
    display: block;
    padding: 0;
    margin: -0.5em 0 0.3em 0;
    line-height: 1em;
    font-size: 1em;
  }

  .pagetopicon {
    font-size: 0.7em;
    line-height: 1;
    letter-spacing: 0.08em;
  }
}

/* ---------- Page subnav (disease pages; also used by forum) ---------- */
.page-nav-wrap {
  position: relative;
}

.page-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 0 2em 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
}

.page-nav a {
  position: relative;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  color: #000;
  transition: 0.5s;
}

.page-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: #ddd;
  transform: translateY(-50%);
}

.page-nav a:hover {
  background: #e9eef5;
}

.page-nav a.active {
  color: #000;
  font-weight: 500;
}

@media screen and (max-width: 736px) {
  .page-nav {
    font-size: 0.9rem;
    background: #f3f4f6;
  }

  .page-nav a {
    flex: 0 0 auto;
    padding: 0.7rem 1rem;
    color: #3a414a;
  }

  .page-nav a:hover {
    background: rgba(18, 18, 20, 0.06);
  }

  .page-nav a.active {
    color: #111;
  }

  .page-nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #111;
  }

  .page-nav::-webkit-scrollbar {
    display: none;
  }

  .page-nav-wrap::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 1.15em;
    font-weight: 500;
    line-height: 1;
    color: #5a6470;
    background: linear-gradient(
      to right,
      rgba(243, 244, 246, 0) 0%,
      rgba(243, 244, 246, 0.9) 40%,
      #f3f4f6 72%
    );
    padding: 0.75em 0.5em 0.75em 1.5em;
    pointer-events: none;
  }
}

/* Inner-page back bar (hidden on .home via home.css) */
.wrapper.style7 {
  padding-top: 0;
}

/* PC: balanced white space above/below Back */
.wrapper.style7.homenon {
  padding: 2.25rem 0;
  background: #fff;
}

.wrapper.style7.homenon .actions.last {
  margin-bottom: 0;
}

/* ---------- Pagetop ---------- */
.pagetop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  box-sizing: border-box;
  padding: 0.85em 0;
  background: #51c5e8;
  color: #fff;
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.pagetop:hover {
  color: #fff;
  opacity: 0.92;
}

.pagetop i {
  display: block;
  padding: 0;
  margin: -0.5em 0 0.3em 0;
  line-height: 1em;
  font-size: 1em;
}

.pagetopicon {
  position: relative;
  line-height: 1;
  font-size: 0.85em;
  font-weight: 600;
}

/* ---------- Footer ---------- */
#footer {
  background: #000;
  color: #fff;
  padding: 4em 0;
}

#footer .icons {
  padding-left: 0;
}

#footer .icons li {
  padding: 0 2em 0 0;
}

#footer .icons li:last-child {
  padding-right: 0;
}

#footer .icons li a {
  color: #666;
  transition: color 0.5s ease-in-out;
}

#footer .icons li a:hover {
  color: #fff;
}

#footer h4 {
  color: #fff;
}

#footer .copyright {
  font-size: var(--fs-meta);
  margin: 0;
}

#footer .copyright p,
#footer .copyright .term {
  font-size: var(--fs-lead);
  margin-bottom: 0.5em;
  line-height: 1.75;
  text-align: left;
}

.footer-row {
  display: table;
  table-layout: fixed;
  margin: 0 auto 2em;
  color: #fff;
  padding-top: 0;
  /* width comes from .container — do not force 100% or columns spill edge-to-edge */
}

#footer .footer-row.wrapper {
  padding-left: 0;
  padding-right: 0;
}

.footer-menu {
  display: table-cell;
  text-align: left;
  vertical-align: top;
  margin: 0;
}

.footer-menu > dt {
  display: inline-block;
  padding: 0 8px 0 0;
  font-size: var(--fs-label);
  font-weight: 400;
  line-height: 1.1;
  width: 20px;
  vertical-align: top;
}

.footer-menu > dt .u-vertical {
  white-space: nowrap;
  margin-right: 0;
  letter-spacing: 0.2em;
}

.u-vertical {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  max-height: 5em;
}

.footer-menu > dd {
  display: inline-block;
  height: 200px;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 1px solid #fff;
  text-align: left;
  vertical-align: top;
}

.footer-menu > dd > .footer-menu-label,
.footer-menu > dd > span {
  display: block;
  padding: 0 0 0 0.5em;
  font-weight: 600;
}

.footer-list {
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-ui);
}

.footer-list > li > a {
  color: #fff;
  text-decoration: none;
}

.footer-list > li > a:hover {
  text-decoration: underline;
}

.copyright h4 {
  margin-bottom: 0.1em;
  display: inline;
  color: #fff;
}

.copyright .site-url,
.copyright a {
  color: #fff;
}

.copyright .linkft {
  display: inline;
  margin-top: 0.75em;
}

.copyright .linkft a.btn {
  background: rgba(255, 255, 255, 0.293);
  padding: 0.3em 0.5em;
  color: #fff;
}

@media screen and (max-width: 980px) {
  #footer {
    padding: 2.75em 1.35em 2.25em;
  }

  #footer .footer-row,
  #footer .footer-row.container.wrapper {
    display: block !important;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 2.25em;
    padding: 0 !important;
    box-sizing: border-box;
  }

  #footer .footer-menu {
    display: block !important;
    width: 100%;
    margin: 0 0 1.9em;
    padding: 0 0 1.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  #footer .footer-menu:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* JP label as normal heading (not vertical) */
  #footer .footer-menu > dt {
    display: block !important;
    width: auto !important;
    padding: 0 0 0.55em;
    margin: 0;
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.48);
    text-transform: none;
  }

  #footer .footer-menu > dt .u-vertical,
  #footer .u-vertical {
    display: inline !important;
    writing-mode: horizontal-tb !important;
    -webkit-writing-mode: horizontal-tb !important;
    -ms-writing-mode: lr-tb !important;
    letter-spacing: 0.12em;
    max-height: none !important;
    white-space: normal !important;
    color: inherit;
  }

  #footer .footer-menu > dd {
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0.1em 0 0 !important;
    border-left: none !important;
  }

  /* English label is redundant next to JP heading */
  #footer .footer-menu-label,
  #footer .footer-menu > dd > span.footer-menu-label {
    display: none !important;
  }

  #footer .footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-ui);
    line-height: 1.4;
  }

  #footer .footer-list > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #footer .footer-list > li:last-child {
    border-bottom: none;
  }

  #footer .footer-list > li > a {
    display: block;
    padding: 0.72em 0.1em;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    opacity: 1;
  }

  #footer .footer-list > li > a:hover,
  #footer .footer-list > li > a:focus-visible {
    opacity: 0.82;
  }

  #footer .copyright {
    text-align: center;
  }

  #footer .copyright .container {
    width: 100%;
    box-sizing: border-box;
  }

  #footer .copyright .term {
    text-align: left;
    margin-bottom: 1.25em;
  }

  #footer .copyright h4 {
    font-size: 1.1em;
    display: block;
  }

  #footer .copyright .site-url {
    display: block;
    margin: 0.5em 0 1em;
    word-break: break-all;
  }

  #footer .copyright .linkft,
  #footer .linkft {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.25em;
  }

  #footer .copyright .linkft a.btn {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.85em;
    line-height: 1.4;
    padding: 0.45em 0.75em;
  }
}

@media screen and (max-width: 736px) {
  #footer {
    padding: 2.5em 1.35em 2.5em;
  }

  #footer .footer-menu > dt {
    font-size: 0.72rem;
    padding-bottom: 0.65em;
  }

  #footer .footer-list {
    font-size: var(--fs-ui);
  }

  #footer .footer-list > li > a {
    padding: 0.82em 0.05em;
  }
}

@media screen and (max-width: 480px) {
  #footer .copyright p,
  #footer .copyright .term {
    margin-bottom: 2em;
    font-size: var(--fs-lead);
  }

  #footer .copyright p br,
  #footer .copyright .term br {
    display: none;
  }
}


/* ---------- Shared news lists / labels (migrated from main.css + style.css) ---------- */
li.news-list_item {
  list-style: none;
  transition: opacity 0.5s;
}
li.news-list_item:hover {
  opacity: 0.7;
}
li.news-list_item:last-child {
  padding-bottom: 0;
}
.news-list {
  margin-bottom: 28px;
  text-align: left;
}
ul.news-list {
  padding: 0;
}
.news-list_item {
  padding: 10px 2px;
}
.news-list_date {
  margin-right: 13px;
  float: left;
  margin-top: 0;
  color: #000;
  font-size: 0.9em;
}
.news-list_text {
  margin-left: 120px;
  color: #000;
}
.news-list_text a {
  color: #444;
}
.label {
  font-size: 0.8em;
  line-height: 1em;
  position: relative;
  top: -3px;
  display: inline-block;
  padding: 7px;
  text-align: center;
  vertical-align: middle;
}
.news-list_label {
  margin-right: 10px;
  float: left;
}
.news-list_item .label {
  border: 1px solid #000;
  color: #000;
  margin-top: 4px;
  width: 100px;
}
.news-list_item .label a {
  color: #fff;
}
.news-list_item .label.news {
  border: 1px solid #51c5e8;
  color: #51c5e8;
}
.news-list_item .label.update {
  border: 1px solid #00B8AE;
  color: #00B8AE;
}
.news-list_item .label.new-item {
  border: 1px solid #0048a1;
  color: #0048a1;
}
.news-list_item .label.forum {
  border: 1px solid #51c5e8;
  background: #51c5e8;
  color: #fff;
}
.news-list_item .label.forum_ex {
  border: 1px solid #00B8AE;
  background: #00B8AE;
  color: #fff;
}
.topnewslist {
  margin-bottom: 0;
}

.eng {
  letter-spacing: -0.001em;
}

.taxadded {
  border: 1px solid #000;
  padding: 0.2em 0.5em;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 3px;
  line-height: 1.8em;
  height: 2.2em;
}
.news-list_text .taxadded {
  font-size: var(--fs-tiny);
  margin-left: 0.5em;
  border: none;
  background: #fff;
  line-height: 1.6em;
  height: 1.8em;
}
.post-type-archive .news-list_text .taxadded {
  background: #e9eef5;
  font-size: var(--fs-tiny);
  margin-left: 0.3em;
  border: none;
  line-height: 1.6em;
  height: 1.8em;
}
.single .inner h3 .taxadded {
  font-size: var(--fs-tiny);
  background: #e9eef5;
  margin-left: 0.5em;
  border: none;
  line-height: 1.6em;
  height: 1.8em;
}
.single .inner h3 .taxadded.update,
.post-type-archive .news-list_text .taxadded.update {
  background: #d5e3f8;
}

span.newicon {
  background: #38a8da;
  font-family: "proxima-soft", sans-serif;
  color: #fff;
  margin-left: 0.1em;
  font-size: 0.6em;
  padding: 0.2em 0.5em;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 3px;
  line-height: 1.7em;
  height: 1.8em;
}

@media screen and (max-width: 980px) {
  .topnewslist {
    margin-bottom: 2em;
  }
}

@media screen and (max-width: 736px) {
  .label {
    font-size: 0.7em;
  }
  .news-list {
    margin-bottom: 8px;
  }
  .news-list_item .label {
    width: 80px;
  }
  .news-list_text {
    margin-left: 80px;
  }
  .news-list_date {
    margin-right: 5px;
  }
}

/* =========================================================
   Migrated from main.css — site utilities / sidebar accordion
   ========================================================= */

.dtnon{
	display: none!important;
}

.tonly,
.monly{
	display: none!important;
}

ul.accordion, ul.accordion li{
	list-style: none;
	margin: 0 0 1px 0;
	padding: 0;
}

ul.accordion li li{
	margin: 0;
	padding: 0;
}

ul.accordion li ul{
	margin: 0;
	padding: 0;
	border-bottom: none;
}

.accordion{
	width: 100%;
	max-width: 100%;
	margin: 30px auto 20px;
	background: #FFF;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.accordion .linkout{
	cursor: pointer;
	display: block;
	padding: 15px 15px 15px 15px;
	color: #4D4D4D;
	font-size: 14px;
	font-weight: 700;
	border-bottom: 1px solid #CCC;
	position: relative;
	-webkit-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.accordion .linkout:hover{
	color: #51c5e8;
}

.accordion li:last-child .link{
	border-bottom: 0;
}

.accordion li{
	position: relative;
}

.accordion .link{
	position: absolute;
	top: 0;
	right: 0;
	z-index: 100;
}

.accordion li i{
	font-size: 18px;
	color: #595959;
	-webkit-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.accordion li i:hover, .accordion li i.fa-chevron-down:hover{
	color: #51c5e8;
}

.accordion li i.fa-chevron-down{
	right: 12px;
	left: auto;
	font-size: 16px;
	padding: 1.2em;
	border: none;
}

.accordion li.open .link{
	color: #4D4D4D;
}

.accordion li.open i{
	color: #4D4D4D;
}

.accordion li.open i.fa-chevron-down{
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
	border: none;
}

.accordion li.default .submenu{
	display: block;
}

.submenu{
	display: none;
	background: #444359;
	font-size: 14px;
}

.submenu li{
	border-bottom: 1px solid #ffffff;
}

.submenu li li{
	border-top: 1px solid #ffffff;
}

.submenu a{
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 12px;
	padding-left: 15px;
	-webkit-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.submenu li li a:before{
	content: '\02022';
	margin: 0 4px;
}

.submenu a:hover{
	background: #5d5c72;
	color: #FFF;
	-moz-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.accordion .link a{
	display: block;
	padding-right: 3em;
	color: #4D4D4D;
}

.footer-menuList{
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.25;
}

.menu label{
	display: none;
}

.menu input{
	display: none;
}

.menu label i{
	display: none;
}

@media screen and (max-width: 980px) {
.tonly{
		display: block!important;
	}
}

@media screen and (max-width: 736px) {
.monly{
		display: block!important;
	}
.mnon{
		display: none;
	}
.dtnon{
		display: block;
	}
}
