@charset "UTF-8";
/*
  Responsive: yes
*/
.is-pc {
    display: none;
    @media (width > 768px) {
        display: block;
    }
}
.is-sp {
    display: block;
    @media (width > 768px) {
        display: none;
    }
}
/* 下部固定バナー重なり順変更 */
.banner {
    z-index: 99;
}

.page-about {
    dt {
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #dfdfdf;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    dd {
        margin-left: 0;
        margin-bottom: 30px;
    }
    #top-editarea {
        margin-bottom: 0;
    }
    #top-box {
        @media (width <= 530px) { /* デフォルトcssをaboutページ用に調整 */
            padding-top: 120px;
        }
        .breadcrumb {
            display: none;
        }
    }
    #content {
        width: 100%;
        @media (width > 768px) {
            padding-top: 0;
        }
        #main {
            width: auto;
            float: none;
            .entry {
                background-color: transparent;
                padding: 0;
            }
        }
    }
    .entry-content {
        h1, h2, h3, h4, h5, h6 { /* デフォルトcssリセット */
            border-left: none;
            padding-left: 0;
            margin: 0;
        }
        p {
            line-height: 1.75;
        }
    }
    #box2 {
        display: none;
    }
    /* コンテンツ詳細 */
    h2 {
        img {
            max-width: none;
            width: 100%;
            margin: auto;
            @media (width > 768px) {
                max-width: 1090px;
            }
        }
    }
    .main-wrapper {
        overflow-x: hidden;
    }
    .lead-box {
        position: relative;
        padding: 0 20px;
        font-size: 12px;
        color: var(--secondary-color);
        @media (width > 768px) {
            margin-top: 40px;
            text-align: center;
        }
        h3 {
            margin-bottom: 24px;
            img {
                margin: auto;
                width: clamp(16.25rem, -4.643rem + 89.14vw, 45.5rem);
            }
        }
        p {
            font-size: clamp(0.75rem, 0.616rem + 0.57vw, 0.938rem);
        }

    }
    .point-section {
        position: relative;
        margin-top: 120px;
        padding: 0 20px;
        @media (width > 768px) {
            max-width: clamp(45.5rem, -2.5rem + 100vw, 53.75rem);
            margin: auto;
            padding: 0;
        }
        h4 {
            margin-bottom: 40px;
            text-align: center;
            @media (width > 768px) {
                margin-bottom: 0;
            }
        }
        .point-box {
            @media (width > 768px) {
                display: flex;
                width: 400px;
                flex-direction: column;
                align-items: center;
                gap: 24px;
                margin: 128px 0 56px 0;
            }
            h4 {
                z-index: 1;
            }
            .image-box {
                margin: 0 -20px 40px;
                text-align: center;
                @media (width > 768px) {
                    position: absolute;
                    margin-bottom: 0;
                }
                img {
                    height: 400px;
                    object-fit: cover;
                    @media (width > 768px) {
                        width: clamp(28.125rem, -23.24rem + 106.87vw, 36.875rem);
                        height: auto;
                    }
                }
            }
            p {
                z-index: 1;
                margin-bottom: 0;
            }
        }
        .check-company {
            position: relative;
            margin-top: 40px;
            padding: 48px 20px 32px;
            border-radius: 20px;
            background: #E7EDF2;
            &::before {
                position: absolute;
                top: -10px;
                left: 0;
                right: 0;
                content: "";
                background: url(https://cdn.blog.st-hatena.com/files/6653812171401915351/6802340630907027941) no-repeat top center;
                background-size: contain;
                width: 110px;
                height: 32px;
                margin: auto;
            }
            @media (width > 768px) {
                display: flex;
                gap: 48px;
                padding: 32px 48px;
                &::before {
                    margin-left: 0;
                    margin-right: auto;
                    left: -10px;
                }
            }
            img {
                display: block;
                width: 150px;
                margin: auto;
            }
            .text-box {
                margin-top: 32px;
                h5 {
                    font-weight: bold;
                    font-size: 18px;
                    line-height: 1.75;
                    margin-bottom: 1.5em;
                }
                .link-text {
                    transition: all  0.3s ease;
                    text-align: right;
                    font-weight: bold;
                    a {
                        position: relative;
                        color: var(--primary-color);
                        padding-bottom: 0;
                        border-bottom: none;
                        padding-right: 30px;
                        &::after {
                            position: absolute;
                            bottom: -10px;
                            right: 12px;
                            content: "";
                            display: inline-block;
                            width: 100%;
                            height: 12px;
                            border-bottom: 1px solid var(--primary-color);
                            border-right: 1px solid var(--primary-color);
                            transform: skew(45deg);
                            transition: .3s;
                        }
                        &:hover {
                            background: transparent;
                            &::after {
                                width: 105%;
                                right: 5px;
                            }
                        }
                    }
                }
            }
        }
    }
    .point-section-01 {
        .point-box {
            @media (width > 768px) {
                margin-left: auto;
            }
            .image-box {
                @media (width > 768px) {
                    left: -80px;
                    top: -60px;
                }
            }
        }
    }
    .point-section-02 {
        .point-box {
            @media (width > 768px) {
                margin-right: auto;
            }
            .image-box {
                @media (width > 768px) {
                    right: -70px;
                    top: 10px;
                }
            }
        }
    }
    .decoration-right,
    .decoration-left {
        position: relative;
        @media (width > 768px) {
            max-width: 900px;
            margin: auto;
        }
        img {
            position: absolute;
            width: clamp(20.313rem, 11.161rem + 39.05vw, 33.125rem);
            height: clamp(8.563rem, 4.589rem + 16.95vw, 14.125rem);
            object-fit: contain;
        }
    }
    .decoration-right {
        img {
            top: calc(clamp(3.125rem, -1.786rem + 20.95vw, 10rem) * -1);
            right: calc(clamp(7.5rem, -2.321rem + 41.9vw, 21.25rem) *-1);
        }
    }
    .decoration-left {
        img {
            top: -40px;
            left: -120px;
            @media (width > 768px) {
                left: -410px;
                top: -120px;
            }
        }
    }
    .sub-wrapper {
        display: flex;
        flex-direction: column;
        gap: 80px 0;
        margin: 80px 0;
        .banner-box {
            margin: 0 20px;
            @media (width > 768px) {
                max-width: 750px;
                margin: auto;
                    a {
                        display: block;
                        border-radius: 20px;
                        overflow: hidden;
                        padding: 0;

                        &:hover {
                            img {
                                transform: scale(1.02);
                            }
                        }
                    }
            }
            img {
                margin: auto;
                transition: all .2s linear;
            }
        }
        .search-article-box {
            position: relative;
            display: flex;
            padding: 80px 20px 60px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 32px;
            background: #BED4E4;
            &::before {
                position: absolute;
                content: "";
                background: url(https://cdn.blog.st-hatena.com/files/6653812171401915351/6802340630907027907) no-repeat top center;
                background-size: contain;
                width: 85px;
                height: 90px;
                top: -30px;
            }
            p {
                color: #002846;
                text-align: center;
                font-size: 24px;
                font-weight: 700;
                line-height: 1.75;
                margin-bottom: 0;
            }
            ul {
                display: flex;
                flex-direction: column;
                gap: 20px;
                justify-content: center;
                list-style: none;
                margin: 0;
                padding: 0;
                flex-wrap: wrap;
                @media (width > 768px) {
                    flex-direction: row;
                }
                a {
                    max-width: 300px;
                    min-width: 250px;
                    position: relative;
                    display: flex;
                    margin: auto;
                    padding: 20px;
                    justify-content: center;
                    align-items: center;
                    border-radius: 100px;
                    background-image: linear-gradient(to right, #fff 0%, #fff 60%, #F6FBFF 100%);
                    background-size: 200% auto;
                    background-position: left center;
                    color: var(--primary-color);
                    font-size: 20px;
                    font-weight: bold;
                    transition: background-position .3s;
                    &:hover {
                        background-position: right center;
                        &::after {
                            right: 16px;
                        }
                    }
                    &::after {
                        position: absolute;
                        right: 20px;
                        content: "";
                        display: inline-block;
                        width: 8px;
                        height: 8px;
                        margin: 0 10px;
                        border-top: 2px solid var(--primary-color);
                        border-right: 2px solid var(--primary-color);
                        transform: rotate(45deg);
                        transition: right .3s;
                    }
                }
            }
        }
        .operating-company-box {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            @media (width > 768px) {
                flex-direction: row;
            }
            p {
                font-size: 18px;
                font-weight: bold;
                margin-bottom: 0;
            }
            ul {
                display: flex;
                flex-direction: column;
                gap: 20px;
                list-style: none;
                margin: 0;
                padding: 0;
                flex-wrap: wrap;
                @media (width > 768px) {
                    flex-direction: row;
                }
                li {
                    &:first-child {
                        a {
                            img {
                                width: 88px;
                            }
                            &:hover {
                                img {
                                    width: 92px;
                                }
                            }
                        }
                    }
                    &:last-child {
                        a {
                            img {
                                width: 120px;
                            }
                            &:hover {
                                img {
                                    width: 124px;
                                }
                            }
                        }
                    }
                    a {
                        position: relative;
                        display: flex;
                        width: 200px;
                        height: 50px;
                        justify-content: center;
                        align-items: center;
                        border-radius: 6px;
                        font-weight: bold;
                        border: 1px solid var(--border);
                        background: var(--white);
                        transition: .3s;
                        &:hover {
                            opacity: .6;
                        }
                        &::after {
                            position: absolute;
                            content: "";
                            background: url(https://cdn.blog.st-hatena.com/files/6653812171401915351/6802340630907302113) no-repeat right center;
                            width: 10px;
                            height: 10px;
                            background-size: contain;
                            right: 12px;
                        }
                        img {
                            transition: .3s;
                        }
                    }
                }
            }
        }
    }
    .entry .entry-inner {
        @media (width > 768px) {
            padding-bottom: 0;
            border: none;
        }
    }
} 