@charset "UTF-8";

/*-------------------------------------------
タイトル枠
-------------------------------------------*/
.TtlBox {
  width: 100%;
  height: 50vh;
}

.TtlBox h1 {
  color: #0a2341;
  font-size: 4.472vw;
  font-weight: 700;
  line-height: 1.6;
  padding: 10vw;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.TtlBox h1 span {
  font-size: 2.38vw;
  display: block;
  font-weight: 700;
}

@media only screen and (max-width: 780px) {
  .TtlBox {
    width: 100%;
    height: 60vh;
  }

  .TtlBox h1 {
    font-size: 10.472vw;
    line-height: 1;
    padding: 40vw 0 0 10vw;
  }

  .TtlBox h1 span {
    font-size: 4.38vw;
    display: block;
    margin-left: 0;
    margin-top: 3vh;
  }
}

/*-------------------------------------------
コンテンツ
-------------------------------------------*/

.NewsBox {
  padding: 0 15vw 0 10vw;
}

.NewsBlock {
  width: 100%;
  margin: 0 auto;
  list-style: none;
  border-top: 1px solid #0a2341;
  padding-top: 5vw;
  margin-bottom: 10vw;
}

.category-tag li:first-child {
  background: #0a2341;
  border-radius: 5px;
  padding: 5px 10px;
  color: #fff;
  display: inline-block;
}

.catDay {
  margin: 0.5vw 0;
}

.NewsBlock h2 {
  font-size: 1.6vw;
  font-weight: bold;
  transition: 0.3s;
  margin-bottom: 2vw;
}

.post_thumbnail {
  margin: 0 auto 2vw;
  text-align: center;
}

.NewsBox p {
  line-height: 2rem;
}

.NewsconD {
  border-bottom: 1px solid #0a2341;
  padding-bottom: 5vw;
}

.gobackarticle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  width: 100%;
}

.gobackarticle a {
  width: 15rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 400ms;
  letter-spacing: 0.1rem;
  text-align: center;
}

.prev-text,
.next-text {
  position: relative;
}

.prev-text::before {
  content: "";
  display: block;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: absolute;
  top: calc(100% - 38px);
  left: -5vw;
  background-color: #0a2341;
}

.prev-text::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% - 16px);
  left: -4vw;
  width: 40px;
  height: 12px;
  border: none;
  border-left: 2px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(-45deg);
  transition: 0.3s;
}

a:hover .prev-text::after {
  left: -4.5vw;
}

.next-text::before {
  content: "";
  display: block;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: absolute;
  top: calc(100% - 38px);
  right: -5vw;
  background-color: #0a2341;
}

.next-text::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% - 16px);
  right: -4vw;
  width: 40px;
  height: 12px;
  border: none;
  border-right: 2px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(45deg);
  transition: 0.3s;
}

a:hover .next-text::after {
  right: -4.5vw;
}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 780px) {
  .NewsBox {
    padding: 10vw 10vw 0;
  }

  .NewsBlock {
    width: 100%;
    margin: 0 auto;
    list-style: none;
    border-top: 1px solid #0a2341;
    padding-top: 5vw;
    margin-bottom: 10vw;
  }

  .catDay {
    margin: 2vw 0;
  }

  .NewsBlock h2 {
    font-size: 3.8vw;
    margin-bottom: 5vw;
  }

  .NewsBox p {
    line-height: 3rem;
  }

  .gobackarticle a {
    width: 10rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 400ms;
    letter-spacing: 0.1rem;
    text-align: center;
  }

  .prev-text,
  .next-text {
    position: relative;
    font-size: 0.1rem;
  }

  .prev-text::before {
    content: "";
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(100% - 38px);
    left: -5vw;
    background-color: #0a2341;
  }

  .prev-text::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(100% - 20px);
    left: -2vw;
    width: 30px;
    height: 10px;
    border: none;
    border-left: 2px solid #fff;
    border-bottom: 1px solid #fff;
    transform: skew(-45deg);
    transition: 0.3s;
  }

  a:hover .prev-text::after {
    left: -2.5vw;
  }

  .next-text::before {
    content: "";
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(100% - 38px);
    right: -5vw;
    background-color: #0a2341;
  }

  .next-text::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(100% - 20px);
    right: -2vw;
    width: 30px;
    height: 10px;
    border: none;
    border-right: 2px solid #fff;
    border-bottom: 1px solid #fff;
    transform: skew(45deg);
    transition: 0.3s;
  }

  a:hover .next-text::after {
    right: -2.5vw;
  }
}
