/* seimitsu-lab.css */

body {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.377) 0%, rgb(233, 236, 239) 100%), url('../img/lab/seimitu-lab-logo.jpg') !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 100vh;
}



/* ヘッダーのスクロール時の背景色をseimitsu-labページ用に調整 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* スクロール時のナビゲーションリンクの色を調整 */
.header.scrolled .nav-link {
  color: #2c3e50 !important;
}

.header.scrolled .nav-link:hover {
  color: #3498db !important;
}

/* スクロール時のハンバーガーメニューの色を調整 */
.header.scrolled .hamburger-line {
  background: #2c3e50 !important;
}

/* ドロップダウンメニューの背景色も調整 */
.header.scrolled .dropdown-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(66, 78, 146, 0.904);
}

.header.scrolled .dropdown-menu a {
  color: #2c3e50 !important;
}

.header.scrolled .dropdown-menu a:hover {
  background: linear-gradient(135deg, #3498db, #1462b1);
  color: #fff !important;
}

.lab-hero {
  background: linear-gradient(135deg, rgba(245, 250, 253, 0.8) 60%, rgba(5, 93, 160, 0.8) 100%);
  padding: 80px 0 40px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}
.lab-title {
  color: #1462b1;
  font-size: 3.5em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 2px 8px #e3f0fa;
  margin-bottom: 18px;
}
.lab-subtitle {
  color: #1462b1;
  font-size: 1.3em;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.lab-works-section {
  background: transparent;
  padding: 60px 0 40px 0;
  /*backdrop-filter: blur(10px);*/
  /*-webkit-backdrop-filter: blur(10px);*/
}
.section-title {
  color: #2c3e50;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  text-shadow: none;
}
.lab-works-list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 28px;
  justify-content: center;
}
.lab-work-card {
  background: #ffffff;
  border-radius: 4px !important;
  box-shadow: 0 6px 32px rgba(0,0,0,0.28), 0 1.5px 0 #444;
  overflow: hidden;
  width: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid #444a;
  animation: fadeInUp 0.8s both;
  color: #2c3e50;
}
.lab-work-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 48px #3498db44, 0 2px 0 #888;
  border-color: #3498db;
}
.lab-work-img {
  width: 100%;
  height: 200px;
  background: #f5fafd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lab-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.08) drop-shadow(0 2px 8px #0008);
  transition: filter 0.3s;
}
.lab-work-card:hover .lab-work-img img {
  filter: brightness(1.05) contrast(1.15) drop-shadow(0 4px 16px #3498db44);
}
.lab-work-info {
  padding: 24px 22px 18px 22px;
  color: #e0e4ea;
}
.lab-work-title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c3e50;
  letter-spacing: 0.06em;
  text-shadow: none;
}
.lab-work-machine {
  font-size: 0.98em;
  color: #1462b1;
  margin-bottom: 8px;
  font-weight: 600;
}
.lab-work-desc {
  font-size: 1em;
  color: #1462b1;
  line-height: 1.7;
}

.lab-message-section {
  /*background: linear-gradient(135deg, #f5fafd 60%, #e3f0fa 100%);*/
  background: transparent;
  padding: 60px 0 60px 0;
}
.lab-message-card {
  background: #fff;
  border-radius: 4px !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.22);
  padding: 40px 32px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #2c3e50;
  border: 1.5px solid #e3f0fa;
  animation: fadeInUp 1s both;
}
.lab-message-card h2 {
  font-size: 1.3em;
  color: #8fb3e2;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lab-message-card p {
  font-size: 1.08em;
  color: #1462b1;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .lab-works-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .lab-work-card {
    width: 95%;
    max-width: 400px;
  }
}
@media (max-width: 600px) {
  .lab-hero {
    padding: 48px 0 24px 0;
  }
  .lab-title {
    font-size: 2em;
  }
  .lab-work-img {
    height: 120px;
  }
  .lab-message-card {
    padding: 18px 8px;
  }
}

.header .nav-link,
.header .nav-link:visited,
.header .nav-link.active {
  color: #2c3e50 !important;
}
.header .nav-link:hover {
  color: #3498db !important;
}

/* シャープな角丸 */
.lab-work-card, .lab-message-card, .lab-hero, .lab-works-section, .lab-works-list, .lab-work-img img, .lab-work-img, .section-title {
  border-radius: 4px !important;
} 