* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00579C;
}

.cta-button {
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    /*min-height: 100vh;*/
    height: fit-content;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.1"/><stop offset="100%" stop-color="%23764ba2" stop-opacity="0.05"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 70% 30%;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    margin-top: 8rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-badge {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    color: #00579C;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #00579C;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    opacity: 0.1;
    animation: floatAround 15s linear infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes floatAround {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        transform: translateY(0px) rotate(180deg);
    }

    75% {
        transform: translateY(30px) rotate(270deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: white;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00579C;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00579C;
    font-weight: bold;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.h2-p {
    font-size: 1rem;
}


.free-animation {
    animation: free-pulse 1.5s infinite ease-in-out;
}

@keyframes free-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);

    }

    100% {
        transform: scale(1);
    }
}

.qa-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(118, 75, 162, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.qa-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

hr {
    margin: 0.5rem 0;
}

.underline {}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-card h3 {
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    color: #333;
}

/* Voice Section */
.voice {
    padding: 3rem 0;
    background: white;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.voice-card {
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.price-card {
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
}

.voice-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    opacity: 0.3;
}

.voice-text {
    margin-bottom: 1rem;
    font-style: italic;
    height: 60%;
}

.voice-author {
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    grid-column: 1 / span 2;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.imgs img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.no-margin {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.imgs {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(118, 75, 162, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.imgs:hover {
    border: 1px solid #00579C;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.8);
}

.pulse-text {
    animation: pulse 1.5s infinite ease-in-out;
    display: inline-block;
    /* アニメーションが正しく作用するように */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        /* 少し拡大 */
    }

    100% {
        transform: scale(1);
    }
}

.btn-primary {
    /*background: white;
    color: #00579C;*/
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white;
    padding: 1rem 5rem;
    width: max-content;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

.feature-h3 {
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    color: white !important;
    border-radius: 25px;
}

.text-on-btn {
    background: linear-gradient(135deg, #00579C 0%, #004175 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #00579C;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.copy-right {
    font-size: 12px;
    margin: 1rem 0;

}

.footer_menu {
    display: flex;
    justify-content: space-evenly;
}

.footer_menu__category_title a {
    color: white;
}

.sp-nav {
    display: none;
    background-color: #fff;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
    display: none;
}

/* アイコンの初期状態とアニメーション */
.menu-icon,
.close-icon {
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    right: 0;
}

/* 表示/非表示切替用 */
.menu-icon.hidden,
.close-icon.hidden {
    opacity: 0;
    pointer-events: none;
}

.menu-icon.visible,
.close-icon.visible {
    opacity: 1;
    pointer-events: auto;
}

.sp-nav.open {
    display: block;
}

/* ナビ内のリンクを縦に並べる */
.sp-nav .nav-menu {
    flex-direction: column;
    gap: 0rem;
}

.sp-nav .nav-menu li {
    border-bottom: 1px solid #eee;
}

.sp-nav .nav-menu li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #00579C;
    text-align: center;
}

.slider-btn {
    display: none;
}

/* デフォルトでは非表示 */
.sp-only {
    display: none;
}

.banner-img img {
    margin-top: 8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-column: 1;
        grid-row: 1;
    }

    .banner-img {
        grid-column: 1;
        grid-row: 2;
    }

    .cta-buttons {
        grid-column: 1;
        grid-row: 3;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }


    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .price-card {
        flex-direction: column;
    }

    .price-card a {
        text-align: center;
        margin: 1rem 0;
    }

    .hero-features {
        justify-content: center;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .qa-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .color-wh {
        color: white;
        font-size: 1.4rem !important;
    }

    .footer_menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .cta-button {
        display: none;
    }

    .pc-nav {
        display: none;
    }

    .slider-wrapper {
        position: relative;
        overflow: hidden;
    }

    /* 横スクロールエリア */
    .voice-grid.fold,
    .features-grid.fold {
        display: flex;
        overflow-x: hidden;
        scroll-behavior: smooth;
        gap: 16px;
        padding: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* 子要素の横並び */
    .voice-grid.fold .imgs,
    .features-grid.fold .feature-card {
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: center;

    }

    /* 矢印ボタン */
    .slider-btn {
        display: block;
        color: #00579C;
        position: absolute;
        top: 85%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 0.5rem 0.75rem;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* 左右の位置 */
    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .banner-img img {
        width: 100%;
        margin-top: 1rem;
    }

    .logo-slide {
        gap: 20px;
    }

    .logo-slide img {
        height: 35px;
        max-width: 100px;
    }

    .slider-section {
        gap: 10px;
        padding: 5px 0;
    }

}



/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.contact_section {
    border-radius: 16px;
    background: rgb(0, 87, 156);
    margin-bottom: 3em;
}

#contact {
    width: 100%;
    margin: 4em 0;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
}

.contact-form__group {
    margin-bottom: 20px;
    text-align: left;
}

.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form__group_staff,
.contact-form__group_path {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: white;
}

.contact-form__submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #495057;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact_section h2,
.contact_section a,
.contact_section label {
    color: white;
}

.contact-form__label {
    font-weight: 700;
    font-size: 16px;
}

.row>.col-6:nth-child(1) {
    width: 45%;
}

.row>.col-6:nth-child(2) {
    width: 50%;
}

.contact-form__required {
    font-size: 12px;
    color: #dc3545;
}

#submit-btn {
    background-color: white;
    border-radius: 25px;
    padding: 10px 5em;
    width: fit-content;
    margin-top: 1rem;
    border: 1px #00579C solid;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form__agreement a {
    color: white;
}

.contact-form__agreement-container {
    text-align: left;
}

.tel-text {
    text-align: center;
    color: white;
    font-size: 16px !important;
    margin-top: 1rem;
    font-weight: 500;
    opacity: 1 !important;
}


/*顧客*/
.loop_css2,
.loop_css4 {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
    width: 100vw;
    overflow: hidden;
}

.loop_css2 ul,
.loop_css4 ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
    width: fit-content;
    margin: 0;
    padding: 0;
}

.loop_css2 li,
.loop_css4 li {
    display: inline-block;
    width: calc(100vw / 2);
    width: 150px;
    height: 80px;
    margin: 0 20px 0 0;
    list-style: none;
    text-align: center;

    display: flex;
    /* ← 中央揃えのためにflexに */
    align-items: center;
    /* 垂直方向の中央揃え */
    justify-content: center;
    /* 水平方向の中央揃え */
}

.loop_css2 li a,
.loop_css4 li a {
    display: block;
    pointer-events: none;
    height: -webkit-fill-available;
}

.loop_css2 li img,
.loop_css4 li img {
    display: block;
    width: 100%;
    height: 90%;
    object-fit: contain;
}


.loop_css2 ul:first-child {
    -webkit-animation: loop 120s -60s linear infinite;
    animation: loop 120s -60s linear infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.loop_css4 ul:first-child {
    -webkit-animation: loop_g 120s -60s linear infinite;
    animation: loop_g 120s -60s linear infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.loop_css2 ul+ul {
    -webkit-animation: loop2 120s linear infinite;
    animation: loop2 120s linear infinite;
}

.loop_css4 ul+ul {
    -webkit-animation: loop4 120s linear infinite;
    animation: loop4 120s linear infinite;
}





@-webkit-keyframes loop {
    0% {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes loop {
    0% {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@-webkit-keyframes loop2 {
    0% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }
}

@keyframes loop2 {
    0% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }
}

@-webkit-keyframes loop_g {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes loop_g {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@-webkit-keyframes loop4 {
    0% {
        -webkit-transform: translateX(-200%);
        transform: translateX(-200%);
    }

    to {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}

@keyframes loop4 {
    0% {
        -webkit-transform: translateX(-200%);
        transform: translateX(-200%);
    }

    to {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}

.loop_js {
    display: -webkit-flex;
    display: flex;
    height: auto;
    overflow: hidden;
}

.loop_js>* {
    width: 33.333333%;
    height: auto;
}


.slider-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    padding: 20px 0;
}

.logo-slider-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.logo-slider {
    display: flex;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-slide {
    display: flex;
    gap: 50px;
}

.logo-slide img {
    height: 50px;
    object-fit: contain;
}

/* 上段：右から左へ */
.logo-slider-container.rtl .logo-slider {
    animation-name: scroll-rtl;
    animation-duration: 60s;
}

/* 下段：左から右へ */
.logo-slider-container.ltr .logo-slider {
    animation-name: scroll-ltr;
    animation-duration: 60s;
}

@keyframes scroll-rtl {
    0% {
        transform: translateX(-2%);
    }

    100% {
        transform: translateX(-160%);
    }
}

@keyframes scroll-ltr {
    0% {
        transform: translateX(-142%);
    }

    100% {
        transform: translateX(2%);
    }
}