@charset "UTF-8";

#common-banner {
	width: 100%;
	height: 51rem;
	padding-top: 20rem;
	background: url("../../img/page/service/service.png") no-repeat center / cover;
	background-attachment: fixed;
	position: relative;
	@media screen and (max-width: 767px) {
		height: 32rem;
		padding-top: 16rem;
	}
}

#service {
    position: relative;
    .common-header-001 {
        margin-bottom: 4rem;
    }
    
    .block1 {
        padding-top: 16rem;
        padding-bottom: 20rem;
        @media screen and (max-width: 767px) {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
        & p.main-text {
            margin-bottom: 10rem;
            font-family: var(--noto);
            font-style: normal;
            font-weight: 400;
            font-size: 1.8rem;
            line-height: 180%;
            letter-spacing: 0.1em;
            color: #000000;
            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                line-height: 160%;
                margin-bottom: 4rem;
            }
            .bold {
                font-family: var(--noto);
                font-style: normal;
                font-weight: 600;
                font-size: 2.4rem;
                line-height: 2.2;
                letter-spacing: 0.1em;
                color: #000000;
                @media screen and (max-width: 767px) {
                    font-size: 1.55rem;
                    line-height: 1.6;
                }
            }
        }
        .flex-block {
            display: flex;
            gap: 8rem;
            width: 100%;
            margin-bottom: 8rem;
            @media screen and (max-width: 767px) {
                flex-direction: column;
                margin-bottom: 4rem;
                gap: 2rem;
            }
            .img-contents {
                width: 68rem;
                @media screen and (max-width: 767px) {
                    width: 100%;
                }
                & img {
                    width: 100%;
                    vertical-align: top;
                }
            }
            .text-contents {
                width: 64rem;
                @media screen and (max-width: 767px) {
                    width: 100%;
                }
                .sub-header {
                    margin-bottom: 3.2rem;
                    @media screen and (max-width: 767px) {
                        margin-bottom: 1rem;
                    }
                }
                & p {
                    font-family: var(--noto);
                    font-style: normal;
                    font-weight: 400;
                    font-size: 1.8rem;
                    line-height: 180%;
                    letter-spacing: 0.1em;
                    color: #000000;
                    @media screen and (max-width: 767px) {
                        font-size: 1.4rem;
                        line-height: 160%;
                    }
                }
            }
        }
        .flex-block.reverse {
            flex-direction: row-reverse;
            @media screen and (max-width: 767px) {
                flex-direction: column;
            }
        }
    }
}

#pcb {
    width: 100%;
    padding: 8rem 16rem;
    box-sizing: border-box;
    background: url("../../img/top/pcb-bg.png") no-repeat center / cover;
    margin-bottom: 9rem;
    @media screen and (max-width: 767px) {
        padding: 4rem 2.4rem;
        margin-bottom: 4rem;
    }
    .header {
        font-style: normal;
        font-weight: 700;
        font-size: 3.4rem;
        line-height: 100%;
        text-align: center;
        letter-spacing: 0.1em;
        color: #ffffff;
        margin-bottom: 4rem;
        @media screen and (max-width: 767px) {
            font-size: 2rem;
            margin-bottom: 2.4rem;
        }
    }
    .bar-wide {
        margin-left: 1.2rem;
        margin-right: 1.2rem;
        background-color: #ffffff;
        height: 1px;
        width: 100%;
        position: relative;
        @media screen and (max-width: 767px) {
            margin-left: 0;
            margin-right: 0;
        }
        &:before {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: -1.2rem;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 0.6rem;
            background: #fff;
        }
        &:after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: -1.2rem;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 0.6rem;
            background: #fff;
        }
    }
    .pcb-main-text {
        padding: 3.2rem 0;
        box-sizing: border-box;
        @media screen and (max-width: 767px) {
            padding: 1.6rem 0;
        }
        .title {
            margin-bottom: 2rem;
            font-style: normal;
            font-weight: 700;
            font-size: 2.8rem;
            line-height: 3.4rem;
            letter-spacing: 0.1em;
            color: #ffffff;
            @media screen and (max-width: 767px) {
                font-size: 1.6rem;
                line-height: 1.5;
                margin-bottom: 1rem;
            }
        }
        .description {
            font-style: normal;
            font-weight: 400;
            font-size: 1.8rem;
            line-height: 180%;
            letter-spacing: 0.1em;
            color: #ffffff;
            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                line-height: 170%;
            }
        }
    }
    .view-more-btn.reversed {
        margin: 4.8rem auto 0;
        background-color: #fff;
        border: #0f73ba solid 1px;
        @media screen and (max-width: 767px) {
            margin: 2.4rem auto 0;
        }
        .text {
            color: #0f73ba;
        }
        .bar {
            &:before {
                background-color: #0f73ba;
            }
            &:after {
                background-color: #0f73ba;
            }
        }
    }
    .view-more-btn.reversed:hover {
        background-color: #0f73ba;
        border: #fff solid 1px;
        .text {
            color: #fff;
        }
        .bar {
            &:before {
                background-color: #fff;
            }
            &:after {
                background-color: #fff;
            }
        }
    }
}



.view-more-btn {
    width: 30rem;
    height: 6.4rem;
    background-color: #0f73ba;
    padding-left: 2.8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    position: relative;
    transition: all 0.3s ease-in;
    @media screen and (max-width: 767px) {
        width: 19.6rem;
        height: 4rem;
        padding-left: 1.8rem;
        gap: 1rem;
    }
    .text {
        font-family: var(--inter);
        font-style: normal;
        font-weight: 700;
        font-size: 2.2rem;
        line-height: 1;
        letter-spacing: 0.05em;
        color: #ffffff;
        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
        }
    }
    .bar {
        position: relative;
        width: 10.5rem;
        height: 0.6rem;
        @media screen and (max-width: 767px) {
            width: 6.9rem;
            height: 0.3rem;
        }
        &:before {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
            width: 9.3rem;
            height: 0.1rem;
            background: #fff;
            @media screen and (max-width: 767px) {
                width: 6.212rem;
            }
        }
        &:after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 0;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 0.6rem;
            background: #fff;
            @media screen and (max-width: 767px) {
                width: 0.4rem;
                height: 0.4rem;
                border-radius: 0.4rem;
            }
        }
    }
}

.view-more-btn:hover {
    background-color: #fff;
    border: #0f73ba solid 1px;
    .text {
        color: #0f73ba;
    }
    .bar {
        &:before {
            background-color: #0f73ba;
        }
        &:after {
            background-color: #0f73ba;
        }
    }
}
