@charset "utf-8";
main {
  position: relative;
}

.visual {
  min-height: 38rem;
  display: flex;
  align-items: center;
  background: url("../images/main/visual.jpg") no-repeat center top;
  background-size: cover;
  color: #fff;
}

.visual p {
  font-size: 4.8rem;
}

.book-info {
  position: relative;
}

.book-info .inner {
  display: flex;
  height: 10rem;
}

.book-info .title {
  min-width: 41rem;
  padding-right: 3%;
  flex-basis: 31.5%;
  position: relative;
  text-align: right;
}

.book-info .title::before {
  content: "";
  position: absolute;
  right: 0;
  width: 100vw;
  top: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: -1;
}

.book-info .title::after {
  content: "";
  width: 40%;
  max-width: 17.3rem;
  height: 16.3rem;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url("../images/main/obj_book.png") no-repeat left bottom -0.6rem;
  background-size: 100%;
}

.book-info .title p {
  position: relative;
  padding: 3rem 0;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 600;
}

.book-info .title p::after {
  content: "";
  width: 4.7rem;
  height: 4rem;
  display: inline-block;
  vertical-align: middle;
  margin: -3px 0 0 1rem;
  background: url("../images/main/obj_call.png") no-repeat center;
  background-size: 100%;
}

.book-info .number {
  flex-grow: 1;
  position: relative;
  padding-left: 4%;
  display: flex;
  align-items: center;
  gap: 1rem 3.3rem;
}

.book-info .number::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100vw;
  top: 0;
  bottom: 0;
  background: linear-gradient(to right, #f2fae2, #feefdf 40%);
  z-index: -1;
}

.book-info .number p {
  position: relative;
  padding-left: 4rem;
}

.book-info .number p::before {
  content: "";
  width: 3rem;
  height: 3rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/ico/ico_call_sec.svg") no-repeat left top;
  background-size: 100%;
}

.book-info .number .num {
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.book-info .number .num::after {
  content: "";
  width: 1px;
  height: 2.6rem;
  position: absolute;
  right: -1.6rem;
  top: 0.8rem;
  background: var(--border);
}

.book-info .number .time .tag {
  padding: 0.4rem 2rem 0.5rem;
  margin-right: 0.6rem;
  font-size: 1.5rem;
}

.shortcut-wrap {
  margin-top: 8rem;
  margin-bottom: 6rem;
  display: flex;
  justify-content: space-between;
}

.shortcut-wrap a {
  position: relative;
  flex-basis: 18.7%;
  max-width: 26.9rem;
  padding: 1.7rem 1rem 1.9rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}

.shortcut-wrap a::after {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  z-index: -1;
}

.shortcut-wrap a:hover::after,
.shortcut-wrap a:focus::after {
  border: 2px solid var(--color-primary);
}

.shortcut-wrap a:hover,
.shortcut-wrap a:focus {
  color: var(--color-primary);
}

.shortcut-wrap a::before {
  content: "";
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1rem;
  background-position: left top;
  background-size: 100%;
  background-repeat: no-repeat;
}

.shortcut-wrap a.ico1::before {
  background-image: url("/pub/images/main/ico_shortcut1.svg");
}
.shortcut-wrap a.ico2::before {
  background-image: url("/pub/images/main/ico_shortcut2.svg");
}
.shortcut-wrap a.ico3::before {
  background-image: url("/pub/images/main/ico_shortcut3.svg");
}
.shortcut-wrap a.ico4::before {
  background-image: url("/pub/images/main/ico_shortcut4.svg");
}
.shortcut-wrap a.ico5::before {
  background-image: url("/pub/images/main/ico_shortcut5.svg");
}

.subtitle {
  font-size: 2.6rem;
  font-weight: 600;
}

.board {
  padding: 6rem 0 10rem;
  background: var(--bg-light);
}

.board .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.4rem;
}

.board .top .more {
  position: relative;
  width: 15.2rem;
  padding: 1.1rem 2.4rem;
  color: #fff;
  font-weight: 500;
  border-radius: 5rem;
  background: var(--color-dark);
}

.board .top .more::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  right: 2rem;
  background: url("/pub/images/ico/ico_arr_white_2.svg") no-repeat left top;
  background-size: 100%;
}

.brd-swiper .swiper-slide a {
  display: block;
  position: relative;
  padding: 2.8rem 2.8rem 3.2rem;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  background: #fff;
}

.brd-swiper .swiper-slide a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #6fba2c, #f58220);
  border-radius: 1.5rem;
  -webkit-mask: linear-gradient(white, white) content-box,
    linear-gradient(white, white);
  -webkit-mask-composite: exclude;
  mask-composite: exclude;
  padding: 0.3rem;
  transition: all 0.2s ease;
  opacity: 0;
}

.brd-swiper .swiper-slide a:hover::before,
.brd-swiper .swiper-slide a:focus::before {
  opacity: 1;
}

.brd-swiper .swiper-slide a .tag {
  font-size: 1.5rem;
}

.brd-swiper .swiper-slide .stitle2 {
  min-height: 7.6rem;
  margin: 1.6rem 0 7.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 500;
}

.brd-swiper .swiper-slide .date {
  color: #888;
  font-size: 1.5rem;
}

@media screen and (max-width: 1200px) {
  .book-info .title {
    min-width: 0;
    padding-right: 2%;
  }

  .book-info .title::after {
    width: 36%;
    left: -1rem;
  }

  .book-info .title p {
    font-size: 2.4rem;
  }

  .book-info .title p::after {
    width: 13%;
  }

  .book-info .number {
    padding-left: 3%;
  }

  .book-info .number .num {
    font-size: 2.8rem;
  }
}

/* tablet */
@media screen and (max-width: 1024px) {
  .book-info .title {
    flex-basis: 42%;
  }

  .book-info .number {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .book-info .number .num::after {
    display: none;
  }
}

/* mobile */
@media screen and (max-width: 768px) {
  .visual {
    min-height: 23rem;
    background-image: url("../images/main/visual_m.jpg");
  }

  .visual p {
    margin-bottom: 3rem;
    font-size: 2.6rem;
  }

  .book-info .inner {
    flex-direction: column;
    padding: 0;
    height: auto;
  }

  .book-info .title {
    padding: 1.15rem 2rem;
    text-align: left;
    background: var(--color-primary);
  }

  .book-info .title::before,
  .book-info .number::before {
    display: none;
  }

  .book-info .title::after {
    left: auto;
    right: 2rem;
    width: 9.6rem;
    height: 9rem;
    background-position: left bottom -0.3rem;
  }

  .book-info .title p {
    padding: 0 0 0 3.3rem;
    font-size: 1.8rem;
  }

  .book-info .title p::after {
    position: absolute;
    margin: 0;
    width: 2.3rem;
    height: 2rem;
    left: 0;
    top: 0.4rem;
  }

  .book-info .number {
    padding: 2rem 2rem;
    background: linear-gradient(to right, #f0fce3, #feefdf);
  }

  .book-info .number p {
    padding-left: 3.5rem;
  }

  .book-info .number p::before {
    width: 2.5rem;
    height: 2.5rem;
  }

  .book-info .number .num {
    font-size: 2.4rem;
  }

  .book-info .number .time .tag {
    padding: 0.35rem 1.6rem;
    font-size: 1.2rem;
  }

  .shortcut-wrap {
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .shortcut-wrap a {
    flex-basis: calc(50% - 0.5rem);
    font-size: 1.5rem;
  }

  .shortcut-wrap a::before {
    width: 3.5rem;
    height: 3.5rem;
  }

  .subtitle {
    font-size: 2.2rem;
  }

  .board {
    padding: 5rem 0 8rem;
  }

  .board .top {
    margin-bottom: 1.6rem;
  }

  .board .top .more {
    width: 7.6rem;
    padding: 0.6rem 1.2rem;
  }

  .board .top .more::before {
    width: 1.5rem;
    height: 1.5rem;
    right: 0.8rem;
  }

  .brd-swiper.swiper {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
  }

  .brd-swiper .swiper-slide a {
    padding: 2rem 2rem 2.4rem;
    border: 1px solid var(--border-light);
    border-radius: 1.2rem;
  }

  .brd-swiper .swiper-slide a::before {
    border-radius: 1.2rem;
  }

  .brd-swiper .swiper-slide a .tag {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
  }

  .brd-swiper .swiper-slide .stitle2 {
    margin: 1.2rem 0 2.4rem;
    min-height: 5.8rem;
  }

  .brd-swiper .swiper-slide .date {
    font-size: 1.2rem;
  }
}
