@charset "utf-8";
body{
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  
      margin: 0%; 
}
header{
    background-image: url(../images/afloimagemart_244454195.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: 0%;
    height: 250px;
}
/*navタブレット */
@media (min-width: 751px){
    .inner{
        display: flex;
        justify-content: space-around;
        align-items: center;
        min-height: 10vh;
        position: fixed;
        border: solid;
        border-color: #b0cde7;
        background-color: #b0cde7;
        border-radius: 0 0 20px 20px;
        margin-left: 34vw;
        z-index: 20;
    }
    .nav-links{
        display: flex;
        justify-content: space-around;
        width: 63vw;
        padding-left: 0;
        
    }
    .nav-links li{
        list-style: none;
    }
    .nav-links a{
        text-decoration: none;
        color: #333;
        font-weight: bold;

    }
}
/*nav*/
@media (max-width: 751px){
nav{
        font-size: 20px;
        line-height: 30px;
        display: block;
        width: 100%;
        position: fixed;
        background-color: #b0cde7;
        top: -500px;
        bottom: 0;
        z-index: 3;
        text-align: center;
        transition: all 0.5s;
        opacity: 0;
}
    .open nav{
        top: 0;
        opacity: 1;
    }
    
    nav .inner ul{
        list-style: none;
        padding: 25px;
    }
    nav .inner ul li{
        border-bottom: 1px solid #333333;
    }
    nav .inner ul li a{
        display: block;
        text-decoration: none;
        color: #333333;
        padding: 1rem;
        transition-duration: 0.4s;
    }
    nav .inner ul li a:hover{
        background-color: #e4e4e4;
    }
    .toggle-btn{
        display: block;
        position: fixed;
        top: 20px;
        right: 30px;
        width: 30px;
        height: 30px;
        z-index: 3;
        cursor: pointer;
    }
    .toggle-btn span{
        position: absolute;
        display: block;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333333;
        transition: all 0.5s;
        border-radius: 4px;
    }
    .toggle-btn span:nth-child(1){
        top: 4px;
    }
    .toggle-btn span:nth-child(2){
        top: 14px;
    }
    .toggle-btn span:nth-child(3){
        bottom: 4px;
    }
    .open .toggle-btn span:nth-child(1){
        transform: translateY(10px) rotate(-315deg);
    }
    .open .toggle-btn span:nth-child(2){
        transform: translateY(10px) rotate(-315deg);
        opacity: 0;
    }
    .open .toggle-btn span:nth-child(3){
        transform: translateY(-10px) rotate(315deg);
    }
}
@media (max-width: 751px){
    main{
        margin:5%;
        z-index: 1;
    }
    .message{
        margin: 0% 0% 0% 5%;
        padding:5% ;
        padding-bottom: 0%;
        padding-top: 0%;
        border: solid;
        border-color: #ececc6;
        background-color: #ececc6;
        border-radius: 50px;
        margin: auto;
    }
    .name-introduce{
        margin-top: -2%;
        margin-left: 8%;
        padding: 0%;
        z-index: 2;
        position: relative;
    }
    main img{
        display: block;
        margin: auto;
        margin-bottom: 5%;
    }
}
.staff h1{
    text-align: center;
    line-height: 250px;
    margin-top: 0%;
    margin-bottom: 0%;
    color:#b0cde7 ;
    font-size: 30px;
}
    
main img{
    border-radius: 200px;
}
/*タブレット*/
@media (min-width: 751px){
    main{
        margin: 5%;
        display: flex;
        z-index: 1;
        position: relative;
    }


    .message{
        margin: 0% 0% 0% 5%;
        padding:5% ;
        padding-bottom: 0%;
        padding-top: 0%;
        border: solid;
        border-color: #ececc6;
        background-color: #ececc6;
        border-radius: 50px;
    }
    .name-introduce{
        margin-top: -5%;
        margin-left: 8%;
        padding: 0%;
        z-index: 2;
        position: relative;
    }
}
.name-introduce span{
    background-color: #ecddc6;
    font-size: large;
    
}
.background{
    margin: 5%;
    margin-top: 20%;
    padding: 5%;
    border: solid;
    border-color: #ececc6;
    background-color: #ececc6;
    border-radius: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 5%;
    justify-items: center;
}
.background img{
    border-radius: 200px;
    
}

/*footer*/
footer{
    background-image: url(../images/afloimagemart_190365142.jpg);
    background-size: contain;
    
}
footer .fot{
    text-align: center;
    color: #F8B62D;
    border: solid;
    border-color: #fffaf0;
    background-color: #fffaf0;
    font-weight: bold;
    
}

footer .time{
    text-align: center;
    border: solid;
    border-radius: 70px;
    border-color:#fffaf0;
    margin: 5%;
    background-color: #fffaf0;
    padding: 0% 5% 5% 5%;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}
footer h2{
    border-bottom: solid;
    border-color: #333333;
    margin: 5% 20% 5% 20%;
    text-align: center;
    margin: 5%;
}
footer .week{
    text-decoration:underline wavy #F8B62D;
}
footer .telefone{
    font-size: 30px;
    font-weight: bold;
    color: #F8B62D;
}
footer .apointment{
    color: #F8B62D;
    font-size: 18px;
    font-weight: bold;
}