@charset "utf-8";

/* company CSS
---------------------------------- */

/* greeting CSS
---------------------------------- */
.msg-gallery {
    gap: 5px;
    flex-wrap: initial;
}

.msg-gallery .msg-photo:nth-child(1) {
    /* width: 66.666%; */
    flex: 1;
}

.msg-gallery .msg-photo:nth-child(2) {
    width: 32.777%;
}

.msg-frame {
    height: 100%;
}

.msg-sign span:first-child {
    margin-right: 1em;
}

@media (max-width: 480px) {
    .msg-gallery {
        flex-flow: column;
    }

    .msg-gallery .msg-photo:nth-child(2) {
        width: 100%;
    }

    .msg-frame {
        aspect-ratio: 3/2;
    }
}

/* overview CSS
---------------------------------- */
.ov-list {
    border-top: 1px solid #dfe1e8;
}

.ov-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #dfe1e8;
}

@media (max-width: 767px) {
    .ov-row {
        grid-template-columns: 15vw auto;
    }
}

@media (max-width: 480px) {
    .ov-row {
        grid-template-columns: 70px auto;
        gap: 15px;
    }
}

/* access CSS
---------------------------------- */

.company-access {
    position: relative;
}

.acc-map iframe {
    display: block;
    width: 100% !important;
    height: clamp(340px, 33.6vw, 504px) !important;
    border: 0;
}

.acc-btn-wrap {
    position: absolute;
    bottom: var(--mp20);
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 300px);
}

/* history CSS
---------------------------------- */

.company-history .box-ml-auto {
    flex: 1;
}

.his-wrap {
    gap: 2em 6.896%;
}

.his-side {
    width: clamp(260px, 34vw, 420px);
    flex-shrink: 0;
}

.his-photo:not(:last-child) {
    margin-bottom: 5px;
}

.his-frame {
    aspect-ratio: 21 / 14;
    overflow: hidden;
}

.his-item {
    display: grid;
    grid-template-columns: 6.7em auto;
    column-gap: 13px;
}

.his-item .txt-area {
    display: grid;
    grid-template-columns: 11% auto;
    gap: 0 20px;
}

.his-item .txt-area::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgb(0 0 0 / 15%);
    margin-top: 0.9em;
}

@media (max-width: 1024px) {
    .his-wrap {
        flex-flow: column-reverse;
    }

    .his-side {
        width: 100%;
        display: flex;
        gap: 5px;
    }

    .his-photo:not(:last-child) {
        margin-bottom: initial;
    }

    .his-photo {
        flex: 1;
    }

    .his-item dt .date::after {
        display: block;
    }

    .company-history .sec-cont {
        text-align: center;
    }

    .dl-list.his-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .his-item {
        display: block;
    }

    .his-item .txt-area {
        grid-template-columns: 15px auto;
        gap: 0 15px;
    }
}

/* sdgs CSS
---------------------------------- */

.sdgs-section {
    position: relative;
    overflow: hidden;
    background-color: var(--sky);
}

.global-img {
    position: absolute;
    top: 0;
    left: 5px;
    width: min(100%, 916px);
}

.sdgs-section .cont-area {
    position: relative;
    z-index: 1;
}

.sdgs-brand {
    align-items: center;
    gap: 10px;
}

.sdgs-logo {
    width: 200px;
    margin-bottom: 10px;
    aspect-ratio: 125 / 23;
}

.sdgs-mark .sdgs-frame {
    aspect-ratio: 300 / 37;
}

.sdgs-cross {
    aspect-ratio: 41/24;
    width: 44px;
    position: relative;
}

.sdgs-cross::before,
.sdgs-cross::after {
    content: "";
    display: block;
    width: 51px;
    height: 1px;
    background-color: rgb(0 0 0 / 15%);
    position: absolute;
    top: 50%;
    left: 50%;
}

.sdgs-cross::before {
    transform: translate(-50%, -50%) rotate(30.4deg);
}

.sdgs-cross::after {
    transform: translate(-50%, -50%) rotate(-30.4deg);
}

.sdgs-cards {
    gap: var(--mp50);
    align-items: flex-start;
}

.sdgs-card {
    position: relative;
    padding: var(--mp60) 0 min(5vw, 60px) min(5vw, 80px);
}

.sdgs-card::before {
    content: "";
    display: block;
    background-color: var(--wht);
    width: 100vw;
    height: 100%;
    border-radius: 10px 0 0 10px;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}

.sd-no {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: -1;
}

.sd-list {
    display: flex;
    gap: 10px 1em;
    flex-wrap: wrap;
    width: min(100%, 864px);
}

.sd-list li {
    position: relative;
    padding-left: 1em;
    width: calc(50% - 0.5em);
    line-height: 1.5;
}

.sd-list li::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--sblu);
    position: absolute;
    left: 0;
    top: calc(0.75em - 4px);
}

.sd-goals {
    gap: 10px;
}

.sd-goal {
    width: 120px;
}

.sdgs-button-wrap a {
    border-radius: 5px;
    border: 2px solid var(--blu);
    background-color: var(--wht);
    display: flex;
    width: min(100%, 600px);
    height: 100px;
    align-items: center;
    margin: auto;
    padding: 0 75px 0 30px;
    position: relative;
    line-height: 1.2;
}

.sdgs-button-wrap .button-icon {
    position: absolute;
    top: 50%;
    right: var(--mp30);
    width: 30px;
    height: 30px;
    background-color: var(--blu);
    border-radius: 50%;
    transform: translateY(-50%);
}

.sdgs-button-wrap .button-icon::before {
    content: "";
    display: block;
    background-image: url("../img/common/i-con-win-open.svg");
    width: 10px;
    height: 10px;
}

@media (max-width: 767px) {
    .sd-list {
        flex-flow: column;
    }

    .sd-list li {
        width: 100%;
    }
}
