/* WebPlus/VSB component output adapter. Keep component tags in index.html unchanged. */
.cms-logo {
  width: 500px;
  flex: 0 0 500px;
  min-height: 80px;
  display: flex;
  align-items: center;
  font-size: 0;
}

.cms-logo > *,
.cms-logo a,
.cms-logo span { width: 100% !important; display: flex; align-items: center; }

.cms-logo img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: 80px !important;
  object-fit: contain;
  object-position: left center;
}

.brand.has-full-logo .brand-rule,
.brand.has-full-logo .brand-name { display: none; }

.cms-head-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}

.cms-head-links p,
.cms-head-links div { margin: 0; }

.nav-inner .menu {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: stretch;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.nav-inner .menu > li {
  min-width: max-content;
  position: relative;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.nav-inner .menu > li > a {
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  font-weight: 600;
}

.nav-inner .menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 5px;
  background: #fff;
  transition: left .25s ease, right .25s ease;
}

.nav-inner .menu > li:hover > a::after,
.nav-inner .menu > li.on > a::after,
.nav-inner .menu > li.active > a::after {
  left: 0;
  right: 0;
}

.nav-inner .menu > li > ul {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 170px;
  margin: 0;
  padding: 9px 0;
  list-style: none;
  background: rgba(3, 74, 137, .97);
  box-shadow: 0 16px 35px rgba(0, 35, 72, .25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.nav-inner .menu > li:hover > ul,
.nav-inner .menu > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-inner .menu > li > ul a {
  min-height: 42px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  transition: padding .2s, background .2s, color .2s;
}

.nav-inner .menu > li > ul a:hover {
  padding-left: 23px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.cms-work { font-size: 14px; }
.cms-work-image { height: 260px; margin-top: 0; overflow: hidden; background: #e8f1f7; }
.cms-work-image img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s ease; }
.cms-work-image .cms-work-fallback { display: block; }
.cms-work-image:has(ul img) .cms-work-fallback,
.cms-work-image:has(a:not(.cms-work-fallback) img) .cms-work-fallback { display: none; }
.cms-work-image a:hover img { transform: scale(1.05); }
.cms-work-image ul, .cms-work-list ul { margin: 0; padding: 0; list-style: none; }
.cms-work-image li:not(:first-child) { display: none; }
.cms-work-image a { display: block; position: relative; }
.cms-work-image a span, .cms-work-image .title { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; color: #fff; background: linear-gradient(transparent, rgba(0, 46, 89, .8)); }
.cms-work-list { padding: 0; }

.compact-list { padding-top: 10px; font-size: 14px; }
.compact-list ul { margin: 0; padding: 0; border: 0; list-style: none; }
.compact-list li,
.compact-list.cms-guide-list li,
.compact-list.cms-rule-list li,
.compact-list.cms-security-list li { min-height: 0; padding: 0; border: 0; border-bottom: 1px solid #e1e9ef; background: transparent; box-shadow: none; transform: none; list-style: none; }
.compact-list li a,
.compact-list.cms-guide-list li a,
.compact-list.cms-rule-list li a,
.compact-list.cms-security-list li a { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 4px; overflow: hidden; color: #253f55; font-size: 14px; font-weight: 400; background: transparent; transition: color .2s, padding-left .2s; }
.compact-list li a::before,
.compact-list.cms-rule-list li a::before,
.compact-list.cms-security-list li a::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border: 0; border-radius: 50%; background: #a9bbc8; transform: none; }
.compact-list li a:hover,
.compact-list.cms-guide-list li a:hover,
.compact-list.cms-rule-list li a:hover,
.compact-list.cms-security-list li a:hover { padding-left: 10px; color: #0878cf; background: transparent; }
.compact-list li span:last-child,
.compact-list li time { margin-left: auto; color: #9badba; font-size: 12px; white-space: nowrap; }

.cms-work-list li,
.news_list li {
  border-bottom: 1px solid #e5edf3;
  list-style: none;
}

.cms-work-list li a,
.news_list li a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #18334d;
  font-size: 14px;
  transition: color .2s;
}

.cms-work-list li a:hover,
.news_list li a:hover { color: #0878cf; }
.cms-work-list li a > span:first-child,
.news_list li a > span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cms-work-list li span:last-child,
.cms-work-list li time,
.news_list li span:last-child,
.news_list li time { margin-left: auto; color: #9badba; font-size: 12px; white-space: nowrap; }
.news_list ul { margin: 13px 0 0; padding: 0; list-style: none; }

.cms-guide-list { font-size: 14px; }
.cms-guide-list > ul { display: contents; margin: 0; padding: 0; list-style: none; }
.cms-guide-list li { min-width: 0; min-height: 180px; padding: 30px 27px; position: relative; overflow: hidden; list-style: none; background: #fff; border: 1px solid #e1ebf2; transition: transform .35s, box-shadow .35s; }
.cms-guide-list li::before { content: "SERVICE"; display: block; margin-bottom: 38px; color: #91a9ba; font-size: 11px; letter-spacing: 2px; }
.cms-guide-list li::after { content: "→"; position: absolute; right: 26px; bottom: 23px; color: #0878cf; font-size: 22px; }
.cms-guide-list li a { display: block; color: #18334d; font-size: 17px; font-weight: 600; }
.cms-guide-list li span, .cms-guide-list li time { display: block; margin-top: 9px; color: #879aa9; font-size: 12px; }
.cms-guide-list li:hover { transform: translateY(-7px); border-color: #7cc7ec; box-shadow: 0 20px 45px rgba(7, 65, 115, .13); }

.cms-rule-list { font-size: 14px; }
.cms-rule-list ul { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); list-style: none; }
.cms-rule-list li { border-bottom: 1px solid rgba(255, 255, 255, .18); list-style: none; }
.cms-rule-list li a { min-height: 76px; padding: 0 4px; display: flex; align-items: center; gap: 18px; color: #fff; font-size: 16px; transition: padding .25s, background .25s; }
.cms-rule-list li a::before { content: "·"; color: #7ce2ff; font-size: 24px; }
.cms-rule-list li a:hover { padding-inline: 18px; background: rgba(255, 255, 255, .1); }
.cms-rule-list li span:last-child, .cms-rule-list li time { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: 12px; }

.cms-security-list { padding: 0 24px; font-size: 14px; }
.cms-security-list ul { margin: 0; padding: 0; list-style: none; }
.cms-security-list li { border-bottom: 1px solid rgba(255, 255, 255, .16); list-style: none; }
.cms-security-list li:last-child { border-bottom: 0; }
.cms-security-list li a { min-height: 88px; display: flex; align-items: center; gap: 18px; color: #fff; font-size: 15px; transition: padding .25s, background .25s; }
.cms-security-list li a::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid #7ce2ff; transform: rotate(45deg); }
.cms-security-list li a:hover { padding-inline: 12px; background: rgba(18, 160, 224, .25); }
.cms-security-list li span:last-child, .cms-security-list li time { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: 12px; }

.partner-zone { padding: 45px 0; background: #f3f8fc; }
.service-source-zone { display: none; }
.cms-image-links { font-size: 0; }
.cms-image-links ul { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 36px; margin: 0; padding: 0; list-style: none; }
.cms-image-links li { list-style: none; }
.cms-image-links img { max-height: 52px; width: auto; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.cms-image-links a:hover img { filter: none; transform: translateY(-3px); }

.cms-footer { min-height: 130px; padding: 38px 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .72); font-size: 13px; text-align: center; }
.cms-footer p { margin: 5px 0; }

@media (max-width: 1180px) {
  .cms-logo { width: 390px; flex-basis: 390px; }
  .nav-inner .menu { gap: 24px; }
}

@media (max-width: 900px) {
  .cms-logo { width: 270px; flex-basis: 270px; min-height: 48px; }
  .cms-logo img { max-height: 48px !important; }
  .nav-inner .menu { height: auto; display: block; }
  .nav-inner .menu > li { min-height: 56px; display: block; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-inner .menu > li > a { min-height: 56px; display: flex; align-items: center; font-size: 17px; }
  .nav-inner .menu > li > a::after { display: none; }
  .nav-inner .menu > li > ul { position: static; width: 100%; display: none; padding: 0 0 8px 18px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-inner .menu > li:hover > ul, .nav-inner .menu > li:focus-within > ul { display: block; transform: none; }
  .cms-guide-list > ul { display: contents; }
}

@media (max-width: 620px) {
  .cms-logo { width: 220px; flex-basis: 220px; }
  .cms-work-image, .cms-work-image img { height: 205px; }
  .cms-guide-list li { min-height: 145px; }
  .cms-security-list { padding: 0 14px; }
}

/* Reset legacy component decorations inside the compact homepage columns. */
.info-module .compact-list { padding: 10px 0 0; }
.info-module .compact-list ul { display: block; margin: 0; padding: 0; border: 0; }
.info-module .compact-list li { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 52px; padding: 0; position: static; overflow: hidden; border: 0; border-bottom: 1px solid #e1e9ef; background: transparent; box-shadow: none; transform: none; }
.info-module .compact-list li::before, .info-module .compact-list li::after, .info-module .compact-list li a::before { content: none; }
.info-module .compact-list li:hover { transform: none; box-shadow: none; background: #edf4f8; }
.info-module .compact-list li a { display: block; order: 1; flex: 1; min-width: 0; min-height: 0; padding: 14px 4px; color: #253f55; font-size: 14px; font-weight: 400; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: transparent; }
.info-module .compact-list li a:hover { padding: 14px 4px; color: #0878cf; background: transparent; }
.info-module .compact-list li > span, .info-module .compact-list li > time { display: block; order: 2; flex: 0 0 auto; margin: 0; color: #8b9fad; font-size: 12px; white-space: nowrap; }
