﻿#Profile .Top {
    background-image: url(../../_Image/company/banner_profile.jpg);
}

#Profile .Preface .Container {
    padding: 100px;
    width: clamp(10px, 100%, 1000px);
}

#Profile .MainText {
    background-color: #e9eaef;
    padding: 0 0 50px 0;
}

#Profile .MainText .Speech {
    padding: 100px;
    line-height: 600px;
}

#Profile .MainText .Speech .Img {
    display: inline-block;
    vertical-align: middle;
    line-height: 600px;
    width: 500px;
    /* height: 600px; */
    aspect-ratio: 5/6;
    background-image: url(../../_Image/company/president.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#Profile .MainText .Speech .Wapper {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 6%;
    width: calc(100% - 610px);
}

#Profile .MainText .Speech .Wapper .Signature {
    padding: 1.5em 0 0 0;
    text-align: right;
    line-height: 30px;
    color: #333;
}

#Profile .MainText .Speech .Wapper .Signature span {
    padding: 0 10px 0 0;
    display: inline-block;
}

#Profile .MainText .Speech .Wapper .Signature img {
    margin: auto auto -10px auto;
    display: inline-block;
    width: 140px;
}

#Profile .MainText .Set {
    position: relative;
    margin: 0 auto 150px auto;
}

#Profile .MainText .Set .Wapper {
    position: absolute;
    left: 50%;
    transform: translateX(-100%) translateY(50px);
    padding: 100px;
    width: 50%;
    background-color: #fff;
}

#Profile .MainText .Set .Wapper h2 {
    color: #000;
    font-size: 45px;
}

#Profile .MainText .Set .Img {
    float: right;
    width: 55%;
    height: 413px;
    background-image: url(../../_Image/company/philosophy-tw.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#Profile .MainText .Set:nth-child(3) .Img {
    background-image: url(../../_Image/company/advantage.jpg);
}

#Profile .MainText .Set:nth-child(3) .Wapper {
    left: auto;
    right: 50%;
    transform: translateX(100%) translateY(50px);
}

#Profile .MainText .Set:nth-child(3) .Img {
    float: left;
    height: 444px;
}

#Profile .Quality {
    position: relative;
    padding: 120px 0;
    color: #fff;
    background-image: url(../../_Image/company/quality.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

#Profile .Quality .Container {
    text-align: center;
}

#Profile .Quality .Container h2 {
    color: #fff;
}

#Profile .Quality .Container .Circle {
    display: inline-block;
    margin: 0 10px;
    padding: 120px;
    text-align: center;
    background-image: url(../../_Image/company/circle1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#Profile .Quality .Container .Circle span {
    font-size: 55px;
    line-height: 1.5em;
    font-weight: 500;
    white-space: nowrap;
}

#Profile .Quality .Container .Circle span:nth-child(3) {
    font-size: 18px;
    line-height: 3em;
    font-weight: 300;
}

#Profile .Quality .Container .Circle .Hr {
    transform: translateX(-25%);
    width: 200%;
    height: 1px;
    background: #fff;
    background: -moz-linear-gradient(left transparent 0%, #fff 50%, transparent 100%);
    background: -webkit-linear-gradient(left, transparent 0%, #fff 50%, transparent 100%);
    background: linear-gradient(to right, transparent 0%, #fff 50%, transparent 100%);
}

#Profile .Quality .Container .Circle:nth-child(3) {
    background-image: url(../../_Image/company/circle2.png);
}

#Profile .Quality .Container .Circle:nth-child(4) {
    background-image: url(../../_Image/company/circle3.png);
}

#Profile .Development {
    background-image: url(../../_Image/company/development.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#Profile .Development .Container {
    transform: translateX(50%);
    padding: 10vw;
    width: 50%;
}

#Profile .Development img {
    display: none;
}

@media screen and (max-width:1699px) {
    #Profile .Development .Container {
        padding: 170px 120px;
    }

    #Profile .MainText .Speech {
        padding: 100px;
    }

    #Profile .MainText .Set {
        padding: 0;
        width: calc(100% - 100px);
        transform: translateX(50px);
    }

    #Profile .MainText .Set:nth-child(3) {
        transform: translateX(-50px);
    }

    .Map .Container {
        padding: 0 120px;
    }
}

@media screen and (max-width:1439px) {
    #Profile .MainText {
        padding: 0 0 100px 0;
    }

    #Profile .MainText .Speech {
        padding: 80px;
    }

    #Profile .MainText .Speech .Wapper {
        width: calc(100% - 585px);
    }

    #Profile .MainText .Set,
    #Profile .MainText .Set:nth-child(3) {
        width: 100%;
        transform: translateX(0);
    }

    #Profile .MainText .Set .Wapper {
        padding: 6% 7%;
    }

    #Profile .MainText .Set .Wapper h2 {
        font-size: 40px;
    }

    #Profile .Development .Container {
        padding: 150px 80px;
    }

    .Map .Container {
        padding: 0 30px;
    }
}

@media screen and (max-width:1023px) {

    #Profile .MainText .Speech {
        padding: 80px 50px;
        line-height: unset;
    }

    #Profile .MainText .Speech .Img {
        /* width: 100%; */
        margin: auto;
        width: clamp(300px, 50%, 500px);
        /* height: 90.91vw; */
    }

    #Profile .MainText .Speech .Wapper {
        margin: 40px 0 0 0;
        width: 100%;
        /* width: calc(100% - 480px); */
    }

    #Profile .MainText .Set .Wapper h2 {
        padding: 0 0 10px 0;
        line-height: 55px;
    }

    #Profile .MainText {
        padding: 0;
    }

    #Profile .MainText .Set {
        margin: 0 auto;
    }

    #Profile .MainText .Set .Img,
    #Profile .MainText .Set:nth-child(3) .Img {
        float: none;
        margin: 0 0 0 50px;
        width: calc(100% - 50px);
        height: 50vw;
    }

    #Profile .MainText .Set .Wapper,
    #Profile .MainText .Set:nth-child(3) .Wapper {
        padding: 50px;
        width: calc(100% - 50px);
        position: static;
        left: 0;
        transform: translateX(0) translateY(-50px);
    }

    #Profile .Quality {
        padding: 50px 0;
    }

    #Profile .Quality .Container .Circle {
        margin: 0;
        padding: 100px 105px 105px 105px;
    }

    #Profile .Quality .Container .Circle span {
        font-size: 50px;
    }

    #Profile .Development .Container {
        padding: 100px 50px;
    }

    .Map .Container {
        padding: 0;
    }
}

@media screen and (max-width:767px) {
    .Body h3 {
        margin: 0 0 10px 0;
        padding: 0 0 0 24px;
        font-size: 20px;
        background-size: 17px;
    }

    p {
        margin: 10px 0 25px 0;
    }

    #Profile .Top {
        background-position: center top;
        background-image: url(../../_Image/company/banner_profile_m.jpg);
    }

    #Profile .Top .Container .BreadList,
    #Profile .Top .Container h2 {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    }

    #Profile .Preface .Container {
        padding: 9.3vw;
    }

    #Profile .Preface .Container h2,
    #Profile .MainText .Speech .Wapper h2 {
        font-size: clamp(24px, 5.25vw, 27px);
    }

    #Profile .MainText .Speech {
        padding: 50px 30px;
    }

    #Profile .MainText .Speech .Wapper h2 {
        padding: 5px 0 13px 0;
        line-height: 42px;
    }

    #Profile .MainText .Speech .Img {
        width: clamp(200px, 100%, 500px);
    }

    #Profile .MainText .Speech .Wapper .Signature img {
        width: 120px;
    }

    #Profile .MainText .Set .Wapper h2 {
        padding: 15px 0 10px 0;
        line-height: 55px;
    }

    #Profile .MainText .Set .Wapper h2 span {
        display: block;
    }

    #Profile .MainText .Set .Img,
    #Profile .MainText .Set:nth-child(3) .Img {
        margin: 0;
        width: 100%;
        height: 65vw;
        background-size: 150%;
    }

    #Profile .MainText .Set .Wapper,
    #Profile .MainText .Set:nth-child(3) .Wapper {
        margin: 0;
        width: 100%;
        transform: translateX(0) translateY(0);
    }

    #Profile .MainText .Set .Wapper,
    #Profile .MainText .Set:nth-child(3) .Wapper {
        padding: 50px 30px;
    }

    #Profile .Quality {
        background-position: 83% top;
    }

    #Profile .Quality .Container .Circle {
        margin: auto auto -10px auto;
        padding: 50px 55px;
    }

    #Profile .Quality .Container .Circle span {
        line-height: 38px;
        font-size: 26px;
    }

    #Profile .Quality .Container .Circle span:nth-child(3) {
        font-size: 15px;
    }

    #Profile .Quality .Container .Circle .Hr {
        transform: translateX(-10%);
        width: 120%;
    }

    #Profile .Development {
        background-image: none;
    }

    #Profile .Development::after {
        content: "";
        display: block;
        margin: -50vw auto auto auto;
        width: 100%;
        height: 110vw;
        background-image: url(../../_Image/company/development-m.jpg);
        background-size: cover;
        background-position: bottom center;
    }

    #Profile .Development .Container {
        transform: translateX(0);
        padding: 50px 30px;
        width: 100%;
    }

    .Map .Container {
        padding: 0 15px;
    }
}

@media screen and (max-width:374px) {
    #Profile .Preface .Container h2 {
        font-size: 150%;
    }
}