/* css variable */
:root{
    --solutionImgWidth: 300px;
    --solutionImgHeight: 250px;
}

.container{
    border-radius: 60px;
}
#headerImg{
    background: url(../images/indexHeaderImg2_small.png) no-repeat top;
    background-size: cover;
}
#headerImg pre{
    text-align: center;
    color: white;
    font-size: 40px;
    display: block;
    width: 400px;
    height: 100px;
    line-height: 100px;
    position: absolute;
    top: 400px;
    background-color: rgba(170, 170, 170, 0.8);
    border-top-right-radius: 180px;
}
#home-slogan{
    text-align: center;
    padding: 60px 0;
}
#home-slogan h1{
    font-size: 40px;
}

#home-processPart h1,
#home-solutionPart h1,
#home-aboutPart h1{
    text-align: center;
    padding-top: 30px;
}

/* process part ----------------------------------------------------------------- */
#Item-process {
    height: 300px;
    padding: 0 50px;
}
#Item-process img{
    width: 300px;
    height: 250px;
    float: left;
    margin-right: 30px;
    border-radius: 20px;
}
#Item-process #process-more{
    display: block;
    text-align: right;
    font-size: 20px;
}
#Item-process #process-more-right{
    vertical-align: middle;
}

/* solution part ----------------------------------------------------------------- */
#home-solutionPart h1{
    margin-bottom: 30px;
}
ul{
    text-align: center;
}
.solutionItem{
    width:var(--solutionImgWidth);
    height: var(--solutionImgHeight);
    clip-path: polygon(75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%, 25% 0);
    z-index: 10;
}
#solutionR1C1{
    background: url("../images/工業控制相關_small.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionR1C2{
    background: url("../images/車用電子產品_small.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionR1C3{
    background: url("../images/solution_醫療美容系列_small.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionR2C1{
    background: url("../images/iotImg.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionR2C2{
    background: url("../images/逆向工程_small.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionR2C3{
    background: url("../images/軟體控制_small.jpg") no-repeat center;
    background-size: 300px 250px;
}
#solutionRow1 li,
#solutionRow2 li{
    display:inline-block;
}
table{
    margin: 0 auto;
}
.solutionLine{
    display: block;
    height: 2px;
    background-color: black;
    margin: 57px 0;
}
#solutionMiddleLine1,
#solutionMiddleLine3,
#solutionMiddleLine5{
    width: 275px;
}
#solutionMiddleLine2,
#solutionMiddleLine4{
    width: 80px;
}
#psText{
    color: darkred;
    margin-left: 50px;
    margin-top: 30px;
}
/* 排版位移 */
#home-solutionPart{
    margin-top: 30px;
}
#solutionR1C1, #solutionR2C1, #solutionMiddleLine1,
#solutionR1C3, #solutionR2C3, #solutionMiddleLine5{
    position: relative;
    bottom: 70px;
}
#solutionR1C1, #solutionR2C1{
    right: 15px;
}
#solutionR1C3, #solutionR2C3{
    left: 15px;
}
#solutionMiddleLine1{
    left: 45px;
}
#solutionMiddleLine2{
    transform: rotate(60deg);
    position: relative;
    left: 23px;
    bottom: 35px;
}
#solutionMiddleLine4{
    transform: rotate(-60deg);
    position: relative;
    right: 23px;
    bottom: 35px;
}
#solutionMiddleLine5{
    right: 45px;
}
/* hover時呈現 */
ul p{
    height: 250px;
    text-align: center;
    position: relative;
    top: 170px;
    background-color: rgba(106, 90, 205,0.4);
    color: rgba(32, 178, 170);
}
li a:hover p{
    background-color: rgba(106, 90, 205,1);
    color: lightseagreen;
    visibility: visible;
}

/* about part ----------------------------------------------------------------- */
#about-context{
    min-height: 400px;
}
#about-context img{
    width: 300px;
    height: 300px;
    float: right;
    margin: 0 50px;
}
#about-context p{
    margin-left: 50px;
}
