/* ==========================================================================
   Seesar Responsive — Mobile First
   .seesar-front-page scope
   SP: ~767px (default) / TAB: 768~1024px / PC: 1025px~
   ========================================================================== */

/* ---------- SP Default ---------- */

/* Header SP */
.header__nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--seesar-bg-white);
  z-index: 999;
  overflow-y: auto;
  padding: 16px;
}

.header__nav.is-open {
  display: block;
}

.header__nav-list {
  flex-direction: column;
  gap: 0;
}

.header__nav-link {
  padding: 12px 16px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--seesar-border-light);
  border-radius: 0;
  width: 100%;
}

.header__search {
  display: none;
}

.header__hamburger {
  display: flex;
}

/* Footer SP */
.footer__grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Hero SP */
.seesar-front-page .hero__slide {
  height: 250px;
}

.seesar-front-page .hero__slide-content {
  padding: 0 16px;
}

.seesar-front-page .hero__slide-title {
  font-size: 1.25rem;
}

.seesar-front-page .hero__slide-desc {
  display: none;
}

/* Card Grid SP */
.seesar-front-page .card-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.seesar-front-page .card-grid--4col {
  grid-template-columns: repeat(2, 1fr);
}

/* Section SP */
.seesar-front-page .section {
  padding: 32px 0;
}

.seesar-front-page .section__title {
  font-size: 1.25rem;
}

/* Video/SNS Grid SP */
.seesar-front-page .video-sns-grid {
  grid-template-columns: 1fr;
}

/* Calendar Table SP */
.seesar-front-page .calendar-table th,
.seesar-front-page .calendar-table td {
  padding: 8px;
  font-size: 0.75rem;
}

/* Article Row SP */
.seesar-front-page .article-row {
  flex-direction: column;
}

.seesar-front-page .article-row__thumb {
  width: 100%;
}

/* Tab Nav SP */
.seesar-front-page .tab-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  padding-bottom: 8px;
}

.seesar-front-page .tab-nav__btn {
  flex-shrink: 0;
}


/* ==========================================================================
   TAB (768px ~)
   ========================================================================== */
@media (min-width: 768px) {

  /* Header TAB */
  .header__hamburger {
    display: none;
  }

  .header__nav {
    display: flex;
    position: static;
    background: transparent;
    overflow: visible;
    padding: 0;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 4px;
  }

  .header__nav-link {
    padding: 6px 12px;
    font-size: 0.8125rem;
    border-bottom: none;
    border-radius: var(--seesar-radius-sm);
    width: auto;
  }

  .header__search {
    display: block;
  }

  /* Footer TAB */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seesar-front-page .container {
    padding: 0 32px;
  }

  .seesar-front-page .hero__slide {
    height: 350px;
  }

  .seesar-front-page .hero__slide-title {
    font-size: 1.5rem;
  }

  .seesar-front-page .hero__slide-desc {
    display: block;
  }

  .seesar-front-page .video-sns-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seesar-front-page .article-row {
    flex-direction: row;
  }

  .seesar-front-page .article-row__thumb {
    width: 200px;
  }
}


/* ==========================================================================
   PC (1025px ~)
   ========================================================================== */
@media (min-width: 1025px) {

  /* Footer PC */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .seesar-front-page .hero__slide {
    height: 400px;
  }

  .seesar-front-page .hero__slide-content {
    padding: 0 48px;
  }

  .seesar-front-page .hero__slide-title {
    font-size: 2rem;
  }

  .seesar-front-page .section {
    padding: 48px 0;
  }

  .seesar-front-page .section__title {
    font-size: 1.5rem;
  }

  .seesar-front-page .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .seesar-front-page .card-grid--4col {
    grid-template-columns: repeat(4, 1fr);
  }
}
