/* ============================================================
   PROFILE — profile.css
   ============================================================ */

/* ------------------------------------------------------------
   v8.4.16: メンバーSNSアイコン (IG / TikTok)
   - 一覧 (.member-sns--list): 名前の下、横並び、サイズ小さめ
   - 詳細 (.member-sns--detail): 自己紹介の下、横並び、サイズ通常
   ------------------------------------------------------------ */
.member-sns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.member-sns li {
  margin: 0;
}
.member-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fe67a2;
  background: transparent;
  transition: color 0.2s, transform 0.15s;
  text-decoration: none;
}
.member-sns a:hover {
  background: transparent;
  color: #e64283;
  transform: scale(1.1);
}
.member-sns a svg {
  display: block;
}

/* 一覧用: 小さく */
.member-sns--list {
  margin-top: 8px;
  gap: 8px;
}
.member-sns--list a {
  width: 30px;
  height: 30px;
}
.member-sns--list a svg {
  width: 18px;
  height: 18px;
}
/* v8.4.21: SP 一覧用はさらに小さく gap0 */
@media (max-width: 767px) {
  .member-sns--list {
    margin-top: 8px;
    gap: 0px;
  }
  .member-sns--list a {
    width: 24px;
    height: 24px;
  }
}

/* 詳細用: お仕事直下に置くため PC は左寄せ、SP は中央寄せ
   v8.4.21: ユーザー指定で gap 0 / アイコン36×36 にサイズダウン */
.member-sns--detail {
  margin-top: 18px;
  gap: 0px;
  justify-content: flex-start;
}
.member-sns--detail a {
  width: 36px;
  height: 36px;
}
.member-sns--detail a svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 767px) {
  .member-sns--detail {
    justify-content: center;
    margin-top: 24px;
    gap: 8px;
  }
  .member-sns--detail a svg {
    width: 32px;
    height: 32px;
  }
}

/* ------------------------------------------------------------
   Page Hero
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 26px;
  text-align: center;
  background-image: url('../img/bg_sp.webp');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
}


.page-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'minion-variable-concept', 'Minion Variable Concept', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8E7173;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 156px 0 48px;
    overflow: visible;
    background: none;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background-image: url('../img/bg_pc.webp');
    background-size: 1400px 500px;
    background-repeat: repeat-x;
    background-position: top center;
    z-index: 0;
  }
  .page-hero-title {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 1.8rem;
    text-align: left;
  }
}

/* ------------------------------------------------------------
   Member Grid
   ------------------------------------------------------------ */
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 12px;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .member-grid {
    grid-template-columns: repeat(3, 255px);
    justify-content: center;
    gap: 72px 24px;
  }
}

/* ------------------------------------------------------------
   Member Card
   ------------------------------------------------------------ */
.member-link {
  display: block;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.member-link:hover {
  opacity: 0.75;
}

/* ------------------------------------------------------------
   Hexagonal Photo Frame
   ------------------------------------------------------------ */
.member-hex-frame {
  width: auto;
  max-width: 100%;
  aspect-ratio: 2 / 1.732;
  margin: 0 0 12px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  overflow: hidden;
}

.member-hex-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (min-width: 768px) {
  .member-hex-frame {
    width: 255px;
    max-width: none;
    margin-bottom: 16px;
  }
}

/* ------------------------------------------------------------
   Member Name
   ------------------------------------------------------------ */
.member-caption {
  display: block;
}

.member-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.member-name-ruby {
  font-size: 0.7rem;
  color: var(--text-gray);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .member-name {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .member-name-ruby {
    font-size: 0.78rem;
  }
}

.profile-section {
  position: relative;
  z-index: 1;
}
