#top-bg{
  color: white;
  /* background: radial-gradient(#FFFFFF55, #FA6900E9); FA6900B0*/
  background: linear-gradient(90deg, #e09078, #e09078, #e09078f0, #e0907830,#0000) ;
  height: 33vw;
  min-height: 200px;
  max-height: 450px;
}

#top-bg-img{
  position:absolute;
}

@media only screen and (min-width : 2001px){
  #top-bg-img{
    bottom: 40%;
    left: calc(100vw - 100%);
  }
}

@media only screen and (max-width : 1000px) and (min-width : 751px){
  #top-bg-img{
    bottom: 30%;
    left: calc(80vw - 100%);
  }
}

@media only screen and (max-width : 750px) and (min-width : 601px){
  #top-bg-img{
    left: calc(80vw - 100%);
  }
}

@media only screen and (max-width : 600px){
  #top-bg-img{
    bottom: 50%;
    left: calc(50vw - 100%);
  }
}

#history-content h7 {
  padding-top: 3px;
  padding-bottom: 3px;
}

#president-photo{
  background-image: url('../img/president.JPG');
  background-size: cover;
  border-radius: 170px;
  height: 340px;
  width: 340px;
  margin: auto;
}

#profile {
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile-detail{
  height: auto;
}

#profile-name {
  text-align: center;      /* 横方向に中央揃え */
}

#services{
  padding-top: 20px;
  padding-bottom: 25px;
}

.service-block{
    min-height: 495px;
}

@media only screen and (max-width : 800px) and (min-width : 601px){
  #president-photo{
    border-radius: calc(100vw / 4 - 25px);
    height: calc(100vw / 2 - 75px);
    width: calc(100vw / 2 - 75px);
  }

  #profile-detail{
    width: calc(100vw / 2 - 50px);
  }
}

@media only screen and (max-width : 400px){
  #president-photo{
    border-radius: 130px;
    height: 260px;
    width: 260px;
  }
}

@media only screen and (min-width : 551px){
  #top-title{
    visibility: visible;
  }
  #top-title-sp{
    display: none;
  }
}

@media only screen and (max-width : 550px){
  #top-title{
    display: none;
  }
  #top-title-sp{
    visibility: visible;
  }
}
