@charset "utf-8";
/* ============================
 * 
 *       medical / top
 *
 * ============================ */

/* ============================
 * 
 *     Responsive header
 *     (medical-new-com.css)
 *
 * ============================ */



/* ============================
 * 
 *   First View
 *
 * ============================ */

#medical-fv {
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 200;
    color: #666;
    background-color: #f9f9f5;
}

#medical-fv-wrap {
    position: relative;
    background-image: url(../../img/company/fv-company.jpeg);
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
    height: 0%;
    padding-top: 50%;
}

#medical-fv-vertical {
    position: absolute;
    top: 8em;
    font-weight: 200;
    letter-spacing: 0.8em;
    color: #fff;
}

#medical-fv-vertical p,
h1 {
    margin-left: 50px;
}

#medical-fv-ver-text1 {
    font-weight: 700;
    font-size: 400%;
    padding-left: 0.25em;
}

#medical-fv-ver-text1 span {
    letter-spacing: -0.05em;
}

#medical-fv-text1 ruby {
    line-height: 0em;
    padding: 0em;
}

#medical-fv-ver-text1 rt {
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: 0.25em;
    line-height: 0em;
}

#medical-fv-ver-text2 {
    font-size: 180%;
    line-height: 1.3em;
    margin-left: 1em;
}

#text3 {
    position: absolute;
    left: 4em;
    letter-spacing: 0.25em;
    padding: 3em 0 0 0;
}

#text3 p {
    margin-top: 1em;
}

.medical-fv-ver-text3 {
    position: relative;
    font-size: 120%;
    text-align: left;
    margin-bottom: 1em;
}

.medical-fv-ver-text3::before {
    position: absolute;
    top: 0.5em;
    left: -1.7em;
    display: inline-block;
    content: '';
    width: 0.7em;
    height: 0.7em;
    margin-bottom: 0em;
    background-color: #89c3eb;
    border-radius: 0.15em;
}

#medical-fv-horizontal {
    width: 80%;
    max-width: 50em;
    margin: 0 auto;

    text-align: center;
    letter-spacing: 0.6em;

    width: 100%;
    margin-top: 3em;
}

#medical-fv-hori-text {
    text-align: justify;
    font-size: 120%;
    text-align: left;
    line-height: 2em;
}

@media screen and (max-width: 960px) {
    #medical-fv-vertical {
        top: 2em;
        right: 1em;
        font-weight: 200;
        letter-spacing: 0.25em;
        color: #fff;

        right: inherit;
        left: inherit;
        width: 100%;
        text-align: center;
    }

    #medical-fv-wrap {
        position: relative;
        background-size: 100%;
        background-position: center center;
        background-repeat: no-repeat;
        text-align: center;
        height: 0%;
        padding-top: 50%;
    }

    #medical-fv-ver-text1 {
        font-size: 300%;
        padding-left: 0.25em;
    }

    #medical-fv-ver-text2 {
        font-size: 150%;
        line-height: 1.3em;
        margin-left: 1em;
    }

    #text3 {
        padding: 4em 0 0 0;
    }

    .medical-fv-ver-text3 {
        font-size: 100%;
    }
}

@media screen and (max-width: 499px) {
    #medical-fv-wrap {
        position: relative;
        background-size: 150%;
        background-position: left 60% top;
        background-repeat: no-repeat;
        text-align: center;
        height: 0%;
        padding-top: 112.5%;

        padding-top: 80%;
    }

    #medical-fv-vertical {
        top: 0.5em;
        right: 1em;
        font-weight: 200;
        letter-spacing: 0.5em;
        color: #fff;
        padding: 0.25em;

        letter-spacing: 0em;
        right: inherit;
        left: inherit;
        width: 100%;
        text-align: center;

        margin: 0;
    }

    #medical-fv-vertical p,
    h1 {
        margin-left: 0;
    }

    #medical-fv-ver-text1 {
        font-size: 220%;
        padding: 0em;
    }

    #medical-fv-ver-text1 span {
        letter-spacing: -0.25em;
    }

    #medical-fv-ver-text2 {
        font-size: 120%;
        line-height: 1.3em;
        margin-left: 1em;
    }

    #text3 {
        padding: 2em 0 0 0;
        left: 2.7em;
    }
}




/* ============================
 * 
 *   コンテンツ
 *
 * ============================ */

/**************
*
* 動画
*
***************/

.movie {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-top: 2em;
}

.movie iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}



/**************
*
* 品質方針
*
***************/

#page-title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 350%;
    font-weight: 700;
    line-height: 1.5em;
    margin-top: 3em;
}

#fv-bottom-link ul li:nth-child(3) a {
    font-weight: 700;
    color: #fff;
    background-color: #1d61ae;
    border: #1d61ae 2px solid;
}

#kec-quality-wrap {
    width: 100%;
    max-width: 60em;
    background: linear-gradient(45deg, #ebf6f7 0%, #c1e4e9 100%);
    padding: 5em 5em;
    margin: 0 auto;
}

@media screen and (max-width: 640px) {
    #kec-quality-wrap {
        padding: 3em 1em 2em;
    }
}

#quality-policy {
    width: 5em;
    text-align: center;
    font-size: 200%;
    font-weight: 700;
    color: #192f60;
    margin: 0 auto 1em;
    padding-bottom: 0.2em;
    border-bottom: #192f60 1px solid;
}

#quality {
    text-align: justify;
    font-weight: 700;
    font-size: 130%;
    line-height: 1.5em;
    color: #192f60;
}

#signature {
    text-align: right;
    font-size: 85%;
    margin-top: 2em;
}



/**************
*
* 主要製品
*
***************/

#main-products-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-products {
    width: calc(50% - 0.5em);
    color: #555;
    padding-bottom: 2em;
}

.main-products p {
    padding-left: 1.5em;
}

.main-products p:nth-child(1) {
    font-weight: 700;
    padding-left: 0em;
}


#products-link {
    width: 100%;
    text-align: center;
    margin-top: 4em;
}

#products-link a {
    color: #666;
    padding: 1em 2em;
    border: #666 1px solid;
    transition: 0.5s all;
}

#products-link a:hover {
    color: #fff;
    font-weight: 700;
    background-color: #007bbb;
    border: #007bbb 1px solid;
    border-radius: 4px;
}

@media screen and (max-width: 640px) {
    .main-products {
        width: 100%;
    }

}


/**************
*
* 沿革
*
***************/

.history-box {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
    border-bottom: #666 1px solid;
}

.history {
    font-size: 90%;
    padding: 1em 0;
    line-height: 1.5em;
}

.history:nth-child(1) {
    width: 9em;
    padding-left: 0.5em;
}

.history:nth-child(2) {
    width: calc(100% - 9em);
    padding-right: 0.5em;
    border-left: #666 0px solid;
}


@media screen and (max-width: 640px) {
    .history-box {
        width: 100%;
        padding: 1em 0;
    }

    .history {
        font-size: 100%;
        padding: 0;
        line-height: 1.7em;
    }

    .history:nth-child(1) {
        font-weight: 700;
        padding-left: 0.5em;
        padding-bottom: 0.2em;
    }

    .history:nth-child(2) {
        width: calc(100% - 0em);
        padding: 0 0.5em 0 1em;
        border-left: #666 0px solid;
    }
}


/* ============================
 * 
 *     footer
 *    medical-com.css
 *
 * ============================ */
