/* =========================================
   学科詳細ページ専用スタイル
   department.css
========================================= */

/* パンくずリスト */
.breadcrumb {
  background: #f5f5f5;
  padding: 12px 20px;
  font-size: 14px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #999;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 学科ヒーローセクション */
.dept-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.dept-hero-content {
  flex: 1;
}

.dept-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.dept-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.dept-lead {
  font-size: 20px;
  line-height: 1.8;
  color: #555;
}

.dept-hero-image {
  flex: 1;
  max-width: 500px;
}

.dept-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* メインコンテンツ */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* セクション共通 */
section {
  margin-bottom: 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

/*.section-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}*/

/*.section-heading div {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}*/

/* 学科概要 */
.overview-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

/* 学びのキーワード */
.keywords-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.keyword-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.keywords-description {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.keywords-description p {
  margin-bottom: 16px;
}

/* コース紹介 */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.course-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.course-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* 研究室の窓 */
.lab-interview {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.interview-header {
  margin-bottom: 30px;
}

.student-dept {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.student-name {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.interview-qa {
  margin-bottom: 30px;
}

.interview-qa:last-child {
  margin-bottom: 0;
}

.question {
  font-size: 18px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 12px;
}

.answer {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

/* カリキュラム */
.curriculum-overview {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.curriculum-years {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.year-block {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
}

.year-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #667eea;
}

.year-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 16px 0 8px;
}

.year-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.year-content li {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  padding-left: 16px;
  position: relative;
}

.year-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
}

.curriculum-note {
  text-align: center;
  font-size: 14px;
  color: #999;
  margin-top: 30px;
}

/* 取得できる資格 */
.qualification-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.qual-group {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
}

.qual-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #667eea;
}

.qual-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qual-group li {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.qual-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 700;
}

/* 進路・就職 */
.career-list ul {
  max-width: 800px;
  margin: 0 auto 30px;
  list-style: none;
  padding: 0;
}

.career-list li {
  font-size: 16px;
  line-height: 2;
  color: #555;
  padding-left: 28px;
  position: relative;
}

.career-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 700;
}

.career-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

/* 関連リンク */
.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.links-list li {
  border-bottom: 1px solid #e0e0e0;
}

.arrow-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.arrow-link::after {
  content: "→";
  color: #667eea;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.arrow-link:hover {
  background: #f9f9f9;
  color: #667eea;
}

.arrow-link:hover::after {
  transform: translateX(5px);
}

/* グリーンエレクトロニクス専用スタイル */
.green-definition {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.def-item {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.def-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.def-item p {
  font-size: 16px;
  line-height: 1.6;
}

.green-description {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.features-content {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.learning-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.point-card {
  background: white;
  border: 2px solid #11998e;
  border-radius: 12px;
  padding: 30px;
}

.point-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #11998e;
  margin-bottom: 16px;
}

.point-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-card li {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.point-card li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #38ef7d;
}

/* Q&A */
.qa-list {
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.qa-item .question {
  font-size: 18px;
  font-weight: 700;
  color: #11998e;
  margin-bottom: 12px;
}

.qa-item .answer {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.career-overview {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
}

.career-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.career-cat {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
}

.career-cat h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #11998e;
}

.career-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-cat li {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.career-cat li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #38ef7d;
  font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .dept-hero {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .dept-title {
    font-size: 32px;
  }
  
  .dept-subtitle {
    font-size: 16px;
  }
  
  .dept-lead {
    font-size: 18px;
  }
  
  .section-heading h2 {
    font-size: 28px;
  }
  
  .keywords-list {
    flex-direction: column;
  }
  
  .keyword-item {
    text-align: center;
  }
  
  .courses-grid,
  .curriculum-years,
  .qualification-groups,
  .learning-points,
  .career-categories {
    grid-template-columns: 1fr;
  }
  
  .career-links {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

	.dept-hero {flex-wrap: wrap;}
	.dept-hero-content {flex-basis:100%;}

}