/* ================================
   Index Page Styles
   ================================ */

/* Banner Section */

.business-section,
.capability-section,
.research-section,
.news-section,
.partners-section,
.register-section{
  margin-bottom: 100px !important;
}

.banner-section {
  width: 100%;
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #fff;
}

.banner-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide .banner-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

.banner-slide .banner-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.banner-slide.active .banner-content h1 {
  animation: bannerFadeUp 0.8s ease 0.2s both;
}

.banner-slide.active .banner-content p {
  animation: bannerFadeUp 0.8s ease 0.4s both;
}

@keyframes bannerFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-slide .banner-content h1 {
  font-size: 36px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.banner-slide .banner-content p {
  font-size: 18px;
  line-height: 1.67;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.banner-dots {
  display: flex;
  gap: 10px;
  z-index: 2;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.banner-dots .dot {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dots .dot:hover {
  opacity: 0.8;
}

.banner-dots .dot.active {
  opacity: 1;
  width: 40px;
}

/* Data Section */
.data-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 60px;
  font-size: 48px;
  color: #222;
  font-family: var(--font-din);
  white-space: nowrap;
}

.data-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.data-item b,
.data-item h2 {
  letter-spacing: 0.05em;
}

.data-item b {
  font-size: 48px;
  font-weight: 700;
}

.data-item b span,
.data-item h2 span {
  font-size: 14px;
}

.data-item h2 {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-noto);
}

.data-divider {
  width: 1px;
  height: 60px;
  background: #f5f5f5;
}

/* Business Section */
.business-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.business-cards {
  display: flex;
  gap: 30px;
}

.business-card {
  flex: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  border: 1px solid #F2F2F2;
  cursor: pointer;
  transition: all 0.3s;
}

.business-card .card-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.business-card .card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.business-card .card-icon rect,
.business-card .card-icon path {
  stroke: #222;
}

.business-card .card-icon path {
  fill: #222;
}

.business-card.active .card-icon rect,
.business-card.active .card-icon path {
  stroke: var(--color-primary);
}

.business-card.active .card-icon path {
  fill: var(--color-primary);
}

.business-card .card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-card h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  margin: 0;
}

.business-card p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
  margin: 0;
}

.business-card.active {
  box-shadow: 4px 4px 4px rgba(46, 84, 161, 0.15);
  border: 1px solid #2E54A1;
  background: #F9FBFF;
}

.business-card.active h2 {
  color: #2E54A1;
}

.business-card:hover:not(.active) {
  border-color: var(--color-primary-light);
}

/* Service Cards */
.service-cards {
  display: flex;
  gap: 30px;
}

.service-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover {
  background: #F9FBFF;
  box-shadow: 4px 4px 4px 0 rgba(46, 84, 161, 0.25);
  cursor: pointer;
}

.service-card:hover .service-card-content {
  background: #F9FBFF;
}

.service-card:hover .service-card-content h2 {
  color: #2E54A1;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 16px;
  background: #F8F8F8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card-content h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 6px;
}

.service-card-content p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
}

/* Capability Section */
.capability-section {
  width: 100%;
  background: #f9fbff;
}

.capability-section>.container,
.capability-section>.section-header,
.capability-section>.capability-cards {
  max-width: 1200px;
  margin: 0 auto;
}

.capability-section {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.capability-cards {
  display: flex;
  gap: 30px;
}

.capability-card {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.capability-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.capability-card-content {
  padding: 16px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.capability-card:hover {
  /* border: 1px solid #2E54A1; */
  background: #F9FBFF;
  box-shadow: 4px 4px 4px 0 rgba(46, 84, 161, 0.25);
  cursor: pointer;
}

.capability-card:hover .capability-card-content {
  background: #F9FBFF;
}

.capability-card:hover .capability-card-content h2 {
  color: #2E54A1;
}

.capability-card-bar {
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin-bottom: 10px;
}

.capability-card-content h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 6px;
}

.capability-card-content p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
}

/* Research Section */
.research-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.research-layout {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.research-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  width: 380px;
}

.research-card {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  border: 1px solid #f1f1f1;
  cursor: pointer;
  transition: all 0.3s;
}

.research-card.active {
  border-color: var(--color-primary);
  background: #F9FBFF;
  box-shadow: 0 2px 8px rgba(46, 84, 161, 0.1);
}

.research-card:hover:not(.active) {
  border-color: var(--color-primary-light);
}

.research-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.research-card>img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.research-card .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.research-card .icon rect {
  stroke: #222;
}

.research-card .icon path {
  fill: #222;
}

.research-card.active .icon rect {
  stroke: var(--color-primary);
}

.research-card.active .icon path {
  fill: var(--color-primary);
}

.research-card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.research-card h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  margin: 0;
}

.research-card p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
  margin: 0;
}

.research-img-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.research-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.research-team-img.active {
  opacity: 1;
  position: relative;
}

/* News Section */
.news-section {
  width: 100%;
  position: relative;
  padding: 60px 20px;
  background: #f8f8f8;
}

.news-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f8f8f8;
}

.news-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.news-content {
  display: flex;
  gap: 30px;
  width: 100%;
}

.news-main {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
}

.news-main:hover .news-main-info h2 {
  color: #2E54A1;
}

.news-main:hover .news-main-info p {
  color: #666;
}

.news-main img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
}

.news-main-info {
  padding: 16px;
  background: #fff;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.news-main:hover .news-main-info {
  background: #F9FBFF;
  border: 1px solid var(--color-primary);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.news-date img {
  width: 10px;
  height: 10px;
}

.news-date span {
  font-size: 14px;
  color: #999;
  letter-spacing: 0.05em;
}

.news-main-text {
  gap: 10px;
}

.news-main-text h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 6px;
  transition: all 0.3s;
}

.news-main-text p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
}

.news-list {
  flex: 0 0 calc(60% - 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.news-item:hover {
  background: #F9FBFF;
  box-shadow: 0 2px 8px rgba(46, 84, 161, 0.08);
  border: 1px solid var(--color-primary-light);
}

.news-item .news-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  gap: 2px;
}

.news-item .news-date-day {
  font-size: 30px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.news-item:hover .news-date-day {
  color: var(--color-primary);
}

.news-item .news-date-ym {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

.news-item .news-item-text {
  display: flex;
  align-items: self-start;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.news-date-ym {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

.news-divider {
  width: 1px;
  align-self: stretch;
  margin: 8px 0;
  background: #e0e0e0;
  flex-shrink: 0;
}

.news-item-text {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.news-item-text h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item:hover .news-item-text h2 {
  color: var(--color-primary);
}

.news-item-text p {
  font-size: 12px;
  color: #4A5565;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-more {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 1px solid #999;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #222;
  transition: all 0.3s;
}

.btn-more:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-arrow {
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* Partners Section */
.partners-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.partners-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partners-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tab-btn {
  padding: 8px 24px;
  border: 1px solid #999;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #222;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-btn.active:hover {
  color: #fff;
}

/* Tab Panel */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Honeycomb Layout */
.honeycomb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.honeycomb-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -28px;
}

.honeycomb-row:first-child {
  margin-top: 0;
}

.honeycomb-row--offset {
  margin-left: 76px;
  margin-right: 76px;
}

.hex-cell {
  width: 140px;
  height: 162px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.hex-cell:hover .hex-border {
  background-color: var(--color-primary);
}

.hex-cell:hover {
  filter: drop-shadow(0 2px 6px rgba(46, 84, 161, 0.12));
}

.hex-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.hex-border {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #F1F1F1;
  z-index: 0;
  transition: all 0.3s;
}

.hex-cell img {
  max-width: 70%;
  max-height: 50%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Contact Section */
.contact-section {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-content h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.contact-content p {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  width: 80%;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 1px solid #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #fff;
  transition: all 0.3s;
  width: 200px;
  justify-content: center;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
  .data-section {
    gap: 40px;
  }

  .honeycomb {
    transform: scale(0.7);
    transform-origin: center;
  }

  .banner-section {
    height: 450px;
  }

  .news-content {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .research-cards {
    width: 100%;
  }

  .research-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .data-section {
    gap: 20px;
  }

  .honeycomb {
    transform: scale(0.5);
    transform-origin: center;
  }

  .banner-section {
    height: 350px;
  }

  .news-content {
    flex-direction: column;
  }

  .news-main {
    flex: none;
    width: 100%;
  }

  .news-list {
    width: 100%;
  }

  .news-main img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 280px;
  }

  .banner-slide .banner-content h1 {
    font-size: 20px;
  }

  .banner-slide .banner-content p {
    font-size: 13px;
  }

  .news-section {
    padding: 40px 15px;
  }

  .news-main-text h2 {
    font-size: 16px;
  }

  .news-main-text p {
    font-size: 13px;
  }
}