@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}


@font-face {
    font-family:ZenMaru;
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Medium.ttf);
}

@font-face {
    font-family: NotoSans;
    src: url(../font/Noto_Sans_JP/static/NotoSansJP-Regular.ttf);
}


/* へっだーーーーー */

    /* へっだーよこならび */

    .header-flexbox {
        width: 100%;
        display: flex;
        padding-top: 1%;
        padding-left: 5%;
        padding-bottom: 1%;
        border-bottom: 0.2vw solid #80b1b1;
        position: fixed;
        z-index: 10;
        opacity: 0.9;
        background-color: #ffffff;
    }


    .navflex {
        width: 70%;
    }


    /* めいんろご */

    h1 {
        width: 13%;
        margin-left: 5%;        
    }

    header h1 img {
        width: 100%;
        padding-top: 1%;
        vertical-align: bottom;
    }

    header a {
        text-decoration: none; 
    }

    header h1 a p {
        margin-top: 1%;
        text-align: center;
        font-size: 1vw;
        color: #80b1b1;
    }

    section img {
        position: relative;

    }

    /* なび */

    nav {
        margin-left: 10%;
        position: absolute;
        width: 60%;
    }

    .rogo {
        display: block;
        margin-top: 0.5%;
        margin-left: 95%;
    }

    .rogo img {
        width: 40%;
        vertical-align: bottom;
        padding-right: -5%;
    }

    header ul li {
        width: calc( 100% / 6 );
    }

    header nav ul {
        margin-top: 2%;
        display: flex;
        list-style: none;
    }


    header ul li a {
        padding: 2%;
        padding-bottom: 2%;
        font-family: ZenMaru ;
        text-align: center;
        display: block;
        text-decoration: none;
        color: #5d7e7e;
        font-size: 1.1vw;
        border-left: 0.1vw solid #80b1b1;
        transition: 1s;
    }

    header ul .main-nav a:hover {
        padding: 9%;
        color: #ffffff;
        transition: 0.5s;
        background-color: #5d7e7e;
    }

    /* みょんってやつ */

    div nav ul .main-nav:nth-of-type(2):hover .seihin-flexbox {
        opacity: 1;
        height: 8vw;
    }
    .seihin-flexbox {
        width: 65%;
        height: 0vw;
        opacity: 0;
        transition: 1s;
        position: absolute;
        right: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5%;
        background-color: #ebebeb;
        z-index: -10;
    }

    .seihin-flexbox li {
        width: 50%;
    }

    div nav ul .main-nav:nth-of-type(3):hover .kigyo-flexbox {
        opacity: 1;
        height: 8vw;
    }

    
    .kigyo-flexbox {
        width: 65%;
        height: 0vw;
        opacity: 0;
        transition: 1s;
        position: absolute;
        right: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5%;
        background-color: #ebebeb;
        z-index: -10;
    }

    .kigyo-flexbox {
        width: 60%;
    }


    div nav ul .main-nav:nth-of-type(4):hover .saiyo-flexbox {
        opacity: 1;
        height: 8vw;
    }
    .saiyo-flexbox {
        width: 65%;
        height: 0vw;
        opacity: 0;
        transition: 1s;
        position: absolute;
        right: 35%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5%;
        background-color: #ebebeb;
        z-index: -10;
    }

    .saiyo-flexbox li {
        width: 50%;
    }

    div nav ul .main-nav:nth-of-type(5):hover .NEWS-flexbox {
        opacity: 1;
        height: 8vw;
    }
    .NEWS-flexbox {
        width: 65%;
        height: 0vw;
        opacity: 0;
        transition: 1s;
        position: absolute;
        right:15%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5%;
        background-color: #ebebeb;
        z-index: -10;
    }

    .NEWS-flexbox li {
        width: 50%;
    }

    
    div nav ul .main-nav:nth-of-type(6):hover .qa-flexbox {
        opacity: 1;
        height: 8vw;
    }
    .qa-flexbox {
        width: 65%;
        height: 0vw;
        opacity: 0;
        transition: 1s;
        position: absolute;
        right: 0%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5%;
        background-color: #ebebeb;
        z-index: -10;
    }

    .qa-flexbox li {
        width: 50%;
    }
    
    .ulbox a {
        font-size: 1.3vw;
    }


/* ふぇどいん */
.fadein.left {
    opacity: 0;
    transform: translate(-100px,0px);
    transition: all 800ms;
}

.fadein.right {
    opacity: 0;
    transform: translate(100px,0px);
    transition: all 800ms;
}
    
.fadein {
    opacity: 0;
    transform: translate(0,80px);
    transition: 800ms;
    }

.fadein.scrollin {
    opacity: 1;
    transform: translate(0,0);

}

/* めいんびじゅ */

    .section-main-visual img {
        width: 100%;
        vertical-align: bottom;
        transition: 1s;
    }

    .section-main-visual img:hover {
        opacity: 0.8;
        transition: 1s;
    }
    

    .section-main-visual p:nth-of-type(1) {
        width: 0;
        height: 4.5%;
        text-indent: 0.5em;
        opacity: 0;
        padding-bottom: 1%;
        position: absolute;
        bottom: 60%;
        left: 10%;
        font-family: ZenMaru;
        overflow: hidden;
        font-size: 2vw;
        color: #4765e9;
        background-color: rgba(255, 255, 255, 0.7);
        animation: 1s move linear forwards;
    }

    @keyframes move {
        0% {
        }
        100% {
            width: 32%;
            opacity: 1;
            padding-bottom: 1%;
            position: absolute;
            bottom: 60%;
            left: 10%;
            font-family: ZenMaru;
            font-size: 2vw;
            color: #4765e9;
            background-color: rgba(255, 255, 255, 0.7);
            animation: 1s move linear forwards;    }
    }

    .section-main-visual p:nth-of-type(2) {
        width: 0;
        height: 5%;
        padding-bottom: 1%;
        text-indent: 0.5em;
        position: absolute;
        bottom: 50%;
        left: 10%;
        font-family: ZenMaru;
        overflow: hidden;
        font-size: 2vw;
        color: #4765e9;
        background-color: rgba(255, 255, 255, 0.7);
        animation: 1s move2 linear forwards;
        animation-delay: 1.5s;
    }

    @keyframes move2 {
        0% {
        }
        100% {
            width: 24%;
            height: 5%;
            padding-bottom: 1%;
            opacity: 1;
            position: absolute;
            bottom: 50%;
            left: 10%;
            font-family: ZenMaru;
            font-size: 2vw;
            color: #4765e9;
            background-color: rgba(255, 255, 255, 0.7);
            animation: 1s move linear forwards;    }
        }


    .section-main-visual p:nth-of-type(3) {
        width: 0;
        height: 5%;
        text-indent: 0.5em;
        padding-bottom: 1%;
        position: absolute;
        bottom: 40%;
        left: 10%;
        font-family: ZenMaru;
        overflow: hidden;
        font-size: 2vw;
        color: #4765e9;
        background-color: rgba(255, 255, 255, 0.7);
        animation: 1s move3 linear forwards;
        animation-delay: 3s;
    }

    @keyframes move3 {
        0% {
        }
        100% {
            width: 36%;
            opacity: 1;
            height: 5%;
            text-indent: 0.5em;
            padding-bottom: 1%;
            position: absolute;
            bottom: 40%;
            left: 10%;
            font-family: ZenMaru;
            overflow: hidden;
            font-size: 2vw;
            color: #4765e9;
            background-color: rgba(255, 255, 255, 0.7);
            animation: 1s move linear forwards;    }
        }



    /* 矢印 */
     
    .fadein {
        margin-top: 5%;
        width: 15%;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
        transform: translate(0,80px);
        transition: 800ms;
       }

    .fadein.scrollin {
        opacity: 1;
        transform: translate(0,0);
    }
    
    .fadein img {
        width: 100%;
        vertical-align: bottom;

    }    
    
    /* 製品情報----------------------- */

    .section-seihin {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        font-family:ZenMaru;
    }

    .section-seihin .seihinbox {
        width: 50%;
        text-align: center;
        border-radius: 2vw 0vw 2vw 0vw;
        background-color: #D1E2E2;
    }

    /* お客様　医療 */
    .section-seihin .seihinbox h2 {
        font-size: 2vw;
        line-height: 2.5;
        color: #617F7E;
    }

    .section-seihin .seihinbox:nth-child(2) {
        margin-left: 3%;
    }

    /* せいひんにこ */

    .section-seihin {
        margin-top: 5%;
    }

    .section-seihin .seihinbox ul {
        display: flex;
    }

    .section-seihin .seihinbox ul li {
        width: 50%;
        list-style-type: none;
        background-color: #fff;
    }

    .section-seihin .seihinbox ul li a {
        display: block;
        width: 90%;
        margin-top: 4%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.3vw;
        text-decoration: none;
        line-height: 3;
        color: #46506f;
    }

    .section-seihin .seihinbox ul li a::after {
        display: block;
        width: 0%;
        height: 0.5vw;
        content: "";
        background-color:  #638294;
        transition: 0.8s;
    }

    .section-seihin .seihinbox ul li a:hover::after {
        display: block;
        width: 100%;
        height: 0.5vw;
        content: "";
        background-color:  #638294;
        transition: 0.8s;
    }

    .section-seihin .seihinbox a img {
        width: 100%;
        display: block;
        transition: 0.5s;
    }

    .section-seihin .seihinbox a img:hover {
        opacity: 0.7;
        transition: 0.5s;
    }

  /* にゅーす--------------------------------- */

.section-news {
    width: 85%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    font-family: ZenMaru;
}

.section-news h2 {
    line-height: 2.5;
    text-indent: 1em;
    font-size: 2vw;
    color: #617F7E;
    border-radius: 2vw 0vw 2vw 0vw;
    background-color: #D1E2E2;
}

.section-news ul  li{
    list-style-type: none;
}

.section-news ul li a {
    display: block;
    font-size: 1.5vw;
    line-height: 2.5;
    text-decoration: none;
    color: #617F7E;
    border-bottom: 0.5px solid#9e9e9e;
}

.section-news ul li a p {
    text-indent: 1em;
    font-family: ZenMaru;
}

.section-news ul li a p span{
    margin-right: 5%;
    transition: 0.3s;
}

.section-news ul li a p span:nth-child(2):hover {
    color: #859ae0;
    transition: 0.3s;
}

.section-news a:nth-child(3) {
    display: block;
    width: 10%;
    margin-top: 2%;
    margin-left: 89%;
    text-align: center;
    font-size: 1.8vw;
    text-decoration: none;
    color: #617F7E;
}

.section-news a:nth-child(3)::after {
    display: block;
    width: 0%;
    height: 0.5vw;
    content: "";
    transition: 0.7s;
}

.section-news a:nth-child(3):hover::after {
    display: block;
    color: #859ae0;
    width: 100%;
    height: 0.5vw;
    content: "";
    transition: 0.7s;
    background-color: #729291;
}

/* きぎょうじょうほう-------------------------------- */

/* きゃっちこぴー */
.catchcopy {
    width: 80%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

.catchcopy p {
    text-align: center;
    white-space: pre-wrap;
    font-family: ZenMaru;
    color: #3e3e3e;
}

.catchcopy p:nth-of-type(1) {
    font-size: 2.5vw;
}

.catchcopy p:nth-of-type(2) {
    margin-top: 2%;
    font-size: 1.5vw;
}

.hapa {
    width: 8%;
}

.hapa img {
    display: block;
    width: 100%;
}

.hapa img:nth-of-type(1) {
    margin-left: -270%;
    margin-top: -90%;
    transition: 1s;
}

.hapa img:nth-of-type(1):hover {
    transform: rotateY(360deg);
    transition: 1s;
}

.hapa img:nth-of-type(2) {
    margin-left: 265%;
    margin-top: -50%;
    transition: 1s;
}

.hapa img:nth-of-type(2):hover {
    transform: rotateY(360deg);
    transition: 1s;
}


/* あぼ～～～～と */

.section-kigyou {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    
}

.section-kigyou .aboutbox {
    background-color: #D1E2E2;
    padding-bottom: 2%;
    border-radius: 2vw 0vw 2vw 0vw;
}

.section-kigyou .aboutbox h2 {
    width: 80%;
    font-size: 3vw;
    line-height: 2;
    color: #617F7E;
    text-indent: 1em;
    margin-top: 13vw;
    font-family: ZenMaru;
}

.section-kigyou .aboutbox p {
    font-size: 2vw;
    color: #617F7E;
    text-indent: 2em;
    line-height: 1;
    font-family: ZenMaru;
}

.section-kigyou .about-flexbox {
    display: flex;
}

.section-kigyou .about-flexbox a {
    display: block;
    width: calc(100% / 3);
    height: 25vw;
    margin-top: 3%;
    text-align: center;
    text-decoration: none;
    background-color: #ebf3f3;
    border-radius: 12.5vw;
    transition: 1s;
}

.section-kigyou .about-flexbox a p {
    margin-top: 15%;
    color: #648585;
    font-size: 2vw;
    font-family: ZenMaru;
}

.section-kigyou .about-flexbox a:nth-child(2){
    margin-left: 3%;
    margin-right: 3%;
}

.about-icon-flexbox {
    top: 3%;
    display: flex;
    margin-left: 9%;
    width: 50%;
}

.about-flexbox a img {
    opacity: 0;
    transition: 1s;
}

.about-flexbox a:hover img {
    opacity: 1;
    transition: 1s;
}

.about-flexbox a img:nth-of-type(1) {
    width: 25%;
    margin-top: 10%;
    margin-left: 27%;
    vertical-align: bottom;
}

.about-flexbox a:nth-of-type(1) img:nth-of-type(2) {
    width: 25%;
    top: -53%;
    left: -65%;
    vertical-align: bottom;
}

.about-flexbox a:nth-of-type(2) img:nth-of-type(2) {
    width: 25%;
    top: -54%;
    left: 10%;
    vertical-align: bottom;
}

.about-flexbox a:nth-of-type(3) img:nth-of-type(2) {
    width: 25%;
    top: -54%;
    left: -62%;
    vertical-align: bottom;
    transform: rotateY(360deg);
}


/* sns----------------------------------------- */

.SNS-icon {
    margin-top: 10%;
    margin-bottom: 3%;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.sns-flexbox {
    display: flex;
}

.SNS-icon i { 
    margin-top: 5%;
    display: block;
    width: 10%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 3.5vw;
}

.SNS-icon p:nth-of-type(1) {
    text-align: center;
    line-height: 2;
    font-size: 2vw;
    font-family: ZenMaru;
    color: #648585;
}

.sns-flexbox i a 
{
    text-align: center;
    text-decoration: none;
}

.fa-line {
    color: #00B900;
    transition: 1s;
}

.fa-line:hover {
    color: #6de66d;
    transition: 1s;
}

.fa-square-instagram {
    color: #CF2E92;
    transition: 1s;
}

.fa-square-instagram:hover {
    color: #F26939;
    transition: 1s;
}

.fa-square-x-twitter {
    color: #0F1419;
    transition: 1s;
}

.fa-square-x-twitter:hover {
    color: #1DA1F2;
    transition: 1s;
}

footer {
    padding-top: 5%;
    background-color:#648585;
    font-family: NotoSans;
}

footer ul {
    display: flex;
}

ul div {
    width: calc(80% / 3);
    margin-left: 1.7%;
}

footer ul li {
    width: 50%;
    margin-top: 2%;
    margin-left: auto;
    text-align: center;
    list-style: none;
}

.footer-top {
    font-size: 1.5vw;
}

footer ul li a {
    padding: 2%;
    text-decoration: none;
    font-size: 1.1vw;
    color: #ececec;
    transition: 0.5s;
}

footer ul li a:hover {
    color: #fbff07;
    transition: 0.5s;
}

.happa2 {
    width: 5%;
    display: flex;
    position: relative;
}

.happa2 img {
    display: block;
    width: 100%;
}

.happa2 img:nth-of-type(1) {
    margin-left: 30%;	
    position:relative;
	top:0;
    transition: 0.5s;
}

.happa2 img:nth-of-type(1):hover {
    margin-left: 30%;
    top:-10px;
    transition: 0.5s;
}

.happa2 img:nth-of-type(2) {
    margin-left: 1740%;
    position:relative;
	top:0;
    transition: 0.5s;
}

.happa2 img:nth-of-type(2):hover {
    margin-left: 1740%;
    top:-10px;
    transition: 0.5s;
}




/* ふっだーーーー */

    footer {
        padding-top: 5%;
        background-color:#648585;
        font-family: NotoSans;
    }

    footer ul {
        display: flex;
    }

    ul div {
        width: calc(80% / 3);
    }

    footer ul li {
        width: 50%;
        margin-top: 2%;
        margin-left: auto;
        text-align: center;
        list-style: none;
    }

    .footer-top {
        font-size: 1.5vw;
    }

    footer ul li a {
        padding: 2%;
        text-decoration: none;
        font-size: 1.1vw;
        color: #ececec;
        transition: 0.5s;
    }

    footer ul li a:hover {
        color: #fbff07;
        transition: 0.5s;
    }

.form-janp-botan {
    display: flex;
    margin-top: 10%;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    padding: 2%;
}   


.form-janp-botan img {
    width: 50%;
    vertical-align: bottom;
    margin-top: -35%;
    z-index: -10;
}

.form-janp-botan a {
    width: 60%;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #648585;
    font-family: ZenMaru;
    transition: 0.5s;
}

.form-janp-botan .mail:hover {
    color: #80d8d8;
    transition: 1s;
}

.form-janp-botan .hirameki:hover {
    color: #80d8d8;
    transition: 1s;
}

.form-janp-botan a h3 {
    font-size: 2vw;
}

.form-janp-botan a p {
    font-size: 1.5vw;
}



/* こぴ～～らいと */
    footer small p {
        padding: 0.2% 0% 0.3% 0%;
        margin-top: 5%;
        line-height: 2.5;
        text-align: center;
        font-size: 1.1vw;
        font-family: ZenMaru;
        color: #ececec;
        background-color: #2f2c50
    }



