@charset "utf-8";

#mainv{
	background: url(../img/faculty/mainv.jpg) no-repeat center center/cover;
	color: #fff;
	height: 410px;
}
#mainv h2{
	width: 410px;
	height: 410px;
	background-color: rgba(0,0,0,0.8);
	font-size: 50px;
	padding: 130px 0 0 50px;
	font-weight: 400;
}
#mainv h2 span{
	font-size: 16px;
	display: block;
	line-height: 1.5;
	font-weight: 400;
}
/*----------------------------------------------*/
#sec1{
	padding: 80px 0 35px;
	background: #f0f0f0;
}
.sec1_text01{
	letter-spacing: -0.03em;
	margin-bottom: 50px;
}
.sec1_text02{
	margin-bottom: 20px;
}

/*---------------------------------------------------------
	スマホ
---------------------------------------------------------*/
@media screen and (max-width: 680px) ,screen and (max-width: 737px) and (orientation: landscape) {
#mainv{
	height: 250px;
}
#mainv h2{
	width: 100%;
	height: auto;
	font-size: 25px;
	padding: 20px;
}
	#mainv h2 br{
		display: none;
	}
#mainv h2 span{
	font-size: 15px;
	padding-top: 10px;
}
/*----------------------------------------------*/
#sec1{
	padding: 30px 0 15px;
}
.sec1_text01{
	letter-spacing: 0;
	margin-bottom: 30px;
}

}


/* 動画リスト */
.professor-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

/* カードのデザイン */
.prof-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 350px;
}

/* 画像エリア */
.image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* テキストコンテンツ */
.content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
  border-bottom: 2px solid #005bac;
  padding-bottom: 4px;
  display: inline-block;
}

.title {
  font-size: 0.9rem;
  font-weight: normal;
  color: #000;
  margin-left: 8px;
}

.specialty {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  overflow: hidden;
}

/* ボタンのデザイン */
.button-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flex-row {
  display: flex;
  gap: 8px;
}

.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: opacity 0.2s;
  color: #fff;
}

.btn:hover {
  opacity: 0.8;
}

.btn::after {
content: "play_circle";
  font-family: 'Material Symbols Outlined';
  font-size: 24px;
  margin-left: 15px;
  font-variation-settings: 'wght' 200;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.btn-purple {
  background: linear-gradient(135deg, #a594f9 0%, #6a5acd 100%);
  flex: 1;
}

/* オレンジ：お問い合わせ */
.btn-orange {
  background: linear-gradient(135deg, #ffb347 0%, #ff8c00 100%);
}

/* 赤：研究室紹介動画用（追加） */
.btn-red {
  background: linear-gradient(180deg, #e85d6a 0%, #D11C2C 100%);
}