@charset "utf-8";

.p-fv {
    margin-top: var(--header-height);
    border-bottom: 1px solid #b4b4b4;
}

.p-fv .inner {
    padding: 40px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.p-fv .breadlist {
    display: flex;
    gap: 0.5em;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
    color: #000;
}

.p-fv .breadlist a {
    transition: var(--default);
}

.p-fv .breadlist a:hover {
    opacity: 50%;
}

.p-fv.service .inner {
    padding: 40px 0 80px;
    align-items: stretch;
}

.p-fv .sec-img {
    max-width: 965px;
    width: 70%;
    position: relative;
}

.p-fv .sec-img .main-tit {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(3.313rem, 2.751rem + 2.39vw, 5.625rem);
    letter-spacing: 0.1em;
    color: #fff;
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.p-fv .sec-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.p-fv.service .sec-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: auto 0;
}

.p-fv .sec-title .main {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
    color: #000;
}

.p-fv .sec-title .sub {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
    letter-spacing: 0.2em;
    color: #000;
}

.sec-title.has-line {
    gap: 16px;

}

.sec-title.has-line .tit-ja {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    line-height: 1;
    color: #000;
    letter-spacing: 0;
    position: relative;
    padding-left: 37px;
}

.sec-title.has-line .tit-ja::before {
    content: "";
    width: 21px;
    height: 6px;
    background-color: #00428E;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
}

.sec-title.has-line .tit-en {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1;
    font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
    color: #000;
    letter-spacing: 0;
    padding-left: 37px;
}

.sec-title02 {
    background: #fff;
    border: 2px solid #00428e;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding: 15px 80px;
    margin-bottom: 32px;
}

.sec-title02:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 500%;
    content: "";
    -webkit-transform: translateX(-55%) translateY(-61%) rotate(101deg);
    transform: translateX(-55%) translateY(-61%) rotate(101deg);
    background: #00428E;
}

.sec-title02 .main {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    color: #00428e;
}

.sec-title02 .sub {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
    color: #00428e;
}

@media (max-width: 1366px) {
    .sec-title02:before {
        -webkit-transform: translateX(-56%) translateY(-61%) rotate(101deg);
        transform: translateX(-56%) translateY(-61%) rotate(101deg);
    }
}

@media (max-width: 1023px) {
    .sec-title02:before {
        -webkit-transform: translateX(-59%) translateY(-61%) rotate(101deg);
        transform: translateX(-59%) translateY(-61%) rotate(101deg);
    }
}

@media (max-width: 767px) {
    .p-fv .inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 32px 0 16px;
    }

    .p-fv .breadlist {
        margin-left: auto;
    }

    .p-fv.service .inner {
        flex-direction: column-reverse;
        gap: 32px;
        padding: 40px 0;
    }

    .p-fv .sec-img {
        width: 100%;
        height: 248px;
    }

    .p-fv .sec-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .p-fv .sec-img .main-tit {
        left: 5px;
        bottom: 12px;
    }

    .p-fv.service .sec-title {
        gap: 14px;
    }

    .p-fv .sec-left {
        gap: 16px;
    }

    .sec-title02 {
        padding: 12px 55px;
        margin-bottom: 40px;
    }

    .sec-title02:before {
        -webkit-transform: translateX(-67%) translateY(-61%) rotate(101deg);
        transform: translateX(-67%) translateY(-61%) rotate(101deg);
    }
}