@charset "utf-8";
/* CSS Document */

main {
  background-color: #f7f2eb;
  padding: 90px 0 80px;
}
@media(max-width:768px) {
  main{
    padding-top: 10px;
  }
}


.pan {
  color: #2F6EB4;
  font-size: 1.6rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 29px auto 80px;
  max-width: 1280px;
  width: 80%;
}

.pan img {
  width: 16px;
  display: block;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0;
  margin: 0;
}

.breadcrumb li::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2F6EB4;
  border-right: 2px solid #2F6EB4;
  transform: rotate(45deg);
  margin: 0 10px 2px;
}

.breadcrumb li:last-child {
  font-weight: 700;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a{
  display: inline-block;
}

.breadcrumb li:last-child::after {
  content: "";
}


section {
  width: 80%;
  max-width: 1280px;
}

.image-area {
  width: 100%;
  height: 53vw;
  max-height: 755px;
}

.image-area img {
  object-fit: contain;
}

section h2 {
  font-size: 3.6rem;
  color: #9F2B2C;
  text-align: left;
  margin: 50px 0;
}

.day {
  text-align: left;
  font-size: 1.6rem;
  color: #7f7f7f;
}

.day span {
  margin-left: 20px;
}

.event-des {
  text-align: left;
  margin: 50px 0 100px;
}

.event-des a {
  font-weight: 700;
  color: #2F6EB4;
  border-bottom: solid 2px #2F6EB4;
}

.btn-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 100px auto 0;
  max-width: 460px;
}

.btn-wrap p:hover {
  transition: all 0.1s linear;
  transform: translateX(2px);
  box-shadow: unset;
}

.btn-wrap p {
  background-color: #2F6EB4;
  padding: 5px 20px;
  color: #fdfdfd;
  border-radius: 50px;
  font-size: 1.6rem;
  box-shadow: 2px 2px 4px #757B83;
  position: relative;
  width: fit-content;
}

.home-back::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-image: url("../images/home-w.png");
  background-size: contain;
}


@media(max-width:768px) {
  .pan {
    font-size: 1.4rem;
    width: 90%;
    margin: 70px auto 50px;
  }

  section h2 {
    font-size: 2.4rem;
  }

  .event-des,
  .day {
    font-size: 1.4rem;
  }

  .btn-wrap {
    width: 90%;
    flex-direction: column;
  }

  .btn-wrap p {
    font-size: 1.4rem;
    width: 250px;
  }

  .btn-wrap a:first-child {
    margin-bottom: 20px;
  }

  footer {
    margin-bottom: 0;
  }
}