@charset "UTF-8";

.headerNews{
  background: url("../img/aboutHeadBg.png")no-repeat top;
  background-size: cover;
}

.archive-news{
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
}

.info-item {
  border-bottom: 1px dotted #bdbdbd;
  margin-bottom: 10px;
}

.info-item__title {
    color: var(--Primary_text, #62cac0);
    font-size: 1em;
    font-weight: 700;
}

.info-item__title{
  margin-bottom: 10px;
}

.info-item__title a{
  color: var(--Primary_text, #62cac0);
  font-size: 1em;
  font-weight: 700;
}

.info-text{
  margin-bottom: 1rem;
  word-wrap: break-word;
  line-height: 200%;
  font-size: 0.875em;
}

.info-text a {
    color: #3d529d;
    font-weight: 700;
    position: relative;
}

.info-text a::before {
  content: "";
  width: 80%;
  height: 1px;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #3d529d;
}

.news-post{
  padding:60px 0;
}

.news-post__inner{
  max-width:1024px;
  width:100%;
  margin: 0 auto;
  padding:0 20px;
}

.news-post__title {
  position: relative;
  font-size: 2.375rem;
  font-weight: 700;
  color: var(--Primary_text, #62cac0);
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .news-post__title {
    font-size: 2.0rem;
  }
}

.news-post__title::after {
  position: absolute;
  content: "";
  width: 100%;
  background: var(--Primary_text, #62cac0);;
  height: 3px;
  left: 0;
  bottom: -5px;
}

.news-post__head{
  margin-bottom: 1.8rem;
}

.news-post__contents h2,
.news-post__contents h3 {
  margin-bottom: 1.875rem;
}

.news-post__contents p,
.news-post__contents h4,
.news-post__contents h5,
.news-post__contents h6,
.news-post__contents img,
.news-post__contents ul,
.news-post__contents ol,
.news-post__contents table {
  margin-bottom: 0.9375rem;
}

.news-post__contents p {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--color-text);
}
@media screen and (max-width: 768px) {
  .news-post__contents p {
    font-size: 0.875rem;
  }
}

.news-post__contents h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #3d529d;
}
@media screen and (max-width: 768px) {
  .news-post__contents h2 {
    font-size: 1.75rem;
  }
}

.news-post__contents h3 {
  position: relative;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #3d529d;
  padding-bottom: 1.875rem;
}
@media screen and (max-width: 768px) {
  .news-post__contents h3 {
    font-size: 1.5rem;
  }
}

.news-post__contents h3::after {
  position: absolute;
  content: "";
  width: 3.5rem;
  height: 0.125rem;
  bottom: 0;
  left: 0;
  background-color: var(--color-secondary);
}

.news-post__contents h4 {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 700;
  color: #3d529d;
  letter-spacing: 1px;
  margin-bottom: 0.9375rem;
}
@media screen and (max-width: 768px) {
  .news-post__contents h4 {
    font-size: 1.25rem;
  }
}

.news-post__contents h5 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .news-post__contents h5 {
    font-size: 1.0rem;
  }
}

.news-post__contents h6 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .news-post__contents h6 {
    font-size: 1.0rem;
  }
}

.news-post__contents ul {
  list-style: none;
  padding-left: 2.25rem;
}
@media screen and (max-width: 768px) {
  .news-post__contents ul {
    padding-left: 0.9375rem;
  }
}

.news-post__contents ul li {
  font-size: 1rem;
  display: flex;
  align-items: baseline;
}
@media screen and (max-width: 768px) {
  .news-post__contents ul li {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 768px) {
  .news-post__contents ul li {
    align-items: baseline;
  }
}

.news-post__contents ul li::before {
  content: "⚫︎";
  color: #3d529d;
  font-size: 0.5em;
  margin-right: 1em;
}

.news-post__contents ul li:not(:first-child) {
  margin-top: 0.625rem;
}

.news-post__contents ol {
  counter-reset: number;
  list-style-type: none !important;
  padding-left: 1.25rem;
}

.news-post__contents ol li {
  position: relative;
  line-height: 1.6;
  padding-left: 2.1875rem;
}

.news-post__contents ol li:not(:first-child) {
  margin-top: 0.625rem;
}

.news-post__contents ol li:before {
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display: inline-block;
  background-color: #3d529d;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  left: 0;
  width: 1.5625rem;
  height: 1.5625rem;
  line-height: 25px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.news-post__contents table table {
  border: none;
}

.news-post__contents table thead {
  border-bottom: 1px solid #fff;
}

.news-post__contents table th {
  background: #26C6DA;
  color: #fff;
}

.news-post__contents table td {
  border: 1px solid #26C6DA;
  background-color: #fff;
}

.news-post__contents a {
  color: #3d529d;
  text-decoration: underline;
  word-break: break-all;
}

@media screen and (max-width: 768px) {
  .news-post__contents figure {
    text-align: center;
  }
}

.news-post__contents figure.wp-block-image img {
  width: auto !important;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* YouTube iframe対応（レスポンシブ） */
.news-post__contents iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* CSSでアスペクト比を維持 */
  margin-bottom: 0.9375rem;
}

/* 旧ブラウザ対応が必要な場合はwrapで対応 */
.news-post__contents .video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9のアスペクト比 */
  margin-bottom: 0.9375rem;
}

.news-post__contents .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.single-nav__items {
  margin-top: 90px;
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(33.3333333333% - 1.25rem), 1fr));
  -moz-column-gap: 20px;
  column-gap: 20px;
  justify-items: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .single-nav__items {
    margin-top: 3.4375rem;
    grid-template-columns: 1fr;
    row-gap: 1.6875rem;
  }
}

.single-nav__item {
  width: 100%;
}

.page-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  background-color: #fff;
  border: 1px solid #3d529d;
  color: #3d529d!important;
  padding: 0.625rem 1.25rem;
  border-radius: 2.1875rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.page-nav-button:hover {
  border: 1px solid transparent;
  background-color: #3d529d;;
  color: #fff!important;
  opacity: 1;
}
