@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 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(0,80px);
        transition: all 800ms;
    }
    /* 矢印 */
     
    .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-faq {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15%;
    font-family: ZenMaru;
}

.section-faq h2 {
    font-size: 2vw;
    color: #637777;
}
.section-faq h3 {
    font-size: 1.5vw;
    margin-bottom: 3%;
    margin-top: 5%;
    color: #637777;
}

.section-faq h3::after {
    content: url(../images/kusuri.png);
}

.toggle {
	display: none;
}
.Label {
    display: block;
	padding: 2%;
	color: #637777;
	background:#D1E2E2;

}

.content {		/*本文*/
	height: 0;
	margin-bottom: 1%;
	padding:0 2%;
	overflow: hidden;
}

.content p {
    color: #637777;
    white-space: pre-wrap ;
}

.toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	padding:2% ;
	transition: all .3s;
}
.toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}

.section-form:nth-child(1) {
    margin-top: 15%;
    padding: 5%;
    border: 2px solid #D1E2E2;
}

.section-form h2{
    width: 80%;
    font-size: 1.5vw;
    margin-bottom: 3%;
    font-family: ZenMaru;
    color: #637777;
}

.section-tel address {
    font-style: normal;
    font-size: 2.5vw;
    margin-bottom: 3%;
    color: #0353f3;
}

.section-tel p {
    font-size: 1.3vw;
    color: #637777;
}


.section-tel {
    margin-top: 10%;
    padding: 5%;
    border: 2px solid #D1E2E2;
}

.section-tel h2{
    width: 80%;
    font-size: 1.5vw;
    margin-bottom: 3%;
    font-family: ZenMaru;
    color: #637777;
}


.section-form {
    margin-top: 5%;
    padding: 5%;
    border: 2px solid #D1E2E2;
}

.section-form a {
    display: block;
    text-decoration: none;
    font-size: 2.5vw;
    line-height: 2;
    color: #0353f3;
    transition: 0.5s;
}

.section-form a:hover {
    color: #b5c200;
    transition: 1s;
}

.section-form p:nth-of-type(1) {
    font-size: 1.5vw;
    margin-left: 3vw;
    color: #637777;
}

.section-form p:nth-of-type(2) {
    font-size: 1.3vw;
    margin-top: 2%;
    color: #637777;
}


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

.SNS-icon {
    margin-top: 10%;
    margin-bottom: 10%;
    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
    }



