/* ============================================================
   先輩の声（/先輩の声/）— ページ専用CSS
   共通部分（配色・ナビ・見出し・ボタン・カード）は shinkan-common.css
   ============================================================ */

/* ----- 01 現役部員の声 ----- */
/* Elementorが .elementor-widget 内の figure の margin を0にする（詳細度が高い）ので、figure の下の余白は padding で取る */
.sv-group { padding-bottom: 36px; }
.sv-group img { width: 100%; border-radius: var(--sk-radius); }

.sv-from {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 14px;
  background: var(--sk-blue);
  color: #FFFFFF;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.sv-from i { font-style: normal; color: var(--sk-yellow); }

.sv-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; margin-bottom: 48px; }
.sv-index a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  height: 100%;
  padding-right: 48px;
}
.sv-index a:hover b { text-decoration: underline; }
.sv-index b { font-size: 18px; font-weight: 900; line-height: 1.4; margin-top: 4px; }
.sv-index small { font-size: 13px; color: var(--sk-sub); }
@media (max-width: 860px) { .sv-index { grid-template-columns: 1fr 1fr; } }

.sv-voice {
  max-width: 880px;
  margin: 0 auto;
  scroll-margin-top: 20px;
}
.sv-voice + .sv-voice { margin-top: 40px; }
.sv-voice-name {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin-top: 12px;
}
.sv-voice-meta {
  font-size: 14px;
  color: var(--sk-sub);
  margin: 2px 0 14px;
}
.sv-voice-quote {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  color: var(--sk-blue);
  padding-left: 16px;
  border-left: 5px solid var(--sk-yellow);
}
.sv-voice-meta, .sv-voice-quote { display: block; }
.sv-voice-body { padding-top: 20px; }
.sv-voice-body p + p { margin-top: 1em; }

/* コメントは折りたたみ（<details>）。閉じているときは名前と一言だけ見せる */
.sv-voice-head {
  display: block;
  list-style: none;
  cursor: pointer;
  padding-right: 72px;
}
.sv-voice-head::-webkit-details-marker { display: none; }
.sv-voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sk-blue);
}
.sv-voice-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sv-voice-head:hover .sv-voice-toggle { text-decoration: underline; }
.sv-less { display: none; }
.sv-voice-details[open] .sv-more { display: none; }
.sv-voice-details[open] .sv-less { display: inline; }
.sv-voice-details[open] .sv-voice-toggle::after { transform: translateY(2px) rotate(-135deg); }
@media (max-width: 600px) {
  .sv-voice-head { padding-right: 56px; }
  .sv-voice-name { font-size: 21px; }
  .sv-voice-quote { font-size: 16px; }
}

/* 現役部員4人は、前の競技のボールのアイコンを名前の横に置く */
[data-sport="soccer"] { --sv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='12,8 15.8,10.8 14.4,15.2 9.6,15.2 8.2,10.8' fill='black'/%3E%3Cpath d='M12 8V2.5M15.8 10.8l5-1.6M14.4 15.2l3 4.3M9.6 15.2l-3 4.3M8.2 10.8l-5-1.6'/%3E%3C/svg%3E"); }
[data-sport="baseball"] { --sv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M5.5 4.5c2.5 2 3.8 4.6 3.8 7.5s-1.3 5.5-3.8 7.5M18.5 4.5c-2.5 2-3.8 4.6-3.8 7.5s1.3 5.5 3.8 7.5'/%3E%3Cpath d='M7.3 7.6l1.6-.9M8.6 10.6l1.7-.3M8.6 13.4l1.7.3M7.3 16.4l1.6.9M16.7 7.6l-1.6-.9M15.4 10.6l-1.7-.3M15.4 13.4l-1.7.3M16.7 16.4l-1.6.9'/%3E%3C/svg%3E"); }
[data-sport="rugby"] { --sv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='12' rx='10.5' ry='6.2' transform='rotate%28-45 12 12%29'/%3E%3Cpath d='M8.5 15.5l7-7'/%3E%3Cpath d='M9.6 12.6l1.8 1.8M11.1 11.1l1.8 1.8M12.6 9.6l1.8 1.8'/%3E%3C/svg%3E"); }
[data-sport="basketball"] { --sv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2v20M2 12h20M5 4.9c2.4 2 3.8 4.6 3.8 7.1S7.4 17.1 5 19.1M19 4.9c-2.4 2-3.8 4.6-3.8 7.1s1.4 5.1 3.8 7.1'/%3E%3C/svg%3E"); }
.sk-card[data-sport]::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: var(--sk-blue);
  pointer-events: none;
  -webkit-mask: var(--sv-icon) center / contain no-repeat;
  mask: var(--sv-icon) center / contain no-repeat;
}
.sv-voice[data-sport]::before { top: 0; margin-top: 0; width: 52px; height: 52px; }
@media (max-width: 600px) {
  .sk-card[data-sport]::before { width: 34px; height: 34px; margin-top: -17px; }
  .sv-voice[data-sport]::before { width: 42px; height: 42px; margin-top: 0; }
}

/* ----- 02 OB・OGの声 ----- */
.sv-alumni { scroll-margin-top: 20px; }
.sv-alumni + .sv-alumni { margin-top: 48px; }
.sv-alumni-img { width: 100%; border-radius: var(--sk-radius); }
.sv-alumni-body { max-width: 820px; margin: 0 auto; padding-top: 28px; }
.sv-alumni-body > p + p { margin-top: 1em; }
.sv-alumni-label {
  font-weight: 900;
  color: var(--sk-blue);
  letter-spacing: 0.06em;
  font-size: 15px;
}
.sv-alumni-title { font-size: clamp(21px, 3.4vw, 27px); font-weight: 900; line-height: 1.55; margin: 4px 0 8px; }
.sv-alumni-name { font-size: 19px; font-weight: 900; margin-bottom: 18px !important; }
.sv-alumni-name span { font-size: 14px; font-weight: 500; color: var(--sk-sub); margin-left: 10px; }
.sv-awards { margin: 0 0 24px; border-top: 1px solid var(--sk-line); }
.sv-awards li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--sk-line);
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.sv-awards li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--sk-yellow);
}
.sv-qa {
  font-size: 18px;
  font-weight: 900;
  color: var(--sk-blue);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sk-line);
}
.sv-alumni-body .sv-qa + p { margin-top: 0; }

/* ----- 03 入部後の成長 ----- */
.sv-growth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.sv-growth { display: flex; flex-direction: column; }
.sv-growth-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sv-growth-imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; height: auto !important; border-radius: 8px; }
.sv-growth-imgs--single { grid-template-columns: 1fr; }
.sv-growth-imgs--single img { aspect-ratio: 2 / 1; object-position: center 35%; }
.sv-growth-body { padding-top: 18px; text-align: center; }
.sv-growth-cat {
  display: inline-block;
  font-weight: 900;
  font-size: 14px;
  color: var(--sk-ink);
  background: var(--sk-yellow);
  padding: 2px 12px;
  border-radius: 999px;
}
.sv-growth-name { font-size: 19px; font-weight: 900; margin-top: 10px; line-height: 1.4; }
.sv-growth-pos { font-size: 14px; color: var(--sk-sub); margin-bottom: 12px; }
.sv-growth-data { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; color: var(--sk-sub); }
.sv-growth-data span { display: flex; flex-direction: column; line-height: 1.4; }
.sv-growth-data b { font-size: 21px; color: var(--sk-ink); font-weight: 900; }
.sv-growth-data i { font-style: normal; color: var(--sk-blue); font-size: 19px; }
.sv-growth-diff { font-size: 32px; font-weight: 900; color: var(--sk-blue); line-height: 1.2; margin-top: 8px; }
@media (max-width: 860px) {
  .sv-growth-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ----- 04 勉強との両立 ----- */
.sv-study-banner { padding-bottom: 32px; }
.sv-study-banner img { width: 100%; border-radius: var(--sk-radius); }
.sv-study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.sv-study { display: flex; flex-direction: column; }
.sv-study-dept { background: var(--sk-blue); color: #FFFFFF; font-weight: 900; line-height: 1.6; padding: 14px 18px; border-radius: 8px; }
.sv-study-head { display: flex; align-items: center; gap: 8px; padding: 16px 0 6px; }
.sv-study-name { font-size: 20px; font-weight: 900; line-height: 1.4; }
.sv-study-pos {
  font-size: 13px;
  font-weight: 700;
  color: var(--sk-blue);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 10px;
}
.sv-study-meta { margin-bottom: 14px; padding: 2px 0 2px 14px; border-left: 2px solid var(--sk-blue); font-size: 14px; }
.sv-study-meta div { display: flex; gap: 10px; }
.sv-study-meta dt { color: var(--sk-sub); min-width: 6em; }
.sv-study-meta dd { font-weight: 700; }
.sv-study > p { font-size: 15px; }
@media (max-width: 900px) { .sv-study-grid { grid-template-columns: 1fr; } }
