/* =========================================================
   Top page common
========================================================= */

.top-page {
    color: #222;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
}

.top-page * {
    box-sizing: border-box;
}

.top-section__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 30px;
}

.top-section__head {
    text-align: center;
    margin-bottom: 45px;
}

.top-section__label {
    display: inline-block;
    margin: 0 0 8px;
    color: #005bac;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.12em;
}

.top-section__head h2 {
    margin: 0 0 16px;
    color: #111;
    font-size: 32px;
    line-height: 1.4;
}

.top-section__head p {
    max-width: 760px;
    margin: 0 auto;
}

.top-section__more {
    margin-top: 40px;
    text-align: center;
}

.top-section__more a,
.top_review_link a,
.top-btn {
    display: inline-block;
    min-width: 240px;
    padding: 13px 28px;
    border-radius: 999px;
    background: #005bac;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.top-section__more a:hover,
.top_review_link a:hover,
.top-btn:hover {
    opacity: 0.85;
}

@media screen and (max-width: 767px) {
    .top-section__inner {
        padding: 55px 20px;
    }

    .top-section__head {
        margin-bottom: 32px;
    }

    .top-section__head h2 {
        font-size: 25px;
    }
}


/* =========================================================
   Hero slider
========================================================= */

.top-hero-slider {
    position: relative;
    overflow: hidden;
}

.top-hero-slider__track {
    position: relative;
}

.top-hero-slide {
    position: absolute;
    inset: 0;
    min-height: 680px;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.top-hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.top-hero-slide--copy {
    background-image: url("/img/general/toppage/hero_bg_copy.jpg");
}

.top-hero-slide--network {
    background-image: url("/img/general/toppage/hero_bg_network.jpg");
}

.top-hero-slide--security {
    background-image: url("/img/general/toppage/hero_bg_buffalo.jpg");
}

.top-hero-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* .top-hero-slide--copy .top-hero-slide__overlay {
    background: linear-gradient(90deg, rgba(0, 45, 100, 0.72), rgba(0, 91, 172, 0.18));
}

.top-hero-slide--network .top-hero-slide__overlay {
    background: linear-gradient(90deg, rgba(0, 20, 55, 0.82), rgba(0, 70, 130, 0.25));
}

.top-hero-slide--security .top-hero-slide__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 60, 110, 0.35));
} */

.top-hero-slide__inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    min-height: 680px;
    margin: 0 auto;
    padding: 70px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.top-hero-slide__content {
    width: 54%;
    color: #333;
}

.top-hero-slide__label {
    display: inline-block;
    margin: 0 0 24px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.6);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.14em;
}

.top-hero-slide__content h1,
.top-hero-slide__content h2 {
    margin: 0 0 22px;
    color: #333;
    font-size: 42px;
    line-height: 1.45;
    font-weight: bold;
    background-color: transparent;
}

.top-hero-slide__content p {
    font-size: 17px;
    line-height: 1.9;
}

.top-hero-slide__visual {
    width: 42%;
    text-align: right;
}

.top-hero-slide__visual img {
    max-width: 100%;
    height: auto;
}

.top-hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: #e5e5e5;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.top-hero-slider__arrow--prev {
    left: 24px;
}

.top-hero-slider__arrow--next {
    right: 24px;
}

.top-hero-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.top-hero-slider__dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
}

.top-hero-slider__dots button.is-active {
    background: #cc000a;
}

.top-hero-slide__link {
    margin-top: 38px;
}

.top-hero-slide__link {
    margin-top: 38px;
}

.top-hero-slide__link a {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 2px;
    background: #005bac;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.25s ease;
}

.top-hero-slide__link a:hover {
    background: #004a8c;
    transform: translateY(-2px);
}

@media screen and (max-width: 1024px) {
    .top-hero-slide__content h1,
    .top-hero-slide__content h2 {
        font-size: 34px;
    }
}

@media screen and (max-width: 767px) {
    .top-hero-slide {
        min-height: 620px;
    }

    .top-hero-slide__inner {
        min-height: 620px;
        padding: 70px 24px 90px;
        display: block;
    }

    .top-hero-slide__content {
        width: 100%;
    }

    .top-hero-slide__content h1,
    .top-hero-slide__content h2 {
        font-size: 27px;
    }

    .top-hero-slide__content p {
        font-size: 15px;
    }

    .top-hero-slide__visual {
        width: 70%;
        margin: 30px auto 0;
        text-align: center;
    }

    .top-hero-slider__arrow {
        display: none;
    }
}

/* =========================================================
   Service
========================================================= */

.top-service {
    background: #fff;
}

.top-service__group {
    margin-top: 55px;
}

.top-page .top-service__group h3 {
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 5px solid #005bac;
    font-size: 22px;
}

.top-service__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.top-service-card {
    padding: 0;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-service-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 24px;
    color: inherit;
    text-decoration: none;
}

.top-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.top-service-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
}


.top-service-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-service-card h4 {
    margin: 0 0 12px;
    color: #005bac;
    font-size: 18px;
    text-align: center;
}

.top-service-card p {
    margin: 0;
    font-size: 14px;
}

.top-service-card__more {
    margin-top: auto;
    padding-top: 16px;
    text-align: center;
    color: #005bac; /* リンクカラー */
    font-weight: bold;
    font-size: 14px;
}

/* ホバーでちょっと動き */
.top-service-card:hover .top-service-card__more {
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    .top-service__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .top-service__cards {
        grid-template-columns: 1fr;
    }

    .top-service__group h3 {
        font-size: 20px;
    }
}


/* =========================================================
   Pickup
========================================================= */

.top-pickup {
    background: #fff;
}

.top-pickup__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.top-pickup-card {
    overflow: hidden;
    background: transparent;
    transition: transform 0.25s ease;
}

.top-pickup-card__link,
.top-pickup-card__link:visited {
    display: block;
    color: inherit;
    text-decoration: none;
}

.top-pickup-card:hover {
    transform: translateY(-6px);
}

.top-pickup-card__image {
    background: transparent;
}

.top-pickup-card__image img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
    padding: 18px;
}

.top-pickup-card__body {
    padding: 22px;
}

.top-pickup-card__maker {
    margin: 0 0 6px;
    color: #005bac;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.top-page .top-pickup-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.4;
}

.top-pickup-card__text {
    margin: 0 0 14px;
    font-size: 14px;
}

.top-pickup-card__note {
    display: inline-block;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf3fb;
    color: #005bac;
    font-size: 12px;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .top-pickup__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .top-pickup__grid {
        grid-template-columns: 1fr;
    }

    .top-pickup-card__image img {
        height: 220px;
    }
}


/* =========================================================
   About / Reason
========================================================= */

.top-about {
    background: #f6f8fb;
}

.top-about .top-section__inner {
    max-width: 980px;
}

.top-about p {
    margin: 0 0 18px;
    font-size: 16px;
}

.top-reason {
    background: #fff;
}

.top-reason__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.top-reason-card {
    padding: 30px 24px;
    border-radius: 14px;
    background: #f6f8fb;
}

.top-reason-card span {
    display: block;
    margin-bottom: 12px;
    color: #005bac;
    font-size: 28px;
    font-weight: bold;
}

.top-page .top-reason-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.45;
}

.top-reason-card p {
    margin: 0;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .top-reason__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .top-reason__cards {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Voice
========================================================= */

.top_reviews_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.top_review_card {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.top_review_card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.top_review_card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.top_review_name {
    margin: 20px 20px 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    word-break: break-word;
}

.top_review_product {
    margin: 0 20px 12px;
    font-size: 15px;
    line-height: 1.7;
}

.top_review_comment {
    margin: 0 20px 24px;
    font-size: 14px;
    line-height: 1.8;
}

.top_review_link {
    margin-top: 40px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .top_reviews_wrap {
        grid-template-columns: 1fr;
    }

    .top_review_card img {
        height: 220px;
    }
}

/* =========================================================
   News / CTA
========================================================= */

.top-news {
    background: #fff;
}

.top-news__list {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 14px;
    background: #f6f8fb;
    text-align: center;
}

.top-cta {
    background: linear-gradient(135deg, #003e78, #005bac);
    color: #fff;
    text-align: center;
}

.top-cta__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 30px;
}

.top-cta .top-section__label,
.top-cta h2 {
    color: #fff;
}

.top-cta h2 {
    margin: 0 0 18px;
    font-size: 32px;
}

.top-cta p {
    margin: 0 0 30px;
}

.top-cta .top-btn {
    background: #fff;
    color: #005bac;
}

@media screen and (max-width: 767px) {
    .top-cta h2 {
        font-size: 25px;
    }
}
