.page-title {
  padding-top: 244px;
}

.topic-post .page-title-text {
  color: #005094;
}

.page-title-text span:first-child {
  font-size: 55px;
  font-weight: 300;
  line-height: 1;
  font-family: "Jost", sans-serif;
}

.page-title-text span:last-child {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 767px) {
  .page-title {
    padding-top: 23vw;
  }

  .page-title-text span:first-child {
    font-size: 8vw;
  }

  .page-title-text span:last-child {
    font-size: 3.9vw;
    display: block;
    margin-top: 0.5vw;
  }
}

.topic-item {
  padding: 30px 0 25px;
  border-bottom: 1px solid #c4c4c4;
  position: relative;
  margin-top: 115px;
  margin-bottom: 115px;
}

.topic-item::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 15%;
  height: 1px;
  background-color: #005094;
}

.topic-item:first-child {
  border-top: 1px solid #c4c4c4;
}

.topic-item:first-child::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 15%;
  height: 1px;
  background-color: #005094;
}

.topic-inner {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: flex-start;
}

.topic-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 64%;
  margin-right: auto;
}

.topic-thumbnail {
  flex: 0 0 270px;
}

.topic-thumbnail img {
  width: 100%;
  height: auto;
  border: 1px solid #000;
}

.topic-date {
  color: #000;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1;
  font-weight: 700;
}

.topic-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.9;
}

.topic-content {
  font-size: 16px;
  line-height: 2;
  color: #000;
  margin-bottom: 3px;
  font-weight: 500;
}

.topic-back-link-text {
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  background-color: #005094;
  padding: 10px 20px;
  padding-right: 50px;
  font-weight: 700;
  width: 160px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 200px;
}

.arrow-right-hollow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-right-hollow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 15px;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}

.arrow-right-hollow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 767px) {
  .topic-item {
    padding: 7.5vw 0 4vw;
    margin-top: 9vw;
    margin-bottom: 9vw;
  }

  .topic-item::before {
    width: 20%;
  }

  .topic-item:first-child::after {
    width: 20%;
  }

  .topic-inner {
    flex-direction: column;
    gap: 7vw;
  }

  .topic-content-wrapper {
    width: 100%;
  }

  .topic-thumbnail {
    flex: unset;
    width: 100%;
  }

  .topic-thumbnail img {
    width: 100%;
    height: calc(83vw * 325 / 620);
    object-fit: cover;
    border: 1px solid #000;
  }

  .topic-date {
    font-size: 3.6vw;
    margin-bottom: 0;
  }

  .topic-title {
    font-size: 4.5vw;
    margin-bottom: 1.5vw;
    line-height: 1.9;
  }

  .topic-content {
    font-size: 4vw;
    line-height: 1.6;
    -webkit-line-clamp: 5;
    font-weight: 400;
  }

  .topic-back-link-text {
    font-size: 3.5vw;
    padding: 1vw 2vw ;
    padding-right: 7vw;
    width: 30vw;
    margin-bottom: 25vw;
    background-color: #c4c4c4;
  }
  
  .arrow-right-hollow::before {
    right: 4vw;
    width: 3vw;
    height: 0.4vw;
  }
  
  .arrow-right-hollow::after {
    right: 4vw;
    width: 2vw;
    height: 2vw;
    border-top: 0.4vw solid #fff;
    border-right: 0.4vw solid #fff;
  }
}
