/* ===== Global Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
        overflow-x: hidden;
}

/* ===== Base Styles ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover,
a:focus {
    opacity: 0.8;
}

a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: inherit;
}

p {
    margin: 0;
}

/* ===== Section: Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 24px 0 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 32px;
}



.logo-img {
    width: 110px;
    height: 23px;
    object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 0 48px;
    height: 60px;
    width: 80%;
        justify-content: center;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px 8px ;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0;
}

.nav-item.active {
    background: #20508A;
}

.nav-item.active span {
    color: #FFFFFF;
}

.nav-item span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    color: #252525;
}



/* Mobile Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    width: 16px;
    height: 14px;
}

.hamburger-lines span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #252525;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-lines span:first-child {
    top: 0;
}

.hamburger-lines span:last-child {
    bottom: 0;
}

.hamburger-menu.active .hamburger-lines span:first-child {
    transform: rotate(45deg);
    top: 6px;
}

.hamburger-menu.active .hamburger-lines span:last-child {
    transform: rotate(-45deg);
    bottom: 6px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding-top: 80px;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 280px;
    width: 90%;
}

.mobile-nav-item {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #252525;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.mobile-nav-item:first-child,
.mobile-nav-item:nth-child(2) {
    background: #20508A;
    color: #FFFFFF;
}

.mobile-nav-item:hover {
    background: rgba(32, 80, 138, 0.1);
}

.mobile-nav-item:first-child:hover,
.mobile-nav-item:nth-child(2):hover {
    background: #1a4070;
}

.feature-btn a  {
    background-color:#ff6b00;
    border-radius: 50px;
    color: #fff;
    height: 70px;
    line-height:70px;
    display: block;
    font-size: 24px;
    font-weight: bold;
    max-width: 430px;
    margin: auto;
    text-align:center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

}


@keyframes scroll-left {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(calc(-200px * 9 - 40px * 9));
    }
}

.company-logos-container {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    position: relative;
}

.company-logos-track {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 50%;
}

.company-logos-slide {
    display: inline-flex;
    gap: 40px;
}

.company-logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ===== Section: Footer ===== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding: 80px 0;
    background: #F5F5F5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    max-width: 980px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 271px;
}

.footer-logo {
    width: 193px;
    height: 40px;
}

.footer-logo-img {
    width: 193px;
    height: 40px;
    object-fit: contain;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-address p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.footer-phone {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    color: #666666;
}

.footer-navigation {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 160px;
    flex-shrink: 0;
}

.footer-section h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.6;
    color: #B5B5B5;
    margin: 0;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: #B5B5B5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.footer-section li a {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.6;
    color: #252525;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section li a:hover {
    color: #666666;
}

.sp{
    display: none;
}

.fv-logos {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
}

.logo-line {
  max-width: 1280px;
  margin: auto;
  width: 100%;
}

/* Company logos slideshow */
.company-logos-container {
    display: flex;
    animation: slideshow 30s linear infinite;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.company-logos-group {
    display: flex;
    gap: 60px;
    padding: 0 30px;
    align-items: center;
}


.fadein {
  opacity: 0.1;
  transform: translate(0, 50px);
  transition: all 0.5s ease 0s;
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}


.loop_wrap {
  display: flex;
    width: 290vw;
    overflow: hidden;
}
.logo_banner_box {
    margin: 0 calc(50% - 50vw);
    width: 99vw;
    position: relative;
    overflow: hidden;
}

.loop_wrap img {
  width: auto;
  height: 100%;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.loop_wrap img:first-child {
  animation: loop 100s -50s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 100s linear infinite;
}

@media only screen and (max-width: 735px) {
    .loop_wrap {
    width: 432vw;
    }
}


@media (max-width: 1024px) {
    .nav-item{
        padding: 8px;
    }
    .desktop-nav {
        gap:16px;
            padding: 0 5px;
    }
}

/* 768px and below */
@media (max-width: 768px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .logo {
        z-index: 1001;
        position: relative;
    }

    .nav-list {
        display: none;
    }


    .feature-btn {
        padding : 0 20px;
    }
    .feature-btn a{
        font-size: 16px;
        height: 46px;
        line-height: 46px;
        max-width: 330px;
    }
   
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-title {
        font-size: 120px;
    }
    .footer-left,
    .footer-content {
        display: block;
    }
    .footer-left{
        text-align: center;
        width: 100%;
    }
    .footer-logo img {
        margin: 0 auto 20px;
    }
    .footer-logo{
        width: auto;
        height: auto;
    }
    .footer-address{
        margin-bottom: 40px;
    }
    .footer-navigation{
        padding: 0 20px;
    }
      .header{
    padding:12px 0;
  }
  .page-sub-title{
padding:0px 20px;
  }
}