@charset "UTF-8";

p {
    font-family: var(--font-gothic);
    font-weight: 300;
    font-size: 16px;
    line-height: 175%;
    letter-spacing: 2.5%;

}

img {
    width: 100%;
    height: auto;
}

.sp {
    display: none !important;
}


/* ------KV------ */
.page-kv--about-atfirst {
    background: url('/recruit/careers/about/atfirst/img/kv.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ------メインコンテンツ------ */
#page-about {
    background-color: var(--color-base);
    font-family: var(--font-gothic);
    overflow-x: clip;
}

.main__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    padding-bottom: 120px;
}

.main__read {
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 2.5%;
    color: var(--color-text);
    padding-top: 72px;
    padding-bottom: 50px;
}

/* ------アンカーリンク------ */
.anker-link__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.anker-link__item a {
    display: block;
    width: 244px;
    height: 58px;
    background-color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 2.5%;
    color: var(--color-text2);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    --arrow-inner-color: #ffffff;
    border-right: solid 1px #ECECEC;
    margin-bottom: 1px;
    padding-left: 16px;
}

.anker-link__item a:hover {
    background-color: var(--color-main);
    color: #ffffff;
    opacity: 1;
    --arrow-inner-color: var(--color-main);
}

.anker-link__item a:hover img {
    filter: brightness(0) invert(1);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    color: var(--color-main);
}

.anker-link__item a:hover .arrow-icon {
    color: #ffffff;
}

/* ------セクション------ */
.atfirst-section {
    width: 100%;
    margin: 0 auto;
    padding-top: 125px;
    padding-bottom: 135px;
    background-color: #ffffff;
}

#about-atfirst02,
#about-atfirst04 {
    background-color: #ECECEC;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    padding-bottom: 120px;
}

/* ------セクションタイトル------ */
.atfirst__section__title-area {
    width: 90%;
    max-width: 980px;
    display: flex;
    align-items: end;
    margin: 0 auto 69px;
}

.section__title {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 41px;
    line-height: 125%;
    letter-spacing: 2.5%;
    white-space: nowrap;
    gap: 8px;
    position: relative;

}

.section__title::before {
    content: url('/recruit/careers/about/img/section__title.svg');
    position: absolute;
    bottom: -5px;
    left: -35px;

}

.section__border {
    flex: 1;
    border-bottom: solid 1px var(--color-text);
    width: 100%;
    min-width: 20px;
}

.section__number {
    font-family: var(--font-sansSerif);
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 125%;
    color: var(--color-text2);
    letter-spacing: 0;
    padding-left: 8px;
}

.atfirst-section__inner {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    min-height: 212px;
    padding-bottom: 30px;
}

.atfirst-section__inner02 {
    display: flex;
    gap: 50px;
}

.atfirst-section__inner-left {
    max-width: 592px;
}

.atfirst-section__read-img {
    max-width: 328px;
}

.atfirst-section__read-title {
    font-weight: 600;
    font-size: 23px;
    line-height: 150%;
    letter-spacing: 2.5%;
    margin-bottom: 15px;
}

.atfirst-section__read-text01 {
    max-width: 855px;
}

.atfirst-section__read-deco {
    font-family: var(--font-sansSerif);
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(115, 135, 146, .2);
    writing-mode: vertical-rl;
    position: absolute;
    top: 0;
    right: 0;

}

/* ------年表------ */
.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    box-sizing: border-box;
}

/* 中央・左側の縦軸線 */
.timeline-axis {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e2e8f0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-axis::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translate(50%);
    width: 24px;
    height: 14px;
    background-color: #e5edf5;
    clip-path: polygon(0 0, 50% 100%, 100% 0, 50% 40%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    z-index: 2;
}

.timeline-node {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    z-index: 3;
    box-sizing: border-box;
    left: 50%;
    top: 45px;
    transform: translate(-50%, -50%);
}

.timeline-dashed-line {
    position: absolute;
    border-top: 3px dotted var(--color-accent);
    border-width: 4px 1px;
    height: 0;
    z-index: 2;
}

.timeline-year {
    font-family: var(--font-sansSerif);
    font-weight: 500;
    font-size: 34px;
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    font-weight: Medium;
    white-space: nowrap;
}

.timeline-card {
    background-color: rgba(211, 224, 231, .4);
    border-radius: 10px;
    padding: 22px 25px;
}

.timeline-card__title {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 2.5%;
    margin-bottom: 5px;
}

.timeline-card__text {
    color: var(--color-text2);
    font-weight: 300;
    font-size: 14px;
    line-height: 150%;
}

.timeline-item {
    display: flex;
    align-items: center;
}

.timeline-card__img {
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.timeline-card__img img {
    max-width: 136px;
}

.timeline-item--2001 {
    margin-top: -53px;
}

.timeline-item--2014 {
    margin-top: -68px;
}

.timeline-item--2019 {
    margin-top: -38px;
}

.timeline-item--2019 {
    position: relative;
}

.timeline-card__outside-img {
    max-width: 206px;
    position: absolute;
    bottom: -108px;
    left: 83px;
}

/* 右側に配置 */
.timeline-item.right {
    justify-content: flex-start;
    padding-left: calc(50% + 20px);
}

.timeline-item.right .timeline-year {
    text-align: center;
}

.timeline-item.right .timeline-card {
    width: 100%;
    margin-left: 100px;
}

.timeline-item.right .timeline-dashed-line {
    left: 50%;
    top: 43px;
    width: 118px;
}

/* 左側に配置 */
.timeline-item.left {
    justify-content: flex-end;
    padding-right: calc(50% + 20px);
}

.timeline-item.left .timeline-year {
    text-align: center;
}

.timeline-item.left .timeline-card {
    width: 100%;
    margin-right: 100px;
}

.timeline-item.left .timeline-dashed-line {
    right: 50%;
    top: 43px;
    width: 118px;
}

/* 分岐 */
.timeline-card--under {
    position: relative;
    margin-top: 12px;
}

.timeline-card--under::before {
    content: "";
    position: absolute;
    left: -55px;
    top: -104px;
    bottom: 60px;
    width: 40px;
    border-left: 3px dotted var(--color-accent);
    border-bottom: 3px dotted var(--color-accent);
    border-width: 1px 4px 4px;
}

@media (max-width: 976px) {
    .timeline-card--under::before {
        top: -124px;
    }
}

@media (max-width: 838px) {
    .timeline-card--under::before {
        top: -146px;
    }
}

@media (max-width: 781px) {
    .timeline-card--under::before {
        top: -171px;
    }
}

.timeline__closing-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 200%;
    text-align: center;
    color: var(--color-text2);
    margin-top: 22px;
}

.section__message {
    font-family: var(--font-mincho);
    font-weight: 500;
    font-size: 34px;
    margin-top: 78px;
    text-align: center;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .timeline-wrapper {
        padding-bottom: 1px;
    }

    .timeline-axis {
        left: 38px;
    }

    .timeline-axis-arrow {
        left: 38px;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 24px;
    }

    .timeline-item.right {
        padding: 0 0 0 58px;
        margin-bottom: 34px;
    }

    .timeline-item.left {
        padding: 0 0 0 58px;
        margin-bottom: 34px;
    }

    .timeline-card {
        padding: 16px 16px 14px 16px;
    }

    .timeline-card__title {
        font-size: 14px;
    }

    .timeline-card__text {
        font-size: 13px;
    }

    .timeline-year {
        position: absolute;
        top: -27px;
        left: 18px;
        font-size: 21px;
    }

    .timeline-node {
        left: 18px;
        top: 9px;
        transform: translateX(-50%);
    }

    .timeline-dashed-line {
        left: 27px !important;
        top: 15px !important;
        width: 28px !important;
        border-top: 2px dotted var(--color-accent);
        border-width: 2px 1px;
    }

    .timeline-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0;
        border-radius: 5px;
    }

    .timeline-card__outside-img {
        position: static;
        max-width: 141px;
        margin-top: 23px;
    }

    .timeline-item--2001 {
        margin-top: 0;
    }

    .timeline-item--2014 {
        margin-top: 0;
    }

    .timeline-item--2019 {
        margin-top: 0;
    }

    .timeline-item--2019 {
        flex-direction: column;
    }

    .timeline-card--under::before {
        border: none;
    }

    .timeline__closing-text {
        width: 90%;
        margin: 19px auto 0;
        font-size: 15px;
        text-align: start;
    }
}

.column__area {
    width: 90%;
    max-width: 980px;
    margin: 47px auto 0;
    background-color: #F8F8F8;
    padding: 64px 0 94px 60px;
}

.column__title {
    max-width: 349px;
    display: block;
    margin: 43px auto 29px;
}

.column__text {
    font-size: 17px;
    line-height: 250%;
    text-align: center;
    margin-bottom: 58px;
}

.column__img {
    max-width: 710px;
    height: auto;
    display: block;
    margin: 58px auto 0;
}

.business__wrapper {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding-top: 64px;
    padding-bottom: 21px;
    margin-top: 40px;
}

.business__titles {
    width: 87%;
    margin: 0 auto;
    border-left: 9px solid #3F68C0;
}

.business__sub-title {
    font-weight: 600;
    font-size: 17px;
    line-height: 150%;
    color: #0A2257;
    padding-left: 11px;
    margin-bottom: 4px;
}

.business__title {
    font-weight: 600;
    font-size: 25px;
    line-height: 125%;
    letter-spacing: 2.5%;
    color: #0A2257;
    padding-left: 11px;
    margin-bottom: 19px;
}

.business__text {
    width: 87%;
    margin: 0 auto;
}

.business__list {
    display: flex;
    flex-wrap: wrap;
    max-width: 670px;
    margin: 41px auto 47px;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.business__item-img {
    max-width: 118px;
}

.business__item-name {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
    text-align: center;
    margin-top: 10px;
}

.topics__area {
    background-color: rgba(63, 104, 192, .8);
    width: 90%;
    max-width: 938px;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 53px 61px 44px;
}

.topics__img {
    max-width: 184px;
}

.topics__title {
    margin-top: 36px;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    line-height: 125%;
    letter-spacing: 2.5%;
}

.topics__text {
    color: #ffffff;
    font-size: 13px;
    margin-top: 13px;
}

.topics__link,
.vision__link {
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2%;
    text-align: end;
    margin-top: 24px;
    display: block;
}

.topics__link::after,
.vision__link::after {
    content: url('/recruit/careers/about/atfirst/img/arrow.svg');
    padding-left: 6px;
}

.topics__link:hover,
.vision__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.business__titles--consumer {
    border-left: 9px solid #F6DE30;
}

.business__sub-title--consumer,
.business__title--consumer {
    color: #484008;
}

.business__list--consumer {
    width: 87%;
    display: flex;
    gap: 17px;
    margin: 43px auto;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.business-item--consumer{
    max-width: 200px;
}

.business__item-name--consumer {
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
    color: var(--color-text);
    margin-top: 10px;

}

.business__titles--mobile {
    border-left: 9px solid #35B869;
}

.business__sub-title--mobile,
.business__title--mobile {
    color: #0A5327;
}

.business__list--mobile {
    width: 87%;
    margin: 43px auto;
    justify-content: flex-start;
}

.point-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 47px;
    justify-content: center;
}

.point-item {
    width: 90%;
    max-width: 480px;
    background: #F8F8F8;
}

.point-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-main);
    color: #ffffff;
    padding: 8px 32px 8px 20px;
    font-family: sans-serif;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.point-label .label {
    font-family: var(--font-sansSerif);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
    padding-top: 2px;

}

.point-label .number {
    font-family: var(--font-sansSerif);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.point-inner {
    padding: 26px 45px 43px 45px;
}

.point-title {
    font-weight: 600;
    font-size: 23px;
    line-height: 125%;
    letter-spacing: 2.5%;
    color: var(--color-text);
    margin-bottom: 7px;
}

.point-sub-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 125%;
    letter-spacing: 0%;
    margin-bottom: 18px;
}

.point-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.point-list__item {
    background-color: #E2EBF0;
    color: var(--color-text2);
    font-weight: 600;
    font-size: 13px;
    line-height: 115%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 48px;
}

.point-text {
    font-size: 15px;
}

.point-inner img {
    margin-bottom: 26px;
}

.vision {
    max-width: 620px;
    height: 206px;
    margin: 47px auto 0;
    position: relative;
    display: block;
    color: inherit;
}
.atfirst-section__inner a{
    display: block;
    overflow: hidden;
}
.vision img {
    transition: transform 0.6s ease;
}

.vision:hover img {
    transform: scale(1.042);
}

.vision__link {
    position: absolute;
    bottom: 13px;
    right: 17px;
}

@media (max-width: 767px) {
    p {
        font-size: 15px;
    }

    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .page-kv--about-atfirst {
        background: url('/recruit/careers/about/atfirst/img/kv-sp.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .main__inner {
        padding-bottom: 40px;
    }

    .main__read {
        font-size: 15px;
        padding: 38px 0 40px;
    }

    /* ------アンカーリンク------ */
    .anker-link__list {
        gap: 3px;
        flex-wrap: wrap;
    }

    .anker-link__item a {
        width: 178.5px;
        height: 47px;
        background-color: var(--color-main);
        color: #ffffff;
        opacity: 1;
        --arrow-inner-color: var(--color-main);
        font-size: 14px;
        gap: 12px;
    }

    .arrow-icon {
        width: 14px;
        height: 14px;
        color: #ffffff;
    }

    .section__title-area {
        padding-left: 15px;
    }

    .section__title {
        font-size: min(6.92vw, 27px);
    }

    .section__title::before {
        content: url('/recruit/careers/environment/environment/img/section__title-sp.svg');
        position: absolute;
        bottom: -3px;
        left: -20px;
    }

    .section__number {
        padding-left: 6px;
        font-size: 14px;
    }

    .atfirst-section {
        padding: 70px 0;
    }

    .atfirst__section__title-area {
        margin: 0 auto 40px;
        padding-left: 15px;
    }

    .atfirst-section__read-title {
        font-size: 17px;
    }

    .section__message {
        font-size: 22px;
        margin-top: 60px;
    }

    .column__area {
        margin-top: 28px;
        padding: 27px 11px 45px 11px;
    }

    .column__title {
        max-width: 276px;
        margin: 34px auto 30px;
        display: block;
    }

    .column__title img {
        max-width: 276px;
    }

    .column__text {
        font-size: 15px;
        line-height: 200%;
        margin-bottom: 30px;
    }

    .atfirst-section__inner02 {
        flex-direction: column-reverse;
        gap: 25px;
        padding-bottom: 13px;
    }

    .atfirst-section__read-img {
        max-width: 243px;
        display: block;
        margin: 0 auto;
    }

    .business__wrapper {
        margin-top: 22px;
        padding-top: 32px;
        padding-bottom: 15px;
    }

    .business__titles {
        border-left: 6px solid #3F68C0;
    }

    .business__titles--consumer {
        border-left: 6px solid #F6DE30;
    }

    .business__titles--mobile {
        border-left: 6px solid #35B869;
    }

    .business__sub-title {
        font-size: 14px;
    }

    .business__title {
        font-size: 17px;
    }

    .business__text {
        font-size: 14px;
    }

    .business__list {
        gap: 15px;
        margin: 20px auto 31px;
    }

    .business__item-img {
        max-width: 92px;
    }

    .business__item-name {
        font-size: 11px;
        margin-top: 8px;

    }

    .topics__area {
        padding: 20px 20px 35px 15px;
    }

    .topics__top {
        display: flex;
        gap: 14px;
    }

    .topics__title {
        margin-top: 29px;
        font-size: 17px;
    }

    .topics__img {
        max-width: 99px;
    }

    .business__list--consumer {
        margin-top: 20px;
        gap: 12px;
    }

    .business-item--consumer {
        width: 43%;
        max-width: 149px;
    }

    .business__item-img--consumer {
        width: 100%;
        max-width: 149px;
    }

    .point-label {
        padding: 4px 21px 6px 8px;
        gap: 3px;
    }

    .point-label .label {
        font-size: 11px;
        font-weight: 500;
    }

    .point-label .number {
        font-size: 23px;
        font-weight: 700;
    }

    .point-item {
        max-width: none;
        width: 100%;
    }

    .point-inner {
        padding: 10px 25px 35px 25px;
    }

    .point-title {
        text-align: center;
        font-size: 20px;
    }

    .point-sub-title {
        text-align: center;
        line-height: 140%;
    }

    .point-list__item {
        font-size: 12px;
    }

    #about-atfirst02,
    #about-atfirst04 {
        padding-bottom: 70px;
    }

    #about-atfirst03 {
        padding-bottom: 40px;
    }

    #about-atfirst04 {
        padding-bottom: 10px;
    }

    .vision {
        background-image: url('/recruit/careers/about/atfirst/img/vision-sp.webp');
        background-repeat: no-repeat;
        margin-bottom: 75px;
        margin-top: 0;
        background-size: cover;
        width: 100%;
        background-position: center;
    }

    .business__list--mobile {
        width: 100%;
        justify-content: center;
    }

}