/* ==========================================================
  執筆者・監修者プロフィール
  templates/single-profile.php に対応するスタイル
========================================================== */

.profile-wrap {
  position: relative;
  margin: 0 0 24px;
}

.profile-heading {
  position: absolute;
  top: 20px;
  left: 46px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  color: #333333;
}

.profile {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 48px 24px 24px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background: #fff;
}

.profile__author {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 24px;
  border-right: 1px solid #dcdcdc;
  text-align: center;
}

.profile__author img {
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
}

.profile__name {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}

.profile__group {
  margin-top: 4px;
  font-size: 12px;
  color: #888888;
}

/* 右側：説明文・SNS */
.profile__contents {
  flex: 1;
  min-width: 0;
}

.profile__description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
}

.profile__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile__item {
  margin: 0;
}

/* ==========================================================
  SNSアイコンボタン
  画像は白抜きアイコン（icon-???.png）のみを使用し、
  丸背景の色はすべてCSS側で用意する
  ========================================================== */
.aside-sns__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition-property: background-color;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.aside-sns__btn img {
  display: block;
  width: 18px;
  height: 18px;
}

.aside-sns__btn--home {
  background-color: #f78fb3;
}
.aside-sns__btn--home:hover {
  background-color: #f6a9c3;
}

.aside-sns__btn--home img {
  width: 22px !important;
}

.aside-sns__btn--facebook {
  background-color: #305097;
}
.aside-sns__btn--facebook:hover {
  background-color: #3c65be;
}

.aside-sns__btn--facebook img {
  width: 10px !important;
}

.aside-sns__btn--X {
  background-color: #000000;
}
.aside-sns__btn--:hover {
  background-color: #393939;
}

.aside-sns__btn--instagram {
  background: linear-gradient(45deg, #ffd521 0%, #f50000 50%, #b900b4 100%);
}
.aside-sns__btn--instagram:hover {
  opacity: 0.85;
}

.aside-sns__btn--gplus {
  background-color: #dd4b39;
}
.aside-sns__btn--gplus:hover {
  background-color: #e5695a;
}

.aside-sns__btn--youtube {
  background-color: #ff0000;
}
.aside-sns__btn--youtube:hover {
  background-color: #ff3333;
}

.aside-sns__btn--youtube img {
  width: 20px;
  height: 16px;
}

.aside-sns__btn--linkedin {
  background-color: #0077b5;
}
.aside-sns__btn--linkedin:hover {
  background-color: #0f92dc;
}

.aside-sns__btn--pinterest {
  background-color: #e60023;
}
.aside-sns__btn--pinterest:hover {
  background-color: #ff4b64;
}

.aside-sns__btn--line {
  background-color: #00b900;
}
.aside-sns__btn--line:hover {
  background-color: #80e580;
}

@media (max-width: 767px) {
  .profile-heading {
    position: static;
    display: block;
    margin: 32px 0 16px;
    text-align: center;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    padding: 24px;
    text-align: center;
  }

  .profile__author {
    width: 100%;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-right: none;
    border-bottom: 1px solid #dcdcdc;
  }

  .profile__list {
    justify-content: center;
  }
}