*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo{
    color: #642a73;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */

header{
    background-image: url("../img/portada.jpg");
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
 }
 
 header nav{
     height: 70px;
     background: #fff;
     display: flex;
     justify-content: space-between;
     box-shadow: 0 0 6px rgba(0, 0, 0, .5);
 }
 
 .icon{
     display: none
 }
 
 .links{
     display: flex;
     height: 100%;
     width: 40%;
     justify-content: space-around;
     align-items: center;
 }
 
 .links a{
 border-top: 1px solid transparent;
 border-bottom: 1px solid transparent;
 padding: 4px 0;
 transition: 0.7 ease-out;
 text-decoration: none;
 color: rgb(85, 84, 84);
 font-size: 15px;
 }
 
 .links a:hover, .active{
    border-top: 1px solid #4d0686;
    border-bottom: 1px solid #4d0686;
 }
 
 nav .logo{
    height: 100px;
    margin-left: 20px;
    align-items: center;
 }
 
 nav .logo img{
    object-fit: cover;
    height: inherit;
    height: 40px;
    margin-top: 15px;
    align-items: center;
    align-content: center;
 }
 
 header .text{
    text-align: center;
    color: #fff;
    margin-top: 150px;
 }
 
 header .text h1{
    font-size: 80px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 10px;
 }
 
 header .text h2{
    font-size: 40px;
    font-weight: 600;
 }



/* 医院の紹介 */
main .contenedor-about-us{
    padding: 30px 0 10px 0;
}
.contenedor-about-us{
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us{
    width: 40%;
    height: 100%;
    margin-right: 20px;
}

.contenedor-about-us .contenido-texts{
    width: 40%;
}

.contenido-texts h3{
    margin-bottom: 20px;
}

.contenido-texto h3 span{
    background: #4d0686;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 0px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 10px;
    margin-top: 30px;
}

.contenido-texto p{
    padding: 0px 0px 30px 40px;
    font-weight: 300;
    text-align: justify;
}

.container-info{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    /* border-bottom: 1px solid #ccc; */
    }
    
    .content-info{
        text-align: center;
    }
    
    .content-info h4{
        font-size: 20px;
        color: #111;
        border-bottom: 3px solid #af20d3;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    
    .content-info a{
        color: #111;
        font-size: 18px;
        text-decoration: none;
        display: block;
     
    }

    .content-info p{
        color: #111;
        font-size: 18px;
    }

    .content-info span{
        font-size: 12px;
        margin-left: 70px;
        margin-bottom: -50px;
        color: #af20d3;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }


/* Table */
.table{
    display: flex;
    flex-direction: row;
    width: 100%;
    text-align: center;
    justify-content: center;
}

table th{
    padding: 10px;
    text-align: center;
    background-color: #4d0686;
    color: #fff;
    font-weight: 300;
}

table td{
    padding: 10px;
    text-align: center;
    background-color: #4d0686;
    color: #fff;
    font-weight: 300;
}

.hour{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

.hour-foo{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
   
}

.hour-foo p{
    color: #fff;
    font-size: 14px;
}

.coment{
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: space-evenly;
    margin-bottom: 60px;

}

.coment i{
    font-size: 20px;
    color: #4d0686;
}

.coment h5{
    font-size: 18px;
    margin: 0 0 0 10px;
    font-weight: 400;
}

.coment p{
    font-size: 14px;
}

/* COVID19 */
.box{
    height: 100%;
    width: 80%;
    display: inline-flexbox;
    text-align: center;
    margin: auto;
    border: 2px solid #4d0686;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.box h3{
   font-size: 30px;
   font-weight: 400;
   background: linear-gradient(transparent 70%, #4c06868a 70%);
   padding: 0 15px 5px;
}

.box p{
    font-size: 14px;
    padding-top: 10px;
    
}

/* 診療のご案内 */

.portafolio{
    background: #f2f2f2;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    transform: scale(0);
    background: hsla(273, 91%, 27%, 0.605);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;   
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
    margin-top: 10px;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1)
}

/* 当院の特徴 */

.cards{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 30px;
}

.cards .card{
    background: #4d0686;
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .6);
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 20%;
    display: block;
}

.cards .card .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

.servicio-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
    width: 28%;
    text-align: center;
}

.servicio-ind img{
    width: 90%;
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
}

/* 診療の流れ */

.about-service{
background: #f2f2f2;
padding-bottom: 30px;
}

.servicio-cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.servicio-ind{
    width: 28%;
    text-align: center;
    margin: 30px 0 0 0;
}

.servicio-ind img{
width: 100%;
}
.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
    height: auto;
}

/*---------- 院長あいさつ start ----------*/

.contenido-saludo{
    display: flex;
    justify-content: space-evenly;
}

.contenido-img{
    width: 70%;
    height: 70%;
    border-radius: 5%;
    text-align: center;
}  

.contenido-img h4{   
    padding-top: 5px;
}

@media screen and (max-width: 900px){
.contenido-saludo{
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido-img{
    justify-content: center;
    align-content: center;
    width: 70%;
}

.contenido-img h4{
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.contenido-texto p{
    text-align: center;
}

@media screen and (max-width: 500px){
.contenido-img{
    width: 80%;
}

}

}
/*---------- 院長あいさつ finish ----------*/

/*---------- Footer start ----------*/

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
display: flex;
width: 90%;
justify-content: space-evenly;
margin: auto;
padding-bottom: 50px;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    font-size: 20px;
    color: #fff;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo a{
    color: #ccc;
    font-size: 18px;
    text-decoration: none;
    display: block;
}
.content-foo p{
    color: #ccc;
    font-size: 18px;
}

.content-foo small{
    font-size: 12px;
    margin-left: 70px;
    margin-bottom: -50px;
    color: #fff;
}

.container h2{
    color: #fff;
}

.google-map{
    position: relative;
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
}
.google-map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;

}

.titulo-final{
    text-align: center;
    font-size: 12px;
    font-family: Helvetica;
    font-weight: 300;
    margin: 20px 0 0 0;
    color: #9e9797;
}

/*---------- Footer finish ----------*/


 /* /////// responsive start /////// */
 
 @media screen and (max-width:900px){
header{
    background-position: center;
}

.icon{
    display: flex;
    justify-content: center;
    height: 70px;
    align-items: center;
    margin-right: 40px;
    z-index: 100;
    cursor: pointer;
    font-size: 25px;
}
        
header .text h1{
    font-size: 60px;
}
        
header .text h2{
    font-size: 30px;
}
        
.links{
    position: fixed;
    height: 100vh;
    right: 0;
    width: 100%;
    z-index: 50;
    flex-direction: column;
    transition: all 1s ease;
    background: #00b3db;  
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #00a4b0, #00d7db);  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #73daec, #00B4DB); 
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
        
    .links a:hover, .active{
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
        
.links a{
    color: #fff;
}
            
.uno{
    clip-path: circle(0% at 100% 0);
    clip-path: circle(0% at 100% 0);
}
        
.dos{
    clip-path: circle(150% at 100% 0);
    clip-path: circle(150% at 100% 0);
}

/* 医院のご案内 */

.contenedor-about-us{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-us .contenido-texto{
    width: 90%;
}

.imagen-about-us{
    width: 90%;
    margin-bottom: 20px;
}

.box h3{
    font-size: 28px;
    font-weight: 400;
    background: linear-gradient(transparent 70%, #4c06868a 70%);
    padding: 0 5px 15px;
}

/* 診療のご案内 */
  
.imagen-port{
    width: 44%;
}



/* 当院の特徴 */

.cards{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cards .card{
    width: 90%;
}

.cards .card:first-child{
margin-bottom: 30px;
}

/* 診療の流れ */

.servicio-cont{
justify-content: center;
flex-direction: column;
}

.servicio-ind{
    width: 100%;
    text-align: center;
}

.servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
    margin-bottom: 60px;
}

.servicio-ind img{
    width: 80%;
}

@media screen and (max-width:500px){
.icon{
    display: flex;
    justify-content: center;
    height: 70px;
    align-items: center;
    margin-right: 40px;
    z-index: 100;
    cursor: pointer;
    font-size: 25px;
}
        
header .text h1{
    font-size: 60px;
}
        
header .text h2{
    font-size: 30px;
}

/* 医院の紹介 */

.imagen-about-us{
    margin-bottom: 60px;
    width: 99%;
}

.container-info{
    flex-direction: column;
    border: none;
}
.content-info{
    margin-bottom: 20px;
    text-align: center;
}
.content-info h4{
    border: none;
}

.content-info p{
    border-bottom: 1px solid #af20d3;
    padding-bottom: 20px;
}

.coment{
    flex-direction: column;
}
.coment i{
    padding-top: 20px;
}

.coment p{
    border-bottom: 1px solid #af20d3;
    padding-bottom: 10px;
}

@media screen and (max-width:500px){
nav .logo img{
    height: 35px;
    margin-left: -20px;
}  
        
header .text h1{
    font-size: 50px;
}

/* 医院の紹介 */

.imagen-about-us{
    margin-bottom: 60px;
    width: 99%;
}
.about-us .contenido-texto{
    width: 95%;
}

.box h3{
    font-size: 25px;
    font-weight: 400;
    background: linear-gradient(transparent 70%, #4c06868a 70%);
    padding: 0 5px 15px;
}

/* 診療のご案内 */

.imagen-port{
    width: 95%;
}

/* 当院の特徴 */

.cards .card{
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards .card img{
width: 100px;
height: 100px;
}

.cards .card .contenido-texto-card{
    width: 70%;
}

/* Footer */

.contenedor-footer{
    flex-direction: column;
    border: none;
}

.content-foo{
    margin-bottom: 20px;
    text-align: center;
}

.content-foo h4{
    border: none;
}


.content-foo p{
   color: #ccc;
   border-bottom: 1px solid #af20d3;
   padding-bottom: 20px;
}


.titulo-final{
    font-size: 14px;
}


@media screen and (max-width: 380px) { 
    

header .text h1{
    font-size: 40px;
}
    
header .text h2{
    font-size: 20px;
}
    
.icon{
    font-size: 20px;
}

.table{
    display: flex;
    flex-direction: row;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.box h3{
    font-size: 20px;
    font-weight: 400;
    background: linear-gradient(transparent 70%, #4c06868a 70%);
    padding: 0 5px 15px;
}

/* 当院の特徴 */
.cards .card .contenido-texto-card{
    width: 70%;
}