.body {
    background: #f9f8f3;
}

.mainvisual_wrap {
    position: relative;
    /* テキスト重ね用に基準設定 */
    display: inline-block;
    /* 画像のサイズに合わせる場合 */
    width: 100%;
}

.mainvisual_photo {
    display: block;
    /* 余白をなくす */
    width: 100%;
    /* 必要に応じて調整 */
    height: auto;
}

.main_title_img {
    position: absolute;
    top: 75.9%;
    left: 6.6%;
    width: 12.2rem;
    height: 3.5rem;
}

.specity_the_background {
    background-color: #FAF9F6;
}

.circle_img {
    width: 36.721rem;
    height: 38.431rem;
    position: absolute;
    top: 46.5rem;
    left: -2.8rem;
}

.main_text_img {
    width: 26rem;
    height: 7.5rem;
    margin-top: 7.8rem;
    margin-left: 50.5rem;

}

.main_text_2_pc_img {
    display: block;
    width: 38.6rem;
    height: 4.8rem;
    position: absolute;
    top: 62.3rem;
    left: 44.7rem;
}

.main_text_2_sp_img {
    display: none;
}

.director_intro_wrap {
    display: flex;
    padding: 2rem 2rem;
    gap: 2rem;
    margin-top: 15.4rem;
    margin-left: 5rem;
}

.director_text {
    color: #333;

}

.director_title {
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.director_position {
    font: 1.8rem/3rem "Zen Old Mincho";
    font-weight: 700;
    letter-spacing: 0.03rem;
    color: #1A1A1A;
    margin-top: -0.1rem;
    margin-left: 1.4rem;

}

.director_name {
    display: flex;
    margin-bottom: 1.6rem;
    margin-left: -0.2rem;
    position: relative;
    z-index: 10;
}

.director_name_jp {
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 500;
    margin-top: -0.5rem;
    margin-left: 1.5rem;
    color: #1A1A1A;
}

.director_name_en {
    font: 1.9rem/3rem "Zen Old Mincho";
    font-weight: 500;
    letter-spacing: 0.08rem;
    color: #1A1A1A;
    margin-top: -0.1rem;
    margin-left: 2.5rem;
}

.line_separator {
    border: none;
    border-bottom: 0.1rem solid #222;
    margin-bottom: 1.2rem;
    width: 102%;
}

.director_description_bold {
    font: 1.5rem/3rem "Zen Old Mincho";
    font-weight: 600;
    letter-spacing: 0.03rem;
    color: #1A1A1A;
    width: 67.2rem;
    margin-top: 3.5rem;
    margin-left: 1.5rem;
}

.sp_only {
    display: none;
}

.director_description {
    font: 1.5rem/3rem "Zen Old Mincho";
    font-weight: 400;
    letter-spacing: 0.03rem;
    color: #1A1A1A;
    width: 67.2rem;
    height: 20.1rem;
    margin-left: 1.5rem;
}

.director_photo {
    width: 38.9rem;
    height: auto;
    border: 0.1rem solid #333;
    margin-left: 2.8rem;
}

.company_profile_wrap {
    display: flex;
    flex-direction: row;
    margin-top: 3rem;
    padding: 2.5rem 1rem;
    position: relative;
    width: 100%;
}

.company_profile_title {
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 900;
    letter-spacing: 0.05rem;
    color: #1A1A1A;
    text-align: left;
    margin-top: 2rem;
    margin-left: 7.5rem;
}

.company_profile_table {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-left: 26rem;
}

.company_profile_table table {
    font: 1.6rem/2.4rem "Zen Old Mincho";
    font-weight: 500;
    letter-spacing: 0.032rem;
    color: #1A1A1A;
    margin-top: 2.7rem;
    margin-left: -0.5rem;
}


.top_tr_1 {
    position: relative;
}

.top_tr_1::before {
    content: '';
    position: absolute;
    left: 74%;
    top: 2.5rem;
    transform: translateX(-50%);
    width: 75rem;
    /* 好きな長さ */
    border-top: 0.2rem solid #ccc;
}

.company_profile_table tr {
    position: relative;
}

.company_profile_table tr::after {
    content: '';
    position: absolute;
    left: 74.2%;
    bottom: -0.2rem;
    transform: translateX(-50%);
    width: 75.1rem;
    /* 好きな長さ */
    border-bottom: 0.2rem solid #ccc;
}

.company_profile_table th,
.company_profile_table td {
    padding: 1.9rem 1.2rem;
    text-align: left;
    vertical-align: top;
}

.company_profile_table th {
    padding-bottom: 2.1rem;
}


.company_profile_table td {
    padding-left: 10.9rem;
}

.history_section {
    padding: 4rem;
    background: #234E459C;
    margin-top: 14.4rem;
    padding-bottom: 11.3rem;
}

.section_title {
    text-align: left;
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 700;
    letter-spacing: 0.05rem;
    color: #FFFFFF;
    margin-left: 4.3rem;
    margin-top: -1.3rem;
}

.year {
    position: relative;
}

.year::before {
    content: "";
    position: absolute;
    top: -5rem;
    left: 0;
    width: 61.1rem;
    height: 0.2rem;
    /* 元のborder-topの太さ */
    background-color: #FFFFFF;
    /* 線の色 */
}

.timeline {
    overflow: scroll;
    /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;
}

.timeline::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.timeline {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
    cursor: grab;
    overflow-x: auto;
}

.timeline.dragging {
    cursor: grabbing;
    user-select: none;
    /* テキスト選択抑制 */
}

.timeline_item {
    flex: 0 0 auto;
    padding: 2rem;
    margin-top: 5rem;
    margin-left: 4.7rem;
    margin-right: 2.7rem;
    position: relative;
    height: auto;
    padding-right: 0rem;
    padding-top: 6.2rem;
}

.titleline_item_circle {
    position: absolute;
    top: 1rem;
}

.timeline_item:before {
    background: #FFFFFF;
    content: "";
    display: block;
    height: 4.6rem;
    left: 0.95rem;
    position: absolute;
    top: 0.9rem;
    width: 0.1rem;
}

.timeline_item:after {
    background: url(../img/enkakumaru.png);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    position: absolute;
    top: -1.2rem;
    left: -0.32rem;
    height: 2.7rem;
    /* 画像の高さ */
    width: 2.7rem;
    /* 画像の幅 */
    background-size: contain;
    /* 画像の拡大縮小方法 */
}

.year {
    display: block;
    text-align: left;
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 400;
    letter-spacing: 0.05rem;
    color: #FFFFFF;
    margin-top: -1.2rem;
    margin-bottom: 1rem;
    margin-left: -1.5rem;
}


.timeline_item .year {
    display: block;
    text-align: left;
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 400;
    letter-spacing: 0.05rem;
    color: #FFFFFF;
    margin-top: -1.2rem;
    margin-bottom: 1rem;
    margin-left: -1.5rem;
}

.timeline_item ul {
    margin-left: -3.4rem;
    padding-left: 2rem;
    text-align: left;
    font: 1.5rem/4rem "Zen Old Mincho";
    font-weight: 400;
    letter-spacing: 0.03rem;
    color: #FFFFFF;
}

.p_company_sec04_control {
    width: 36rem;
    /* 横幅を広げる */
    height: 2.5rem;
    /* 高さを増やす */
    margin: 2rem auto 0;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    background-color: transparent;
}

.p_company_sec04_control:after {
    content: "";
    position: absolute;
    /* left: -22.4rem; */
    left:0;
    top: 4.4rem;
    transform: translateY(-50%);
    /* width: 80.5rem; */
    width:36.8rem;
    height: 4.1rem;
    border: 0.0625rem solid #fff;
    border-radius: 2.1rem;
    z-index: -1;
    box-sizing: border-box;
    background: transparent;
}

.control_drag {
    width: 9.6rem;
    height: 3.2rem;
    margin-top: 6.2rem;
    /* margin-left: -21.8rem; */
    margin-left: 0.4rem;
    background: #deceab;
    border-radius: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.control_drag::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-right: 2rem solid #fff;
    /* 右向き */
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    /* 右向きの場合の角度 */
}

.control_drag::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-left: 2rem solid #fff;
    /* 左向き */
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    /* 左向きの場合の角度 */
}

.company_information_wrap {
    display: flex;
    flex-direction: row;
    margin-top: 10.3rem;
    padding-bottom: 15.7rem;
    position: relative;
    width: 100%;
}

.company_information_title {
    font: 2.5rem/3.6rem "Zen Old Mincho";
    font-weight: 900;
    letter-spacing: 0.05rem;
    color: #1A1A1A;
    text-align: left;
    margin-top: 10rem;
    margin-left: 8.6rem;
    scroll-margin-top: 10rem;
    ;
}

.company_information_table {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 7.2rem;
    margin-left: 26rem;
}

.company_information_table table {
    border-collapse: collapse;
    font: 1.6rem/2.4rem "Zen Old Mincho";
    font-weight: 500;
    letter-spacing: 0.032rem;
    color: #1A1A1A;
}

.top_tr_2 {
    position: relative;
}

.top_tr_2::before {
    content: '';
    position: absolute;
    left: 64.5%;
    top: 2.68rem;
    transform: translateX(-50%);
    width: 75rem;
    /* 好きな長さ */
    border-top: 0.2rem solid #ccc;
}

.company_information_table tr {
    position: relative;
}

.company_information_table tr::after {
    content: '';
    position: absolute;
    left: 64.3%;
    bottom: 0.09rem;
    transform: translateX(-50%);
    width: 75.2rem;
    /* 好きな長さ */
    border-bottom: 0.2rem solid #ccc;
}

.table_th_5 {
    padding-top: 4.7rem;
    padding-left: 1rem;
    letter-spacing: 0.15rem;
    vertical-align: top;
}


.table_td_5 {
    padding-top: 4.8rem;
    padding-bottom: 2.2rem;
    padding-left: 10.2rem;
    letter-spacing: 0.04rem;
}

.table_th_4 {
    padding-top: 1.8rem;
    padding-left: 1rem;
    letter-spacing: 0.15rem;
    vertical-align: top;
}

.table_td_4 {
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
    padding-left: 10.3rem;
    letter-spacing: 0.04rem;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

@media screen and (max-width:699.98px) {
    .body {
        overflow-x: hidden;
    }

    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    .mainvisual_wrap {
        position: relative;
        /* テキスト重ね用に基準設定 */
        display: inline-block;
        /* 画像のサイズに合わせる場合 */
    }

    .mainvisual_photo {
        display: block;
        /* 余白をなくす */
        width: 100%;
        /* 必要に応じて調整 */
        height: 24.6rem;
    }


    .main_title_img {
        position: absolute;
        top: 80.7%;
        left: 5.6%;
        width: 8.9rem;
        height: 2.5rem;
    }

    .specity_the_background {
        background-color: #FAF9F6;
    }

    .circle_img {
        width: 18.75rem;
        height: 18.505rem;
        position: absolute;
        top: 26.5rem;
        left: -0.9rem;
    }

    .main_text_img {
        width: 16rem;
        height: 4.6rem;
        margin-top: 2.6rem;
        margin-left: 10.8rem;

    }

    .main_text_2_pc_img {
        display: none;
    }

    .main_text_2_sp_img {
        display: block;
        width: 33rem;
        height: 7.5rem;
        position: absolute;
        top: 33.3rem;
        left: 2.2rem;
    }

    .director_intro_wrap {
        padding: 2rem 2rem;
        gap: 2rem;
        margin-top: 11.6rem;
        margin-left: -1.2rem;
    }

    .director_text {
        color: #333;

    }

    .director_title {
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
        flex-wrap: wrap;
    }

    .director_position {
        font: 1.7rem/3rem "Zen Old Mincho";
        font-weight: 700;
        letter-spacing: 0.13rem;
        margin-left: 1.2rem;
        color: #1A1A1A;

    }

    .director_name {
        display: flex;
    }

    .director_name_jp {
        font: 2.5rem/3.6rem "Zen Old Mincho";
        font-weight: 500;
        letter-spacing: -0.05rem;
        color: #1A1A1A;
        margin-left: 1.9rem;
    }

    .director_name_en {
        font: 1.9rem/3rem "Zen Old Mincho";
        font-weight: 500;
        letter-spacing: 0.08rem;
        color: #1A1A1A;
        margin-top: -0.2rem;
        margin-left: 1.9rem;
    }

    .line_separator {
        border: none;
        border-bottom: 0.1rem solid #222;
        margin-left: 1.2rem;
        width: 33.3rem;
    }

    .director_description_bold {
        font: 1.5rem/3rem "Zen Old Mincho";
        font-weight: 600;
        letter-spacing: 0.03rem;
        color: #1A1A1A;
        width: 100%;
        margin-top: -0.4rem;
        margin-left: 1.1rem;
    }

    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }

    .director_description {
        font: 1.5rem/3rem "Zen Old Mincho";
        font-weight: 400;
        letter-spacing: 0.03rem;
        color: #1A1A1A;
        width: 100%;
        height: 41.1rem;
        margin-left: 1.2rem;
    }

    .director_photo {
        width: 33.5rem;
        height: 41.3rem;
        border: 0.1rem solid #333;
        position: absolute;
        top: 115.3rem;
        left: -0.6rem;
    }

    .company_profile_wrap {
        display: flex;
        flex-direction: column;
        /* 横並びではなく縦並びに変更 */
        margin-top: 39rem;
        padding: 2.5rem 1rem;
        position: relative;
        width: 100%;
    }

    .company_profile_title {
        font: 2.5rem/3.6rem "Zen Old Mincho";
        font-weight: 900;
        letter-spacing: 0.05rem;
        color: #1A1A1A;
        text-align: left;
        margin-top: 14.1rem;
        margin-left: 1rem;
    }

    .company_profile_table {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-left: 0rem;
    }

    .company_profile_table table {
        font: 1.6rem/2.4rem "Zen Old Mincho";
        font-weight: 500;
        letter-spacing: 0.032rem;
        color: #1A1A1A;
    }

    .top_tr_1 {
        position: relative;
    }

    .top_tr_1::before {
        content: '';
        position: absolute;
        left: 17.7rem;
        top: 2.89rem;
        transform: translateX(-50%);
        width: 33.4rem;
        /* 好きな長さ */
        border-top: 0.2rem solid #ccc;
    }

    .company_profile_table tr {
        position: relative;
        display: block;
        /* 行単位も縦積み */
        flex-direction: column;
        /* 横並びではなく縦並びに変更 */
    }

    .company_profile_table tr::after {
        content: '';
        position: absolute;
        left: 16.3rem;
        bottom: -0.33rem;
        transform: translateX(-50%);
        width: 33.5rem;
        /* 好きな長さ */
        border-bottom: 0.2rem solid #ccc;
    }

    .company_profile_table th,
    .company_profile_table td {
        padding: 1.9rem 1.2rem;
        text-align: left;
        /* vertical-align: top; */
        display: block;
        /* 縦積みに切り替え */
    }

    .company_profile_table th {
        padding-bottom: 0rem;
        padding-left: 0.5rem;
        padding-top: 2.2rem;
    }

    .company_profile_table td {
        padding-top: 1rem;
        padding-left: 0.5rem;
    }

    .history_section {
        padding: 4rem;
        background: #234E459C;
        margin-top: 7.2rem;
        padding-bottom: 6.1rem;
    }

    .section_title {
        text-align: left;
        font: 2.5rem / 3.6rem "Zen Old Mincho";
        font-weight: 700;
        letter-spacing: 0.05rem;
        color: #FFFFFF;
        margin-left: -1.9rem;
        margin-top: -1.3rem;
    }

    .timeline_item .year {
        display: block;
        text-align: left;
        font: 2.5rem / 3.6rem "Zen Old Mincho";
        font-weight: 400;
        letter-spacing: 0.05rem;
        color: #FFFFFF;
        margin-top: -1.7rem;
        margin-bottom: 1rem;
        margin-left: -2.2rem;
    }

    .year::before {
        content: "";
        position: absolute;
        top: -5.3rem;
        left: 0;
        width: 60.2rem;
        height: 0.2rem;
        background-color: #FFFFFF;
    }

    .timeline {
        display: flex;
        transition: transform 0.4s ease;
        will-change: transform;
        cursor: grab;
        overflow-x: auto;
        margin-left: -1rem;
    }

    .timeline_item {
        flex: 0 0 auto;
        padding: 2rem;
        margin-top: 5rem;
        margin-left: 1rem;
        margin-right: 2.7rem;
        position: relative;
        height: auto;
        padding-right: 0rem;
        padding-top: 6.2rem;
    }

    .timeline_item ul {
        margin-left: -3.4rem;
        padding-left: 1.2rem;
        text-align: left;
        font: 1.5rem / 4rem "Zen Old Mincho";
        font-weight: 400;
        letter-spacing: 0.03rem;
        color: #FFFFFF;
    }

    .timeline_item:before {
        background: #FFFFFF;
        content: "";
        display: block;
        height: 4.6rem;
        left: 0.45rem;
        position: absolute;
        top: 0.1rem;
        width: 0.1rem;
    }

    .timeline_item:after {
        background: url(../img/enkakumaru.png);
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        position: absolute;
        top: -2rem;
        left: -0.82rem;
        height: 2.7rem;
        width: 2.7rem;
        background-size: contain;
    }

    .p_company_sec04_control {
        width: 23.6rem;
        height: 2.5rem;
        margin: 2rem auto 0;
        padding: 0;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        border-radius: 1rem;
        background-color: transparent;
    }

    .p_company_sec04_control:after {
        content: "";
        position: absolute;
        left: 0rem;
        top: 2rem;
        transform: translateY(-50%);
        width: 24.4rem;
        height: 2.9rem;
        border: 0.0625rem solid #fff;
        border-radius: 2.1rem;
        z-index: -1;
        box-sizing: border-box;
        background: transparent;
    }

    .control_drag {
        width: 6.8rem;
        height: 2.2rem;
        margin-top: 1.5rem;
        margin-left: 0.4rem;
        background: #deceab;
        border-radius: 2.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

    .control_drag::before {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 0.8rem solid transparent;
        border-bottom: 0.8rem solid transparent;
        border-right: 1.5rem solid #fff;
        position: absolute;
        left: 1.4rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
    }

    .control_drag::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 0.8rem solid transparent;
        border-bottom: 0.8rem solid transparent;
        border-left: 1.5rem solid #fff;
        position: absolute;
        right: 1.3rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
    }

    .company_information_wrap {
        display: flex;
        flex-direction: column;
        /* 横並びではなく縦並びに変更 */
        margin-top: 3rem;
        padding-bottom: 10rem;
        padding-left: 2rem;
        padding-right: 1rem;
        position: relative;
        width: 100%;
    }

    .company_information_title {
        font: 2.5rem/3.6rem "Zen Old Mincho";
        font-weight: 900;
        letter-spacing: 0.05rem;
        color: #1A1A1A;
        text-align: left;
        margin-top: 2.6rem;
        margin-left: 0.1rem;
    }

    .company_information_table {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-left: 0rem;
    }

    .company_information_table table {
        border-collapse: collapse;
        font: 1.6rem/2.4rem "Zen Old Mincho";
        font-weight: 500;
        letter-spacing: 0.032rem;
        color: #1A1A1A;
    }

    .top_tr_2 {
        position: relative;
    }


    .top_tr_2::before {
        content: '';
        position: absolute;
        left: 16.8rem;
        top: -4.21rem;
        transform: translateX(-50%);
        width: 33.5rem;
        /* 好きな長さ */
        border-top: 0.2rem solid #ccc;
    }

    .table_th_5 {
        margin-top: -4rem;
        margin-left: -0.8rem;
        letter-spacing: 0.2rem;
    }

    .table_td_5 {
        margin-top: -1.8rem;
        margin-left: -0.8rem;
    }


    .table_th_4 {
        margin-top: 0.1rem;
        margin-left: -0.7rem;
        letter-spacing: 0.2rem;
    }

    .table_td_4 {
        margin-top: -1.8rem;
        margin-left: -0.8rem;
    }

    .company_information_table tr {
        display: flex;
        flex-direction: column;
        /* 行内のthとtdを縦に並べる */
    }

    .company_information_table tr::after {
        content: '';
        position: absolute;
        left: 16.3rem;
        bottom: 0;
        transform: translateX(-50%);
        width: 33.5rem;
        /* 好きな長さ */
        border-bottom: 0.2rem solid #ccc;
    }

    .company_information_table th,
    .company_information_table td {
        padding: 1.9rem 1.2rem;
        text-align: left;
        vertical-align: top;
    }

    .company_informaiton_table th {
        padding-bottom: 0rem;

    }

    .company_information_table td {
        padding-top: 0.9rem;
    }


}