.top__profile {
  width: 1200px;
  background-color: #ffffff;
  margin: auto;
  padding: 0;
  max-width: calc(100% - 120px);
}
.top__profile > h2 {
  font-weight: 700;
  font-size: 3rem;
  font-family: serif;
  text-align: left;
  margin: 0;

}
.top__profile__contents {
  width: 100%;
  background-color: #ffffff;
  display: block;
  justify-content: space-between;
}
.top__profile__left-sec {
  width: 100%;
  display: grid;
  justify-content: space-between; 
  margin-bottom: 2%;

}
.top__profile__bottom-sec {
  width: 100%;
  border: transparent;
  border-top: transparent;
  border-bottom: transparent;
  display: flex;
  justify-content: center;
  height: fit-content;
}
.top__profile__bottom-sec2 {
  width: 80%;
  margin: 0;
  margin-top: 5%;
  line-height: 1.5;
  border: transparent;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  display: inline-block;
  text-align: left;

  font-weight: 400;
  font-size: 0.9rem;
  font-family: serif;
}
.top__profile__bottom-sec3{
  width: 80%;
  margin: 0;
  margin-top: 2%;
  line-height: 1;
  border: transparent;
  display: inline-block;
  text-align: right;
  color: rgb(184, 19, 19);

  font-weight: 400;
  font-size: 0.8rem;
  font-family: serif;

}
.top__profile__bottom-sec > p {
  padding: 3rem 0;
  text-align: center;
  writing-mode: vertical-rl;
}
.top__profile__right-sec0 {
  width: 100%;
  padding: 0;
  margin-bottom: 10%;

  display: flex;
}
.top__profile__img01-sec {
  display: inline-block;
  text-align: center;
  width: 30%;

  background-size: cover;
  margin-right: 10%;
  margin-left: 0%;

}

.top__profile__img01-sec img{
  width: 100%;
}

.top__profile__img02-sec {
  display: inline-block;
  text-align: center;
  width: 30%;

  background-size: cover;
  margin-right: 10%;
  margin-left: 12%;

}

.top__profile__img02-sec img{
  width: 100%;

}

.top__profile__title {
  justify-content: center;
  align-items: center;
  font-family: serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 2;
}

.profile_br{
  display: none;
}

@media only screen and (max-width:1441px) {
  .top__profile {
    max-width: calc(90%);
  }
}

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

}

@media only screen and (max-width:1025px) {
  .top__profile {
    width: 100%;
    margin-left: 2%;
    padding-bottom: 1%;
    max-width: calc(960px);
    text-align: center;
  }
  .top__profile > h2 {
    font-size: 2rem;
    text-align: center;
  }
  .top__profile__contents {
    width: 70%;
    display: inline-block;
    text-align: center; 
  }
  .top__profile__left-sec {
    display: inline-block;
    text-align: center;
  }
  .top__profile__bottom-sec {
    display: inline-block;
  }
  .top__profile__bottom-sec2 {
    font-size: 0.8rem;
  }
  .top__profile__bottom-sec > p {

  }
  .top__profile__right-sec0 {

    text-align: center;
    
  }
  .top__profile__img01-sec {
    width: 40%;
    margin:0 3%
  }
  
  .top__profile__img01-sec img{
    height: auto;
  }
  .top__profile__img02-sec {
    
    width: 40%;
    background-size: cover;
    margin:0 3%
    
  }
  .top__profile__img02-sec img{
    height: auto;
  }
  .top__profile__title {
    font-family: serif;
    font-size: 0.9rem;
  }
  .profile_br{
  }
}

@media only screen and (max-width:960px) {
  .top__profile__contents{
    height: 70%;
  }
  .top__profile {
    margin-left: 0;
    padding: 0;
    padding-bottom: 3%;
    max-width: calc(960px);
  }
  .top__profile__title {

  }
  .top__profile__right-sec0{
    height: 10%;
  }
}

@media only screen and (max-width:835px) {
  .top__profile {
    max-width: calc(834px);
    margin: 0;
    margin-left: 3.5%;
  }
  .top__profile__title {
  }
  .profile_br{
    display: block;
  }
}
@media only screen and (max-width:811px) {
  .top__profile {
    max-width: calc(811px);
  }
}
@media only screen and (max-width:801px) {
  .top__profile {
    max-width: calc(800px);
  }
}
@media only screen and (max-width:769px) {

  .top__profile { 
    max-width: calc(768px);
    margin-left: 3.3%;
  }
}
@media only screen and (max-width:745px) {
  .top__profile {
    max-width: calc(744px);
    margin-left: 3.2%;
  }

}

@media only screen and (max-width:681px) {
  .top__profile {
    max-width: calc(681px);
  }
}

@media only screen and (max-width:602px) {
  .top__profile {
    max-width: calc(601px);
  } 
}

@media only screen and (max-width:521px) {
  .top__profile {
    max-width: calc(520px);
  }
  .top__profile > h2 {
    font-size: 1.6rem;
  }
  .top__profile__title {
    display: block;
  }
}
@media only screen and (max-width:501px) {
  .top__profile {
    max-width: calc(500px);
  }
}

@media only screen and (max-width:481px) {
  .top__profile {
    width: 80%;
    margin: auto;
    margin-left: 0;
    margin-top: 10%;
    padding: 0;
    padding-bottom: 3%;
    max-width: calc(480px);
    text-align: center;
  }
  .top__profile > h2 {
    font-weight: 700;
    font-size: 1.6rem;
    font-family: serif;
    text-align: center;
  
  }
  .top__profile__contents {
    width: 70%;

    display: inline-block;
    text-align: center;
  }
  .top__profile__left-sec {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-bottom: 2%;
  
  }
  .top__profile__title{
    text-align:left;
  }
  .top__profile__bottom-sec {
    width: 100%;
    border: transparent;
   
    display: inline-block;

  }
  .top__profile__bottom-sec2 {
    width: 80%;
    margin: 0;
    margin-top: 5%;
    line-height: 1.5;
    border: transparent;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    display: inline-block;
    text-align: left;

    font-weight: 400;
    font-size: 0.8rem;
    font-family: serif;


  }
  .top__profile__bottom-sec > p {
    padding: 3rem 0;
    text-align: center;
    writing-mode: vertical-rl;
  }
  .top__profile__right-sec0 {
    width: 100%;
    padding: 0;

    display: block;
  }
  .top__profile__img01-sec {
    display: block;
    text-align: center;
    width: 100%;
    margin-right: 0;
    margin-left: 0%;
    font-size: 0.8rem;

  }
  
  .top__profile__img01-sec img{
    width: 300px;
    height: 300px;
    object-fit: cover;
  }
  
  .top__profile__img02-sec {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 3%;
    margin-right: 0;
    margin-left: 0%;
    font-size: 0.8rem;

  }
  
  .top__profile__img02-sec img{
    width: 300px;
    height: 300px;
    object-fit: cover;
  }
  
  .top__profile__title {
    font-family: serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 2;

  }

  
}


@media only screen and (max-width:429px) {
  .top__profile {
    width: 100%;
    margin: auto;
    margin-left: 0;
    margin-top: 10%;
    max-width: calc(428px);
    text-align: center;
  }
  .top__profile__img01-sec img{
    width: 250px;
    height: 250px;
    object-fit: cover;
  }
  .top__profile__img02-sec img{
    width: 250px;
    height: 250px;
    object-fit: cover;
  }
}

@media only screen and (max-width:415px) {
  .top__profile {

    max-width: calc(414px);

  }
  .top__profile__left-sec{
    width: 90%;
    margin-left: 5%;
  }
  .top__profile__bottom-sec2{
    width: 90%;
  }
}



@media only screen and (max-width:391px) {
  .top__profile {
    max-width: calc(390px);
  }

}

@media only screen and (max-width:376px) {
  .top__profile {
    max-width: calc(375px);
  }


}

@media only screen and (max-width:361px) {
  .top__profile {
    max-width: calc(360px);
  }


}