.service {
    padding: 30px 15px;
}

.service h1 {
    font-size: 2.250em;
    color: #333;
    line-height: 60px;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 10px;
}

.service h2 {
    font-size: 1.875em;
    color: #333;
    line-height: 65px;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.s-subtitle {
    font-size: 1.25em;
    color: #666;
    letter-spacing: 0.05em;
}

.s-subtitle span {
    font-weight: 900;
    padding: 0 4px;
}

.text-content {
    color: red;
    font-size: 1.250em;
}

/* s-block0 Start */

.s-block0 {
    padding: 50px 0;
}

/* s-block0 End */

/* s-block1 Start */

.s-block1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 30px 15px;
}

.s-block1.grey {
    background-color: #f9f9f9;
    border-radius: 8px;
}

.s-block1 img {
    float: left;
    width: 55%;
}

.img-1 {
    border: 20px rgba(0, 0, 0, 0.8) solid;
    padding: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.s-block1 .text-content {
    float: left;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 500px;
    padding: 0 15px;
}

.s-block1 img.img-right {
    float: right;
}

.ipad-border {
    border: 24px #000 solid;
    border-radius: 10px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

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

    .s-block1 img {
        float: none;
        width: 60%;
        display: block;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .s-block1 .text-content {
        float: none;
        width: 100%;
        display: block;
        height: auto;
        text-align: center;
    }

    .s-block1 img.img-right {
        float: none;
    }

}

/* s-block1 End */

/* s-block2 Start */

.s-block2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 100px;
}

.s2-img-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 700px;
    position: relative;
}

.s-block2 .pc-left {
    width: 40%;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 13%;
    top: 20%;
}

.s-block2 .pc-right {
    width: 40%;
    display: block;
    margin: 0 auto;
    position: absolute;
    position: absolute;
    right: 13%;
    top: 30%;
}

.s-block2 .text-content {
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .s2-img-box {
        height: 600px;
    }
}

@media screen and (max-width: 992px) {
    .s2-img-box {
        height: 500px;
    }
}

@media screen and (max-width: 767px) {
    .s2-img-box {
        height: 400px;
    }
}

/* s-block2 End */


/* s-block3 Start */

.s-block3 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 30px 15px;
}

.s-block3.grey {
    background-color: #fcfcfc;
    border-radius: 8px;
}

.s-block3 .sb3-img {
    float: left;
    width: 60%;
}

.s-block3 .sb3-img img {
    width: 80%;
    border: 20px rgba(0, 0, 0, 0.8) solid;
    padding: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.s-block3 .text-content {
    float: left;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 500px;
}

.s-block3 img.img-right {
    float: right;
}

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

    .s-block3 .sb3-img {
        width: 100%
    }

    .s-block3 img {
        float: none;
        width: 60%;
        display: block;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .s-block3 .text-content {
        float: none;
        width: 100%;
        display: block;
        height: auto;
        text-align: center;
    }

    .s-block3 img.img-right {
        float: none;
    }

}

/* s-block3 End */


/* 製作流程 Start */

.process-section {
    background-color: #fcfcfc;
    padding: 50px 0;
}

.process-list {
    list-style: none;
    text-align: center;
    margin: 50px 0 90px 0;

}

.process-list li {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 66px;
    text-align: center;
    font-size: 1.375em;
    color: #fff;
    font-weight: 900;
    padding: 14px 0 0 45px;
    letter-spacing: 0.1em;
    margin: 0 auto;
    margin-bottom: 12px;
    position: relative;
}

.process-list li span {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.750em;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 900;
    margin-bottom: 3px;
    position: absolute;
    top: 0;
    left: 20px;
}

.process-list li i {
    font-size: 0.625em;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.6)
}

.process-list li:nth-child(1) {
    background: url("/front/images/step1.png");
    background-size: cover;
    line-height: 50px;
    left: -150px;
}

.process-list li:nth-child(1) span {
    top: 0;
}

.process-list li:nth-child(2) {
    background: url("/front/images/step2.png");
    background-size: cover;
    line-height: 45px;
    left: -75px;
}

.process-list li:nth-child(2) span {
    top: 8px;
}

.process-list li:nth-child(3) {
    background: url("/front/images/step3.png");
    background-size: cover;
    line-height: 38px;
}

.process-list li:nth-child(3) span {
    top: 15px;
}

.process-list li:nth-child(4) {
    background: url("/front/images/step4.png");
    background-size: cover;
    line-height: 28px;
    left: 75px;
}

.process-list li:nth-child(4) span {
    top: 20px;
}

.process-list li:nth-child(5) {
    background: url("/front/images/step5.png");
    background-size: cover;
    line-height: 22px;
    left: 150px;
}

.process-list li:nth-child(5) span {
    top: 26px;
}

/* 製作流程 End */

/* Service Button Start */

a.s-btn {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 40px;
    border: 1px #85a4d0 solid;
    border-radius: 6px;
    text-align: center;
    line-height: 38px;
    letter-spacing: 0.05em;
    color: #85a4d0 !important;
    transition: all 0.3s;
    cursor: pointer;
}

a.s-btn:hover {
    background-color: #85a4d0;
    color: #fff !important;
}

/* Service Button End */

/* Service Form Start */

.s-title {
    text-align: center;
    color: #333;
}

/* Service Form End */

/* Works Start */

.works-section {
    padding: 50px 0;
}

/* Works End */

/* banner-slider Start */

.eborad-box {
    display: block;
}

.eb-content {
    float: left;
    padding: 10px;
    width: 20%;
}

.eborad-img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.eborad-box .eb-content:nth-child(1) {
    animation: CSSAnimationFadeIn1 0.6s ease-in-out 0.1s forwards;
    opacity: 0;
}

.eborad-box .eb-content:nth-child(2) {
    animation: CSSAnimationFadeIn1 0.6s ease-in-out 0.2s forwards;
    opacity: 0;
}

.eborad-box .eb-content:nth-child(3) {
    animation: CSSAnimationFadeIn1 0.6s ease-in-out 0.3s forwards;
    opacity: 0;
}

.eborad-box .eb-content:nth-child(4) {
    animation: CSSAnimationFadeIn1 0.6s ease-in-out 0.4s forwards;
    opacity: 0;
}

.eborad-box .eb-content:nth-child(5) {
    animation: CSSAnimationFadeIn1 0.6s ease-in-out 0.5s forwards;
    opacity: 0;
}

@keyframes CSSAnimationFadeIn1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* banner-slider End */


.h100px {
    height: 100px !important;
}

.h200px {
    height: 200px !important;
}

.h300px {
    height: 300px !important;
}

.h400px {
    height: 400px !important;
}

.h500px {
    height: 500px !important;
}

.works-name {
    text-align: center;
    color: #7a7a7a;
    font-size: 1.250em;
    line-height: 30px;
    letter-spacing: 0.05em;
    font-weight: 900;
    margin-top: 10px;
}

.mt5 {
    margin-top: 5% !important;
}

.services-works {
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}



/* 基本架構 開始 */

#ds_structure {
    background-color: #f9f9f9;
}

.architecture-box {
    width: 20%;
    margin: 0 auto;
    margin-bottom: 15px;
    float: left;
    margin-bottom: 20px;
    padding: 5px;
}

.architecture-content {
    padding: 20px 25px;
    min-height: 407px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.architecture-content img {
    width: 50%;
}

.architecture-box-title {
    font-size: 1.125em;
    letter-spacing: 0.05em;
    color: #1170b7;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0px;
    letter-spacing: 0.1em;
    font-weight: 900;
}

.architecture-box-title-span {
    color: #ccc;
    line-height: 20px;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
}

.architecture-box ul {
    padding: 0 10px
}

.architecture-box ul li {
    color: #888;
    line-height: 32px;
    text-align: center;
    width: 120px;
    margin: 0 auto;
}

.remark-text {
    color: #999;
    font-size: 1.125em;
    text-align: right;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 992px) {
    .architecture-box {
        width: 33.3%;
    }

    .architecture-content img {
        width: 30%;
    }

}

@media screen and (max-width: 767px) {
    .architecture-box {
        width: 100%;
    }

    .architecture-content {
        height: auto;
    }
}

.service .s-block0 {
    max-width: 1200px !important;
    font-size: 1.250em;
    color: #666;
}

/* 基本架構 結束 */

.s-subtitle {
    text-align: justify;
}

@media only screen and (min-width: 1px) and (max-width: 576px) {

    .service h1,
    .service h2 {
        font-size: 1.625em;
    }

    .s-subtitle {
        font-size: 1.125em;
    }

    .s-block0 {
        padding-top: 0px;
    }

    .s-block1 img {
        width: 100%;
    }

    .s2-img-box {
        height: 270px;
    }
}

@media only screen and (min-width: 1px) and (max-width: 767px) {

    .eb-content {
        width: 100%;
    }
}


/* 電子錶板作品 */

.eboard-works div {
    position: relative;
}

.eboard-works div:hover img {
    transition: all 0.3s;
}

.eboard-works div:hover img {
    filter: brightness(0.2);
}

.eboard-works div span {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: all 0.3s;
}

.eboard-works div:hover span {
    opacity: 1;
}

.gray-box {
    width: 50%;
    margin-left: 25%;
    height: 180px;
    background-color: #f3f3f3;
}

.gray-box::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 50%;
}

@media screen and (min-width: 768px) and (max-width: 979px) {
    .gray-box {
        width: 33%;
        margin-left: 33%;
        height: 180px;
    }

    .gray-box::after {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .gray-box {
        height: 0px;
    }

    .gray-box::after {
        display: none;
    }
}


/* 比較表格 */

.compare-table {
    width: 100%;
    border: 3px #ccc solid;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    table-layout: fixed;
    border-collapse: collapse;
    text-align: center;
}

.compare-table .top-th th:nth-child(1) {
    border-bottom: #ccc 3px dashed;
    background-color: #1170b7;
    color: #fff;
}

.compare-table .top-th th:nth-child(3) {
    border-bottom: #ccc 3px dashed;
    background-color: #009474;
    color: #fff;
}

.compare-table col.middle {
    width: 120px;
}

.compare-table col.auto {
    width: calc((100% - 120px) / 2);
}

.compare-table tr th,
.compare-table tr td {
    padding: 20px 10px;
    letter-spacing: 0.05em;
    font-size: 1em;
    border-bottom: #ccc 3px dashed;
    font-weight: 900;
    color: #555;
    position: relative;
}


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

    .compare-table col.middle {
        width: 100px;
    }

    .compare-table col.auto {
        width: calc((100% - 100px) / 2);
    }

    .compare-table tr th,
    .compare-table tr td {
        padding: 18px 8px;
        font-size: 1em;
    }
}

.compare-table tr th {
    text-align: center;
    background-color: #f3f3f3;
}

.compare-table tr td.t-l {
    border-bottom: 3px #1170b766 dashed;
    color: #1170b7;
}

.compare-table tr td.t-r {
    border-bottom: 3px #00947466 dashed;
    color: #009474;
}

.win1 {
    display: inline-block;
    width: 30px;
    height: 15px;
    background: url(../images/service/works/icon1.png) no-repeat center center;
    background-size: contain;
    position: relative;
    top: -15px;
    right: 0px;
    transform: rotate(30deg);
}

.win2 {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 30px;
    font-weight: 900;
    color: #db0202;
    border: 3px #db0202 solid;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(219, 2, 2, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(15deg);
    opacity: 0.7;
}


@media screen and (max-width: 767px) {
    .compare-table tr td {
        position: relative;
    }

    .win2 {
        position: absolute;
        top: -15px;
        left: -10px;
    }
}

.eboard-line-btn {
    display: block;
    width: 200px;
    height: 46px;
    line-height: 46px;
    border-radius: 5px;
    line-height: 46px;
    text-align: center;
    background-color: #00c300;
    color: #fff;
    margin: 0 auto;
    margin-bottom: 50px;
    font-weight: 900;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}


.eboard-line-btn:hover {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.eboard-line-btn img {
    width: 30px;
    margin-right: 5px;
    margin-bottom: 3px;
}