@charset "UTF-8";

/* course.html: 卒業生の進路 */
.career-lead {
  margin: 0 0 2em;
  padding: 1em 1.2em;
  background: #f5f8fb;
  border-left: 4px solid #315d7a;
  line-height: 1.9;
}

.voice-wrap {
  margin: 1.5em 0 2.5em;
}

.voice-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 0 0 28px;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid #d6e0e6;
  border-radius: 8px;
  box-sizing: border-box;
}

.voice-photo {
  flex: 0 0 240px;
}

.voice-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.voice-body {
  flex: 1 1 auto;
  min-width: 0;
}

.voice-body h4 {
  margin: 0 0 0.65em;
  padding: 0 0 0.35em;
  color: #234f6b;
  font-size: 1.25em;
  line-height: 1.5;
  border-bottom: 2px solid #9db7c8;
}

.voice-profile {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.voice-profile li {
  margin: 0.2em 0;
  line-height: 1.65;
}

.voice-profile li:first-child {
  font-size: 1.08em;
}

.voice-body p {
  margin: 0.8em 0 0;
  line-height: 1.9;
}

.voice-detail{
	margin-top:1em;
}

.voice-detail summary{
	cursor:pointer;
	font-weight:bold;
	color:#234f6b;
	list-style:none;
}

.voice-detail summary::-webkit-details-marker{
	display:none;
}

.voice-detail summary::before{
	content:"▼ ";
	font-size:0.9em;
}

.voice-detail[open] summary::before{
	content:"▲ ";
}

.voice-detail p{
	margin-top:0.8em;
	padding-top:0.8em;
	border-top:1px solid #d6e0e6;
}

@media screen and (max-width: 800px) {
  .career-lead {
    padding: 0.9em 1em;
  }

  .voice-card {
    display: block;
    padding: 16px;
  }

  .voice-photo {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 16px;
  }

  .voice-body h4 {
    font-size: 1.15em;
  }
}
