

.custom-profile {
  border: 1px solid #252525;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 5px;
  box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease, background-color 0.1s ease;
  transform: scale(1); /* 通常時は元のサイズ */
  text-decoration: none !important;
}

.custom-profile:hover {
  transform: scale(1.10); /* ホバー時に元のサイズの125%に拡大 */
  background-color: #fcfbe1;
  cursor: pointer;
  text-decoration: none !important;
}

@media (max-width: 450px) {
  .custom-profile {
    display: block;
    padding-bottom: 10px;
  }
}

.school_name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: white !important;
  text-align: right;
  background: #6EBBD0;
  border-bottom: 0 solid;
  padding: 5px 5px;
}

@media (max-width: 450px) {
  .school_name {
    font-size: 1.6em;
  }
}

.school_name:after {
  border-bottom: 0 solid !important;
}

.custom-profile > div {
  padding-left: 10px;
  padding-right: 10px;
}

.role {
  font-size: 1.0rem;
  font-weight: bold;
  line-height: 1;
}
.role-container {
  height: 15px;
  margin-bottom: 10px;
}

.address {
  font-size: 0.9rem;
  line-height: 1 !important;
}

.tagline {
  font-size: 0.8rem;
  line-height: 1;
  margin-bottom: 0px;
}

@media (max-width: 450px) {
  .tagline {
    font-size: 1.0rem !important;
  }
}

.tagline-container {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.phone {
  font-size: 0.9rem;
  line-height: 1 !important;
}

@media (max-width: 450px) {
  .phone {
    font-size: 1.0rem !important;
  }

  .address {
    font-size: 1.0rem !important;
  }
}

.title {
  font-size: 0.9rem;
  text-align: center;
  padding-top: 25px;
}

@media (max-width: 450px) {
  .title {
    padding-top: 5px;
  }
}

.principal_name {
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
  border-bottom: 1px solid #6EBBD0;
}

.principal_name-container {
  margin-bottom: 10px;
}

.address-phone-container {
  margin-bottom: 20px;
}

.phone-container {
  display: flex;
}

.address-container {
  display: flex;
  margin-bottom: 5px;
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-bottom: 0px;
}

.tagline-container img {
  width: 30px;
  height: auto;
  position: absolute;
  right: -10px;
  bottom: -25px;
}

@media (max-width: 450px) {
  .tagline-container {
    margin-bottom: 20px;
  }
}