@charset "UTF-8";

.top-sec__title,
.about2_heading,
.sales_heading,
.case-section__title,
.function_title,
.el_lv2Heading,
.el_lv2Heading.flow3_heading,
.flow3 .flow3_heading {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5;
    color: #383b42;
    text-align: center;
    letter-spacing: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.top-sec__title {
    margin: 0;
}

.top-sec__nowrap {
    white-space: nowrap;
}

.top-sec__lead {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: calc(25 / 16);
    color: #393b41;
    text-align: center;
    margin: 20px 0 0;
}

.top-sec__br-sp {
    display: none;
}

.top-point {
    background: #f3f7fe;
    padding: 55px 0 45px;
    overflow: hidden;
}

.top-point__head {
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: 0 auto;
}

.top-point__slider {
    margin-top: 36px;
    padding-bottom: 46px;
    overflow: visible;
}

.top-point__slider .swiper-wrapper {
    align-items: stretch;
}

.top-point__slider .swiper-slide {
    height: auto;
}

.top-point__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 279px;
    height: 100%;
    padding: 21px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    list-style: none;
}

.top-point__num {
    position: absolute;
    top: 0;
    left: 8px;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    pointer-events: none;
}

.top-point__num-label,
.top-point__num-digit {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #4092df 33.832%, #2e6dc0 99.984%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.top-point__num-label {
    font-size: 15px;
    line-height: 1;
}

.top-point__num-digit {
    font-size: 50px;
    line-height: 1.06;
    font-weight: 700;
}

.top-point__img {
    display: block;
    width: 251px;
    height: 158px;
    object-fit: cover;
    border-radius: 4px;
}

.top-point__text {
    margin: 13px 0 0;
    padding: 0 2px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    color: #000;
    text-align: justify;
}

.top-point__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.top-point__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
}

.top-point__dot.is-active {
    background: #4092df;
}

.top-cases {
    background: #f3f7fe;
    padding: 75px 20px 84px;
}

.top-cases__list {
    display: grid;
    grid-template-columns: repeat(3, 380px);
    justify-content: center;
    gap: 26px 20px;
    margin: 66px 0 0;
    padding: 0;
    list-style: none;
}

.top-cases__card {
    display: flex;
    min-height: 191px;
    border-radius: 10px;
    background: linear-gradient(90deg, #4092df 33.832%, #2e6dc0 99.984%);
    box-shadow: 4px 4px 4px 0 #00000040;
    overflow: hidden;
    list-style: none;
}

.top-cases__img {
    flex-shrink: 0;
    width: 124px;
    height: auto;
    object-fit: cover;
    align-self: stretch;
}

.top-cases__body {
    flex: 1;
    min-width: 0;
    padding: 18px 14px 16px 16px;
    color: #fff;
}

.top-cases__title {
    width: fit-content;
    margin: 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.23;
    color: #fff;
}

.top-cases__type {
    margin: 12px 0 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.375;
    color: #fff;
}

.top-cases__text {
    margin: 11px 0 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.54;
    color: #fff;
}

.top-cases__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.top-cases__tags li {
    padding: 0 6px;
    border-radius: 5px;
    background: #fefefe;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 19px;
    color: #000;
    list-style: none;
}

.top-security {
    padding: 78px 20px 0;
}

.top-security__lead {
    max-width: 842px;
    margin: 34px auto 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: calc(27 / 16);
    color: #393b41;
    text-align: center;
}

.top-security__lead small {
    display: block;
    font-size: inherit;
}

.top-security__list {
    display: grid;
    grid-template-columns: repeat(2, 352px);
    justify-content: center;
    gap: 50px 32px;
    margin: 55px 0 0;
    padding: 0;
}

.top-security__item {
    list-style: none;
}

.top-security__img {
    width: 346px;
    height: 168px;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    background: #f6f5f1;
    overflow: hidden;
    box-sizing: border-box;
}

.top-security__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-security__title {
    margin: 9px 0 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: calc(27 / 18);
    letter-spacing: 0.03em;
    color: #3174dd;
    text-align: center;
}

.top-security__text {
    margin: 7px 0 0;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: calc(27 / 15);
    letter-spacing: 0.03em;
    color: #000;
}

.top-iso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    max-width: 735px;
    margin: 60px auto 0;
    padding: 19px 0 15px;
    border-top: 2px solid #d9d9d9;
    border-bottom: 2px solid #d9d9d9;
}

.top-iso__logo {
    display: block;
    flex-shrink: 0;
    width: 267px;
    height: auto;
}

.top-iso__text {
    margin: 0;
    font-family: "Inter", "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: calc(25 / 15);
    color: #000;
}

/* ---------- Tablet ---------- */
@media (min-width: 769px) and (max-width: 1239px) {
    .top-cases__list {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 380px));
    }

    .top-cases__card {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .top-sec__title,
    .about2_heading,
    .sales_heading,
    .case-section__title,
    .function_title,
    .el_lv2Heading,
    .el_lv2Heading.flow3_heading,
    .flow3 .flow3_heading {
        font-size: 24px;
        line-height: 1.45;
    }

    /* 実機幅でフレーズ途中折り返しを防ぐ（PC 400pxでは再現しにくい） */
    .top-point .top-sec__title,
    .top-security .top-sec__title {
        font-size: clamp(20px, 6.2vw, 24px);
    }

    .top-sec__lead {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 16px;
    }

    .top-sec__br-sp {
        display: inline;
    }

    .top-sec__br-pc {
        display: none;
    }

    /* POINT */
    .top-point {
        padding: 40px 0 36px;
    }

    .top-point__slider {
        margin-top: 30px;
        padding-bottom: 36px;
    }

    .top-point__card {
        width: 263px;
        padding: 17px 13px;
    }

    .top-point__img {
        width: 237px;
        height: 150px;
    }

    .top-point__text {
        line-height: 1.6;
    }

    .top-cases {
        padding: 40px 16px 50px;
    }

    .top-cases__list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .top-cases__card {
        position: relative;
        min-height: 160px;
    }

    .top-cases__img {
        position: absolute;
        top: 0;
        left: 0;
        width: 32.6%;
        height: 100%;
        object-fit: cover;
    }

    .top-cases__body {
        margin: 0 0 0 32.6%;
        padding: 14px 10px 14px 14px;
    }

    .top-cases__title {
        font-size: 20px;
    }

    .top-cases__type {
        margin-top: 8px;
        font-size: 16px;
    }

    .top-cases__text {
        margin-top: 8px;
        font-size: 13px;
    }

    .top-cases__tags {
        margin-top: 10px;
        gap: 5px;
    }

    .top-security {
        padding: 44px 20px 0;
    }

    .top-security__lead {
        margin-top: 24px;
        font-size: 14px;
        text-align: left;
    }

    .top-security__lead small {
        text-align: center;
        margin-top: 4px;
    }

    .top-security__list {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 32px;
    }

    .top-security__img {
        width: 100%;
        height: auto;
        aspect-ratio: 346 / 168;
    }

    .top-security__title {
        font-size: 17px;
    }

    .top-security__text {
        font-size: 14px;
    }

    .top-iso {
        flex-direction: column;
        gap: 12px;
        margin-top: 40px;
        padding: 16px 0;
    }

    .top-iso__logo {
        width: 200px;
    }

    .top-iso__text {
        font-size: 13px;
        text-align: center;
    }
}
