/* ページ内リンク */
@media screen and (max-width: 994px) {
    .top-link ul {
        gap: 40px;
    }
}

@media screen and (max-width: 767px) {
    .top-link ul {
        flex-wrap: wrap;
        gap: 20px;
        row-gap: 0;
    }

    .top-link ul li a {
        margin-bottom: .5rem;
        padding: 0 .5rem;
    }

    .top-link ul li a::after {
        margin: 0;
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        height: 6px;
    }
}

/* メインビジュアル */

.main-visual {
    background: linear-gradient(113deg, #AC020E 26.99%, #91000A 85.99%);
}

.main-visual .content-block .logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.main-visual .content-block .logo-box p {
    box-sizing: border-box;
    width: 170px;
    height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--back, #C1BFBF);
    background: #FCFCE6;
}

.main-visual .content-block .description {
    margin-top: 40px;
    text-align: center;
    color: #fff;
}

.main-visual .content-block .logo-box img {
    max-width: 560px;
}

.main-visual .cta-block {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.main-visual .cta-block .button-box {
    text-align: center;
    color: #fff;
}

.main-visual .cta-block .button-box p {
    margin-bottom: 8px;
}

/* コンテンツ */

.contents {
    padding-top: 0;
}

.contents .content-block .item h2 {
    padding-top: 80px;
    text-align: center;
}

.contents .content-block .item .image-text {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.contents .content-block .item .image-text .image-box {
    max-width: 570px;
    flex-shrink: 0;
    width: calc(570 / 1235 * 100%);
}

.contents .content-block .item .image-text .image-box img {
    width: 100%;
}

.contents .content-block .item .image-text .text-box a {
    margin: 0;
    margin-top: 60px;
}

@media screen and (max-width: 767px) {
    .contents .content-block .item .image-text {
        flex-direction: column;
        gap: 30px;
    }

    .contents .content-block .item .image-text .image-box {
        max-width: 100%;
        width: 100%;
    }

    .contents .content-block .item .image-text .text-box a {
        margin: 2rem auto 0;
    }
}

/* 導入事例 */

.case-study {
    background: #f2f2f2;
}

.case-study .wrapper {
    max-width: 960px;
}

.case-study .hedding-block .subtext {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case-study .hedding-block .subtext h3 {
    color: #000;
}

.case-study .hedding-block .subtext .color-red {
    color: #c02;
}

.case-study .hedding-block .subtext strong {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    color: #B1100E;
}

.case-study .content-block .image-box img {
    width: 100%;
}

.case-study .content-block a {
    margin: 60px auto 0;
}

/* コラム */

.column .content-block ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.column .content-block ul li {
    max-width: 377px;
    overflow: hidden;
}

.column .content-block ul li img {
    width: 100%;
    transition: all 0.3s ease;
}

.column .content-block ul li .text-box {
    padding: 30px 20px;
    background: #f2f2f2;
}

.column .content-block ul li .text-box h3 {
    height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.column .content-block ul li .text-box p {
    margin-top: 50px;
    padding-right: 10px;
    text-align: right;
    color: #a94657;
    position: relative;
}

.column .content-block ul li .text-box p::after {
    content: "";
    position: absolute;
    top: calc(50% + 2px);
    right: 0;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #a94657;
    border-right: 1px solid #a94657;
    transform: translateY(-50%) rotate(-45deg);
}

.column .content-block ul li a:hover {
    opacity: 0.8;
}

.column .content-block ul li a:hover img {
    transform: scale(1.05);
}

.column .content-block ul li a:hover .text-box p {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .column .content-block ul li .text-box p {
        margin-top: 1rem;
    }
}

/* 用語集 */

.words {
    background: #f2f2f2;
}

.words .cta-block a {
    margin: 0 auto;
}