*:root {
  --cover_H: calc(100vh);
  --arrow_icon: url("../../public/image/arrow.svg");
}

main {
  margin-top: calc(var(--HeaderHeight) + var(--cover_H));
  position: relative;
}

.more_btn {
  padding: 5rem 20rem;
  font-weight: 500;
}

#cover_box {
  --show_index: 0;
  --img_offset_y: 0%;
  width: 100%;
  height: var(--cover_H);
  display: flex;
  position: fixed;
  z-index: -1;
  top: calc(var(--HeaderHeight));
}
#cover_box .cover_img_box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  transform: translateX(calc(var(--show_index) * -100%));
  transition: transform 0.5s ease;
}
#cover_box .cover_img_box img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  transform: translateY(var(--img_offset_y));
  transition: transform 0.1s ease;
}

#cover_select_btn_box {
  display: flex;
  align-items: center;
  position: absolute;
  top: calc((var(--HeaderHeight)) * -1.5);
  left: 50%;
  transform: translate(-50%);
  gap: 15rem;
}
#cover_select_btn_box input[type=radio] {
  display: none;
}
#cover_select_btn_box label {
  width: 15rem;
  aspect-ratio: 1/1;
  background-color: #b7b7b7;
  cursor: pointer;
  display: flex;
  border-radius: 50%;
}
#cover_select_btn_box input[type=radio]:checked + label {
  background-color: #ff9900;
}

.carousel_box {
  width: 100%;
  height: max-content;
  background-color: var(--mc3);
  display: grid;
  grid-template-columns: 1fr 10fr 1fr;
  grid-template-rows: auto;
}
.carousel_box > div {
  width: 100%;
  height: 100%;
}
.carousel_box .title_box {
  grid-area: 1/2/2/3;
  padding: 7vw 0 5vw 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel_box .title_box h1 {
  font-size: 1.875em;
}
.carousel_box .content_box {
  --box_w: 100%;
  --show_count: 4;
  --x_offest: 0;
  width: var(--box_w);
  grid-area: 2/2/3/3;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.carousel_box .content_box .content {
  width: calc(var(--box_w) / var(--show_count));
  aspect-ratio: 1/1;
  display: flex;
  flex-shrink: 0;
  transform: translateX(calc(var(--x_offest) * -100%));
}
.carousel_box .content_box .content .info_box {
  --size: 80%;
  width: var(--size);
  height: var(--size);
  margin: auto;
}
.carousel_box :where(.prev_btn, .next_btn) {
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel_box :where(.prev_btn, .next_btn)::before {
  content: "";
  width: 34rem;
  aspect-ratio: 1/1;
  background-color: white;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.carousel_box :where(.prev_btn, .next_btn):hover::before {
  background-color: #353535;
}
.carousel_box .prev_btn {
  grid-area: 1/1/4/2;
  cursor: pointer;
}
.carousel_box .prev_btn::before {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  right: 20rem;
}
.carousel_box .next_btn {
  grid-area: 1/3/4/4;
  cursor: pointer;
}
.carousel_box .next_btn::before {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  left: 20rem;
}
.carousel_box .func_btn_box {
  grid-area: 3/2/4/3;
  padding: 5vw 0 7vw 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#important_info_box .content {
  aspect-ratio: 1.3/1 !important;
  cursor: pointer;
  position: relative;
}
#important_info_box .content::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  display: block;
  position: absolute;
  z-index: 0;
  transform: scale(0.93);
}
#important_info_box .content .info_box {
  --main_color: var(--mc3);
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
#important_info_box .content .info_box:before {
  content: "";
  width: 100%;
  height: 6%;
  background-color: var(--main_color);
}
#important_info_box .content .info_box::after {
  content: "";
  width: 30rem;
  aspect-ratio: 2/1;
  background-image: var(--arrow_icon);
  background-position: right;
  background-size: cover;
  position: absolute;
  bottom: 0;
  right: 0;
}
#important_info_box .content .info_box .ann_class {
  width: 100%;
  color: #212529;
  font-size: 1.5em;
  font-weight: 700;
  margin: 1vw 0;
}
#important_info_box .content .info_box .ann_title {
  width: max-content;
  max-width: 100%;
  font-size: 1.25em;
  font-weight: 700;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-wrap: break-word;
}
#important_info_box .content .info_box .ann_date {
  color: black;
  font-weight: 300;
  margin-top: auto;
}
#important_info_box .content:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
#important_info_box .content:hover .info_box {
  --main_color: var(--mc1);
}
#important_info_box .content:hover .info_box .ann_class {
  color: var(--main_color);
}
#important_info_box .content:hover .info_box .ann_title {
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1rem;
  text-underline-offset: 3rem;
}

#highlights_box .content_box {
  align-items: flex-start !important;
}
#highlights_box .content_box .content {
  aspect-ratio: initial;
  cursor: pointer;
}
#highlights_box .content_box .content .info_box {
  --img_w: 236rem;
  height: max-content !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
#highlights_box .content_box .content .info_box img {
  width: var(--img_w);
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 0 4rem 4rem 0 rgba(0, 0, 0, 0.25);
}
#highlights_box .content_box .content .info_box h1 {
  width: var(--img_w);
  margin-top: 24rem;
  font-size: 1.125em;
  font-weight: 400;
  text-align: center;
}

#generalAnn_and_FBembed {
  width: 100%;
  height: max-content;
  min-height: 500rem;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: flex-start;
  padding: 6vw 0;
}
#generalAnn_and_FBembed #generalAnn_box, #generalAnn_and_FBembed #FBembed {
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  justify-content: flex-start !important;
}
#generalAnn_and_FBembed #generalAnn_box > .title, #generalAnn_and_FBembed #FBembed > .title {
  width: 100%;
  height: 50rem;
  margin-bottom: 30rem;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
}
#generalAnn_and_FBembed #generalAnn_box > .title h1, #generalAnn_and_FBembed #FBembed > .title h1 {
  font-size: 1.875em;
  font-weight: 400;
}
#generalAnn_and_FBembed #generalAnn_box {
  flex: 5;
  height: 500rem;
  overflow: unset !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
#generalAnn_and_FBembed #generalAnn_box .generalAnn {
  width: 100%;
  height: 60rem;
  background-color: #efefef;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#generalAnn_and_FBembed #generalAnn_box .generalAnn::before {
  content: "";
  width: 80rem;
  aspect-ratio: 2/1;
  background-image: var(--arrow_icon);
  background-size: cover;
  background-position: right;
  transform: scale(33%);
}
#generalAnn_and_FBembed #generalAnn_box .generalAnn .title {
  flex: 1;
  max-width: 570rem;
  font-weight: 400;
  font-size: 1.25em;
  margin-right: auto;
}
#generalAnn_and_FBembed #generalAnn_box .generalAnn .date {
  margin: 0 5%;
  font-weight: 300;
}
#generalAnn_and_FBembed #generalAnn_box .generalAnn:hover {
  background-color: #ddc3df;
  box-shadow: 0 0 50rem 0rem rgba(0, 0, 0, 0.2), 0 2rem 5rem 0 rgba(0, 0, 0, 0.5);
  z-index: 1;
}
#generalAnn_and_FBembed #generalAnn_box .more_btn {
  margin-top: auto;
  transform: scale(1.02) translateY(50%);
}
#generalAnn_and_FBembed #FBembed {
  flex: 4;
  aspect-ratio: 1.5/1;
}
#generalAnn_and_FBembed #FBembed .title {
  background-color: #2c5a7b;
}
#generalAnn_and_FBembed #FBembed .title h1 {
  color: white;
  padding: 1.5rem 0;
  margin-left: 15rem;
}
#generalAnn_and_FBembed #FBembed #embed_box {
  width: 100%;
  aspect-ratio: 1.5/1;
  background-color: #efefef;
  overflow-y: hidden;
}

@media screen and (max-width: 1300px) {
  #generalAnn_and_FBembed {
    flex-direction: column !important;
  }
  #generalAnn_and_FBembed #generalAnn_box, #generalAnn_and_FBembed #FBembed {
    width: 100%;
    padding: 0;
  }
  #generalAnn_and_FBembed #generalAnn_box .title, #generalAnn_and_FBembed #FBembed .title {
    height: max-content;
    justify-content: center;
    margin: 3vw 0;
  }
  #generalAnn_and_FBembed #generalAnn_box .more_btn, #generalAnn_and_FBembed #FBembed .more_btn {
    margin: 3vw;
  }
  #generalAnn_and_FBembed #generalAnn_box {
    padding: 0 3vw;
    margin-bottom: 50rem;
  }
  #generalAnn_and_FBembed #FBembed {
    flex: unset;
    margin-bottom: 5rem;
  }
  #generalAnn_and_FBembed #FBembed #embed_box {
    max-width: 500px;
    aspect-ratio: 1/1.25;
  }
}
@media screen and (min-width: 900px) and (max-width: 1500px) {
  .content_box {
    --show_count: 3 !important;
  }
}
@media screen and (min-width: 570px) and (max-width: 900px) {
  .content_box {
    --show_count: 2 !important;
  }
}
@media screen and (max-width: 570px) {
  .carousel_box {
    grid-template-columns: 1fr 3fr 1fr !important;
  }

  .content_box {
    --show_count: 1 !important;
  }

  .title_box {
    padding: 30vw 0 10vw 0 !important;
  }
  .title_box h1 {
    font-size: 1.8em !important;
  }

  .func_btn_box {
    padding: 10vw 0 30vw 0 !important;
  }
}