
#main .xgap2 {--x-gap:1.5rem;}
#main .section {padding: 5rem 0;}
.main-container {
    position: relative;
    margin: 0 auto;
    max-width: 1480px;
    padding: 0px 20px;
    width: 100%;
}
/* =========================
  visual
========================= */
#visual {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}
#visual .visual-slider {
    position: relative;
    height: 100%;
}
#visual .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
#visual .visual-slide-01 {
  background: url(/img/main/mainvisual-01.jpg) no-repeat center / cover;
}
#visual .visual-slide-02 {
  background: url(/img/main/mainvisual-02.jpg) no-repeat top center / cover;
}
#visual .visual-inner {
  position: relative;
}
#visual .visual-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
#visual .visual-title {
    color: #fff;
    font-family: var(--pointfont);
    font-size: 3.125rem;
    font-weight: 700;
    transition: var(--transition);
    letter-spacing: 0.08rem;
}
#visual .visual-desc {
  color: #eee;
  font-size: 1.25rem;
  transition: var(--transition);
}
.visual-controls{
    position:absolute;
    bottom:60px;
    left:50%;
    transform:translateX(-50%);
    width: 264px;
    z-index: 1;
    display: flex;
    gap: 20px;
}
#visual .swiper-pagination{
  display: flex;
  color: #fff;
  justify-content: space-between;
  position: static;
  text-align: left;
  font-weight: 700;
}
.autoplay-progress{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 10;
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  overflow: hidden;
}
.autoplay-progress svg{
  --progress: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 10px;
  fill: none;
}
.progress-bar{
  stroke: #fff;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 * (1 - var(--progress, 0)));
  transition: stroke-dashoffset .1s linear;
}
@media (max-width:768px) {
    #visual {
        height: 70vh;
    }
    #visual .visual-title {
        font-size: 2.5rem;
    }
}  
@media (max-width:500px) {
    #visual .visual-title {
        font-size: 2rem;
    }
}
/* =========================
  favorite
========================= */
#favorite .favorite-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
    max-width: 1150px;
}
#favorite .favorite-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
#favorite .favorite-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    background-color: #f7f7f7;
    transition: var(--transition);
}
#favorite .favorite-icon img {
    width: 40%;
}
#favorite .favorite-item .favorite-dot {
    width: 8px;
    height: 8px;
    border-radius: 10px;
    opacity: 0;
    background: var(--pointcolor);
    transition: var(--transition);
}
#favorite .favorite-item a:hover .favorite-dot {
    opacity: 1;
}
#favorite .favorite-item a span {
    position: relative;
    color: #2b2B2B;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
}
@media(max-width:1580px) {
    #favorite .favorite-list{
        gap: 2rem;
    }
}
@media (max-width:1280px) {
}
@media (max-width:1024px) {    
    #favorite .favorite-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        max-width: calc((130px *4) + (2rem * 3));
    }
}
@media (max-width:768px) {
    #favorite .favorite-list {
        gap: 2rem 1rem;
    }
    #favorite .favorite-item a {
        gap: .5rem;
    }
    #favorite .favorite-item a span {
        letter-spacing: -0.12rem;
    }
    #favorite .favorite-item .favorite-dot {
        width: 4px;
        height: 4px;
    }
    #favorite .favorite-icon {
        border-radius: 1rem;
    }
}  
/* =========================
  board
========================= */
#board {
    padding-bottom: 7.5rem;
}
#board .main-container {
    border-top: 1px dashed #DDDDDD;
    padding-top: 5rem;
}
#board .board-tit {
    font-family: var(--pointfont);
    font-size: 2.5rem;
    font-weight: 700;
}
.board-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 2.5rem 0 1.5rem;
}
.board-control .tab-list {
    display: flex;
    flex-wrap: nowrap;
    flex: 1;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.board-control .tab-list::-webkit-scrollbar {
    display: none;
}
.board-control .tab-list .tab-item {
    position: relative;
    font-size: 1.125rem;
    font-weight: 500;
    color: #888;
    padding: 0 12px;
    cursor: pointer;
}
.board-control .tab-list .tab-item:first-child {
    padding-left: 0;
}
.board-control .tab-list .tab-item:last-child {
    padding-right: 0;
}
.board-control .tab-list .tab-item::after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 1rem;
    background: #ddd;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.board-control .tab-list .tab-item:last-child::after {
    display: none;
}
.board-control .tab-list .tab-item.active {
    color: var(--pointcolor);
    font-weight: 700;
}
.board-more {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}
.board-more::before,
.board-more::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #555;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}
.board-more::before {
    width: 20px;
    height: 2px;
}
.board-more::after {
    width: 2px;
    height: 20px;
}
.board-content {
    position: relative;
}
.board-content .board-list {
    display: none;
}
.board-content .board-list.active {
    display: block;
}
.board-content .swiper {
    overflow: hidden;
}
.board-content .swiper-wrapper {
    align-items: stretch;
}
.board-content .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: 260px;
    padding: 1.875rem;
    border: 2px solid #f5f5f5;
    border-radius: 1.5rem;
    transition: border var(--transition);
    background: #fff;
    box-sizing: border-box;
}
.board-content .swiper-slide:hover,
.board-content .swiper-slide:focus {
    border-color: var(--pointcolor);
    box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.04);
}
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.board-header .board-category {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pointcolor);
}
.board-header .board-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    border-radius: 999px;
    line-height: 1;
    flex-shrink: 0;
}
.board-subject {
    margin: 1rem 0 1.25rem;
    font-size: 1.375rem;
    font-weight: 500;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 3em;
    line-height: 1.5;
    color: #111;
}
.board-desc {
    width: 100%;
    font-size: 1rem;
    border-top: 1px dashed #DDDDDD;
    color: #555;
    padding-top: 1.25rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 3em;
    line-height: 1.5;
}
.board-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: .875rem;
    color: #999;
    line-height: 1;
}
.board-date::before {
    display: block;
    content: '';
    width: 1rem;
    height: 1rem;
    background: url(/img/icon/calendar.png) no-repeat center/cover;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .board-content .swiper-slide {
        border-radius: 1rem;
        min-height: 240px;
    }
    .board-control {
        margin: 2rem 0 1rem;
    }
    .board-more {
        width: 40px;
        height: 40px;
    }
    .board-more::before {
        width: 16px;
    }
    .board-more::after {
        height: 16px;
    }
    .board-date {
        font-size: 1rem;
    }
}