@charset "utf-8";

/* -----------------------------------------------------------
    page-title-area
-------------------------------------------------------------- */
.page-title-area {
    background-image: url(../img/webp/page-title-company.webp);
}

/*-------------------------------------
    company
-------------------------------------*/
/* #wrapper {
    overflow: visible;
} */

#company .company-area {
    padding: 120px 0 100px;
}

#company .company-area .inner {
    width: clamp(1200px, 80%, 1400px);
}

#company .company-layout {
    display: flex;
    --gap: clamp(50px, 5vw, 100px);
    gap: var(--gap);
    align-items: flex-start;
}

#company .company-main {
    min-width: 0;
    width: calc(80% - var(--gap));
}

#company .company-section {
    container-type: inline-size;
}

#company .company-section.flex {
    display: flex;
    --gap: clamp(40px, 5vw, 80px);
    gap: var(--gap);
    align-items: center;
}

#company .company-section.flex .txt-wrap {
    width: calc(60% - var(--gap));
}

#company .company-section.flex .img-wrap {
    width: 40%;
    border-radius: 20px;
    overflow: hidden;
}

#company .company-section+.company-section {
    margin-top: 90px;
}

#company .company-section .cmn-h2-title {
    margin-bottom: 50px;
}

#company .company-section .cmn-h3-title {
    margin-bottom: 30px;
}

#company .disc-list+.cmn-h3-title,
#company .business-btn-list+.cmn-h3-title {
    margin-top: 60px;
}

/* #company .company-section[id],
#company .company-section .cmn-h3-title[id] {
    scroll-margin-top: 140px;
} */

#company .company-section .catch {
    font-size: clamp(2.4rem, 3cqw, 3.6rem);
}

#company-message .basic-txt {
    font-size: 1.8rem;
    line-height: 1.8;
}

#company-message .basic-txt+.basic-txt {
    margin-top: 20px;
}

#company .company-mv-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 50px;
}

#company .company-mv-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#company .business-btn-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
}

#company .business-btn-item {
    width: calc((100% - 30px) / 2);
}

#company .business-btn-item a {
    display: flex;
    align-items: center;
    padding: clamp(20px, 1.5vw, 40px) 0;
    border-bottom: 1px solid #ddd;
    gap: 5%;
    color: var(--navy);
    position: relative;
    container-type: inline-size;
}

#company .business-btn-item a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 1px;
    background-color: var(--main);
    bottom: -1px;
    right: 0;
    position: absolute;
    transform: all .8s;
}

#company .business-btn-item .business-img {
    width: 35%;
}

#company .business-btn-item .business-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#company .business-btn-item .business-txt {
    position: relative;
    width: 60%;
    padding-right: 30px;
}

#company .business-btn-item .business-txt::after {
    content: "\f061";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    font-size: 1.5rem;
    color: var(--blue);
}

#company .business-btn-item .business-name {
    font-size: clamp(2.2rem, 5.2cqw, 3.0rem);
    /* text-align: center; */
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .03em;
}

#company .business-btn-item .business-catch {
    /* text-align: center; */
    font-size: clamp(1.5rem, 3.3cqw, 2.0rem);
    font-weight: 600;
    color: var(--cmnblack);
    line-height: 1.4;
    margin-top: 10px;
    letter-spacing: 0;
}

#company .business-btn-item .cmn-arrow {
    right: 20px;
    bottom: 20px;
    position: absolute;
}

#company .table-wrap {
    --gap: 5%;
    display: flex;
    align-items: flex-start;
    gap: var(--gap);
}

#company .table-wrap .simple-table.half {
    width: calc((100% - var(--gap)) / 2);
}

#company .table-wrap .simple-table.half th {
    width: 100%;
    display: block;
    padding: 5px 0;
    font-weight: 700;
    font-size: 1.7rem;
}

#company .table-wrap .simple-table.half td {
    width: 100%;
    display: block;
    border-bottom: none;
    padding: 15px 0 25px;
    font-size: 1.7rem;
}

#company .table-wrap .simple-table .kome {
    font-size: 1.2rem;
    margin-top: 10px;
}


#company .table-wrap .simple-table .office-txt {
    font-size: 1.5rem;
    line-height: 1.8;
}

#company .table-wrap .simple-table .office-txt+.office-txt {
    margin-top: 20px;
}

#company .table-wrap .simple-table .office-txt .office {
    font-size: 1.8rem;
    color: var(--main);
    font-weight: 700;
    display: inline-block;
    width: 100%;
    margin: 0 0 5px;
}


#company .simple-table .icon-wrap {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 5px;
}

#company .simple-table .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: -.2rem;
}

#company .history-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 50px;
    margin: 60px 0 0;
}

#company .history-list li {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
}

#company .history-list li .year {
    font-size: 4.0rem;
    line-height: 1;
    width: 100px;
    font-weight: 400;
    color: var(--main);
}

#company .history-list li:not(:has(.year)) {
    padding-left: 171px;
}

#company .history-list li .circle {
    content: "";
    display: inline-block;
    /*position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 130px;*/
    width: 11px;
    height: 11px;
    background: var(--main);
    border-radius: 10px;
    z-index: 1;
    position: relative;
}

#company .history-list li .circle::before,
#company .history-list li .circle::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border: 5px solid var(--main);
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
    animation: ripple 2s linear infinite;
}

#company .history-list li .circle::after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

#company .history-list li::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: calc(100% + 55px);
    top: 50%;
    left: 135px;
    background: #ddd;
    position: absolute;
}

#company .history-list .no-line::after {
    display: none;
}

#company .history-list li .month {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--navy);
}

#company .history-list .history-txt {
    line-height: 1.7;
}

#company .access-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--navy);
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid var(--navy);
    padding: 2px 8px;
    font-size: 1.3rem;
    margin-left: 5px;
}

#company .access-btn .icon-wrap {
    width: initial;
    height: 15px;
    margin-right: 0;
    transition: all .3s;
}

#company .access-btn .icon-wrap img {
    object-fit: contain;
    vertical-align: top;
    transition: all .3s;
}

#company iframe {
    width: 100%;
    height: 400px;
    margin-top: 50px;
}

#company .president-sign {
    text-align: right;
    margin-top: 40px;
}

#company .president-sign img {
    width: 266px;
}

#company .group-txt-figure-wrap {
    display: flex;
    /* align-items: center; */
    gap: 5%;
}

#company .group-txt-figure-wrap .group-txt {
    width: 60%;
}

#company .group-txt-figure-wrap .figure-wrap {
    width: 35%;
    margin-top: -130px;
    position: relative;
}

#company .about-link-wrap {
    position: relative;
    width: 100%;
}

#company .about-link-wrap img {
    width: 100%;
    object-fit: contain;
}

#company .figure-link {
    position: absolute;
    width: 54%;
    height: auto;
    aspect-ratio: 1/1;
    /* background: red; */
    border-radius: 200px;
}

#company .figure-link.dovox {
    left: 0;
    bottom: 0;
}

#company .figure-link.nagai {
    right: 0;
    bottom: 0;
}

#company .group-btn-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 5%;
    padding: 30px 0;
}

#company .group-btn-item:not(:first-child) {
    border-top: 1px solid #ddd;
}

#company .group-btn-list+.section-title {
    margin-top: 80px;
}

#company-group .section-title {
    margin-bottom: 0;
}

#company .group-img {
    width: 35%;
}

#company .h4-title {
    margin-bottom: 0;
}

#company .h4-title::before {
    width: 100%;
}

#company .group-txt {
    width: 60%;
    container-type: inline-size;
}

#company .group-txt .btn-more {
    margin-top: 30px;
}

#company .group-txt .group-name {
    font-size: clamp(2.1rem, 4.3cqw, 3.6rem);
    font-weight: 600;
    margin: 0 0 15px;
    color: var(--main);
}

#company .access-block {
    display: flex;
    gap: 5%;
    flex-wrap: wrap;
    align-items: flex-start;
}

#company .access-block+.access-block {
    margin-top: 100px;
}

#company .access-block .access-img {
    width: 45%;
}

#company .access-block .access-txt {
    width: 50%;
    container-type: inline-size;
}

#company .access-block .h4-title {
    font-size: clamp(2.4rem, 6cqw, 3.6rem);
    margin: 0 0 20px;
}

#company .access-block .btn-more {
    margin-top: 30px;
}

#company .access-block .access-detail-box {
    width: 100%;
}

#company .access-block .access-detail-box table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#company .access-block .access-detail-box th {
    width: 80px;
    text-align: left;
    padding: 20px 0;
    color: var(--blue);
    border-bottom: 1px solid #C3D8E9;
    line-height: 1.6;
}

#company .access-block .access-detail-box td {
    padding: 20px 0;
    border-bottom: 1px solid #C3D8E9;
    line-height: 1.6;
}

/*ナビ*/
#company .company-side-nav-wrap {
    position: relative;
    position: sticky;
    top: 200px;
    width: 20%;
    /* container-type: inline-size; */
}

#company .company-side-nav-toggle {
    display: none;
}

#company .company-side-nav-list,
#company .company-side-nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* #company .company-side-nav-list>li+li {
    margin-top: 30px;
} */

#company .company-side-parent {
    display: block;
    position: relative;
    padding: 20px;
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--border2);
}

#company .company-side-parent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 3px;
    font-size: 0.7em;
}

#company .company-side-nav-list>li>ul li a {
    display: block;
    position: relative;
    padding: 13px 0 13px 40px;
    border-bottom: 1px solid var(--border2);
    color: var(--main);
    font-size: clamp(1.5rem, 6.2cqw, 1.8rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    font-size: 1.5rem;
}

#company .company-side-nav-list>li>ul li a::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--blue);
}

@media screen and (min-width: 769px) {
    #company .business-btn-item a:hover .business-txt::after {
        transform: translate(10px, -50%);
    }

    #company .business-btn-item a:hover::after {
        width: 100%;
        left: 0;
    }

    #company .access-btn:hover {
        background-color: var(--navy);
        color: #fff;
    }

    #company .access-btn:hover .icon-wrap img {
        filter: brightness(0) invert(1);
    }

    #company .access-btn:hover .icon-wrap svg,
    #company .access-btn:hover .icon-wrap svg * {
        fill: #fff;
        stroke: #fff;
    }
}

@media screen and (max-width: 768px) {
    #company .company-area {
        padding: 10vw 0 0;
    }

    #company .company-area .inner {
        width: 100%;
    }

    #company .company-main {
        min-width: 0;
        width: 100%;
    }

    #company .company-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #company .company-section+.company-section {
        margin-top: 0;
    }

    #company .company-section {
        padding: 10vw 5vw;
        position: relative;
        z-index: 0;
    }

    #company .company-section:nth-child(odd) {
        background-color: var(--pale-main);
    }

    #company .company-section .cmn-h2-title {
        margin-bottom: 20px;
    }

    #company .company-section .catch {
        font-size: clamp(2.0rem, 6cqw, 3.0rem);
    }

    #company .company-section.flex {
        --gap: 5vw;
        align-items: flex-start;
    }

    #company .company-section.flex .img-wrap {
        border-radius: 10px;
    }

    #company .company-mv-wrap {
        width: 100%;
        /* height: 40vw; */
        border-radius: 10px;
        margin: 0 0 10vw;
    }

    #company .disc-list+.cmn-h3-title,
    #company .business-btn-list+.cmn-h3-title {
        margin-top: 10vw;
    }

    #company .business-btn-list {
        gap: 0;
    }

    #company .business-btn-item .ill-wrap {
        height: 25vw;
        margin: 0 0 5vw;
    }

    #company .business-btn-item .service-catch {
        font-size: clamp(1.3rem, 4cqw, 1.7rem);
        line-height: 1.5;
        margin: 0 0 10px;
    }

    #company .business-btn-item {
        width: 100%;
    }

    #company .business-btn-item a {
        padding: 4vw 0;
    }

    #company .business-btn-item .service-name {
        font-size: clamp(1.5rem, 4.6cqw, 2.0rem);
        letter-spacing: 0;
    }

    #company .business-btn-item .cmn-arrow {
        right: 10px;
        bottom: 10px;
    }

    #company .history-list {
        gap: 20px;
        margin: 30px 0 0;
    }

    #company .history-list li {
        gap: 0;
        align-items: flex-start;
    }

    #company .history-list li .year {
        font-size: 2.4rem;
        width: 18vw;
        flex-shrink: 0;
    }

    #company .history-list li .month {
        font-size: 1.8rem;
        display: inline-block;
        margin: 0 10px;
        flex-shrink: 0;
        line-height: 1.5;
    }

    #company .history-list li .circle {
        width: 7px;
        height: 7px;
        flex-shrink: 0;
        margin-top: 9px;
    }

    #company .history-list li .circle::before,
    #company .history-list li .circle::after {
        border: 2px solid var(--main);
        animation: ripple 1.5s linear infinite;
    }

    #company .history-list li:not(:has(.year)) {
        padding-left: calc(18vw + 7px);
    }

    #company .history-list li::after {
        height: calc(100% + 20px);
        left: calc(18vw + 3px);
        top: 10px;
    }

    /*ナビ*/
    #company .company-side-nav-wrap {
        order: -1;
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
        width: calc(100% - 10vw);
        margin: 0 auto 10vw;
        box-shadow: 0 0 20px rgba(0, 0, 0, .2);
        z-index: 150;
    }

    #company .company-side-nav-toggle {
        display: block;
        width: 100%;
        padding: 14px 40px 14px 16px;
        border-radius: 5px;
        background: var(--blue);
        color: #fff;
        font-size: 1.8rem;
        font-weight: 600;
        text-align: left;
        position: relative;
        border: transparent;
        font-family: var(--en);
        letter-spacing: .07em;
    }

    #company .company-side-nav-toggle.active {
        border-radius: 5px 5px 0 0;
    }

    #company .company-side-nav-toggle .accordion-icon,
    #company .company-side-nav-toggle .accordion-icon span {
        display: inline-block;
        transition: all .3s;
        box-sizing: border-box;
    }

    #company .company-side-nav-toggle .accordion-icon {
        position: absolute;
        width: 20px;
        height: 20px;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    #company .company-side-nav-toggle .accordion-icon span {
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #fff;
    }

    #company .company-side-nav-toggle .accordion-icon span:nth-of-type(1) {
        top: 10px;
        transform: rotate(0deg);
    }

    #company .company-side-nav-toggle.active .accordion-icon span:nth-of-type(1) {
        display: none;
    }

    #company .company-side-nav-toggle .accordion-icon span:nth-of-type(2) {
        top: 10px;
        transform: rotate(90deg);
    }

    #company .company-side-nav-toggle.active .accordion-icon span:nth-of-type(2) {
        transform: rotate(180deg);
    }

    #company .company-side-nav {
        display: none;
        position: static;
        padding: 5vw 5vw 30vw;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
        background-color: var(--pale-main);
    }

    #company .company-side-parent {
        font-size: 1.8rem;
    }

    #company .company-side-nav-list>li>ul li a {
        font-size: 1.5rem;
        padding: 12px 0 12px 40px;
        border-bottom: 2px dotted var(--border2);
    }

    #company .president-sign {
        margin-top: 5vw;
    }

    #company .president-sign img {
        width: 60vw;
    }

    #company .business-btn-item .business-name {
        font-size: clamp(1.8rem, 5.5cqw, 2.4rem);
    }

    #company .business-btn-item .business-catch {
        font-size: clamp(1.5rem, 4.3cqw, 1.8rem);
        margin-top: 5px;
    }

    #company .table-wrap {
        --gap: 0;
        flex-wrap: wrap;
    }

    #company .table-wrap .simple-table.half {
        width: 100%;
    }

    #company .table-wrap .simple-table.half td {
        padding: 15px 0 20px;
    }

    #company .access-btn {
        margin-left: 0;
        margin-top: 5px;
    }

    #company .group-txt-figure-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5vw;
        margin-top: 0;
        justify-content: center;
        flex-direction: column-reverse;
    }

    #company .group-txt-figure-wrap .group-txt {
        width: 100%;
    }

    #company .group-txt-figure-wrap .figure-wrap {
        width: 100%;
        margin-top: 0;
    }

    #company .about-link-wrap {
        width: clamp(300px, 80%, 500px);
        margin: 0 auto;
    }

    #company .group-btn-list+.section-title {
        margin-top: 12vw;
    }

    #company .group-btn-item {
        gap: 0;
        /* padding: 10vw 0; */
        flex-wrap: wrap;
    }

    #company .group-img {
        width: 100%;
        height: 50vw;
    }

    #company .group-txt {
        width: 100%;
    }

    #company .group-txt .btn-more {
        margin-top: 5vw;
    }

    #company .group-txt .group-name {
        font-size: clamp(2.1rem, 6.5cqw, 3.6rem);
        margin: 0 0 3vw;
    }

    #company .access-block-wrap {
        margin-top: 10vw;
    }

    #company .access-block {
        gap: 5vw;
    }

    #company .access-block+.access-block {
        margin-top: 15vw;
        justify-content: flex-start;
    }

    #company .access-block .access-img {
        width: 100%;
        order: 2;
    }

    #company .access-block .access-txt {
        width: 100%;
        display: contents;
    }

    #company .access-block .btn-more {
        margin: 0;
        order: 3;
    }

    #company .access-block .h4-title {
        font-size: clamp(2.4rem, 7.5cqw, 3.6rem);
        margin: 0 0 3vw;
        order: 1;
    }

    #company .access-block .access-detail-box {
        margin: 0;
        order: 3;
    }

    #company .access-block .access-detail-box th {
        width: 100%;
        padding: 3vw 0;
        display: block;
        line-height: 1.6;
    }

    #company .access-block .access-detail-box td {
        padding: 3vw 0;
        display: block;
        border-bottom: none;
        line-height: 1.6;
    }

    #company .access-block .basic-txt {
        order: 3;
    }

    #company iframe {
        width: 100%;
        height: 50vw;
        margin-top: 0;
        order: 3;
    }

}


/*-----------------------------------------------------------
    template
-----------------------------------------------------------*/

@media screen and (max-width: 768px) {}