/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
:root {
  --viewport-width: min(100vw, 2000px);
  --b: calc(var(--viewport-width) / 160);
}

#singleNews .news__wrapper {
  padding-top: max(22rem, 140px);
}
@media screen and (max-width: 550px) {
  #singleNews .news__wrapper {
    padding-top: 100px;
  }
}
#singleNews .news__header__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px max(1.5rem, 10px);
}
#singleNews .news__header__meta time {
  color: rgba(2, 0, 78, 0.4);
  font-family: YakuHanJP, "Montserrat", "Noto Sans JP", sans-serif;
  font-size: max(1.8rem, 16px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
#singleNews .news__header__meta__cats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
}
#singleNews .news__header__meta__cats__item {
  display: grid;
  place-items: center;
  padding: max(0.75rem, 7.5px) max(1rem, 10px);
  background: #02004E;
  color: #fff;
  font-size: max(1.4rem, 12px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}
#singleNews .news__header__title {
  margin-top: max(1.5rem, 15px);
  font-size: max(3.5rem, 24px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
#singleNews .news__content {
  padding: max(12rem, 50px) 10%;
  margin-top: max(5rem, 50px);
  background: #fff;
  border-radius: max(2rem, 10px);
  -webkit-box-shadow: 0 0 12px #F0F9FF;
          box-shadow: 0 0 12px #F0F9FF;
}
@media screen and (max-width: 550px) {
  #singleNews .news__content {
    padding: 50px 7%;
  }
}
#singleNews .news__content__image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: max(1rem, 10px);
  -webkit-box-shadow: 0 0 12px #F0F9FF;
          box-shadow: 0 0 12px #F0F9FF;
  overflow: hidden;
}
#singleNews .news__content__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#singleNews .news__content__detail {
  margin-top: max(5rem, 30px);
}
#singleNews .news__content__detail p {
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: max(2rem, 15px);
}
#singleNews .news__content__detail p:last-child {
  margin-bottom: 0;
}
#singleNews .news__content__detail h2 {
  font-size: max(2.4rem, 20px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-top: max(5rem, 40px);
  margin-bottom: max(2rem, 15px);
  padding-bottom: max(1.5rem, 12px);
  border-bottom: 2px solid #02004E;
}
#singleNews .news__content__detail h2:first-child {
  margin-top: 0;
}
#singleNews .news__content__detail h3 {
  font-size: max(2rem, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-top: max(4rem, 30px);
  margin-bottom: max(2rem, 15px);
  padding-left: max(1.5rem, 12px);
  border-left: 3px solid #02004E;
}
#singleNews .news__content__detail h3:first-child {
  margin-top: 0;
}
#singleNews .news__content__detail h4 {
  font-size: max(1.8rem, 16px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-top: max(3rem, 25px);
  margin-bottom: max(1.5rem, 12px);
}
#singleNews .news__content__detail h4:first-child {
  margin-top: 0;
}
#singleNews .news__content__detail h5 {
  font-size: max(1.6rem, 14px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-top: max(2.5rem, 20px);
  margin-bottom: max(1.5rem, 12px);
}
#singleNews .news__content__detail h5:first-child {
  margin-top: 0;
}
#singleNews .news__content__detail h6 {
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-top: max(2rem, 15px);
  margin-bottom: max(1.5rem, 12px);
}
#singleNews .news__content__detail h6:first-child {
  margin-top: 0;
}
#singleNews .news__content__detail ul,
#singleNews .news__content__detail ol {
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: max(2rem, 15px);
  margin-bottom: max(2rem, 15px);
  padding-left: max(3rem, 20px);
}
#singleNews .news__content__detail ul {
  list-style-type: disc;
}
#singleNews .news__content__detail ol {
  list-style-type: decimal;
}
#singleNews .news__content__detail li {
  margin-bottom: max(1rem, 8px);
}
#singleNews .news__content__detail li:last-child {
  margin-bottom: 0;
}
#singleNews .news__content__detail li ul,
#singleNews .news__content__detail li ol {
  margin-top: max(1rem, 8px);
  margin-bottom: 0;
}
#singleNews .news__content__detail a {
  color: #02004E;
  text-decoration: underline;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
#singleNews .news__content__detail a:hover {
  opacity: 0.7;
}
#singleNews .news__content__detail img {
  max-width: 100%;
  height: auto;
  margin-top: max(3rem, 20px);
  margin-bottom: max(3rem, 20px);
  border-radius: max(0.5rem, 5px);
}
#singleNews .news__content__detail blockquote {
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: max(3rem, 20px);
  margin-bottom: max(3rem, 20px);
  padding: max(2rem, 15px) max(2.5rem, 20px);
  background: #F0F9FF;
  border-left: 4px solid #02004E;
  border-radius: max(0.5rem, 5px);
}
#singleNews .news__content__detail blockquote p {
  margin-bottom: max(1rem, 8px);
}
#singleNews .news__content__detail blockquote p:last-child {
  margin-bottom: 0;
}
#singleNews .news__content__detail table {
  width: 100%;
  margin-top: max(3rem, 20px);
  margin-bottom: max(3rem, 20px);
  border-collapse: collapse;
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#singleNews .news__content__detail table th,
#singleNews .news__content__detail table td {
  padding: max(1.5rem, 12px) max(1rem, 10px);
  border: 1px solid #E0E0E0;
  text-align: left;
}
#singleNews .news__content__detail table th {
  background: #F0F9FF;
  font-weight: 600;
}
#singleNews .news__content__detail table td {
  background: #fff;
}
#singleNews .news__content__detail strong,
#singleNews .news__content__detail b {
  font-weight: 600;
}
#singleNews .news__content__detail em,
#singleNews .news__content__detail i {
  font-style: italic;
}
#singleNews .news__content__detail code {
  font-family: "Courier New", Courier, monospace;
  font-size: max(1.3rem, 11px);
  background: #F5F5F5;
  padding: max(0.3rem, 3px) max(0.6rem, 5px);
  border-radius: max(0.3rem, 3px);
}
#singleNews .news__content__detail pre {
  font-family: "Courier New", Courier, monospace;
  font-size: max(1.3rem, 11px);
  line-height: 1.6;
  background: #F5F5F5;
  padding: max(2rem, 15px);
  margin-top: max(3rem, 20px);
  margin-bottom: max(3rem, 20px);
  border-radius: max(0.5rem, 5px);
  overflow-x: auto;
}
#singleNews .news__content__detail pre code {
  background: none;
  padding: 0;
}
#singleNews .news__content__detail hr {
  margin-top: max(4rem, 30px);
  margin-bottom: max(4rem, 30px);
  border: none;
  border-top: 1px solid #E0E0E0;
}
#singleNews .news__pagination {
  width: max(60%, 500px);
  margin: max(10rem, 60px) auto max(20rem, 100px) auto;
}
@media screen and (max-width: 768px) {
  #singleNews .news__pagination {
    width: 100%;
  }
}
#singleNews .news__pagination__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
}
@media screen and (max-width: 550px) {
  #singleNews .news__pagination__back {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
#singleNews .news__pagination__back .btn::before {
  display: none;
}
#singleNews .news__pagination__prev, #singleNews .news__pagination__next {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
#singleNews .news__pagination__prev a, #singleNews .news__pagination__next a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(1rem, 5px);
}
#singleNews .news__pagination__prev a span, #singleNews .news__pagination__next a span {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}
#singleNews .news__pagination__prev a img, #singleNews .news__pagination__next a img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: max(1.7rem, 14px);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
#singleNews .news__pagination__prev.is-hidden, #singleNews .news__pagination__next.is-hidden {
  opacity: 0.3;
  pointer-events: none;
}
#singleNews .news__pagination__prev:hover a img {
  -webkit-transform: translateX(-5px);
          transform: translateX(-5px);
}
#singleNews .news__pagination__next:hover a img {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}