.about-top-section {
    text-align: center;
}

.about-top-section h2 {
    margin-bottom: 50px;
}

.about-catch {
    background: url(../images/recruit/top-catch-bg.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.about-catch p {
    line-height: 1.8;

}

.about-catch p:not(:first-of-type) {
    margin-top: 40px;
}

.message-content-wrap {
    display: flex;
    gap: min(3.82vw, 58px);
}

.message-img {
    max-width: 458px;
    width: 50%;
}

.message-img img {
    object-fit: cover;
}

.message-content {
    width: 50%;
}

.ceo-name {
    margin-bottom: 44px;
}

.ceo-name span {
    display: block;
    font-size: min(3.13vw, 28px);
    font-weight: bold;
    margin-top: 0.5em;
    color: #1D3450;
}

.message-catch {
    display: block;
    font-size: min(2.6vw, 24px);
    font-weight: bold;
    margin-bottom: 1.2em;
    line-height: 1.5;
}

.ceo-message p {
    line-height: 1.8;
}

.ceo-message p:not(:first-of-type) {
    margin-top: min(2.6vw, 40px);
}

.history-content {
    background: #ffffff;
    padding: min(5.86vw, 80px) min(5.86vw, 130px);
    border-radius: 26px;
    filter: drop-shadow(0 3px 6px #0000001a);
}

.history-wrap {
    position: relative;
}

.history-wrap::before {
    content: "";
    width: 2px;
    height: calc(100% - 16px);
    background-image: radial-gradient(circle, #F99D1C 1px, transparent 1px);
    background-size: 2px 6px;
    background-repeat: repeat-y;
    background-position: top center;
    position: absolute;
    top: 4px;
    left: 12em;
}

.history-wrap li {
    display: flex;
}

.history-wrap li span.history-time {
    color: #E08814;
    font-weight: 500;
    width: 12em;
    position: relative;
    flex-shrink: 0;
}

.history-wrap li span.history-time::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: #E08814;
    border-radius: 50%;
    position: absolute;
    top: 0.5em;
    right: 0;
    translate: calc(50% + 1px) -4px;
}

.history-wrap li .history-info {
    padding-left: 50px;
    padding-bottom: 40px;
}

.history-wrap li:last-of-type .history-info {
    border-left: none;
    padding-bottom: 0;
}

.history-wrap li span.history-title {
    display: block;
    font-size: 22px;
    margin-bottom: 0.8em;
    font-weight: 500;
}

/* PCでは折りたたまず全文表示するため非表示 */
.history-toggle-btn {
    display: none;
}

.access-wrap {
    display: flex;
    gap: 8%;
}

.access-info {
    width: 50%;
    text-align: center;
    font-size: 18px;
}

.access-wrap h3 {
    font-size: 20px;
    padding: 0 1em;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

.access-wrap h3::before,
.access-wrap h3::after {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    background: url(../images/recruit/schedule-ttl-icon.svg) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
}

.access-wrap h3::before {
    left: 0;
    translate: -100% -50%;
}

.access-wrap h3::after {
    right: 0;
    translate: 100% -50%;
}

.access-text {
    margin: 2em 0 1.5em;
}

.access-img {
    margin-top: 48px;
}

@media screen and (max-width:768px) {
    .about-catch p:not(:first-of-type) {
        margin-top: 20px;
    }

    .message-content-wrap {
        flex-direction: column;
        align-items: center;
    }

    .message-img {
        width: 100%;
        aspect-ratio: 1.8 / 1.1;
    }

    .message-content {
        width: 100%;
    }

    .ceo-name {
        margin-bottom: min(7.69vw, 44px);
    }

    .ceo-name span {
        font-size: min(6.15vw, 24px);
    }

    .message-catch {
        font-size: min(4.62vw, 18px);
        text-align: center;
    }

    .ceo-message p:not(:first-of-type) {
        margin-top: 20px;
    }

    .history-wrap::before {
        left: min(21.54vw, 112px);
        height: calc(100% - 30px);
    }

    .history-wrap li span.history-time {
        font-size: min(3.08vw, 16px);
        width: min(21.54vw, 112px);
        line-height: 1.5;
    }

    .history-wrap li .history-info {
        padding-left: 18px;
        padding-bottom: 30px;
        font-size: min(3.59vw, 16px);
    }

    /* 沿革が縦に長くなるため、初めは一部だけ表示しボタンで開閉する */
    .history-wrap-inner {
        position: relative;
        max-height: 360px;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .history-wrap-inner::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 90px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 80%);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .history-wrap-inner.is-open::after {
        opacity: 0;
    }

    .history-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 20px auto 0;
        padding: 0;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        background: none;
    }

    .history-toggle-icon {
        width: 20px;
        height: 20px;
        border-right: 2px solid #E08814;
        border-bottom: 2px solid #E08814;
        transform: rotate(45deg);
        margin-top: -4px;
        transition: transform 0.3s ease, margin-top 0.3s ease;
    }

    .history-toggle-btn[aria-expanded="true"] .history-toggle-icon {
        transform: rotate(225deg);
        margin-top: 4px;
    }

    .access-wrap {
        flex-direction: column;
        gap: 50px;
    }

    .access-wrap h3 {
        font-size: min(4.62vw, 20px);
    }

    .access-info {
        width: 100%;
        font-size: min(4.1vw, 18px);
    }

    .access-text {
        margin: 1em 0 1em;
    }

    .access-img {
        margin-top: 26px;
    }
}