@use "sass:map";
@use "global/acms-common" as acms;
@use "global/common" as global;

/* ------------------------------
　　プロフィール
------------------------------ */

.profile {
  box-sizing: border-box;
  width: 100%;
  padding: 1.5rem;
  margin: 0 0 2.5rem;
  border: global.$border-width-md solid global.$color-gray20;
}

.profile-body {
  display: flex;
}

.profile-item-img {
  padding: 0 2rem 0 0;
}

.profile-img {
  width: 4.5rem;
  height: 4.5rem;
  vertical-align: top;
  border-radius: 50%;
}

.profile-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-position {
  margin: 0 0 0.5rem;
  font-size: map.get(global.$font-scales, body-s);
  line-height: global.$line-height-sm;
}

.profile-name {
  margin: 0;
  font-size: map.get(global.$font-scales, body-m);
  font-weight: bold;
  line-height: global.$line-height-sm;
}

.profile-text {
  margin: 0;
  font-size: map.get(global.$font-scales, body-m);
  line-height: global.$line-height-lg;
}

.profile-footer {
  margin: 1.5rem 0 0;
}

@include acms.media-breakpoint-up(md) {
  .profile {
    padding: 2.5rem 50px;
    margin: 0 0 4rem;
  }

  .profile-item-img {
    padding: 0 2.5rem 0 0;
  }

  .profile-img {
    width: 5.5rem;
    height: 5.5rem;
  }

  .profile-name {
    margin: 0 0 1rem;
    font-size: map.get(global.$font-scales, body-m);
  }
}
