@charset "UTF-8";
/* =========================================================
   voice.css — 学生voice ページ専用
   1. 学生インタビュー ひとことカード（p-voiceList）
   2. 神奈川歯科大生の1日（p-oneday）
   ========================================================= */

/* 1. 学生インタビュー ひとことカード ---------------------- */
.p-voiceList__lead {
  margin-bottom: 32px;
}

.p-voiceList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 12px;
}

.p-voiceList__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 56 / 66;
  object-fit: cover;
  border-radius: 12px;
}

.p-voiceList__name {
  margin: 16px 0 8px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--color-main);
}

.p-voiceList__text {
  margin: 0;
  font-size: var(--fs-sm);
}

.p-voiceList__tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-voiceList__tags li {
  padding: 2px 12px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  background: color-mix(in srgb, var(--color-main) 10%, #fff);
}

.p-voiceList__note {
  margin-top: 24px;
  font-size: var(--fs-sm);
}

/* 2. 神奈川歯科大生の1日 ---------------------------------- */
.p-oneday__banner {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  border-radius: 16px;
  max-width: 800px;
  margin-inline: auto;
}

.p-oneday__lead {
  margin-bottom: 40px;
  text-align: center;
}

.p-oneday__profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.p-oneday__profileImg {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 14px color-mix(in srgb, var(--color-main) 10%, #fff);
}

.p-oneday__profileLogo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 0 16px;
}

.p-oneday__profileName {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-main);
}

.p-oneday__profileDept {
  margin: 0;
  font-size: var(--fs-sm);
}

.p-oneday__image {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}

/* タブレット幅は3列 --------------------------------------- */
@media (max-width: 1100px) and (min-width: 769px) {
  .p-voiceList {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* SP ------------------------------------------------------ */
@media (max-width: 768px) {
  .p-voiceList {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
  }

  .p-oneday__banner {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 24px;
  }

  .p-oneday__lead {
    text-align: left;
  }

  .p-oneday__profile {
    gap: 16px;
    margin-bottom: 24px;
  }

  .p-oneday__profileImg {
    width: 112px;
    height: 112px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 10px color-mix(in srgb, var(--color-main) 10%, #fff);
  }

  .p-oneday__profileLogo {
    width: 110px;
    margin-bottom: 8px;
  }
}

/* 3. 学生voice カード（既存7枚）の見出し ------------------ */
.c-card--voice > p {
  color: var(--color-main);
  font-size: var(--fs-lg);
  border-bottom: 1px solid var(--color-main);
}

.c-card--voice > p::after {
  display: none;
}

/* 4. h2 の上余白（このページのみ） ------------------------ */
@media (min-width: 769px) {
  .p-voice > .c-heading-2 ~ .c-heading-2 {
    margin-top: 96px;
  }

  .p-voice > .c-accordion-item ~ .c-accordion-item {
    margin-top: 96px !important;
  }
}

/* 5. ひとことカードのカード化 ----------------------------- */
.p-voiceList {
  padding: 40px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--color-main) 5%, #fff);
}

.p-voiceList__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--color-main) 12%, transparent);
}

.p-voiceList__img {
  border-radius: 0;
}

.p-voiceList__name {
  margin: 16px 16px 8px;
  font-size: var(--fs-md);
}

.p-voiceList__text {
  margin-inline: 16px;
}

.p-voiceList__tags {
  margin: 12px 16px 0;
}

.p-voiceList__tags li {
  background: var(--color-main);
  color: #fff;
}

/* 5-SP ---------------------------------------------------- */
@media (max-width: 768px) {
  .p-voiceList {
    padding: 24px 16px;
    border-radius: 16px;
  }
}
