﻿.story-tag {
  gap: 0 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #333333;
}

.story-tag.group::before {
  background-image: url(/assets_new/img/story/icon_group.svg);
}

.story-tag::before {
  aspect-ratio: 1;
  display: block;
  width: 20px;
  background-image: url(/assets_new/img/story/icon_tag.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.story-card {
  position: relative;
}

.story-card > a {
  display: block;
  color: #333333;
  text-decoration: none;
}

.story-card-thumb {
  aspect-ratio: 1100 / 640;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.story-card-thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.story-card-info {
  position: relative;
  margin-top: 24px;
}

.story-card-info-category {
  gap: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.story-card-info-category > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 18px;
  padding: 0 10px;
  background-color: #0075C1;
  color: #fff;
  font-size: 1.3rem;
}

.story-card-info-date {
  margin-top: 16px;
  color: #a3a3a3;
}

.story-card-info-title {
  margin-top: 8px;
  font-weight: bold;
  line-height: 1.6;
}

.story-card-tag {
  gap: 8px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 16px;
}

.story-title {
  font-weight: bold;
  text-align: center;
}

.story-title > h1 {
  width: 360px;
  margin: 0 auto;
}

.story-title > p {
  margin-top: 24px;
  line-height: 1.6;
}

.story-slide {
  margin-top: 30px;
  padding: 0 40px;
}

.story-slide > ul {
  height: auto;
}

.story-slide > ul > li {
  width: 550px;
}

.story-slide-arrow {
  aspect-ratio: 1280 / 220;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  pointer-events: none;
}

.story-slide-arrow-prev, .story-slide-arrow-next {
  aspect-ratio: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 60px;
  border-radius: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  pointer-events: auto;
}

.story-slide-arrow-prev > img, .story-slide-arrow-next > img {
  width: 10px;
}

.story-slide-arrow-prev.swiper-button-disabled, .story-slide-arrow-next.swiper-button-disabled {
  visibility: hidden;
}

.story-slide-ctrl {
  gap: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 64px;
}

.story-slide-ctrl-dot {
  gap: 0 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: auto !important;
}

.story-slide-ctrl-dot .swiper-pagination-bullet {
  aspect-ratio: 1;
  width: 16px;
  height: auto;
  margin: 0 !important;
  border: 1px solid #A3A3A3;
  background-color: #fff;
  opacity: 1;
}

.story-slide-ctrl-dot .swiper-pagination-bullet.swiper-pagination-bullet-active {
  border-color: #0075C1;
  background-color: #0075C1;
}

.story-slide-ctrl-prev, .story-slide-ctrl-next {
  position: relative;
  width: 8px;
  cursor: pointer;
}

.story-news {
  margin-top: 100px;
}

.story-news-title {
  gap: 0 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid #E6E6E6;
  color: #0075C1;
}

.story-news-title > h2 {
  font-family: "Roboto", sans-serif;
  font-size: 4.0rem;
}

.story-news-list {
  gap: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

.story-news .btn {
  margin: 50px auto 0;
}

.story-news .pager {
  display: block;
}

.story-news .pager-num:has(span) a {
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid #e6e6e6;
  color: #333;
  line-height: 46px;
  text-align: center;
  text-decoration: none;
}

.story-news .pager-num:has(span.on) a {
  border-color: #f1f1f1;
  background-color: #f1f1f1;
  pointer-events: none;
}

.story-pickup-title {
  padding-top: 24px;
  color: #0075C1;
  text-align: center;
}

.story-pickup-title > h2 {
  font-family: "Roboto", sans-serif;
  font-size: 4.0rem;
}

.story-search {
  margin-top: 100px;
  padding: 40px;
  border-radius: 10px;
  background-color: #F8FAFF;
}

.story-search > *:first-child {
  margin-top: 0;
}

.story-search-title {
  margin-top: 40px;
  color: #0075C1;
  font-size: 1.9rem;
}

.story-search-list {
  gap: 16px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media screen and (max-width: 767px) {
  .story-tag::before {
    width: 16px;
  }
  .story-card-info {
    margin-top: 20px;
  }
  .story-card-info-date {
    margin-top: 8px;
  }
  .story-card-info-title {
    margin-top: 4px;
    font-size: 1.6rem;
  }
  .story-title > h1 {
    width: 240px;
  }
  .story-slide > ul > li {
    width: 69.33333vw;
  }
  .story-slide-arrow {
    aspect-ratio: 550 / 320;
    width: 69.33333vw;
    height: auto;
    padding: 0;
  }
  .story-slide-arrow-prev, .story-slide-arrow-next {
    width: 40px;
  }
  .story-slide-arrow-prev > img, .story-slide-arrow-next > img {
    width: 8px;
  }
  .story-slide-arrow-prev {
    left: -20px;
  }
  .story-slide-arrow-next {
    right: -20px;
  }
  .story-slide-ctrl {
    margin-top: 40px;
  }
  .story-slide-ctrl-dot {
    gap: 0 10px;
  }
  .story-slide-ctrl-dot .swiper-pagination-bullet {
    width: 12px;
  }
  .story-slide-ctrl-prev, .story-slide-ctrl-next {
    width: 6px;
  }
  .story-news {
    margin-top: 40px;
  }
  .story-news-title {
    gap: 0 8px;
    padding-bottom: 14px;
  }
  .story-news-title > h2 {
    font-size: 2.6rem;
  }
  .story-news-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .story-news-list .story-card > a {
    gap: 0 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .story-news-list .story-card-thumb {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 40vw;
    border-radius: 10px;
  }
  .story-news-list .story-card-info {
    width: 100%;
    margin-top: 0;
  }
  .story-news .btn {
    margin-top: 30px;
  }
  .story-news .pager-num:has(span) a {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  .story-pickup-title > h2 {
    font-size: 2.6rem;
  }
  .story-search {
    margin-top: 40px;
    padding: 30px 20px;
  }
  .story-search-list {
    gap: 24px;
    margin-top: 24px;
  }
}

@media screen and (min-width: 768px), print {
  .story-slide {
    min-width: 960px;
    margin-top: 40px;
  }
}
