/* =========================
   Entry Detail Page (Common)
   file: entry_detail.css
========================= */

body{
  font-family: "M PLUS Rounded 1c", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:#faf7ff;
  color:#333;
}

.site-wrapper{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 70px;
}

/* 上部ミニヘッダー */
.mini-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 4px 14px;
}
.mini-header__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.mini-header__brand img{
  height: 22px;
  width:auto;
  display:block;
}
.mini-header__title{
  font-weight:800;
  color:#777;
  font-size: 14px;
  letter-spacing: .02em;
}

/* メインカード */
.detail-card{
  background:#fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(255, 153, 204, 0.14);
}

.detail-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

/* 左上：名前エリア */
.detail-head{
  margin-bottom: 10px;
}
.detail-name{
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  color:#333;
  margin: 0 0 6px;
}
.detail-group{
  font-size: 16px;
  font-weight: 800;
  color:#ff5c9b;
  margin: 0 0 10px;
}

/* SNSアイコン（丸ボタン） */
.sns-row{
  display:flex;
  gap: 10px;
  margin: 8px 0 14px;
}
.sns-btn{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:2px solid rgba(255, 92, 155, 0.22);
  box-shadow: 0 8px 18px rgba(255, 92, 155, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sns-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 92, 155, 0.14);
}
.sns-btn svg{
  width: 18px;
  height: 18px;
  display:block;
}

/* 写真 */
.detail-photo{
  width:100%;
  border-radius: 18px;
  overflow:hidden;
  background:#f4f4f4;
}
.detail-photo img{
  width:100%;
  height:auto;
  display:block;
}

/* 右側（PROFILE） */
.profile-title{
  font-weight: 900;
  color:#ff5c9b;
  letter-spacing: .04em;
  margin: 4px 0 10px;
}

.profile-table{
  width:100%;
  border-collapse: collapse;
  font-size: 14px;
}
.profile-table th,
.profile-table td{
  padding: 10px 12px;
  border-bottom: 2px solid rgba(255, 92, 155, 0.18);
  vertical-align: top;
}
.profile-table th{
  width: 36%;
  text-align:left;
  color:#9a7aa0;
  font-weight: 800;
}
.profile-table td{
  color:#333;
  font-weight: 700;
}

.pr-title{
  margin: 18px 0 10px;
  font-weight: 900;
  color:#ff5c9b;
  letter-spacing: .04em;
}
.pr-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color:#333;
  white-space: pre-wrap;
}

/* 他のエントリー */
.others-card{
  margin-top: 18px;
  background:#fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(255, 153, 204, 0.12);
}

.others-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 16px;
  color:#333;
}
.others-title::before{
  content:"";
  width:4px;
  height: 18px;
  border-radius: 999px;
  background:#ff5c9b;
  display:inline-block;
}

.others-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.other-item{
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  border:2px solid rgba(255, 92, 155, 0.14);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
  display:block;
}
.other-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.other-thumb{
  aspect-ratio: 3/4;
  background:#f4f4f4;
  overflow:hidden;
}
.other-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.other-body{
  padding: 10px 10px 12px;
  text-align:center;
}
.other-name{
  font-weight: 900;
  color:#333;
  margin:0;
  font-size: 14px;
}
.other-group{
  margin: 2px 0 0;
  font-size: 12px;
  color:#777;
  font-weight: 800;
}

.more-wrap{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}
.more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  background:#fff;
  border:2px solid rgba(255, 92, 155, 0.25);
  color:#ff5c9b;
  box-shadow: 0 10px 22px rgba(255, 92, 155, 0.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.more-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 92, 155, 0.14);
}

/* PC：2カラム */
@media (min-width: 900px){
  .detail-grid{
    grid-template-columns: 52% 48%;
    gap: 26px;
  }
  .others-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}