@charset "utf-8";

:root {
  --color-text-strong: #333;
  --color-text-body: #444;
  --color-text-muted: #555;
  --color-border-soft: #ddd;
  --color-surface-subtle: #f2f2f2;
  --color-surface-base: #fcfcfc;
  --shadow-soft: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.2));
  --shadow-strong: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.2));
}

body {
  font-family: 'Roboto', sans-serif;
}

.dark-global-page {
  background: #000;
  color: #fff;
}

.dark-global-page .bgImg,
.dark-global-page .container,
.dark-global-page .container-fluid,
.dark-global-page section,
.dark-global-page main,
.dark-global-page footer,
.dark-global-page .text-center,
.dark-global-page .pricing-header,
.dark-global-page .pt-5,
.dark-global-page .py-5,
.dark-global-page .pb-3,
.dark-global-page .pb-md-4,
.dark-global-page .mx-auto {
  background-color: #000;
}

.dark-global-page p,
.dark-global-page li,
.dark-global-page dd,
.dark-global-page dt,
.dark-global-page .border-bottom1,
.dark-global-page h1,
.dark-global-page h2,
.dark-global-page h3,
.dark-global-page h4,
.dark-global-page h5,
.dark-global-page h6 {
  color: #fff;
}

.dark-global-page hr {
  border-color: rgba(255, 255, 255, 0.18);
}

.dark-global-page .border-bottom1 {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.dark-global-page .company-link::after,
.dark-global-page .news-title::after,
.dark-global-page .network-link-text::after,
.dark-global-page .strength-right h3::after {
  background: #fff;
}

.dark-global-page .footer-links-row h5,
.dark-global-page .text-center p {
  color: #fff;
}

.dark-global-page .footer-links-row .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
}

.dark-global-page .footer-links-row .nav-link::after {
  background: #fff;
}

.dark-global-page .footer-links-row .nav-link:hover {
  color: #fff !important;
}

body.info-page {
  background: #000;
  color: #fff;
}

body.info-page .bgImg,
body.info-page .pb-3,
body.info-page .pricing-header,
body.info-page section,
body.info-page section .container {
  background: #000;
}

body.info-page .text-body-secondary {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.info-page .border-bottom1 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

body.info-page section,
body.info-page section p,
body.info-page section li,
body.info-page section h1,
body.info-page section h2,
body.info-page section h3,
body.info-page section h4,
body.info-page section h5,
body.info-page section h6 {
  color: #fff;
}

.bgImg {
  padding-top: 58px;
}

p {
  color: var(--color-text-muted);
}

#btn-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
  background-color: #31c0f8;
}

.gyoumu-pic {
  background-color: var(--color-surface-base);
  filter: var(--shadow-strong);
}

.google_map {
  padding: 0.5rem;
  background-color: var(--color-surface-base);
  filter: var(--shadow-soft);
}

.border-bottom1 {
  border-bottom: solid 1.5px rgb(145, 145, 144);
  color: #444;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 35px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.company-link,
.news-title,
.network-link-text,
.strength-right h3 {
  display: inline-block;
}

.company-link,
.network-link-text,
.strength-right h3 {
  position: relative;
}

.company-link::after,
.news-title::after,
.network-link-text::after,
.strength-right h3::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  background: #222;
  transition: width 0.3s ease;
  bottom: var(--underline-offset);
  height: var(--underline-height);
}

.company-link:hover::after,
.news-title:hover::after,
.network-link-text:hover::after,
.strength-right h3:hover::after {
  width: 100%;
}

.company-link,
.news-title {
  --underline-offset: -6px;
  --underline-height: 1px;
}

.network-link-text {
  --underline-offset: -8px;
  --underline-height: 2px;
}

.strength-right h3 {
  --underline-offset: -4px;
  --underline-height: 2px;
}

.footer-links-row {
  max-width: 1120px;
}

.footer-company-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.footer-company-links .nav {
  min-width: 0;
}

.footer-links-row h5 {
  margin-bottom: 22px;
}

.footer-links-row .nav-link {
  position: relative;
  display: inline-block;
  color: var(--color-text-muted) !important;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-links-row .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-text-strong);
  transition: width 0.3s ease;
}

.footer-links-row .nav-link:hover {
  color: #000 !important;
  transform: translateX(4px);
}

.footer-links-row .nav-link:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .footer-links-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 980px;
    column-gap: 56px;
    row-gap: 0;
  }

  .footer-links-row > .col-sm-4 {
    flex: 0 0 180px;
    width: 180px;
  }

  .footer-company-column {
    flex-basis: 420px !important;
    width: 420px !important;
  }
}

@media (max-width: 767px) {
  .footer-links-row {
    --bs-gutter-x: 0;
    display: grid !important;
    grid-template-columns: minmax(150px, 1.8fr) minmax(54px, 0.65fr) minmax(72px, 0.9fr);
    align-items: start;
    justify-content: center;
    width: calc(100% - 24px);
    max-width: 420px;
    column-gap: clamp(10px, 3.6vw, 18px);
    row-gap: 0;
    box-sizing: border-box;
    margin-top: 2rem !important;
    margin-right: auto !important;
    margin-bottom: 2rem !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .footer-links-row > [class*="col-"],
  .footer-company-column {
    width: auto !important;
    max-width: none;
    flex: none !important;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .footer-links-row > .footer-company-column {
    width: auto !important;
  }

  .footer-company-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(8px, 2.8vw, 16px);
    min-width: 0;
  }

  .footer-links-row h5 {
    margin-bottom: 14px;
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    word-break: keep-all;
  }

  .footer-links-row .nav-item {
    margin-bottom: 0.72rem !important;
  }

  .footer-links-row .nav-link {
    font-size: clamp(10px, 2.6vw, 12px);
    line-height: 1.5;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .nav-link-font::after,
  .language-toggle::after,
  .language-menu button::before,
  .product-language-switcher .language-toggle::after,
  .product-language-switcher .language-menu button::before,
  .company-link::after,
  .news-title::after,
  .network-link-text::after,
  .strength-right h3::after,
  .footer-links-row .nav-link::after,
  .mega-menu-right a::after,
  .maker-card h3::after,
  .recruit-region-link::after,
  .recruit-contact-inner a::after,
  .network-tab::after,
  .block-link .block-title::after,
  .block-link .block-en::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    transform: none !important;
    transition: none !important;
  }

  .home-news-more-text,
  .home-news-item-title-text,
  .news-breadcrumbs a,
  .plan-breadcrumb a,
  .product-toplink,
  .product-inline-underline {
    background-image: none !important;
    background-size: 0 0 !important;
    transition: none !important;
  }
}
