.social-member-card {
  font-size: 12px;
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d2d3d3;
}

.social-member-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-member-heading__edit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 63px;
  height: 32px;
  padding: 2px 10px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.social-member-heading__edit::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  background-image: url(../../img/mypage/ico-setting.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.social-member-heading__edit:hover {
  opacity: .7;
}

.social-member-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-member-card__avatar-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 70px;
}

.social-member-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-member-card__identity {
  min-width: 0;
}

.social-member-card__intro {
  margin: 10px 0 0;
  line-height: 1.58;
  word-break: break-all;
  word-wrap: break-word;
}

@media screen and (max-width: 833px) {
  .social-member-card {
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-member-heading__edit {
    min-width: 48px;
    padding: 2px 10px;
    font-size: 12px;
    font-size: 1.2rem;
    border-radius: 2px;
  }

  .social-member-heading__edit::before {
    width: 12px;
    height: 12px;
    margin-right: 6px;
  }

  .social-member-card__avatar-wrap {
    width: 65px;
    height: 65px;
    flex-basis: 65px;
  }

  .social-member-card__intro {
    margin-top: 15px;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 833px) {
  .box-profile {
    margin-bottom: 25px;
    width: 100%;
  }
  .box-profile__ttl {
    padding: 7px 7px 7px 15px;
    background: #003559;
    color: #fff;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: bold;
  }
  .box-profile__content {
    padding: 20px;
    border: 1px solid #d2d3d3;
    border-top: none;
  }
  .box-profile .text-sm {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.57;
  }
}


.block-form__textarea--profile {
  height: 70px;
}

.social-profile-form__preview-wrap {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  overflow: hidden;
}

.social-profile-form__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-profile-form__file-input {
  display: none;
}

.social-profile-form__file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 24px;
  padding: 0 5px;
  border: 1px solid #1d3a5b;
  border-radius: 2px;
  background: #fff;
  color: #1d3a5b;
  font-size: 10px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.social-profile-form__file-button:hover {
  opacity: .7;
}

.social-profile-form__file-button--danger {
  min-width: 0;
  margin-left: 10px;
  border: none;
  text-decoration: underline;
  background: none;
  padding: 0;
}

.block-form__wrap--profileimage .item {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
}

.block-form__wrap--profileimage .social-profile-form__preview-wrap {
  flex: 0 0 77px;
}

.social-profile-form__control {
  flex: 1 1 auto;
  min-width: 0;
}

.social-profile-form__control .item__input {
  width: 100%;
}

.block-form__wrap--profileimage .block-form__note {
  margin-top: 8px;
}

@media screen and (max-width: 833px) {
  .block-form__textarea--profile {
    height: 100px;
  }

  .social-profile-form__preview-wrap {
    width: 60px;
    height: 60px;
  }

  .block-form__wrap--profileimage .item {
    align-items: flex-start;
    gap: 16px;
  }

  .block-form__wrap--profileimage .social-profile-form__preview-wrap {
    flex: 0 0 60px;
  }

  .social-profile-form__file-button {
    min-width: 100px;
    height: 24px;
    font-size: 10px;
    font-size: 1rem;
  }
}

.social-company-users {
  padding: 0;
}

.social-company-users__search-form {
  margin-bottom: 25px;
}

.social-company-users__search-row {
  display: flex;
  align-items: center;
  background: #e9edf5;
  padding: 25px 20px 25px 30px;
  gap: 30px;
}

.social-company-users__search-label {
  flex: 0 0 auto;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1d3a5b;
  line-height: 1;
}

.social-company-users__search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.social-company-users__search-input {
  width: 100%;
  height: 45px;
  border: none;
  border-radius: 2px;
  padding: 12px 50px 12px 15px;
  background: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
}

.social-company-users__search-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  border: none;
  background: url(../../img/mypage/ico-search.svg) no-repeat center / 20px;
  cursor: pointer;
}

.social-company-users__count {
  margin: 0 0 25px;
  font-size: 12px;
  font-size: 1.2rem;
}

.social-company-users__count--bottom {
  margin-top: 35px;
  margin-bottom: 25px;
  text-align: center;
}

.social-company-users__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d2d3d3;
}

.social-company-users__item {
  display: flex;
  gap: 20px;
  padding: 30px 20px 25px;
  border-bottom: 1px solid #d2d3d3;
}

.social-company-users__avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 80px;
}

.social-company-users__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-company-users__content {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 5px;
}

.social-company-users__meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-size: 1.2rem;
}

.social-company-users__name {
  margin: 0 0 10px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 600;
}

.social-company-users__intro {
  font-size: 10px;
  font-size: 1rem;
  line-height: 1.75;
  word-break: break-all;
  word-wrap: break-word;
}

.social-company-users__empty {
  margin: 20px 0;
  font-size: 14px;
  font-size: 1.4rem;
}

@media screen and (max-width: 833px) {
  .social-company-users__search-form {
    margin-bottom: 20px;
  }

  .social-company-users__search-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
  }

  .social-company-users__search-label {
    width: 100%;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-company-users__search-input {
    height: 45px;
    border-radius: 2px;
    padding: 13px 40px 12px 15px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-company-users__search-button {
    width: 40px;
  }

  .social-company-users__count {
    margin: 0 0 20px;
    font-size: 10px;
    font-size: 1rem;
  }

  .social-company-users__count--bottom {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .social-company-users__item {
    gap: 15px;
    padding: 20px 0 18px;
  }

  .social-company-users__avatar-wrap {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .social-company-users__content {
    padding-top: 2px;
  }

  .social-company-users__meta {
    margin: 0 0 6px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-company-users__name {
    margin: 0 0 8px;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 600;
  }

  .social-company-users__intro {
    font-size: 11px;
    font-size: 1.1rem;
  }

  .social-company-users__empty {
    margin: 18px 0;
    font-size: 12px;
    font-size: 1.2rem;
  }
}

/* =====================================================
   通知一覧 .social-notifications
   ===================================================== */
.social-notifications__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-notifications__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 15px 15px 20px;
  border-bottom: 1px solid #d2d3d3;
}

.social-notifications__item:first-child {
  border-top: 1px solid #d2d3d3;
}

.social-notifications__avatar-wrap {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.social-notifications__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.social-notifications__content {
  flex: 1 1 auto;
  min-width: 0;
}

.social-notifications__date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 18px;
}

.social-notifications__badge {
  display: inline-block;
  height: 23px;
  padding: 0 11px;
  background-color: #f00;
  color: #fff;
  font-size: 11px;
  font-size: 1.1rem;
  line-height: 23px;
  font-weight: 700;
  font-family: "HelveticaNeue";
  border-radius: 99px;
  transform: translateY(-1px);
}

.social-notifications__text {
  margin: 0;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.social-notifications__text a {
  color: inherit;
  text-decoration: none;
}

.social-notifications__text a:hover {
  text-decoration: underline;
}

.social-notifications__notifier-name {
  font-weight: 600;
}

.social-notifications__book-name {
  font-weight: 600;
}

.social-notifications__book-wrap {
  width: 90px;
  height: 108px;
  flex: 0 0 90px;
  padding: 9px;
  background: #e9edf5;
}

.social-notifications__book {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-notifications__empty {
  font-size: 14px;
  font-size: 1.4rem;
}

@media screen and (max-width: 833px) {
  .social-notifications__item {
    gap: 10px;
    padding: 20px 10px;
    align-items: flex-start;
  }

  .social-notifications__avatar-wrap {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }

  .social-notifications__date {
    gap: 6px;
    margin: 0 0 6px;
    font-size: 11px;
    font-size: 1.1rem;
    line-height: 18px;
  }

  .social-notifications__badge {
    height: 16px;
    padding: 0 8px;
    line-height: 16px;
    font-size: 10px;
    font-size: 1.0rem;
    transform: none;
  }

  .social-notifications__text {
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-notifications__book-wrap {
    width: 89px;
    height: 105px;
    flex: 0 0 89px;
    padding: 8px;
  }

  .social-notifications__empty {
    font-size: 12px;
    font-size: 1.2rem;
  }
}

.social-notifications__more-wrap {
  text-align: center;
  margin: 50px 0 0;
}

.social-notifications__more {
  display: inline-flex;
  width: 288px;
  height: 44px;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #1a3b5a;
  border-radius: 99px;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a3b5a;
  cursor: pointer;
  position: relative;
}

.social-notifications__more:hover {
  opacity: .7;
}

.social-notifications__more:disabled {
  opacity: .5;
  cursor: default;
}

.social-notifications__more::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1px solid #1a3b5a;
  border-bottom: 1px solid #1a3b5a;
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 5px);
  right: 20px;
}

.social-notifications__loading {
  display: none;
  width: 44px;
  height: 44px;
}

.social-notifications__more-wrap.is-loading .social-notifications__more {
  display: none;
}

.social-notifications__more-wrap.is-loading .social-notifications__loading {
  display: inline-block;
}

.social-notification-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-radius: 50%;
  background: #f00;
  vertical-align: middle;
}

.nav_link--mypage {
  position: relative;
}

.nav_link--mypage .social-notification-dot {
  width: 12px;
  height: 12px;
  margin-left: 0;
  position: absolute;
  top: -3px;
  right: -3px;
}

#main-header.on .nav_link--mypage .social-notification-dot {
  top: -6px;
  right: -8px;
}

@media screen and (max-width: 833px) {
  .social-notifications__more-wrap {
    margin: 20px 0 0;
  }

  .social-notifications__more {
    width: 188px;
    height: 38px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-notifications__more::after {
    content: none;
  }

  .social-notifications__loading {
    width: 38px;
    height: 38px;
  }

  .social-notification-dot {
    width: 13px;
    height: 13px;
    margin-left: 5px;
    background: url(../../img/mypage/ico-notification.svg) no-repeat center / contain;
  }

  .nav_link--mypage .social-notification-dot {
    display: none;
  }
}


.readmemo__favorite-users-link {
  display: block;
  width: 7em;
  height: 20px;
  font-size: 10px;
  font-size: 1rem;
  line-height: 20px;
  color: #1d3a5b;
  text-decoration: none;
  position: absolute!important;
  top: 0;
  left: calc(100% + 10px);
}

.readmemo__favorite-users-link.none {
  display: none;
}

.social-favorite-users-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.social-favorite-users-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-readmemo-favorite-modal-open {
  overflow: hidden;
}

.social-favorite-users-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, .6);
}

.social-favorite-users-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 600px;
  height: calc(100% - 48px);
  max-height: 650px;
  margin: 0;
  background: #fff;
  overflow: hidden;
  border-radius: 4px;
}

.social-favorite-users-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.social-favorite-users-modal__head {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d3d3d3;
}

.social-favorite-users-modal__title {
  margin: 0;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 600;
}

.social-favorite-users-modal__close {
  width: 23px;
  height: 23px;
  border: none;
  background: transparent;
  position: absolute;
  top: 23px;
  right: 25px;
  cursor: pointer;
}

.social-favorite-users-modal__close::before,
.social-favorite-users-modal__close::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 1px;
  width: 21px;
  height: 1px;
  background: #2d2d2d;
}

.social-favorite-users-modal__close::before {
  transform: rotate(45deg);
}

.social-favorite-users-modal__close::after {
  transform: rotate(-45deg);
}

.social-favorite-users-modal__search {
  padding: 30px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-favorite-users-modal__search-label {
  width: 110px;
  display: block;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1d3a5b;
}

.social-favorite-users-modal__search-input-wrap {
  width: calc(100% - 110px);
  position: relative;
}

.social-favorite-users-modal__search-input {
  width: 100%;
  height: 46px;
  padding: 10px 50px 10px 14px;
  border: 1px solid #d3d3d3;
  border-radius: 2px;
  font-size: 14px;
  font-size: 1.4rem;
}

.social-favorite-users-modal__search-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  padding: 0;
  border: none;
  background: url(../../img/mypage/ico-search.svg) no-repeat center / 20px;
  cursor: pointer;
}

.social-favorite-users-modal__body {
  padding: 0 40px 28px;
}

.social-favorite-users-modal__loading,
.social-favorite-users-modal__empty {
  display: none;
  margin: 28px 0;
  font-size: 12px;
  font-size: 1.2rem;
}

.social-favorite-users-modal__loading {
  text-align: center;
}

.social-favorite-users-modal__loading img {
  width: 24px;
  height: 24px;
}

.social-favorite-users-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-favorite-users-modal__item {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-favorite-users-modal__avatar-wrap {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
}

.social-favorite-users-modal__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.social-favorite-users-modal__content {
  min-width: 0;
}

.social-favorite-users-modal__meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.social-favorite-users-modal__name {
  margin: 0;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 600;
}

@media screen and (max-width: 833px) {
  .readmemo__favorite-users-link {
    font-size: 10px;
    font-size: 1rem;
    left: calc(100% + 5px);
  }

  .social-favorite-users-modal__dialog {
    max-height: 400px;
  }

  .social-favorite-users-modal__head {
    height: 45px;
    border-bottom: none;
  }

  .social-favorite-users-modal__title {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .social-favorite-users-modal__close {
    width: 19px;
    height: 19px;
    top: 13px;
    right: 12px;
  }

  .social-favorite-users-modal__close::before,
  .social-favorite-users-modal__close::after {
    top: 9px;
    left: 1px;
    width: 17px;
    height: 1px;
  }

  .social-favorite-users-modal__search {
    padding: 5px 20px 10px;
  }

  .social-favorite-users-modal__search-label {
    width: 100%;
    font-size: 12px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .social-favorite-users-modal__search-input-wrap {
    width: 100%;
  }

  .social-favorite-users-modal__search-input {
    width: 100%;
    height: 32px;
    padding: 6px 35px 6px 12px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-favorite-users-modal__search-btn {
    width: 35px;
    background-size: 15px;
  }

  .social-favorite-users-modal__body {
    padding: 0 20px 15px;
  }

  .social-favorite-users-modal__loading,
  .social-favorite-users-modal__empty {
    display: none;
    margin: 15px 0;
    font-size: 12px;
    font-size: 1.2rem;
  }

  .social-favorite-users-modal__loading img {
    width: 24px;
    height: 24px;
  }

  .social-favorite-users-modal__item {
    margin-top: 15px;
    gap: 14px;
  }

  .social-favorite-users-modal__avatar-wrap {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .social-favorite-users-modal__meta {
    margin: 0 0 5px;
    font-size: 10px;
    font-size: 1rem;
  }

  .social-favorite-users-modal__name {
    font-size: 14px;
    font-size: 1.4rem;
  }
}