@charset "utf-8";
/* ▼ KV ▼------------------------------------------ */
.lower-kv {
    position: relative;
}
.lower-ttl {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 38%;
    left: 12%;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: clamp(24px, 4.86vw, 70px);
    line-height: normal;
    font-weight: 600;
    color: #fff;
}
.lower-ttl__en {
    display: inline-block;
    margin-top: 5px;
    font-family: Roboto;
    font-size: clamp(14px, 2.78vw, 40px);
    font-weight: 400;
}
.lower-kv__bg img {
    width: 100%;
}
.lower-kv__wave {
    position: absolute;
    top: 74%;
    left: 0;
}

/* ▼ MESSAGE ▼------------------------------------------ */
.message {
    position: relative;
    display: flex;
    margin-top: 125px;
}
.message__container {
    width: 100%;
    flex-grow: 1;
    flex-basis: 62%;
    background-image: url(../images/company-message_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.message-detail {
    flex-grow: 1;
    flex-basis: 38%;
    margin: 11% 0 13% 12%;
    max-width: 730px;
    width: 51%;
}
.message-title {
    margin-top: 11%;
}
.company-message__image-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 38%;
}
.company-message__image {
    display: block;
    width: 100%;
}
.message__text {
    margin-top: 14%;
    width: 100%;
}
.message__text p {
    font-family: "Noto Serif JP", "serif";
    font-size: clamp(16px, 3vw, 20px);
    line-height: 2.1;
}
.message__name {
    margin-top: 25px;
    text-align: end;
    padding-right: 2em;
}
.message__name p {
    font-size: 24px;
    font-weight: 600;
}
@media screen and (max-width: 767px) {
    .message {
        flex-direction: column;
    }
    .message__container {
        padding-bottom: 80%;
        height: auto;
        background-image: url(../images/company-sp_message_bg@2x.png);
        background-size: cover;
        background-position: bottom;
    }
    .message-detail {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 20px 8%;
    }
    .company-message__image-wrap {
        width: 68%;
        right: 0;
    }
    .company-message__image img {
        width: 100%;
    }
    .message__name {
        width: 28%;
    }
    .message__name p {
        text-align: start;
        font-size: clamp(20px, 3.8vw, 24px);
    }
    .message__name span {
        display: inline-block;
        white-space: nowrap;
    }
    .message__name--small {
        font-size: clamp(16px, 3vw, 24px);
    }
}
@media screen and (max-width: 455px) {
    .message__container {
        padding-bottom: 58%;
    }
}
/* ▼ PHILOSOPHY ▼------------------------------------------ */
.philosophy__image {
    display: flex;
    justify-content: center;
    margin: 150px 0;
}
.philosophy__image img {
    max-width: 700px;
    width: clamp(315px, 50vw, 700px);
}

/* ▼ PROFILE ▼------------------------------------------ */
.profile__inner {
    margin: 0 auto;
    padding-top: 100px;
    max-width: 1200px;
    background-color: #e9f0f3;
}

.profile__image-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.profile__image {
    display: inline-block;
}

/* 表 */
.profile-data {
    margin-top: 70px;
    padding: 0 30px;
}
/* 会社概要 */
.profile-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 1.875;
}
.profile-table .profile-title {
    background-color: #005271;
    color: #ffffff;
    text-align: center;
    font-size: 1.5em;
    font-weight: 400;
    padding: 15px 0;
    border-top: none;
    border-bottom: none;
}
.profile-table th,
.profile-table td {
    box-sizing: border-box;
    padding: 20px 12px;
    border-bottom: 1px solid #97abb2;
}
.profile-table th {
    width: 22%;
    text-align: left;
    font-weight: 500;
    color: #4f889d;
}
.profile-table th,
.profile-table td {
    vertical-align: top;
    font-size: 1.1em;
}
/* 役員略歴 */
.officer-data {
    margin: 190px auto;
    padding: 0 30px;
}
.profile-table .profile-title-sub {
    line-height: 0;
}
.profile-table .sub-title-role {
    font-weight: 700;
    display: block;
    line-height: 1.5;
}
.profile-table .sub-title-name {
    font-weight: 700;
    font-size: 1.3em;
    display: block;
    line-height: 1.5;
}
.profile-table .sub-title-birth {
    display: block;
    line-height: 1.875;
}
.officer-data th {
    font-weight: 400;
    color: #303030;
}

@media screen and (max-width: 767px) {
    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        border-bottom: none;
        padding-bottom: 0;
    }
    .profile-table tr {
        border-bottom: 1px solid #97abb2;
        padding: 15px 0;
        display: block;
    }
    .profile-table .profile-body th {
        font-size: 1.1em;
        padding-top: 0;
        padding-bottom: 5px;
    }
    .profile-table td {
        padding-top: 0;
        padding-bottom: 0;
        border-top: none;
        font-size: 1em;
    }
    .profile-table thead tr {
        display: block;
        border-bottom: none;
        padding: 0;
    }

    .profile-table .profile-title {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 15px;
    }
    .officer-data {
        margin: 120px auto;
    }
}
/* MAP */
.profile__map-container {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 42%;
    overflow: hidden;
}
.profile__map-container iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .profile__map-container {
        padding-bottom: 70%;
    }
}

/* ▼ HISTORY ▼------------------------------------------ */
.history {
    margin: 200px auto 100px;
    max-width: 1100px;
    padding: 35px 20px;
}
.history-data {
    max-width: 950px;
    margin: 40px auto 0 0;
    /* padding: 0 26px; */
}

/* TIMELINE */
.history-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 27% 1fr;
    gap: 0;
    padding-left: 26px;
    line-height: 1.6;
}
/* 縦線 */
.history-timeline::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 0;
    width: 2px;
    height: 100%;
    background-image: linear-gradient(
            to bottom,
            #4f889d 0%,
            #4f889d 50%,
            transparent 50%,
            transparent 100%
        ),
        linear-gradient(to bottom, #4f889d 0%, #4f889d 100%);
    background-size: 100% 10px, 100% 89%;
    /* 実線：全体の89%で終了 */
    background-repeat: repeat-y, no-repeat;
    mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
    /* 92%から透過 */
    z-index: 0;
}
/* マーカー */
.history-timeline dt::before {
    content: "";
    position: absolute;
    top: 0.8em;
    left: calc(-26px - 3px);
    width: 8px;
    height: 8px;
    background-color: #4f889d;
    border-radius: 50%;
    z-index: 2;
}

/* dt (年号 + 日付) */
.history-timeline dt {
    position: relative;
    font-size: 2.6em;
    padding-right: 25px;
    margin-bottom: 35px;
    z-index: 1;
    text-align: right;
}
/* dt span(日付) */
.history-timeline dt span {
    display: inline-block;
    width: 70px;
    font-size: 0.45em;
    font-weight: 500;
    margin-left: 55px;
}
/* dd */
.history-timeline dd {
    font-size: 1.25em;
    padding-top: 27px;
    margin-bottom: 35px;
    position: relative;
}
@media screen and (max-width: 1100px) {
    .history__inner {
        background-color: #fbfcfc;
    }
}

@media screen and (max-width: 970px) {
    .history-timeline {
        grid-template-columns: 1fr;
        padding-left: 25px;
    }
    /* 縦線 */
    .history-timeline::before {
        top: 4%;
        left: 14px;
    }
    .history-timeline dt {
        text-align: left;
        font-size: 40px;
        margin-bottom: 0;
        padding-right: 0;
        margin-top: 20px;
        margin-left: 15px;
    }
    .history-timeline dt span {
        margin-left: 26px;
        font-size: 18px;
    }
    .history-timeline dd {
        margin-bottom: 0;
        margin-left: 15px;
        padding-top: 5px;
        padding-bottom: 20px;
        font-size: 15px;
    }
    /* マーカー */
    .history-timeline dt::before {
        top: 40%;
        left: -29px;
    }
}
@media screen and (max-width: 768px) {
    .history-timeline dd {
        font-size: 15px;
    }
}

/* ▼ COMMENDATIONS ▼------------------------------------------ */
.commendations-section__title {
    margin-bottom: 35px;
}
.commendations__inner {
    margin: 0 auto;
    padding: 160px 20px 150px;
    background-color: #e9f0f3;
}

.commendations__list {
    margin: 0 auto;
    max-width: 1000px;
    width: 70%;
}

/* アイテム */
.commendations__item {
    padding: 25px 30px;
    border-bottom: 1px solid #97abb2;
    display: none; /* JSで5件だけ表示 */
}
.commendations__item:first-of-type {
    border-top: 1px solid #97abb2;
}
.commendations__meta {
    display: flex;
    gap: 2px 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    align-items: baseline;
}
.commendations__type,
.commendations__date {
    flex: 0 0 calc(20% - 10px);
    min-width: 100px;
}
.commendations__type {
    /* font-size: 20px; */
    font-size: clamp(16px, 2.3vw, 20px);
    font-weight: 600;
    line-height: 1.2;
}
.commendations__date {
    font-size: 18px;
}
.commendations__title {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 100px;
    font-size: 20px;
    line-height: 1.2;
}
.commendations__image img {
    width: 100%;
    max-width: 600px;
    display: block;
    border: 1px solid #ddd;
}
/* ボタン */
.commendations__more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
    margin: 60px 0 0;
    color: #4f889d;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.3s;
}
/* ライン */
.commendations__more-btn::before,
.commendations__more-btn::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #97abb2;
    display: block;
}
.commendations__more-btn::before {
    margin-right: 12px;
}
.commendations__more-btn::after {
    margin-left: 12px;
}
/* 矢印 */
.commendations__more-btn .arrow {
    position: relative;
    width: 1em;
    height: 1em;
}
.commendations__more-btn .arrow::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    border-top: solid 2px #4f889d;
    border-right: solid 2px #4f889d;
    z-index: 2;
    transform: rotate(135deg);
    transition: all 0.3s;
}

.commendations__more-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .commendations__inner {
        padding-top: 50px;
    }
    .commendations__list {
        width: 84%;
    }
    .commendations__type,
    .commendations__date {
        font-size: 14px;
    }
    .commendations__title {
        font-size: 15px;
    }
    .commendations__more-btn {
        font-size: 1em;
    }
    .commendations__more-btn .arrow::after {
        width: 9px;
        height: 9px;
    }
}
