

.company__greeting {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.company__greeting-text-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company__greeting-text {
    width: 100%;
    font-family: "M PLUS 1p", sans-serif;
    color: #2559AE;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
}

.company__greeting-keyword-row {
    width: 100%;
    display: flex;
    gap: 40px;
    padding: 0 41px;
}

.company__greeting-keyword {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    color: #2559AE;
    background: linear-gradient(to bottom, #E9F0FB 0%, #8AB3F5 100%);
    border-radius: 100px;
    padding: 0;
    width: 114px;
    height: 114px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    .company__greeting-text-wrap {
        gap: 2.083vw;
    }

    .company__greeting-text {
        font-size: 1.667vw;
    }

    .company__greeting-keyword-row {
        width: 100%;
        display: flex;
        gap: 2.776vw;
        padding: 0 2.847vw;
    }

    .company__greeting-keyword {
        font-size: 1.667vw;
        width: 7.916vw;
        height: 7.916vw;
    }
}

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

    .company__greeting-text-wrap {
        width: 100%;
        gap: 32px;
    }

    .company__greeting-text {
        width: 100%;
        font-size: 16px;
    }

    .company__greeting-keyword-row {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 19.17px;
    }

    .company__greeting-keyword {
        font-size: 16px;
        width: 114px;
        height: 114px;
    }

}

.company__mission {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.company__mission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company__mission-content {
    width: 780px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.company__mission-content-row {
    width: fit-content;
    display: flex;
    gap :15px;
}

.company__mission-item {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company__mission-item--1 {
    background-image: url('../images/company/mission-bg01.png');
}

.company__mission-item--2 {
    background-image: url('../images/company/mission-bg02.png');
}

.company__mission-item--3 {
    background-image: url('../images/company/mission-bg03.png');
}

.company__mission-item--4 {
    background-image: url('../images/company/mission-bg04.png');
}

.company__mission-item--5 {
    background-image: url('../images/company/mission-bg05.png');
}

.company__mission-item-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.company__mission-item-title {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-align: center;
}

.company__mission-line {
    width: 45.25px;
    height: 1px;
    background-color: black;
}

.company__mission-item-text {
    width: 180px;
    font-family: "M PLUS 1p", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
}

.company__mission-image {
    width: 280px;
    height: 321.92px;
}

@media screen and (max-width: 1440px) {
    .company__mission-row {
        flex-direction: column;
        padding: 0;
        align-items: center;
        gap: 20px;
    }

    .company__mission-image {
        width: 20.833vw;
        height: 24.84vw;
    }

}

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

    .company__mission-row {
        flex-direction: column;
        padding: 0;
        align-items: center;
        gap: 40px;
    }

    .company__mission-image {
        width: 40%;
        height: auto;
    }

    .company__mission-content {
        width: 100%;
        flex-direction: column;
        gap: 20px; 
    }

    .company__mission-content-row {
        width: 250px;
        margin: 0 auto;
        flex-direction: column;
        gap: 20px;
    }

    .company__mission-item {
        width: 250px;
        height: 250px;
    }
}

.company__info-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.company__info {
    display: flex;
    flex-direction: row;
    gap: 40px;
    row-gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid black;
}

.company__info-name {
    color: #25539E;
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0;
    width: 260px;
}

.company__info-text {
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0;
    width: 820px;
}

.company__info-image {
    width: 100%;
    height: auto;
    margin-top: 48px
}

.company__history {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.company__history-wrap {
    position: relative;
    width: 100%;
}

.company__history-row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.company__history-row-year {
    width: 153.8px;
    font-size: 18px;
    font-weight: bold;;
    line-height: 1.4;
    letter-spacing: 0;
    padding-bottom: 67.46px;
}

.company__history-row-text {
    width: 902px;
    height: 99.5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0;
    padding-left: 32px;
    border-left: 1px solid #b1b1b1;
    position: relative;
}


.company__history-row:first-child .company__history-row-text {
    border-left: none;
}

.company__history-row:last-child .company__history-row-text {
    border-left: none;
}

.company__history-row-text::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -8px;
    width: 16px;
    height: 16px;
    background-image: url('../images/company/circle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.company__history-row:first-child .company__history-row-text::after {
    content: '';
    position: absolute;
    top: 10.5px;
    left: 0;
    width: 1px;
    height: 89px;
    background-color: #B1B1B1;
}

.company__history-row:last-child .company__history-row-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 6.5px;
    background-color: #B1B1B1;
}

@media screen and (max-width: 1440px) {
    
    .company__history-row {
        gap: 2.222vw;
    }
    
    .company__history-row-year {
        width: 10.681vw;
        font-size: 1.25vw;
        padding-bottom: 4.682vw;
    }
    
    
    .company__history-row-text {
        height: 6.91vw;
        width: 62.639vw;
        font-size: 1.25vw;
        padding-left: 4.444vw;
    }

    .company__history-row-text::before {
        top: 0.347vw;
        left: -0.62vw;
        width: 1.111vw;
        height: 1.111vw;
    }

    .company__history-row:first-child .company__history-row-text::before {
        left: -0.6vw;
    }

    .company__history-row:last-child .company__history-row-text::before {
        left: -0.6vw;
    }

    .company__history-row:first-child .company__history-row-text::after {
        top: 1vw;
        left: 0;
        width: 1px;
        height: 6.181vw;
    }

    .company__history-row:last-child .company__history-row-text::after {
        top: 0;
        left: 0;
        width: 1px;
        height: 1vw;
    }
}

@media screen and (max-width: 760px) {
    .company__history-row {
        width: 100%;
        gap: 12px;
    }

    .company__history-row-year {
        width: 110px;
        font-size: 18px;
        padding-bottom: 67.46px;
    }

    .company__history-row-text {
        height: 99.5px;
        flex: 1;
        font-size: 18px;
        padding-left: 20px;
    }

    .company__history-row-text::before {
        top: 3.5px;
        left: -8px;
        width: 16px;
        height: 16px;
    }

    .company__history-row:first-child .company__history-row-text::before {
        left: -8px;
    }

    .company__history-row:last-child .company__history-row-text::before {
        left: -8px;
    }

    .company__history-row:first-child .company__history-row-text::after {
        left: 0;
        height: 95px;
    }

    .company__history-row:last-child .company__history-row-text::after {
        left: 0;
        height: 6.5px;
    }

}

.company__quality-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.company__quality-policy-wrap {
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    padding: 0 127.88px 0 165px;
}

.company__quality-policy-text-wrap {
    width: 530px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company__quality-policy-text {
    font-family: "M PLUS 1p", sans-serif;
    color: #163934;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: left;
}

.company__quality-policy-text-detail {
    font-family: "M PLUS 1p", sans-serif;
    color: #163934;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: left;
}

.company__quality-policy-image {
    width: 160.23px;
    height: 232px;
}

.company__quality-policy-image-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 354.23px;

    border: 1px solid gray;
}

@media screen and (max-width: 1440px) {
    .company__quality-policy-wrap {
        width: 100%;
        padding: 0 8.881vw 0 11.458vw;
    }

    .company__quality-policy-text-wrap {
        width: 36.818vw;
        gap: 1.389vw;
    }

    .company__quality-policy-text {
        font-size: 1.667vw;
    }

    .company__quality-policy-text-detail {
        font-size: 1.25vw;
    }

    .company__quality-policy-image {
        width: 11.127vw;
        height: 16.111vw;
    }
}

@media screen and (max-width: 760px) {
    .company__quality-policy-wrap {
        width: 100%;
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .company__quality-policy-text-wrap {
        width: 100%;
        gap: 20px;
    }

    .company__quality-policy-text {
        font-size: 16px;
    }

    .company__quality-policy-text-detail {
        font-size: 12px;
    }

    .company__quality-policy-image {
        width: 50%;
        height: auto;
    }
}

.company__sdgs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.company__sdgs-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30.77px 0 165px;
}

.company__sdgs-text {
    color: #163934;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    width: 530px;
}

.company__sdgs-image-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 354px;
}

.company__sdgs-qrcode-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.company__sdgs-qrcode {
    width: 174px;
    height: 174px;
}

.company__sdgs-qrcode-text {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
    color: #163934;
}

.company__sdgs-image {
    width: 160.23px;
    height: 232px;
}

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

    .company__sdgs {
        gap: 2.222vw;
    }

    .company__sdgs-wrap {
        padding: 0 2.136vw 0 11.458vw;
    }

    .company__sdgs-text {
        font-size: 1.667vw;
        width: 36.806vw;
    }

    .company__sdgs-image-wrap {
        width: 24.583vw;
    }

    .company__sdgs-qrcode-wrap {
        gap: 1.111vw;
    }

    .company__sdgs-qrcode {
        width: 12.083vw;
        height: 12.083vw;
    }

    .company__sdgs-qrcode-text {
        font-size: 0.903vw;
    }

    .company__sdgs-image {
        width: 11.127vw;
        height: 16.111vw;
    }
}

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

    .company__sdgs {
        gap: 32px;
    }

    .company__sdgs-wrap {
        width: 100%;
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .company__sdgs-text {
        font-size: 16px;
        width: 100%;
    }

    .company__sdgs-text-detail {
        font-size: 12px;
    }


    .company__sdgs-image-wrap {
        width: 100%;
    }

    .company__sdgs-qrcode-wrap {
        gap: 16px;
    }

    .company__sdgs-qrcode {
        width: 45%;
        height: 45%;
    }

    .company__sdgs-qrcode-text {
        font-size: 13px;
    }

    .company__sdgs-image {
        width: 50%;
        height: auto;
    }
}

.company__partnership {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.company__partnership-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30.77px 0 165px;
}

.company__partnership-text {
    color: #163934;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    width: 530px;
}

.company__partnership-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 354.23px;
}

.company__partnership-image--2 {
    width: 160.23px;
    height: 232px;
}

@media screen and (max-width: 1440px) {
    .company__partnership-wrap {
        width: 100%;
        padding: 0 2.136vw 0 11.458vw;
    }

    .company__partnership-text {
        font-size: 1.667vw;
        width: 36.81vw;
    }

    .company__partnership-image-wrap {
        width: 24.6vw;
    }

    .company__partnership-image--2 {
        width: 11.127vw;
        height: 16.111vw;
    }
}

@media screen and (max-width: 760px) {
    .company__partnership {
        gap: 32px;
    }

    .company__partnership-wrap {
        width: 100%;
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .company__partnership-text {
        font-size: 16px;
        width: 100%;
    }

    .company__partnership-image-wrap {
        width: 100%;
    }
    
    .company__partnership-image--2 {
        width: 50%;
        height: auto;
    }
}

.company__disastar-agreement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.company__disastar-agreement-text {
    width: fit-content;
    color: #163934;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
}

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

    .company__disastar-agreement {
        gap: 2.222vw;
    }

    .company__disastar-agreement-text {
        font-size: 1.667vw;
    }
}

@media screen and (max-width: 760px) {
    .company__disastar-agreement {
        gap: 32px;
    }

    .company__disastar-agreement-text {
        font-size: 16px;
        width: 100%;
    }
}
.company__social-contribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.company__social-contribution-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.company__social-contribution-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.company__social-contribution-title {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0;
    color: #2559AE;
    text-align: left;
    padding-top: 8px;
    padding-left: 12px;
    padding-bottom: 8px;
    border-left: 12px solid #2559AE;
    border-bottom: 1px solid #2559AE;
    width: 100%;
    position: relative;
}

.company__social-contribution-title::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 12px;
    height: 13px;
    background-color: #EAF3FA;
}

.company__social-contribution-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    color: black;
    flex: 1;
}

.company__social-contribution-image-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.company__social-contribution-image1 {
    width: 33.3333%;
    height: auto;
}


.company__social-contribution-image2 {
    width: 280px;
    height: 210px;
}

.company__social-contribution-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company__social-contribution-text-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.company__social-contribution-text-label {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    color: white;
    background-color: #2559AE;
    padding: 4px 8px;
    border-radius: 8px;
}

.company__social-contribution-csr-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.company__social-contribution-csr-text {
    width: 590px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0;
    color: black;
}

.company__social-contribution-csr-image-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 455.41px;
}

.company__social-contribution-csr-image1 {
    width: 268.58px;
    height: 240px;
}

.company__social-contribution-csr-image2 {
    width: 175.96px;
    height: 239.1px;
}

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

    .company__social-contribution-row {
        gap: 30px;
    }

    .company__social-contribution-image-wrap {
        width: 80%;
        margin: 0 auto;
        flex-direction: column;
        gap: 0;
    }

    .company__social-contribution-image1 {
        width: 100%;
        height: auto;
    }

    .company__social-contribution-image2 {
        width: 100%;
        height: auto;
    }

    .company__social-contribution-csr-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .company__social-contribution-csr-text {
        width: 100%;
    }

    .company__social-contribution-csr-image-wrap {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .company__social-contribution-csr-image1 {
        width: 80%;
        height: auto;
    }

    .company__social-contribution-csr-image2 {
        width: 80%;
        height: auto;
    }
}

/* 縦書き用のCSS */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

/* 縦書きタイトル用 */
.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1.5;
    letter-spacing: 0.2em;
    font-weight: bold;
}

/* 縦書きコンテナ用 */
.vertical-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

/* 縦書きテキスト用 */
.vertical-text-content {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 760px) {
    .vertical-text,
    .vertical-title,
    .vertical-text-content {
        writing-mode: horizontal-tb;
        text-orientation: initial;
    }
    
    .vertical-container {
        flex-direction: column;
    }
}