html {
    scroll-behavior: smooth;
}

/* ページ内リンク */
#sdgs {
    padding-top: 80px;
    margin-top: -80px;
}

/* 共通ブロック */


/* コンテンツブロック */

.rep_photo {
    max-width: 335px;
    margin: 0 auto 30px;
    width: 100%;
}

.ceo_block {
    margin-bottom: 16px;
}

.rep_photo img {
    border-radius: 9px;
}

.post_text {
    width: 100px;
    height: 33px;
    background: url(../images/company/post_bg.png) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--point-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.rep_title {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(30 / 20);
    font-family: var(--main-font);
}

.rep_subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(26 / 14);
    font-family: var(--main-font);
}

.rep_des_message {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(30 / 20);
    font-family: var(--main-font);
    margin-bottom: 8px;
}

.rep_des_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.rep_des_text .red_strong {
    font-size: 18px;
    font-weight: 500;
    color: var(--main-color);
}

.rep_des_text:not(:last-child) {
    margin-bottom: 30px;
}

.management_area__ul {}

.management_area__list {
    margin-bottom: 30px;
}

.management_area__title {}

.management_area__title--small {
    font-size: 14px;
    color: #AC0D1D;
    line-height: 1;
    margin-left: 30px;
    margin-bottom: -10px;
}

.management_area__title--number {
    font-size: 33px;
}

.management_area__title--main {
    font-weight: bold;
    font-size: 22px;
}

.management_area__caption {
    font-size: 16px;
    line-height: calc(28/16);
}

@media (min-width:768px) {
    .management_area__ul {}

    .management_area__list {
        display: flex;
        align-items: center;
    }

    .management_area__title {
        width: 250px;
    }

    .management_area__title--small {
        margin-left: 35px;
        margin-bottom: -7px;
    }

    .management_area__title--number {
        font-size: 40px;

    }

    .management_area__title--main {
        font-size: 33px;
    }

    .management_area__caption {
        width: calc(100% - 250px);
    }

    /* 共通ブロック */
    .section_content--message {
        padding: 0 20px;
    }

    .section_content--message picture img {
        margin-bottom: 0;
    }


    /* コンテンツブロック */

    .rep_area {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        flex-direction: row-reverse;
        gap: clamp(35px, calc(65px + 50vw - 570px), 65px);
    }

    .rep_photo {
        max-width: clamp(400px, calc(437px + 50vw - 570px), 437px);
        height: 550px;
        flex: 0 0 auto;
        margin: 0;
    }

    .ceo_block {
        max-width: 100%;
    }

    .post_text {
        margin-bottom: 8px;
    }


    .rep_box {
        max-width: 464px;
    }

    .rep_title {
        font-size: 22px;
        line-height: calc(30 / 22);
    }

    .rep_des_message {
        font-size: 27px;
        line-height: calc(39 / 27);
        text-align: left;
        text-indent: -17px;
    }

}



/*---------
PHILOSOPHY
----------*/


/* 共通ブロック */

.section_content--philosophy .title_block {
    margin-bottom: 45px;
}


/* コンテンツブロック */

.philosophy_title_wrap {
    background: url(../images/company/philosophy_title_bg.png) center / cover no-repeat;
    padding: 40px 81px 80px 20px;
    clip-path: polygon(0 0, 75% 0%, 100% 100%, 0 100%);
}

.philosophy_title {
    font-size: 28px;
    font-weight: 500;
    color: var(--point-color);
    line-height: calc(37 / 21);
    font-family: var(--main-font);
}

.philosophy_photo_collection {
    width: max-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: -40px auto 0;
    position: relative;
    z-index: 1;
}

[class*="philosophy_photo"] {
    border-radius: 9px;
}

.philosophy_photo--work {
    width: 285px;
    height: 214px;
    margin-left: 20px;
}

.philosophy_photo--meeting {
    width: 261px;
    height: 196px;
    margin-left: 94px;
}

[class*="philosophy_photo"] img {
    border-radius: 9px;
}


@media screen and (min-width: 500px) and (max-width: 767px) {


    .philosophy_photo--work {
        width: clamp(18.75rem, 9.387rem + 29.96vw, 23.75rem);
        height: auto;
        margin-left: 20px;
    }

    .philosophy_photo--meeting {
        width: clamp(14.375rem, 10.747rem + 11.61vw, 16.313rem);
        height: auto;
        margin-left: 180px;
    }

}


@media (min-width:768px) {

    /* 共通ブロック */

    .section_content--philosophy {
        padding: 0;
    }

    .section_content--philosophy .title_block {
        margin-bottom: 100px;
    }

    /* コンテンツブロック */

    .philosophy_area {
        display: flex;
        padding-right: 20px;
    }

    .philosophy_title_wrap {
        max-width: clamp(900px, calc(1166px + 50vw - 720px), 1166px);
        padding: 110px 81px 110px 200px;
        flex: 1;
        position: relative;
    }

    .philosophy_title {
        font-size: 48px;
        line-height: calc(43 / 28);
    }


    .philosophy_photo_collection {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-top: -80px;
        position: absolute;
        left: 52%;
        /* transform: translateX(-50%);
        margin-top: -430px; */
    }

    .philosophy_photo--work {
        width: 100%;
        height: 300px;
        max-width: clamp(380px, calc(400px + 50vw - 570px), 400px);
        margin: 0;
    }

    .philosophy_photo--meeting {
        width: 100%;
        height: 196px;
        max-width: 261px;
        margin-left: 290px;
    }

}

@media (min-width: 768px) and (max-width: 1300px) {

    .philosophy_area {
        display: block;
    }

    .philosophy_photo_collection {
        width: max-content;
        position: relative;
        left: 15%;
        z-index: 1;
    }

}


/*---------
MANAGEMENT
----------*/

/* 共通ブロック */

.section_content--management .content_box {
    background: url(../images/company/sp-management_bg02.jpg) center / cover no-repeat;
    min-height: 709px;
    padding-top: 40px;
}

.section_content--management .title_block {
    margin-bottom: 30px;
}

/* コンテンツブロック */
.management_text {
    font-size: clamp(1.125rem, 0.785rem + 1.49vw, 1.5rem);
    font-weight: 500;
    color: #6A6A6A;
    line-height: calc(41 / 18);
    font-family: var(--main-font);
}


@media (min-width:768px) {

    /* 共通ブロック */

    [class*="section_content"]:not(:last-child) {
        padding-bottom: 122px;
    }

    .section_content--management .title_block {
        margin-bottom: 70px;
    }

    .section_content--management .content_box {
        background: url(../images/company/pc-management_bg02.jpg) center / cover no-repeat;
        min-height: 644px;
        padding: 120px 20px 0;
    }

    /* コンテンツブロック */

    .management_text {
        font-size: 19px;
        text-align: center;
        line-height: calc(46 / 19);

    }

}

/*---------
PROFILE
----------*/

/* 共通ブロック */

.section_content--profile {
    position: relative;
}

.section_content--profile::after {
    content: "";
    background: url(../images/company/profile_photo.png) 0 0 no-repeat;
    background-blend-mode: screen;
    background-size: contain;
    position: absolute;
    width: 60%;
    max-width: 231px;
    aspect-ratio: 231/107;
    top: 5%;
    right: 0;
}

.section_content--profile .title_block {
    margin-bottom: 150px;
}


/* コンテンツブロック */

.profile_detail {
    border-bottom: 1px solid #999999;
}

.profile_detail:not(:last-child) {
    margin-bottom: 40px;
}

.profile_detail dt {
    font-size: 16px;
    font-weight: bold;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.profile_detail dd {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}


@media (min-width:768px) {

    /* 共通ブロック */

    .section_content--profile {
        padding-inline: 20px;
    }

    .section_content--profile::after {
        max-width: 533px;
        aspect-ratio: 533/263;
        width: 50%;
        top: -9%;
        z-index: -1;
    }

    .section_content--profile .title_block {
        margin-bottom: 40px;
    }

    /* コンテンツブロック */

    .profile_area {
        max-width: 693px;
        margin: 0 auto;
    }

    .profile_detail {
        display: flex;
        align-items: center;
    }

    .profile_detail dt {
        width: 100%;
        max-width: 241px;
    }

}

/*---------
HISTORY
----------*/

/* 共通ブロック */

.section_content--history {
    padding: 0;
    overflow: hidden;
}

/* コンテンツブロック */

.history_list {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    /* 横スクロールさせる */
    -webkit-overflow-scrolling: touch;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 40px;
}

.history_item {
    flex: 0 0 auto;
}

.history_detail {
    background: url(../images/company/history_item_bg.png) center / cover no-repeat;
    width: 280px;
    min-height: 230px;
    aspect-ratio: 280/230;
    padding: 20px 28px 0;
}

.history_number {
    font-size: 56px;
    font-weight: bold;
    color: var(--point-color);
    line-height: calc(56 / 56);
    font-family: var(--sub-font);
    margin-bottom: 8px;
}

.history_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--point-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.timeline_bar {
    position: relative;
    margin-top: 8px;
    height: 2px;
    background: #999999;
    margin-left: 20px;
}

.timeline_grip {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--main-color);
    width: 65px;
    height: 30px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    margin-left: 10px;
    cursor: grab;
}

.timeline_grip.is-dragging {
    cursor: grabbing;
}

/* 矢印 */
.timeline_grip::before,
.timeline_grip::after {
    content: "";
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.timeline_grip::before {
    transform: rotate(135deg);
    /* ← */
}

.timeline_grip::after {
    transform: rotate(-45deg);
    /* → */
}




@media (min-width:768px) {

    /* 共通ブロック */

    .section_content--history {
        padding-inline: 20px;
    }


    .history_area {
        max-width: 1000px;
        margin: 0 auto;
    }


    /* コンテンツブロック */

    .history_list {
        padding-left: 0;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE, Edge */
    }

    /* PCデフォルトスクロールバー非表示 */
    .history_list::-webkit-scrollbar {
        display: none;
    }

    .timeline_bar {
        margin: 0;
    }
}

/*---------
SDGs
----------*/


/* 共通ブロック */

.section_content--sdgs .title_block {
    margin-bottom: 50px;
}

/* コンテンツブロック */

.sdgs_top_message {
    font-size: 21px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(37 / 21);
    font-family: var(--main-font);
    margin-bottom: 50px;
}

.sdgs_photo {
    aspect-ratio: 335 / 199;
    margin-bottom: 30px;
}

.sdgs_top_block {
    margin-bottom: 40px;
}

.sdgs_sub_title {
    font-size: 20px;
    font-weight: bold;
    color: var(--sub-color);
    line-height: calc(30 / 20);
    font-family: var(--main-font);
    text-align: center;
    margin-bottom: 30px;
}

.sdgs_text {
    font-size: 17px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.sdgs_text:not(:last-child) {
    margin-bottom: 30px;
}


/* sdgs リスト */

.sdgs_bottom_block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sdgs_point_box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.07);
    padding: 30px 17px;
}

.sdgs_point_list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sdgs_point_title {
    font-size: 25px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(36 / 25);
    font-family: var(--main-font);
    text-align: center;
    margin-bottom: 25px;
}

.sdgs_point_photo {
    aspect-ratio: 150 / 150;
    width: 100%;
    max-width: 150px;
    margin: 0 auto 25px;
}

.sdgs_point_box .sdgs_text:not(:last-child) {
    margin-bottom: 8px;
}


@media (min-width:768px) {


    /* 共通ブロック */

    .section_content--sdgs {
        padding-inline: 20px;
    }

    .section_content--sdgs .title_block {
        margin-bottom: 40px;
    }

    .section_content--sdgs .section_title {
        font-size: 55px;
        line-height: calc(55 / 55);
    }

    .section_content--sdgs .sub_title {
        font-size: 18px;
        line-height: calc(18 / 18);
    }

    .section_content--sdgs .sub_title::before {
        width: 25px;
        height: 3px;
    }


    /* コンテンツブロック */

    .sdgs_top_message {
        font-size: 25px;
        line-height: calc(37 / 25);
        text-align: center;
        margin-bottom: 40px;
    }

    .sdgs_photo {
        aspect-ratio: 800 / 475;
        width: 100%;
        max-width: 800px;
        margin: 0 auto 70px;
    }

    .sdgs_top_block {
        margin-bottom: 70px;
    }

    .sdgs_sub_title {
        font-size: 28px;
        font-weight: 600;
        line-height: calc(43 / 28);
        margin-bottom: 40px;
    }

    .sdgs_bottom_block {
        gap: 50px;
    }

    .sdgs_point_box {
        padding: 25px 50px;
        box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.14);
    }

    .sdgs_point_list {
        gap: 20px;
    }

    .sdgs_point_detail {
        display: flex;
        align-items: center;
        gap: 45px;
    }

    .sdgs_point_title {
        font-size: 28px;
        line-height: calc(43 / 28);
        text-align: left;
    }

    .sdgs_point_photo {
        margin: 0;
    }

    .ui-card_link--interview {
        margin-top: 50px;
    }

}