*{
  font-family: "NotosansJP";
}

p{
    margin:0;
}

body{
  margin:0;
  padding:0;
  overflow-x:hidden;
  background-color: #f2f8fe;
}


header{
  display:flex;
  width:100%;
  height:200px;

  align-items:center;
  justify-content:center;

  position:relative;
  overflow:hidden;

  background-image: url(img/shomen.webp);
  background-size: cover;

}

header::before{
  content:"";
  background-color: rgba(0,0,0,0.2);
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.daimei{
    position:absolute;
    color:white;
    left:10px;
    top:0px;

    z-index: 1;
}

.daimei::after{
  content: "";
  position: absolute;

  width: 200px;
  height: 200px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.8);

  left: 40%;
  top: -100px;

  transform: translateX(-50%);
  z-index:0;
}

.mogi{
    margin: 20px 5px;    
    height: fit-content;
    border:2px solid #d2e5fd;
    border-radius: 5%;
    position: relative;
    box-sizing: border-box;
}


img{
  position:block;
  transform: translateX(50%);
  max-width:50%;
  height:auto;
  margin:10px;
  border-radius: 5%;
}

h2{
    padding-top:50px;
    border:none;
    border-bottom:1px solid black;
}

.grade {
    border-bottom: 1px solid black;
    text-align: center;

    margin: 0 5px; 
}

.text{
    font-size: 0.9rem;
    top:25px;
    padding:5px;
    margin-bottom:10px;
    justify-content: center;
    text-align: center;
  }


