@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;
        top: 0;
        z-index: 10;
        opacity: 0.9;
        background-color: #ffffff;
    }


    .navflex {
        width: 70%;
    }


    /* めいんろご */

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

    header {
        position: relative;
        height: 30vw;
        background-size: 100% 100%;
        background-image: url(../images/seihinheder.jpg);
    }

    
    header h2 {
        width: 0%;
        position: absolute;
        text-indent: 1.5em;
        top: 65%;
        left: 5%;
        line-height: 2;
        overflow: hidden;
        opacity: 0;
        font-size: 2.5vw;
        background-color: #658789;
        color: #ffffff;
        font-family:ZenMaru;
        animation: 0.7s move linear forwards;
    }


    @keyframes move {
        0% {
        }
        100% {
            width: 35%;
            position: absolute;
            text-indent: 1.5em;
            top: 75%;
            left: 5%;
            opacity: 1;
            line-height: 2;
            overflow: hidden;
            font-size: 2.5vw;
            background-color:#658789;
            color: #ffffff;
            font-family:ZenMaru;
            }
    }

    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);

    }
    
    .fadein img {
        width: 100%;
        vertical-align: bottom;
    }    
    
  


/* りくるう～～～～と------------------------------------------------------------------------ */

main {
    font-family:ZenMaru;
}

main section:nth-of-type(1) {
    position: relative;
    margin-top: 5%;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

main section:nth-of-type(1) h2 {
    width: 30%;
    left: -8%;
    margin-top: -12%;
    font-size: 1.8vw;
    padding-left: 2%;
    position: absolute;
    line-height: 3;
    color: #486d6d;
    background-color: #D1E2E2;
    border: 2px solid #6B8A8A;
}

main section:nth-of-type(1) .seihin-box {
    margin-top: 20%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3%;
}

main section:nth-of-type(1) .seihin-box img {
    vertical-align: bottom;
    width: 100%;
    border-radius: 10px;
    box-shadow: 1px 1px 5px 1px #0F1419;
    transition: 0.5s;
}

main section:nth-of-type(1) .seihin-box img:hover {
    vertical-align: bottom;
    width: 100%;
    border-radius: 10px;
    box-shadow: 1px 1px 3px 1px #202020;
    opacity: 0.8;
    transition: 0.3s;
}

main section:nth-of-type(1) p {
    margin-top: 4.5%;
    text-align: center;
    font-size: 1.8vw;
    color:#202020;
}

.kusuri1setumei .image-description {
    text-align: center;
    margin-top: 5%;
}

.image-description {
    display: none;
}

main section:nth-of-type(2) h2 {
    width: 30%;
    margin-left: 8%;
    margin-top: 15%;
    font-size: 1.8vw;
    padding-left: 2%;
    line-height: 3;
    color: #486d6d;
    background-color: #D1E2E2;
    border: 2px solid #6B8A8A;
}


main section:nth-of-type(2) p {
    margin-top: 4.5%;
    text-align: center;
    font-size: 1.8vw;
    color:#296e6e;
}

main section:nth-of-type(2) p:nth-of-type(2) {
    margin-top: 2%;
    text-align: center;
    font-size: 1.5vw;
    color:#296e6e;
}



/* 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;
}


.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);
        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;
    }



/* こぴ～～らいと */
    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
    }



