/*================================================
  page-mainvisual
================================================*/

.page-mainvisual {
    background-image: url(../../image/company/page-mainvisual.jpg);
}

/*================================================
  message
================================================*/

.message {
    background-image: url(../../image/company/message-bg.jpg);
    background-size: cover;
    background-position: center;
    padding-bottom: calc(var(--layout-gap) * 2);
}

.message-content {
    background-color: var(--color-white);
    box-shadow: 0 5px 20px rgba(var(--color-black-rgb), .2);
    padding:2em 1em;
}

.message .section-sub-title {
    font-weight: 500;
    font-size: 1.8rem;
}

.message .section-sub-title::before {
    width: 13px;
}

.message-lead {
    text-align: center;
    /* font-size: 2.4rem; */
    font-size: clamp(1.6rem, 1.12rem + 2.4vw, 4rem);
    font-weight: 900;
    line-height: 1.4;
    color: var(--color-text);
    padding: calc(var(--layout-gap) / 1.5) 0;
}

.message-text {
    margin-bottom: calc(var(--layout-gap) / 1.5);
    /* font-size: 1.6rem; */
    font-size: clamp(1.4rem, 1.28rem + 0.6vw, 2rem);
    font-weight: 400;
}

.ceo-pic {
    margin: 2em 0 0 auto;
    max-width: 404px;
}

.ceo-name {
    text-align: right;
    line-height: 1;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text);
    margin-top: 0.75em;
}

@media print,
screen and (min-width: 769px) {
    .message-content {
        padding: calc(var(--layout-gap) * 1.5);
    }

    .message .section-sub-title {
        font-weight: 500;
        font-size: 2.1rem;
    }

    .message-lead {
        font-size: 3rem;
    }

    .ceo-name {
        font-size: 2.4rem;
    }

    .message-text {
        font-size: 2.1rem;
    }
}

@media print,
screen and (min-width: 1200px) {
    .message {
        padding-bottom: calc(var(--layout-gap) * 4);
    }

    .message .section-sub-title {
        font-weight: 500;
        font-size: 2.5rem;
    }

    .message-lead {
        font-size: 4rem;
        padding: var(--layout-gap) 0 calc(var(--layout-gap) * 2);
    }

    .message-text {
        margin-bottom: calc(var(--layout-gap) / 1.5);
        font-size: 2.5rem;
    }

    .ceo-name {
        font-size: 3rem;
    }
}

/*================================================
  about
================================================*/
.about {
    padding-block: calc(var(--layout-gap) * 2);
}

.about .section-title-lg {
    border-bottom: none;
}

.about .section-title-sm {
    border-bottom: 2px solid var(--color-text);
    padding-inline: calc(var(--layout-gap) / 4);
}

.about-content-item {
    position: relative;
    margin-block: calc(var(--layout-gap) * 1);
}

.about-content-item::after {
    content: '';
    display: block;
    width: 100%;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.about-content-item:nth-child(1)::after {
    aspect-ratio: 1328.77 / 508;
    background-image: url(../../image/company/about-bg1.png);
}

.about-content-item:nth-child(2)::after {
    aspect-ratio: 1305.64 / 543.07;
    background-image: url(../../image/company/about-bg2.png);
}

.about-content-item:nth-child(3)::after {
    aspect-ratio: 1328.77 / 555;
    background-image: url(../../image/company/about-bg3.png);
}

.about-content-item:nth-child(4)::after {
    aspect-ratio: 1356 / 667;
    background-image: url(../../image/company/about-bg4.png);
}

.about-item-num {
    position: absolute;
    font-size: 10rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 0.8;
    text-shadow: 0 3px 6px rgba(var(--color-black-rgb), .16);
    z-index: 1;
}

.about-content-item:nth-child(odd) .about-item-num {
    right: auto;
    left: 0;
    top: 0;
}

.about-content-item:nth-child(even) .about-item-num {
    left: 0;
    top: 0;
}

.text-label {
    max-width: 210px;
    width: 100%;
}

.about-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content-item:nth-child(odd) .text-label::before {
    transform: rotate(90deg);
    bottom: 10px;
    right: 10px;
}

.about-content-item:nth-child(even) .text-label::before {
    transform: rotate(180deg);
    bottom: 10px;
    left: 10px;
}

.about-text {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    padding-inline: calc(var(--layout-gap) / 2);
    margin-block: 1em;
}

.about .link-btn {
    margin-top: var(--layout-gap);
}

@media print,
screen and (min-width: 769px) {
    .about-item-num {
        position: absolute;
        font-size: 40rem;
    }

    .about-content-item:nth-child(odd) .about-item-wrapper {
        flex-direction: row;
    }

    .about-content-item:nth-child(even) .about-item-wrapper {
        flex-direction: row-reverse;
    }

    .text-label {
        max-width: 378px;
    }

    .about-item-num {
        z-index: -1;
    }


    .about-content-item {
        margin-block: calc(var(--layout-gap) * 4);
    }

    .about-content-item::after {
        top: 50%;
        transform: translateY(-50%);
    }

    .about-content-item:nth-child(odd) .about-item-num {
        right: 0;
        left: auto;
        top: -40%;
    }

    .about-content-item:nth-child(even) .about-item-num {
        left: 0;
        top: -40%;
    }

    .about-text {
        font-size: 2.1rem;
        padding-inline: var(--layout-gap);
    }
}

@media print,
screen and (min-width: 1200px) {
    .about-item-num {
        position: absolute;
        font-size: 50rem;
    }

    .about-text {
        font-size: 2.5rem;
    }

    .about-content-item {
        margin-block: calc(var(--layout-gap) * 8);
    }

    .about-content-item:first-child {
        margin-top: calc(var(--layout-gap) * 4);
    }
}

/*================================================
  cta
================================================*/

.cta {
    background-color: var(--color-gray-second);
    padding-block: var(--layout-gap);
}

@media print,
screen and (min-width: 769px) {
    .cta {
        padding-block: calc(var(--layout-gap) * 2);
    }

}

/*================================================
  behavioral-guidelines
================================================*/

.behavioral-guidelines {
    padding-block: calc(var(--layout-gap) * 2);
    text-align: center;
}

.behavioral-guidelines-content {
    position: relative;
}

.behavioral-guidelines-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(../../image/company/behavioral-guidelines-bg.png);
    width: 100%;
    aspect-ratio: 2079 / 1090;
    background-size: contain;
    z-index: -1;
}

.behavioral-guidelines-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5em;
    width: 100%;
    max-width: 760px;
    margin: 2em auto;
}

.behavioral-guidelines-list li .label {
    color: var(--color-white);
    background-color: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    font-size: clamp(2.8rem, 2.16rem + 3.2vw, 6rem);
    font-weight: 600;
    text-align: center;
    max-width: 190px;
    margin: auto;
}
.behavioral-guidelines-list li .item-text {
    font-size: clamp(1.4rem, 0.88rem + 2.6vw, 4rem);
    line-height: 1.25;
    display: inline-block;
    margin-top: 0.75em;
    font-weight: 700;
    text-align: center;
}

@media print,
screen and (min-width: 1200px) {
    .behavioral-guidelines {
        padding-block: calc(var(--layout-gap) * 4);
    }
}

/*================================================
  company-profile
================================================*/

.company-profile {
    padding-block: calc(var(--layout-gap) * 2);
    background-image: url(../../image/company/company-profile-bg.jpg);
    background-size: cover;
    background-position: center;
}

.company-profile-content {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--color-white);
    max-width: 550px;
    margin-inline: auto;
    margin-block: calc(var(--layout-gap) * 1);
}

.company-profile-title {
    width: 25%;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 400;
    padding: calc(var(--layout-gap) / 5);
    box-shadow: 1px 1px 1px rgba(var(--color-black-rgb), .16);
}

.company-profile-text {
    width: 75%;
    font-size: 1.6rem;
    padding: calc(var(--layout-gap) / 5);
    box-shadow: 1px 1px 1px rgba(var(--color-black-rgb), .16);
}

.company-profile iframe {
    width: 100%;
    height: 300px;
}

@media print,
screen and (min-width: 769px) {
    .company-profile-title {
        font-size: 2.1rem;
    }

    .company-profile-text {
        font-size: 2.1rem;
    }

    .company-profile-content {
        margin-block: calc(var(--layout-gap) * 2);
    }

    .company-profile iframe {
        height: 600px;
    }
}

@media print,
screen and (min-width: 1200px) {
    .company-profile-title {
        font-size: 2.5rem;
    }
    .company-profile-text {
        font-size: 2.5rem;
    }
    .company-profile-content {
            max-width: 800px;
    }
}
