.p_commitment .block_grid,
.p_commitment .block_sec_header,
.p_commitment .block_idea .item_grid {
    display: flex;
}

.p_commitment .block_grid {
    flex-direction: column;
}

@media only screen and (min-width: 768px) {
    .p_commitment .block_grid {
        flex-direction: row;
    }
}
.p_commitment .block_sec_order .counter,
.p_commitment .block_history_lists .item_tag {
    font-family: "Roboto Condensed", sans-serif;
}

.p_commitment .block_idea .item_title {
    font-size: 1.6rem;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea .item_title {
        font-size: 2rem;
    }
}

.p_commitment .block_history_lists .item_tag.current {
    font-size: 2.2rem;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item_tag.current {
        font-size: clamp(
            2.8rem,
            calc(2.8rem + 0.0048076923 * (100vw - 768px)),
            3.2rem
        );
    }
}

.p_commitment .block_idea .item_title {
    font-weight: 900;
}

.wrapper,
#wrapper {
    overflow: visible;
}

@media only screen and (min-width: 768px) {
    .p_commitment .block {
        padding-top: 2px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_grid {
        align-items: flex-start;
    }
}
.p_commitment .block_sidebar {
    width: 100%;
    background-color: #fff;
    display: none;
    gap: 4px 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: sticky;
    z-index: 10;
    top: 60px;
    padding: 5px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar {
        width: clamp(18rem, 9.2592592593vw + 10.8888888889rem, 22rem);
        display: block;
        top: 120px;
        flex-shrink: 0;
        margin-right: clamp(2rem, 9.2592592593vw + -5.1111111111rem, 6rem);
        margin-bottom: 0;
        padding: 0;
    }
}
.p_commitment .block_sidebar .item {
    position: relative;
    font-weight: 700;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar .item {
        font-weight: 400;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar .item + .item {
        margin-top: 8px;
    }
}
.p_commitment .block_sidebar .item__link {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6;
    color: #c40018;
    position: relative;
    opacity: 0.5;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar .item__link {
        font-size: clamp(
            1.6rem,
            calc(1.6rem + 0.0048076923 * (100vw - 768px)),
            2rem
        );
        font-weight: 400;
        opacity: 1;
        color: #000;
        padding-left: 18px;
        transition: opacity 300ms linear;
    }
    .p_commitment .block_sidebar .item__link:hover {
        opacity: 0.6;
    }
}
.p_commitment .block_sidebar .item__link.active {
    opacity: 1;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar .item__link.active {
        font-weight: 700;
        color: #c40018;
    }
}
.p_commitment .block_sidebar .item__link.active::before {
    opacity: 1;
}
.p_commitment .block_sidebar .item__link::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #c40018;
    border-radius: 99px;
    position: absolute;
    top: 0.62em;
    display: none;
    opacity: 0;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sidebar .item__link::before {
        display: block;
    }
}
.p_commitment .block_main {
    counter-reset: block-counter;
    margin-top: 24px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_main {
        margin-top: 0;
    }
}
.p_commitment .block_sec {
    counter-increment: block-counter;
    margin-top: 50px;
}
.p_commitment .block_sec_header {
    gap: 10px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_header {
        gap: 20px;
    }
}
.p_commitment .block_sec_order {
    width: 70px;
    height: 70px;
    background-color: #c40018;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    color: #fff;
    border-radius: 999px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_order {
        width: 100px;
        height: 100px;
        position: relative;
        top: -6px;
        padding-top: 3px;
    }
}
.p_commitment .block_sec_order .title_el {
    scale: 0.8 0.8;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_order .title_el {
        scale: 1 1;
    }
}
.p_commitment .block_sec_order .counter {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_order .counter {
        margin-top: -0.15em;
        font-size: clamp(
            2.8rem,
            calc(2.8rem + 0.0048076923 * (100vw - 768px)),
            3.2rem
        );
    }
}
.p_commitment .block_sec_order .counter::after {
    content: counter(block-counter, decimal-leading-zero);
}
.p_commitment .block_sec_media {
    margin-top: 20px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_media {
        margin-top: 37px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_media + .block_sec_media {
        margin-top: 58px;
    }
}
.p_commitment .block_sec_media .item_photo {
    margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_media .item_photo {
        margin-bottom: 40px;
    }
}
.p_commitment .block_sec_media .txt + .txt {
    margin-top: 20px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_media .txt + .txt {
        margin-top: 32px;
    }
}
.p_commitment .block_sec_media hr {
    margin: 40px 0 0;
    border-color: #7d7c7c;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_media hr {
        margin-top: 38px;
        margin-bottom: 39px;
    }
}
.p_commitment .block_sec_history {
    background-color: #f5f5f5;
    margin-top: 30px;
    padding: 24px 20px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec_history {
        margin-top: 58px;
        padding: 52px 50px 48px 58px;
        padding-top: clamp(
            3rem,
            calc(3rem + 0.1257142857 * (100vw - 1025px)),
            5.2rem
        );
        padding-left: clamp(3rem, calc(3rem + 0.16 * (100vw - 1025px)), 5.8rem);
        padding-right: clamp(
            2rem,
            calc(2rem + 0.1714285714 * (100vw - 1025px)),
            5rem
        );
    }
}
.p_commitment .block_sec.block_sec_01 {
    margin-top: 0;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec.block_sec_02 {
        margin-top: 104px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec.block_sec_03 {
        margin-top: 94px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_sec.block_sec_04 {
        margin-top: 100px;
    }
}
.p_commitment .block_history_lists {
    margin-top: 26px;
}
.p_commitment .block_history_lists .title_el {
    line-height: 1.3333333333;
}
.p_commitment .block_history_lists .item {
    display: flex;
    gap: 20px 0;
    flex-wrap: wrap;
    position: relative;
    padding-left: 80px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item {
        min-height: 180px;
        padding-left: 124px;
    }
}
.p_commitment .block_history_lists .item + .item {
    margin-top: 24px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item + .item {
        margin-top: 40px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(3) {
        margin-top: 38px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(3)::before {
        height: calc(100% - 69px);
        top: 67px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(3) .item_time {
        top: 11px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(4) {
        margin-top: 38px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(5) {
        margin-top: 40px;
    }
}
.p_commitment .block_history_lists .item:nth-child(5)::before {
    content: "";
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(5)::before {
        height: calc(100% - 77px);
        top: 75px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(5) .item_detail {
        padding-top: 11px;
    }
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item:nth-child(5) .item_time {
        top: 12px;
    }
}
.p_commitment .block_history_lists .item::before {
    content: "";
    width: 1px;
    height: calc(100% - 44px);
    background-color: #c40018;
    position: absolute;
    top: 44px;
    left: 30px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item::before {
        width: 2px;
        height: calc(100% - 57px);
        top: 57px;
        left: 39px;
    }
}
.p_commitment .block_history_lists .item .txt {
    margin-top: 10px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item .txt {
        margin-top: 20px;
    }
}
.p_commitment .block_history_lists .item_time {
    position: absolute;
    top: -6px;
    left: 30px;
    translate: -50% 0;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item_time {
        top: 0;
        left: 40px;
    }
}
.p_commitment .block_history_lists .item_tag {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    width: 70px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #c40018;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item_tag {
        width: 80px;
        height: 36px;
        font-size: 2.4rem;
    }
}
.p_commitment .block_history_lists .item_tag.current {
    background-color: #fff;
    color: #c40018;
    width: 80px;
    height: 50px;
    top: -7px;
    padding-top: 2px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item_tag.current {
        width: 126px;
        height: 56px;
        top: -10px;
        padding-top: 0;
    }
}
.p_commitment .block_history_lists .item_detail {
    width: 100%;
}
@media only screen and (min-width: 1025px) {
    .p_commitment .block_history_lists .item_detail {
        width: calc(100% - 180px);
        padding-top: 2px;
        padding-right: 32px;
    }
}
.p_commitment .block_history_lists .item_photo {
    width: 270px;
    max-width: 100%;
    flex-shrink: 0;
    margin-top: 14px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_history_lists .item_photo {
        width: 180px;
        margin-top: 0;
    }
}
.p_commitment .block_idea {
    background-color: #f5f5f5;
    padding: 30px;
    margin-top: 24px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea {
        margin-top: 59px;
        padding: 48px 53px 47px 46px;
    }
}
.p_commitment .block_idea .title_block {
    line-height: 1.6;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea .title_block {
        padding-left: 7px;
    }
}
.p_commitment .block_idea .item {
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea .item {
        width: calc(50% - 20px);
        width: clamp(50% - 20px, (1024px - 100vw) * 1000, 100%);
    }
}
.p_commitment .block_idea .item_grid {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea .item_grid {
        gap: 40px;
        margin-top: 37px;
    }
}
.p_commitment .block_idea .item_title {
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 7px;
}
@media only screen and (min-width: 768px) {
    .p_commitment .block_idea .item_title {
        margin-top: 18px;
    }
}
