.header-common-container {
    position: relative;
    width: 100%;
    height: 65vh;
    .header-common-image {
        display: block;
        width: 100%;
        height: 100%;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* object-position: top center; */
        }
    }

    .header-common-textbox-red, .header-common-textbox-black {
        position: absolute;
        top: 55%; /* 親要素の上から 50% */
        left: 0; /* 適宜調整 */
        transform: translateY(-50%); /* 自身の高さの半分だけ上へ */
        width: 300px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
    }
    .header-common-textbox-red{
      background-color: #ea553a;
    }
    .header-common-textbox-black {
        background-color: #000;
        clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
    }

    .header-common-text {
        position: absolute;
        top: 50%; /* header-common-textbox-black の少し上に調整 */
        left: 40px;
        color: white;
        font-size: 20px;
        font-weight: bold;
        z-index: 10; /* header-common-textbox-black より上に配置 */
    }

    .header-common-text h2 {
        margin: 0;
        font-size: 24px;
    }

    .header-common-text p {
        margin: 5px 0 0;
        font-size: 20px;
    }
}

/*pan*/

.pan-list{
    .pan-list-title{
        border: #D8D8D8 1px solid;
        background-color: #D8D8D8;
        padding: 0 50px;
        p{
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
}



@media screen and (max-width: 1032px) {
    .header-common-container{
        height: 40vh;
    }

    .about-representative-container{
        width: 85%;
    }
}

@media screen and (max-width: 820px) {
    .header-common-container{
        .header-common-textbox-red, .header-common-textbox-black {
            top: 55%;
            width: 250px;
            height: 170px;
        }
    }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 440px) {
    .header-common-container{
        .header-common-textbox-red, .header-common-textbox-black {
            top:auto;
            bottom: 0;
            transform: none;
            width: 100vw;
            height: 100px;
        }
    }
    .header-common-container {
        .header-common-text {
            top: 80%;
            left: 40px;
        }
    }
    .header-common-container {
        .header-common-textbox-black {
            clip-path: polygon(15% 0, 100% 0, 100% 50%, 85% 100%, 0 100%, 0 50%);
        }
        .header-common-text h2 {
            margin: 0;
            font-size: 18px;
            font-weight: bold;
        }
        .header-common-text p {
            font-size: 100%;
            font-size: 16px;
        }

    }

    .pan-list {
        .pan-list-title {
            padding: 0 25px;
        }
    }
}
