.news-detail__article {
  background-color: #ffffff;
  padding: 20px 20px 35px 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__article {
    padding: 50px 50px 90px 50px;
  }
}

.news-detail__article__head__date {
  font-size: 1.4rem;
}

@media screen and (min-width: 960px) {
  .news-detail__article__head__date {
    font-size: 2.0rem;
  }
}

.news-detail__article__head__title {
  font-size: 1.8rem;
  margin-top: 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__head__title {
    font-size: 2.4rem;
    margin-top: 30px;
  }
}

.news-detail__article__body {
  margin-top: 20px;
  padding-top: 20px;
  background-image: -webkit-linear-gradient(left, #adadad, #adadad 2px, transparent 2px, transparent 2px);
  background-image: linear-gradient(to right, #adadad, #adadad 2px, transparent 2px, transparent 2px);
  background-size: 4px 1px;
  background-repeat: repeat-x;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body {
    background-image: -webkit-linear-gradient(left, #adadad, #adadad 2px, transparent 2px, transparent 2px);
    background-image: linear-gradient(to right, #adadad, #adadad 2px, transparent 2px, transparent 2px);
    margin-top: 40px;
    padding-top: 50px;
  }
}

.news-detail__article__body__content p:not(:first-child),
.news-detail__article__body__content figure:not(:first-child),
.news-detail__article__body__content .wp-block-image:not(:first-child),
.news-detail__article__body__content ol:not(:first-child), .news-detail__article__body__content ul:not(:first-child) {
  margin-top: 15px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content p:not(:first-child),
  .news-detail__article__body__content figure:not(:first-child),
  .news-detail__article__body__content .wp-block-image:not(:first-child),
  .news-detail__article__body__content ol:not(:first-child), .news-detail__article__body__content ul:not(:first-child) {
    margin-top: 35px;
  }
}

.news-detail__article__body__content p:not(:last-child),
.news-detail__article__body__content figure:not(:last-child),
.news-detail__article__body__content .wp-block-image:not(:last-child),
.news-detail__article__body__content ol:not(:last-child), .news-detail__article__body__content ul:not(:last-child) {
  margin-bottom: 15px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content p:not(:last-child),
  .news-detail__article__body__content figure:not(:last-child),
  .news-detail__article__body__content .wp-block-image:not(:last-child),
  .news-detail__article__body__content ol:not(:last-child), .news-detail__article__body__content ul:not(:last-child) {
    margin-bottom: 35px;
  }
}

.news-detail__article__body__content p {
  font-size: 1.2rem;
  line-height: 1.75em;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content p {
    font-size: 1.6rem;
  }
}

.news-detail__article__body__content img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

.news-detail__article__body__content a {
  color: #208bcc !important;
  font-weight: 700 !important;
  -webkit-transition: color .3s !important;
  transition: color .3s !important;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content a:hover {
    color: #2a9fdd !important;
    text-decoration: underline !important;
  }
}

.news-detail__article__body__content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.75em;
  color: #03314c;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h1 {
    font-size: 2.4rem;
  }
}

.news-detail__article__body__content h1:not(:first-child) {
  margin-top: 60px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h1:not(:first-child) {
    margin-top: 80px;
  }
}

.news-detail__article__body__content h1:not(:last-child) {
  margin-bottom: 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h1:not(:last-child) {
    margin-bottom: 50px;
  }
}

.news-detail__article__body__content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.75em;
  color: #03314c;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h2 {
    font-size: 2.0rem;
  }
}

.news-detail__article__body__content h2:not(:first-child) {
  margin-top: 30px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h2:not(:first-child) {
    margin-top: 60px;
  }
}

.news-detail__article__body__content h2:not(:last-child) {
  margin-bottom: 15px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h2:not(:last-child) {
    margin-bottom: 30px;
  }
}

.news-detail__article__body__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75em;
  color: #03314c;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h3 {
    font-size: 1.8rem;
  }
}

.news-detail__article__body__content h3:not(:first-child) {
  margin-top: 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h3:not(:first-child) {
    margin-top: 40px;
  }
}

.news-detail__article__body__content h3:not(:last-child) {
  margin-bottom: 10px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h3:not(:last-child) {
    margin-bottom: 20px;
  }
}

.news-detail__article__body__content h4, .news-detail__article__body__content h5, .news-detail__article__body__content h6 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75em;
  color: #000000;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h4, .news-detail__article__body__content h5, .news-detail__article__body__content h6 {
    font-size: 1.8rem;
  }
}

.news-detail__article__body__content h4:not(:first-child), .news-detail__article__body__content h5:not(:first-child), .news-detail__article__body__content h6:not(:first-child) {
  margin-top: 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h4:not(:first-child), .news-detail__article__body__content h5:not(:first-child), .news-detail__article__body__content h6:not(:first-child) {
    margin-top: 40px;
  }
}

.news-detail__article__body__content h4:not(:last-child), .news-detail__article__body__content h5:not(:last-child), .news-detail__article__body__content h6:not(:last-child) {
  margin-bottom: 10px;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content h4:not(:last-child), .news-detail__article__body__content h5:not(:last-child), .news-detail__article__body__content h6:not(:last-child) {
    margin-bottom: 20px;
  }
}

.news-detail__article__body__content ol,
.news-detail__article__body__content ul {
  margin-left: 1em !important;
}

.news-detail__article__body__content ol li,
.news-detail__article__body__content ul li {
  font-size: 1.2rem !important;
  line-height: 1.75em !important;
}

@media screen and (min-width: 960px) {
  .news-detail__article__body__content ol li,
  .news-detail__article__body__content ul li {
    font-size: 1.6rem !important;
  }
}

.news-detail__article__body__content ol li:not(first-child),
.news-detail__article__body__content ul li:not(first-child) {
  margin-top: 5px !important;
}

.news-detail__article__body__content ol li {
  list-style: decimal !important;
}

.news-detail__article__body__content ul li {
  list-style: disc !important;
}

.news-detail__article__body__content .alignleft,
.news-detail__article__body__content .aligncenter,
.news-detail__article__body__content .alignright {
  max-width: none !important;
}

.news-detail__article__body__content .aligncenter {
  text-align: center !important;
  float: none !important;
  margin: 0 auto !important;
}

.news-detail__article__body__content .alignright {
  text-align: right !important;
  float: none !important;
  margin: 0 0 0 auto !important;
}

.news-detail__article__body__content strong {
  font-weight: 700;
}

.news-detail__article__body__content em {
  font-style: italic;
}

.news-detail__back {
  margin-top: 30px;
}

@media screen and (min-width: 960px) {
  .news-detail__back {
    margin-top: 46px;
  }
}

.news-detail__back__anchor {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a9fdd;
  border: 1px solid #2a9fdd;
  max-width: 160px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px;
}

@media screen and (min-width: 960px) {
  .news-detail__back__anchor {
    max-width: 320px;
    font-size: 2.0rem;
    padding: 37px 20px;
    -webkit-transition: background-color .3s, color .3s;
    transition: background-color .3s, color .3s;
  }
}

@media screen and (min-width: 960px) {
  .news-detail__back__anchor:hover {
    background-color: #2a9fdd;
    color: #ffffff;
  }
}

.news-archive__list {
  background-color: #ffffff;
  padding: 0 10px;
}

@media screen and (min-width: 960px) {
  .news-archive__list {
    padding: 0 50px;
  }
}

.news-archive__list__item:not(:first-child) {
  border-top: 1px dotted #b8b8b8;
}

.news-archive__list__item__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 30px 20px;
}

.news-archive__list__item__content:hover .news-archive__list__item__content__title {
  color: #2a9fdd;
}

@media screen and (min-width: 960px) {
  .news-archive__list__item__content {
    padding: 40px 0;
  }
}

.news-archive__list__item__content__title {
  margin-left: 15px;
}

@media screen and (min-width: 960px) {
  .news-archive__list__item__content__title {
    margin-left: 25px;
    -webkit-transition: color .3s;
    transition: color .3s;
  }
}

.news-archive .wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 15px;
}

@media screen and (min-width: 960px) {
  .news-archive .wp-pagenavi {
    margin-top: 48px;
  }
}

.news-archive .wp-pagenavi > * {
  display: block;
  padding: 12px;
}

@media screen and (min-width: 960px) {
  .news-archive .wp-pagenavi > * {
    padding: 16px;
    -webkit-transition: color .3s;
    transition: color .3s;
  }
}

@media screen and (min-width: 960px) {
  .news-archive .wp-pagenavi > *:hover {
    color: #2a9fdd;
  }
}

.news-archive .wp-pagenavi .pages {
  display: none;
}

.news-archive .wp-pagenavi .current {
  font-weight: 700;
}

.news-archive .wp-pagenavi .current:hover {
  color: inherit;
}

.news-archive .wp-pagenavi .previouspostslink,
.news-archive .wp-pagenavi .nextpostslink {
  display: block;
  position: relative;
}

.news-archive .wp-pagenavi .previouspostslink::before,
.news-archive .wp-pagenavi .nextpostslink::before {
  content: '';
  position: absolute;
  top: calc(50% - 5px);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNi41MiAyOC43OSIgY2xhc3M9InNlYXJjaC1hcmNoaXZlX19wYWdlcl9faWNvbiBzZWFyY2gtYXJjaGl2ZV9fcGFnZXJfX2ljb24tLXJpZ2h0Ij4NCjxkZWZzPg0KPHN0eWxlPg0KLmljby1hcnJvdyB7DQogICAgZmlsbDogbm9uZTsNCiAgICBzdHJva2U6ICMxYzFjMWI7DQogICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOw0KICAgIHN0cm9rZS13aWR0aDogM3B4Ow0KfQ0KPC9zdHlsZT4NCjwvZGVmcz4NCjxwb2x5bGluZSBjbGFzcz0iaWNvLWFycm93IiBwb2ludHM9IjE1LjQ2IDI3LjczIDIuMTIgMTQuMzkgMTUuNDYgMS4wNiIgLz4NCjwvc3ZnPg==");
  background-size: 7px 12px;
  width: 7px;
  height: 12px;
}

@media screen and (min-width: 960px) {
  .news-archive .wp-pagenavi .previouspostslink::before,
  .news-archive .wp-pagenavi .nextpostslink::before {
    background-size: 9px 15px;
    width: 9px;
    height: 15px;
    top: calc(50% - 6px);
    -webkit-transition: background .3s;
    transition: background .3s;
  }
}

@media screen and (min-width: 960px) {
  .news-archive .wp-pagenavi .previouspostslink:hover::before,
  .news-archive .wp-pagenavi .nextpostslink:hover::before {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNi41MiAyOC43OSIgY2xhc3M9InNlYXJjaC1hcmNoaXZlX19wYWdlcl9faWNvbiBzZWFyY2gtYXJjaGl2ZV9fcGFnZXJfX2ljb24tLXJpZ2h0Ij4NCjxkZWZzPg0KPHN0eWxlPg0KLmljby1hcnJvdyB7DQogICAgZmlsbDogbm9uZTsNCiAgICBzdHJva2U6ICMyYTlmZGQ7DQogICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOw0KICAgIHN0cm9rZS13aWR0aDogM3B4Ow0KfQ0KPC9zdHlsZT4NCjwvZGVmcz4NCjxwb2x5bGluZSBjbGFzcz0iaWNvLWFycm93IiBwb2ludHM9IjE1LjQ2IDI3LjczIDIuMTIgMTQuMzkgMTUuNDYgMS4wNiIgLz4NCjwvc3ZnPg==");
  }
}

.news-archive .wp-pagenavi .previouspostslink::before {
  left: 10px;
}

.news-archive .wp-pagenavi .nextpostslink::before {
  left: auto;
  right: 5px;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
