@charset "utf-8";

/* _____________HEADER_____________ */
/*#lowerpage_top {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/company/company_top.jpg)no-repeat top center/100%;
}*/
#lowerpage_top {
    background: url(../images/company/pagetop.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}
.btn_sp{
    display: none;
}
#topmassege .photo {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#topmassege img {
    height: 412px;
    width: 620px;
    object-fit: cover;
}

#topmassege .text {
    position: relative;
    top: -30px;
    max-width: 920px;
    padding: 60px 60px 80px;
    margin: 0 auto;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.2);
}

#topmassege .text .title {
    font-size: 16px;
    font-weight: bold;
}

#topmassege .text ul {
    list-style: disc;
    padding-left: 2em;
}

#topmassege .text span {
    display: block;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
}
#topmassege .space {
    margin-top:10px;
}

/* _____________OURCOMPANY_____________ */
#ourcompany .Profile {
    max-width: 820px;
    width: 100%;
    margin: 5px auto 80px;
}

#ourcompany .Profile dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-bottom: 1px solid var(--black);
}

#ourcompany .Profile dt {
    width: 25%;
    background: #D1D1D1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--black);
}

#ourcompany .Profile dd {
    width: 75%;
    padding: 15px 10px;
    font-size: 14px;
    border-top: 1px solid var(--black);
}

#ourcompany .Profile ul li a {
    text-decoration: underline;
}


#ourcompany .Profile .code_point ul {
    list-style: disc;
    padding-left: 2em;
}

#ourcompany .Profile .office ul {
    padding-left: 2em;
}

#ourcompany .Profile .code_point p {
    font-weight: bold;
}

#ourcompany .guidance {
    max-width: 1000px;
    width: 100%;
    margin: auto;
}

#ourcompany .guidance .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px
}

#ourcompany .guidance .flex {
    gap: 50px;
    flex-direction: column;
}

#ourcompany .guidance .flex div.content {
    max-width: 420px;
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

#ourcompany .guidance .office_oomori {
    
}

#ourcompany .guidance .office_oomori img {
    height: auto;
    width: 100%;
}

#ourcompany .guidance .office_nagoya {
    display: flex;
    height: 100%;
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    background-size: 100% auto;
}

#ourcompany .guidance .office_nagoya img {
    height: auto;
    background-size: auto 450px;
    width: 100%;
    max-width: 670px;
    margin: 0 0 0 auto;
    position: relative;
    mask-image: linear-gradient(-90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, transparent);
}
.nagoayoffice{
    margin-top: 55px
}
.office_ad ul {
    list-style: disc;
    padding-left: 2em;
}
.office_infor{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:35px;
}
.office_map{
    width: 400px;
    height: 330px;
    overflow: hidden;
}
.office_ad .map_btn{
    padding-left: 0px
}
.office_ad{
    width: 400px;
}
.office_map img{
    width: auto;
    height: 330px;
}
#ourcompany .officetour:hover {
    opacity: 0.7;
    color: var(--black);
    font-weight: bold;
}

#ourcompany .officetourBanner {
    background-image: url(../images/company/company_officetour.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    height: 500px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 80px;
}

#ourcompany .officetourBanner p {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

#ourcompany .officetourBanner p span {
    background-color: var(--white);
    position: relative;
    padding: 10px 30px 10px 10px;
}

#ourcompany .officetourBanner p span::after {
    position: absolute;
    right: 10px;
    bottom: 15px;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--black);
    border-right: 2px solid var(--black);
    transform: rotate(45deg);
}

#ourcompany .grouplink {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    column-gap: 50px;
    margin-bottom: 55px
}

#ourcompany .groupcompany,
#ourcompany .ISBgroup {
    max-width: 500px;
    width: 100%;
    background: var(--white);
    font-size: clamp(14px,2vw,18px);
    font-weight: bold;
}

#ourcompany .groupcompany span,
#ourcompany .ISBgroup span {
    display: block;
    padding: 20px 0 20px 30px;
}

#ourcompany .groupcompany p span,
#ourcompany .ISBgroup p span {
    background-color: var(--white);
    position: relative;
    padding: 20px 0 20px 30px;
}

#ourcompany .groupcompany p span::after,
#ourcompany .ISBgroup p span::after{
    position: absolute;
    right: 30px;
    bottom: 28px;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--black);
    border-right: 2px solid var(--black);
    transform: rotate(45deg);
}

#ourcompany .groupcompany p span:hover:after,
#ourcompany .ISBgroup p span:hover:after  {
    border-color: var(--red);
}



/* _____________HISTORY_____________ */
.companyHistory__timelineBlock {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: relative;
}

.companyHistory__timelineBlockHead {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 160px;
    font-size: 42px;
    color: #9d9d9d;
    line-height: 1;
}

.companyHistory__timelineBlockHead::before {
    content: "";
    display: block;
    width: 0;
    height: 160%;
    position: absolute;
    top: 29px;
    left: 179px;
    border-left: 2px solid #9d9d9d;
    z-index: 1;
}

.companyHistory__timelineBlock:last-child .companyHistory__timelineBlockHead::before {
    border-left: none;
    content:none;
}

.companyHistory__timelineBlockBody {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 60px;
    width: 700px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    position: relative;
}

.companyHistory__timelineBlockBody a {
    text-decoration: underline;
}

.companyHistory__timelineBlockHead::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -37px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    border-radius: 100%;
    background: #9d9d9d;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .office_map{
        height: auto;
        max-width: 100%;
    }
    .office_ad{
        max-width: 100%
    }
    .office_map img{
        height: auto;
    }
    .office_ad .map_btn {
        display: flex;
        justify-content: center;
    }
    .office_infor{
        flex-direction: column;
        margin-top: 35px;
    }
    .btn_sp{
        display: block;
        margin-bottom: 55px
    }
    .btn_sp a{
        display: block;
        margin: 0px auto
    }
    .btn_pc{
        display: none !important;
    }
    #topmassege img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    #topmassege .text {
        position: static;
        padding: 20px;
        margin: 0 auto;
        box-shadow: none;
    }

    /* _____________OURCOMPANY_____________ */
    #ourcompany .Profile {
        width: 100%;
        margin: 5px auto 80px;
    }

    #ourcompany .Profile dl {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    #ourcompany .Profile dt {
        width: 100%;
        background: #D1D1D1;
        text-align: center;
        border-top: 1px solid #9d9d9d;
    }

    #ourcompany .Profile dd {
        width: 100%;
        padding: 15px 10px;
        font-size: 14px;
        border-top: none;
    }

    #ourcompany .Profile dd:last-child {
        border-bottom: 1px solid #9d9d9d;
    }

    #ourcompany .guidance {
        width: 100%;
        margin: auto;
    }

    #ourcompany .guidance .title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    #ourcompany .guidance .flex {
        display: block;
    }

    #ourcompany .guidance .flex div.content {
        max-width: 100vw;
        margin-bottom: 50px;
        display: block;
    }

    #ourcompany .guidance .flex div.content address {
        margin-top: 20px;
    }

    #ourcompany .guidance .flex div.content .btn {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    #ourcompany .guidance .office_oomori {
        height: auto;
        width: 100%;
        background-size: auto;
        background-color: var(--gray);
        object-fit: cover;
    }

    #ourcompany .guidance .office_oomori img {
        height: auto;
        width: 100%;
        position: static;
        mask-image: none;
        display: block;
        margin: 0 auto;
    }

    #ourcompany .guidance .office_nagoya {
        height: auto;
        width: 100%;
        margin: 0 auto;
        background-size: auto;
        background-color: var(--gray);
        object-fit: cover;
        display: block;
    }

    #ourcompany .guidance .office_nagoya img {
        height: auto;
        position: static;
        mask-image: none;
    }

    #ourcompany .officetourBanner {
        height: 210px;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 30px;
        margin-top: 30px;
    }

    #ourcompany .officetourBanner p {
        text-align: center;
    }

    #ourcompany .grouplink {
        display: flex;
        flex-direction: column;
    }

    #ourcompany .groupcompany {
        width: 100%;
        margin: 20px auto 0 auto;
    }

    #ourcompany .ISBgroup {
        width: 100%;
        margin: 20px auto 0 auto;
    }

    #ourcompany .groupcompany span {
        display: block;
        padding: 20px 0 20px 30px;
    }

    #ourcompany .groupcompany p span {
        background-color: var(--white);
        position: relative;
        padding: 20px 0 20px 30px;
    }

    #ourcompany .groupcompany p span::after {
        position: absolute;
        right: 30px;
        bottom: 28px;
        display: block;
        content: "";
        width: 12px;
        height: 12px;
        border-top: 2px solid var(--black);
        border-right: 2px solid var(--black);
        transform: rotate(45deg);
    }

    #ourcompany .groupcompany p span:hover:after {
        border-color: var(--red);
    }

    /* _____________HISTORY_____________ */
    .companyHistory__timelineBlock {
        display: block;
        padding: 20px 0;
        position: static;
    }

    .companyHistory__timelineBlockHead::before {
        border-left: none;
    }

    .companyHistory__timelineBlockHead:last-child:before {
        border-left: none;
    }

    .companyHistory__timelineBlockHead {
        font-size: 22px;
    }

    .companyHistory__timelineBlockBody {
        margin-top: 10px;
        margin-left: auto;
        width: 100%;
    }

    .companyHistory__timelineBlockBody a {
        text-decoration: underline;
    }

    .companyHistory__timelineBlockHead::after {
        display: none;
    }


}