#firstview,
#greeting,
#mission,
#overview,
#contact {
    background-image: url(../img/bg_main.webp);
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 200%;
    padding-bottom: 100px;
}

.firstview_bg {
    background-image: url(../img/img_fv_key.webp);
    background-repeat: no-repeat;
    background-position: top 80px right 110px;
    padding-top: 186px;
}

.firstview_title {
    font-size: 4.8rem;
    font-weight: 500;
    letter-spacing: .1em;
    margin-bottom: 28px;
    position: relative;
    text-shadow: 0 0 10px #fff;
}

.firstview_title>span.highlight {
    position: relative;
}

.firstview_title ._pink {
    color: #cc3366;
}

.firstview_title ._blue {
    color: #3399cc;
}

.firstview_title>span.highlight::after {
    content: "\2022";
    display: block;
    font-size: 4rem;
    margin: auto;
    position: absolute;
    top: -30px;
    right: 0;
    left: 0;
    width: 12px;
}

.firstview_title .small {
    font-size: 3.6rem;
}

.firstview_logo {
    margin-bottom: 56px;
    max-width: 665px;
}

.firstview_lead {
    letter-spacing: .1em;
    margin-bottom: 60px;
    text-shadow: 0 0 10px #fff;
    width: 69%;
}

.firstview_list {
    display: flex;
    gap: 18px;
}

.firstview_list h3 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.firstview_list h3 span {
    background-color: #333;
    color: #fff;
    display: block;
    font-size: 2.4rem;
    font-weight: normal;
    position: relative;
}

.firstview_list h3 span::before,
.firstview_list h3 span::after {
    content: '';
    position: absolute;
}

.firstview_list>li:first-child h3 span::before {
    border-right: 12px solid #fff;
    border-bottom: 33px solid transparent;
    right: 0;
    top: 0;
}

.firstview_list>li:last-child h3 span::before {
    border-left: 12px solid #fff;
    border-bottom: 33px solid transparent;
    left: 0;
    top: 0;
}

.firstview_list>li:nth-child(2) h3 span::before {
    border-left: 12px solid #fff;
    border-top: 34px solid transparent;
    left: 0;
    top: 0;
}

.firstview_list>li:nth-child(2) h3 span::after {
    border-right: 12px solid #fff;
    border-top: 34px solid transparent;
    right: 0;
    top: 0;
}

.firstview_list p {
    padding: 0 12px;
}

#article {
    padding: 110px 0;
}

.article_titlearea {
    margin-bottom: 40px;
    position: relative;
}

.article_more {
    line-height: 1;
    position: absolute;
    right: 0;
    bottom: 0;
}

.article_list {
    display: flex;
    margin-bottom: 40px;
    gap: 18px;
}

.article_list>li {
    flex-basis: 25%;
}

.article_list figure {
    margin-bottom: 12px;
}

.article_txt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

#greeting {
    padding: 110px 0 40px;
}

.greeting_bg,
.mission_bg {
    background-image: url(../img/bg_member.webp);
    background-position-y: 100px;
    background-repeat: no-repeat;
    background-size: contain;
}

.common-list {
    display: flex;
    gap: 24px;
}

.common-list>li {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.common-list figure {
    position: relative;
}

.common-list figure.shadow {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
}

.common-list figcaption {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    letter-spacing: .1em;
    line-height: 39px;
    position: absolute;
    bottom: 54px;
    left: -15px;
    text-align: center;
    width: 230px;
}

.common-list figcaption::before {
    border-right: 16px solid #333;
    border-bottom: 10px solid transparent;
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
}


.common-list_title {
    font-weight: bold;
    font-size: 3rem;
    padding: 16px 0 30px;
    text-align: center;
}

#mission .common-list_title {
    font-size: 1.8rem;
    height: 200px;
    text-align: left;
}

.common-list_stit {
    border-top: 1px solid #8f8f8f;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
}

.common-list_stit._top {
    border: none;
    margin-top: 0;
    padding-top: 0;
}

.common-list_txt,
.common-list_list>li {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.common-list_list {
    margin-bottom: 16px;
    padding-left: 1em;
}

.common-list_list>li {
    list-style: disc;
}

.common-list_sns,
.common-list_dl {
    text-align: center;
}

.common-list_dl,
.common-list_sns {
    margin-top: auto;
}

.common-list_dl {
    padding-top: 40px;
}

.common-list_sns_txt,
.common-list_dl_txt {
    font-size: 1.6rem;
    padding-bottom: 35px;
    position: relative;
}

.common-list_sns_txt span,
.common-list_dl_txt span {
    border-bottom: 16px solid #a6a6a6;
    margin: auto;
    position: absolute;
    bottom: 10px;
    right: 0;
    left: 0;
    width: 1px;
}

.common-list_sns_icon img {
    width: 50px;
}

#mission {
    padding: 40px 0 70px;
}

.mission_story_bg {
    background-color: #f8f8f8;
    padding: 110px 0;
}

.mission_story_head {
    margin-bottom: 48px;
}

.mission_story_head p {
    font-size: 2rem;
    line-height: 1.9;
    max-width: 760px;
}

.service-story {
    display: grid;
    gap: 24px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #d8d8d8;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    padding: 40px;
}

.service-card_num {
    color: #36c;
    font-size: 5.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
}

.service-card h3 {
    color: #333;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.service-card_copy {
    font-size: 1.7rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-card_btn {
    background-color: #36c;
    color: #fff;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 52px;
    min-width: 160px;
    text-align: center;
}

.service-card_btn:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .24);
    text-decoration: none;
}

.service-card_body {
    display: grid;
    gap: 24px;
}

.service-card_body h4 {
    border-left: 4px solid #36c;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-left: 12px;
}

.service-card_body p,
.service-card_body li {
    font-size: 1.6rem;
    line-height: 1.9;
}

.service-card_body ul {
    padding-left: 1.2em;
}

.service-card_body li {
    list-style: disc;
    margin-bottom: 6px;
}

#overview {
    background-size: 100%;
    padding-bottom: 0;
}

.overview_bg {
    background-color: #fff;
    background-image: url(../img/bg_company.webp);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    padding: 220px 0 0;
}

.overview_list {
    line-height: 1.8;
    padding-bottom: 120px;
}

.overview_list dl {
    display: flex;
}

.overview_list dt {
    border-top: 1px solid #8f8f8f;
    padding-top: 30px;
    flex: 0 0 270px;
}

.overview_list dd {
    border-top: 1px solid #ccc;
    flex-grow: 1;
    padding-top: 30px;
}

.overview_list>li:first-child dt,
.overview_list>li:first-child dd {
    border: none;
}

.overview_list>li {
    margin-bottom: 24px;
}

#contact {
    padding-bottom: 0;
}

.contact_bg {
    background-color: rgba(204, 204, 204, .3);
    padding: 180px 0 80px;
}

#recruitment {
    border-top: 5px solid #f7f7f7;
}

.index_list dd.select {
    cursor: pointer;
    position: relative;
}

.index_list dd.select::after {
    content: "\25BC";
    font-size: 1.8rem;
    position: absolute;
    top: 64px;
    right: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.common-list_sns_list {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.floating-consult {
    align-items: center;
    background-color: rgba(255, 255, 255, .96);
    border: 1px solid rgba(51, 153, 204, .28);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
    display: flex;
    gap: 14px;
    opacity: 0;
    padding: 14px 14px 14px 18px;
    pointer-events: none;
    position: fixed;
    right: 28px;
    bottom: 28px;
    transform: translateY(16px);
    transition: opacity .24s ease, transform .24s ease;
    z-index: 50;
}

.floating-consult.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-consult.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.floating-consult_text {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    white-space: nowrap;
}

.floating-consult_btn {
    align-items: center;
    background-color: #cc3366;
    color: #fff;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    min-width: 112px;
    padding: 0 20px;
    text-decoration: none;
}

.floating-consult_btn:hover {
    opacity: .82;
}

/* =============================================
デバイス対応
============================================= */
@media screen and (max-width: 1400px) {}

@media screen and (max-width: 834px) {
    .subtitle {
        font-size: 2.4rem;
    }

    #firstview {
        background-position: top center;
        background-size: cover;
        margin: 0;
        padding-bottom: 32px;
        position: relative;
    }

    .firstview_logo {
        margin-bottom: 0;
        position: absolute;
        top: 18px;
        left: 20px;
        width: 240px;
    }

    .firstview_bg {
        padding: 0;
        background-position: top 80px center;
        background-size: 400px;
    }

    .firstview_title {
        font-size: 2.2rem;
        letter-spacing: -.05em;
        line-height: 1.6;
        margin: 0 16px 16px;
        padding-top: 480px;
    }

    .firstview_title .small {
        font-size: 2rem;
    }

    .firstview_title>span.logo {
        top: 60px;
        width: 94.9%;
    }

    .firstview_title>span.highlight::after {
        font-size: 2.2rem;
        top: -20px;
    }

    .firstview_lead-outer {
        width: 100%;
    }

    .firstview_lead {
        margin: 0 0 32px;
        width: 100%;
    }

    .firstview_list {
        align-items: center;
        flex-direction: column;
        margin: auto;
        max-width: 500px;
    }

    .firstview_list h3 {
        font-size: 2rem;
    }

    .firstview_list h3 span {
        font-size: 1.8rem;
    }

    .common-list {
        flex-direction: column;
        gap: 40px;
    }

    .common-list>li {
        background-image: url(../img/bg_member.webp);
        background-position-y: 40px;
        margin: 0 -20px;
        background-size: auto 350px;
        background-repeat: no-repeat;
    }

    .common-list figure {
        margin: auto;
        width: 240px;
    }

    .common-list figure.common-list_sns_icon {
        width: initial;
    }

    .common-list_txt {
        margin: 0 18px 24px;
    }

    #article {
        padding: 64px 0;
    }

    .overview_list dl {}

    .overview_list dt {
        flex: 0 0 9em;
    }

    .overview_list dd {}

    #greeting {
        padding: 64px 0 48px;
    }

    .greeting_bg,
    .mission_bg {
        background: none;
    }

    .article_list {
        flex-wrap: wrap;
    }

    .article_list>li {
        flex: 0 0 calc(50% - 9px);
        width: calc(100% / 2);
    }

    .sectiontitle {
        font-size: 2.8rem;
    }

    .sectiontitle>span {
        font-size: 2.4rem;
    }

    .common-list_title {
        font-size: 2rem;
        padding-right: 16px;
        padding-left: 16px;
    }

    #mission .common-list_title {
        font-size: 1.8rem;
        height: auto;
    }

    #mission section {
        margin: 0 16px;
    }

    #mission .mission_story_bg {
        padding: 64px 0;
    }

    #mission .mission_story_head {
        margin-bottom: 32px;
    }

    #mission .mission_story_head p {
        font-size: 1.6rem;
        line-height: 1.8;
    }

    #mission .service-card {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 0;
        padding: 28px 20px;
    }

    #mission .service-card_body section {
        margin: 0;
    }

    #mission .service-card_num {
        font-size: 4.2rem;
        margin-bottom: 12px;
    }

    #mission .service-card h3 {
        font-size: 2.6rem;
        margin-bottom: 14px;
    }

    #mission .service-card_copy,
    #mission .service-card_body p,
    #mission .service-card_body li {
        font-size: 1.5rem;
    }

    #mission .service-card_btn {
        line-height: 48px;
        width: 100%;
    }

    .common-list figcaption {
        font-size: 2rem;
        lin-height: 30px;
    }

    .index_list dd.select::after {
        top: 32px;
    }

    .contact_kiyaku {
        margin: 16px 0;
    }

    .overview_bg {
        background-color: #f8f8f8;
        background-size: 1000px;
        padding-top: 64px;
    }

    .contact_bg {
        padding-top: 64px;
    }

    .overview_list {
        padding-bottom: 48px;
    }

    .floating-consult {
        right: 16px;
        bottom: 16px;
        left: 16px;
        justify-content: space-between;
        padding: 12px;
    }

    .floating-consult_text {
        font-size: 1.2rem;
        white-space: normal;
    }

    .floating-consult_btn {
        flex: 0 0 auto;
        font-size: 1.4rem;
        min-height: 42px;
        min-width: 92px;
        padding: 0 14px;
    }
}

@media screen and (max-width: 640px) {}

@media screen and (max-width: 374px) {}
