/* common-hero.css */
body.page-common-hero {
    padding-top: var(--site-header-offset, 80px);
    overflow-x: auto;
}

@media all and (max-width: 768px) {
    /* body.page-common-hero {
        margin-top: 12px;
    } */
}

.product-detail-hero {
    background: url(../img/index/kv.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    border-radius: 0 0 4rem 4rem;
    padding: 2.2rem 0;
    height: 37.4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    /* border-radius: 0 0 55px 55px; */
    background: linear-gradient(87deg, #007D96 -0.81%, #5BBBCE 56.93%, #80CDDC 83.64%, #C6F5FF 97.56%);
    mix-blend-mode: multiply;
}

@media screen and (min-width: 769px) {
    .product-detail-hero {
        margin-top: calc(-1 * var(--site-header-offset, 80px));
        padding-top: calc(2.2rem + var(--site-header-offset, 80px));
        height: calc(37.4rem + 79px);
    }
}

.product-detail-hero__inner {
    max-width: 116rem;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2.4rem;
    position: relative;
}

.product-detail-hero__breadcrumb {
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0;
    position: relative;
    z-index: 2;
}

.product-detail-hero__breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.product-detail-hero__breadcrumb a:hover {
    opacity: 0.7;
}

.product-detail-hero__breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    row-gap: 10px;
}

.product-detail-hero__breadcrumb-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.product-detail-hero__breadcrumb-item>a,
.product-detail-hero__breadcrumb-item>span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.product-detail-hero__breadcrumb-item+.product-detail-hero__breadcrumb-item::before {
    content: '';
    display: block;
    flex: 0 0 auto;
    width: 0.45em;
    height: 0.45em;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    margin: 0 0.5em;
}

.product-detail-hero__content {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-detail-hero__title {
    position: absolute;
    top: 17.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 100%;
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 2.6rem;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

@media screen and (min-width: 769px) {
    .product-detail-hero__title {
        top: calc(17.4rem - 53px);
    }
}

@media screen and (max-width: 768px) {
    body.page-common-hero {
        --site-header-offset: 60px;
        overflow-x: hidden;
    }

    .product-detail-hero {
        height: auto;
        min-height: 26rem;
        padding: 3rem 0 4rem;
        border-radius: 0 0 2rem 2rem;
    }

    .product-detail-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: static;
        margin-top: 4rem;
    }

    .product-detail-hero__title {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: calc(100% - 5.4rem);
        margin: 0 auto;
        font-size: 2.8rem;
        line-height: 1.4;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}