/* Service */
.service-card-box {
    width: 76.4%;
    margin: 50px auto 410px;
}

.service-card-box .service-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
}

.service-card-box .service-cards li {
    width: 420px;
    border: 1px solid #2668D0;
    box-shadow: 2px 2px 10px 0px #0000001A;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-box .service-cards li img {
    width: 380px;
    height: 221px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.service-card-box .service-cards li .description {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.service-card-box .service-cards li .description h2 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1.2px;
    color: #2668D0;
    flex: 1;
    height: 100%;
    min-height: 0%;
}

.service-card-box .service-cards li .description p {
    margin-top: 10px;
    color: #111;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 1.6px;
    text-align: left;
    flex: 2;
    height: 100%;
    min-height: 0%;
}

.service-card-box .service-cards li .description .btn-viewmore {
    width: 200px;
    height: 48px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-box .service-cards li .description .btn-viewmore a {
    color: #2668D0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.8px;
    transition: .3s all;
    border: 1px solid #2668D0;
    box-shadow: 2px 2px 10px 0px #0000001A;
}

.service-card-box .service-cards li .description .btn-viewmore a:hover {
    color: #fff;
    background-color: #2668D0;
}

/* Saas Now */
.service-section {
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
}

.service-description .service-section-inner {
    box-shadow: 2px 2px 10px 0px #0000001A;
    width: 80%;
    max-width: 1152px;
    border-radius: 16px;
    padding: 50px;
    text-align: center;
}

.service-description-content {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.service-description-content .service-description-text {
    font-weight: 400;
    letter-spacing: 1.6px;
    line-height: 28px;
    width: 57%;
    padding-right: 24px;
}

.service-description-content .service-description-img {
    width: 280px;
    height: 200px;
}

.service-description-content .service-description-img img {
    width: 100%;
    min-width: 100%;
}

.service-merit {
    margin-top: 100px;
    text-align: center;
}

.service-merit.saas {
    margin-bottom: 0;
    padding-bottom: 50px;
}

.service-merit ul {
    text-align: left;
    margin-top: 50px;
}

.service-merit ul.assistant {
    width: 410px;
    margin: 50px auto 0;
}

.service-merit ul li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 2.5rem;
    line-height: 28px;
    letter-spacing: 1.6px;
}

.service-merit  ul li::before {
    content: '';
    display: inline-block;
    width: 27px;
    height: 27px;
    background-image: url('https://corp.ambient-lab.co.jp/wp-content/uploads/2022/04/Vector.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 1px;
    left: 0;
}

.service-section.saas-lists {
    padding-top: 50px;
    margin-top: 0;
}

/* ▼ SaaSアイコン 横スクロール(2段) */
.saas-lists-wrap {
  overflow: hidden;
  width: 100%;
  display: flex;
  margin-top: 50px;
}

.saas-lists-wrap ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.saas-lists-wrap ul.scroll-left {
  animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

.saas-lists-wrap ul.scroll-right {
  animation: infinity-scroll-right 60s infinite linear 0.5s both;
}


.saas-lists-wrap ul li {
    flex: 0 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 50px;
}

.saas-lists-wrap ul li img {
    height: 100%;
    object-fit: cover;
}

.saas-lists-wrap ul li.oneLogin img {
    width: 158px;
}

.saas-lists-wrap ul li.googleWorkspace img {
    width: 122px;
}

.saas-lists-wrap ul li.slack img {
    width: 145px;
}

.saas-lists-wrap ul li.creativeCloud img {
    width: 85px;
}

.saas-lists-wrap ul li.dropbox img {
    width: 163px;
}

.saas-lists-wrap ul li.freee img {
    width: 133px;
}

.saas-lists-wrap ul li.salesforce img {
    width: 102px;
}

.saas-lists-wrap ul li.zendesk img {
    width: 166px;
}

.saas-lists-wrap ul li.zendesk img {
    width: 166px;
}

@keyframes infinity-scroll-left {
    from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-100%);
    }
}
@keyframes infinity-scroll-right {
    from {
    transform: translateX(-100%);
    }
    to {
    transform: translateX(0%);
    }
}
/* ▲ SaaSアイコン 横スクロール(2段) */

.saas-login {
    padding: 100px 0 50px;
}

.saas-login .saas-login-img {
    margin: 50px auto 0;
    width: 100%;;
}

.saas-login .saas-login-img img {
    max-width: 100%;
    width: 100%;
}

.saas-login-desc {
    text-align: left;
    margin-bottom: 8px;
}

.saas-login-desc h3 {
    color: #0A2858;
    font-weight: bold;
    line-height: 28px;
    letter-spacing: 1.6px;
}

.saas-login-desc p {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 1.4px;
}

.service-section.initial-fee-lists {
    padding: 100px 0;
}

.initial-fee-cards {
    margin-top: 50px;
    display: flex;
    gap: 50px;
    justify-content: center;
}

.initial-fee-cards h3 {
    display: inline-block;
    color: #0A2858;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2.2px;
    border: 1px solid #0A2858;
    border-radius: 16px;
    margin: 0 auto;
    padding: 4px 10px;
}

.initial-fee-cards h3.bg-blue {
    color: #fff;
    background-color: #0A2858;
}

.initial-fee-cards > li {
    width: 469px;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 4px 4px 10px 0px #0000004D;
}

.initial-fee-card-contents {
    margin-top: 24px;
    text-align: left;
    list-style-type: disc;
    margin-left: 14px;
}

.initial-fee-card-contents > li {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 1.6px;
}


.initial-fee-card-contents > li:not(:first-of-type) {
    margin-top: 4px;
}

 .price-table {
  width: 880px;
  border-collapse: separate;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}


.price-table th {
  background-color: #2668D0;
  color: #fff;
  padding: 8px 20px;
  text-align: left;
  letter-spacing: 1.6px;
  border: 1px solid #959595;
}

.price-table th:first-of-type {
    border-top-left-radius: 16px;
    width: 200px;
}

.price-table th:last-of-type {
    border-top-right-radius: 16px;
}

.price-table th:not(:first-of-type) {
    border-left: none;
}

.price-table td {
  border: 1px solid #959595;
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  line-height: 28px;
  letter-spacing: 1.6px;
  border-top: none;
}

.price-table td:first-of-type {
    width: 140px;
    padding-right: 0;
}

.price-table td:nth-of-type(2) {
    width: 248px;
}

.price-table td:last-of-type {
    width: 492px;
}

.price-table.assistant-price-table td:first-of-type {
    width: 164px;
}

.price-table.assistant-price-table td:nth-of-type(2) {
    width: 440px;
}

.price-table.assistant-price-table td:last-of-type {
    width: 276px;
}

.price-table tbody tr:nth-of-type(2) td:first-of-type {
    padding-right: 22px;
}

.price-table td:not(:first-of-type) {
    border-left: none;
}

.price-table tbody tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 16px;
}

.price-table tbody tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 16px;
}

.price-table td ul {
    list-style-type: disc;
    padding-left: 20px;
}

.service-section.other-service {
    background: linear-gradient(180deg, #2668D0 0%, #051250 100%);
    padding: 100px 0 430px;
    margin-bottom: 0;
    background-position: 0 -100px;
}

.other-service .service-body {
    margin-top: 50px;
}

.other-service .service-body li {
    border-right: none;
    padding-top: 0;
    padding-bottom: 0;
}

/* Assistant */
.service-caution {
    padding-top: 50px;
}

.service-caution ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.service-caution ul li {
    width: 200px;
    padding: 20px 0;
    background-color: #D3DAFC;
    border-radius: 16px;
    box-shadow: 2px 2px 10px 0px #0000001A;
}

.service-caution ul li img {
    width: 100px;
    height: 100px;
}

.service-caution ul li h3 {
    margin-top: 10px;
    line-height: 28px;
    letter-spacing: 1.6px;
}

.assitant-service-lists ul {
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.assitant-service-lists ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 116px;
    padding: 0 60px;
    border: 3px solid #0B26A9;
    border-radius: 16px;
    letter-spacing: 1.6px;
    line-height: 28px;
}

.service-section.assitant-service-request {
    padding: 50px 0;
    margin-bottom: 0;
}

.service-section.assitant-service-request .assitant-service-request-img {
    width: 100%;
    margin-top: 50px;
}

.service-section.assitant-service-request .assitant-service-request-img img {
    width: 100%;
    max-width: 100%;
}

.service-section.assitant-service-accounting {
    margin-top: 0;
    padding: 50px 0;
}

.service-section.assitant-service-accounting .assitant-service-accounting-img {
    width: 100%;
    margin-top: 50px;
}

.service-section.assitant-service-accounting .assitant-service-accounting-img img {
    width: 100%;
    max-width: 100%;
}

.service-section.service-price-lists .service-section-inner.mini {
    width: 100%;
}

.service-section.service-price-lists {
    padding: 0 20px;
}

.table-container {
    margin-top: 50px;
    text-align: left;
}

.table-container h3 {
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 2.2px;
}

.service-section.service-price-lists .table-wrapper {
    margin-top: 16px;
    overflow-x: scroll;
}

.service-section.service-price-lists.assitant .table-wrapper .price-table {
    margin-top: 0;
}

.service-section.assitant .price-table th:last-of-type {
    width: 332px;
}

.service-section.assitant .price-table th:nth-of-type(2) {
    width: 440px;
}

.service-section.assitant .price-table tbody tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 16px;
}

.service-section.assitant .price-table tbody tr:first-of-type td:last-of-type {
    border-bottom-right-radius: 16px;
}


.service-section.assitant .table-container:last-of-type .price-table tbody tr:first-of-type td:last-of-type {
    border-bottom-right-radius: 0;
}

.service-section.assitant .table-container:last-of-type .price-table tbody tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 16px;
}

.service-section.other-service .service-body li .description h3 {
    color: #FFE91C;
}

.service-section.other-service .service-body li .description p {
    color: #fff;
}

.service-price-lists p {
    margin-top: 16px;
    text-align: left;
    letter-spacing: 1.6px;
}

@media only screen and (max-width: 990px) {
    .service-section.service-caution {
        margin-top: 0;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .service-caution ul {
        margin-top: 32px;
        flex-direction: column;
        gap: 16px;
    }

    .service-caution ul li {
        width: 100%;
        display: flex;
        padding: 10px;
        align-items: center;
        gap: 10px;
    }

    .service-caution ul li img {
        width: 80px;
        height: 80px;
    }

    .service-caution ul li h3 {
        text-align: left;
        font-size: 13px;
        line-height: 20px;
        margin-top: 0;
        letter-spacing: 1.3px;
    }

}

@media only screen and (max-width: 767px) {
    .lead-text {
        margin-top: 50px;
    }

    .page-description {
        margin-top: 50px;
    }

    .service-card-box {
        width: 89.33%;
        margin: 50px auto;
    }

    .service-card-box .service-cards {
        display: block;
    }

    .service-card-box .service-cards li {
        width: 100%;
    }

    .service-card-box .service-cards li:not(:first-of-type) {
        margin-top: 24px;
    }

    .service-card-box .service-cards li .description p {
        font-size: 14px;
        letter-spacing: 1.4px;
        line-height: 24px;
    }

    .service-section {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .service-section.assitant-service-request {
        margin-top: 0;
    }

    /* Saas Now Assitant Now */
     .service-section.service-description {
        margin-bottom: 24px;
    }
    .service-description .service-section-inner,
    .service-section-inner.mini {
        width: 89.3%;
    }

    .lead-text .page-description {
        font-size: 14px;
        line-height: 24px;
    }

    .service-description .service-section-inner {
        padding: 32px 10px;
    }

    .service-description-content {
        flex-direction: column-reverse;
        margin-top: 32px;
    }

    .service-description-content .service-description-img.assistant-now-description-img {
        margin-bottom: 24px;
    }

    .service-description-content .service-description-text {
        margin-top: 24px;
        width: 100%;
        padding-right: 0;
        font-size: 14px;
        line-height: 24px;
    }

    .service-section.service-merit {
        margin-top: 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .service-merit ul {
        margin-top: 32px;
    }

    .service-merit ul li {
        font-size: 14px;
        line-height: 24px;
    }

    .service-section.saas-lists {
        margin-top: 0;
        padding-top: 50px;
    }

    .saas-lists-wrap {
        margin-top: 32px;
    }

    .saas-lists-wrap:nth-of-type(2) {
        margin-top: 8px;
    }
    
    .saas-lists-wrap ul li {
        height: 62px;
        margin-bottom: 24px;
        margin-left: 32px;
    }
    
    .saas-lists-wrap ul li.bakuraku {
        margin-left: 24px;
    }

    .saas-lists-wrap ul li.dropbox {
        margin-left: 48px;
    }

    .saas-lists-wrap ul li.aws {
        margin-left: 42px;
    }

    .saas-lists-wrap ul li.documentSign {
        margin-left: 50px;
    }

    .saas-lists ul li img {
        height: 100%;
        object-fit: cover;
    }
    
    .saas-login {
        padding: 50px 0;
    }

    .service-section.assitant-service-request .assitant-service-request-img {
        margin-top: 32px;
    }

    .service-section.assitant-service-accounting .assitant-service-accounting-img {
        margin-top: 32px;
    }

    .service-section.initial-fee-lists {
        padding: 50px 0;
    }

    .service-section-inner {
        width: 89.3%;
    }

    .initial-fee-cards {
        flex-direction: column;
        margin-top: 32px;
    }


    .initial-fee-cards > li {
        width: 100%;
        padding: 20px;
    }

    .initial-fee-cards h3 {
        font-size: 18px;
    }

    .initial-fee-card-contents {
        margin-top: 16px;
    }

    .initial-fee-card-contents > li {
        font-size: 14px;
        line-height: 24px;
    }

    .service-section.service-price-lists {
        margin-top: 0;
        padding: 50px 20px;
    }

    .price-table {
        margin-top: 32px;
    }

    .service-section.other-service {
        margin-top: 0;
        padding: 50px 0;
    }

    .other-service .service-body { 
        margin-top: 24px;
    }

    .service-section.other-service {
        background-position: 0 0;
    }

    .saas-login .saas-login-img {
        margin-top: 32px;
    }

    .saas-login-desc h3 {
        font-size: 14px;
    }
    
    .saas-login-desc p {
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 1.3px;
    }

    .service-price-lists p {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    /* Assistant Now */
    .service-merit ul.assistant {
        width: 100%;
    }

    .service-section.assitant-service-lists {
        margin-top: 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .assitant-service-lists ul {
        margin: 32px 0 0 0;
    }

    .assitant-service-lists ul li {
        width: 100%;
        font-size: 13px;
        line-height: 20px;
        padding: 12px 16px;
        height: 64px;
    }

    .service-section.service-price-lists.assistant {
        margin-top: 0;
        padding-top: 50px;
    }

    .table-container {
        margin-top: 32px;
    }

}