.profile {
  margin-top: 150px;
  max-width: 1000px;
  left: 50%;
  position: relative;
  transform: translate(-50%, 0);
}
.profile .instracter-title {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  margin-bottom: 50px;
  font-size: 36px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .profile .instracter-title {
    display: none;
  }
}
.profile .instracter-title::before {
  display: block;
  content: "";
  background-image: url(../images/text-side-deco.png);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: -120px;
  top: 10px;
  width: 100px;
  height: 100px;
}
.profile .instracter-title::after {
  display: block;
  content: "";
  background-image: url(../images/text-side-deco.png);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -120px;
  top: 10px;
  width: 100px;
  height: 100px;
  transform: scale(-1, 1);
}
.profile .sp {
  margin-top: 50px;
}
.profile .row {
  padding: 20px;
  margin: 30px 0px;
}
@media screen and (max-width: 890px) {
  .profile .row {
    margin: 30px 0;
  }
}
.profile .row.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 890px) {
  .profile .row.flex {
    display: block;
  }
}
.profile .row.flex .photo img {
  width: 100%;
  max-width: 350px;
}
.profile .row.flex .photo button {
  width: 100%;
  max-width: 350px;
  border: none;
  padding: 10px 10px;
  background-color: #F09FBD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 50px;
}
.profile .row.flex .photo button::before {
  content: " ";
  display: inline-block;
  position: relative;
  background: url("../images/kao-icon.png");
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-size: 100%;
}
.profile .row.flex .photo button p {
  color: #fff;
  font-weight: bold;
}
.profile .row.flex .photo button .off {
  display: inline-block;
}
.profile .row.flex .photo button .on {
  display: none;
}
.profile .row.flex .photo button:hover .off {
  display: none;
}
.profile .row.flex .photo button:hover .on {
  display: inline-block;
}
.profile .row.flex .text-content {
  margin-left: 50px;
}
@media screen and (max-width: 890px) {
  .profile .row.flex .text-content {
    margin: 0;
    padding: 10px;
  }
}
.profile .row.flex .text-content h3 {
  background: none;
  color: #000D53;
  font-size: 46px;
  box-shadow: none;
}
.profile .row.flex .text-content h3::before {
  display: none;
}
.profile .row.flex .text-content h3::after {
  display: none;
}
.profile .row.flex .text-content .affiliation {
  font-weight: 800;
  font-size: 1em;
  color: #000;
}
.profile .row.flex .text-content .message2 {
  max-width: 300px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 0px;
}
.profile .row.flex .text-content .name {
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
}

p span {
  display: inline-block;
  white-space: nowrap;
}/*# sourceMappingURL=instructor.css.map */