/* 化学生命工学部 学科詳細ページ共通CSS */

/* パンくずリスト */
.breadcrumb {
    background: #f5f5f5;
    padding: 1rem 0;
    font-size: 0.9rem;
}

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

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

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb a {
    color: #9C27B0;
    text-decoration: none;
}

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

/* ヒーローセクション */
.hero-section {
    padding: 4rem 0;
    color: white;
    text-align: center;
}

/*.hero-content {
    max-width: 800px;
    margin: 0 auto;
}*/

.faculty-label {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.department-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.department-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.department-lead {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* 学科ヒーローセクション */
.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);
}


/* セクション共通 */
.section {
    padding: 4rem 0;
}

.section.bg-light {
    background: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.content-box h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.content-box h3:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 1rem;
}

.content-box ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

/* キーワードグリッド */
/*.keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.keyword-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.keyword-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
*/
/* 学びのキーワード */
.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;
}


/* コースカード */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #9C27B0;
}

.course-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: normal;
}

.course-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.course-features li:before {
    content: '✓';
    color: #4CAF50;
    margin-right: 0.5rem;
    font-weight: bold;
}

.course-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #F3E5F5;
    border-left: 4px solid #9C27B0;
    font-size: 0.9rem;
}

/* インタビューボックス */
.interview-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.interview-content h3 {
    font-size: 1.5rem;
    color: #9C27B0;
    margin-bottom: 1rem;
}

.interview-student {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.interview-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.interview-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.interview-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.interview-meta p {
    margin-bottom: 0.5rem;
}

.interview-meta strong {
    color: #9C27B0;
}

.teacher-comment {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #F3E5F5;
    border-radius: 8px;
}

.teacher-name {
    font-weight: bold;
    color: #9C27B0;
    margin-bottom: 0.5rem;
}

/* カリキュラムグリッド */
/*.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.curriculum-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.curriculum-item h3 {
    font-size: 1.3rem;
    color: #9C27B0;
    margin-bottom: 1rem;
}

.curriculum-item p {
    line-height: 1.6;
}*/

/* カリキュラム */
.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-list {
    display: grid;
    gap: 2rem;
}

.qualification-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qualification-category h3 {
    font-size: 1.3rem;
    color: #9C27B0;
    margin-bottom: 1rem;
}

.qualification-category p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.qualification-category ul {
    list-style: none;
    padding: 0;
}

.qualification-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.qualification-category li:before {
    content: '●';
    color: #4CAF50;
    position: absolute;
    left: 0;
}*/


/* 取得できる資格 */
.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;
}


/* リンクグリッド */
/*.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.link-card h3 {
    font-size: 1.3rem;
    color: #9C27B0;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: #666;
    font-size: 0.95rem;
}*/


/* 関連リンク */
.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);
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .department-title {
        font-size: 1.8rem;
    }
    
    .department-subtitle {
        font-size: 1rem;
    }
    
    .department-lead {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-box,
    .interview-box,
    .qualification-category {
        padding: 1.5rem;
    }
    
    .keyword-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .course-grid,
    .curriculum-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }
	
	.dept-hero {flex-wrap: wrap;}
	.dept-hero-content {flex-basis:100%;}
}