#archive .cate-menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: calc(8px * 6);
}

@media screen and (max-width: 959px) {
  #archive .cate-menu {
    margin-bottom: calc((8px * 6) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive .cate-menu {
    margin-bottom: calc((8px * 6) * 0.5);
  }
}

@media screen and (max-width: 767px) {
  #archive .cate-menu {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

#archive .cate-menu__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2px 8px;
  width: 100%;
  height: 32px;
  line-height: 1.4;
  background: #ffffff;
  border: 1px solid #111111;
}

#archive .cate-menu__item a:hover {
  color: #ffffff;
  background: #111111;
}

#archive .cate-menu__item.current a {
  color: #ffffff;
  background: #111111;
}

#archive .wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
}

@media screen and (max-width: 519px) {
  #archive .wp-pagenavi {
    position: relative;
    padding-bottom: 52px;
  }
}

#archive .wp-pagenavi .page,
#archive .wp-pagenavi .current,
#archive .wp-pagenavi .nextpostslink,
#archive .wp-pagenavi .previouspostslink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: solid 1px #111111;
  background: #ffffff;
  color: #111111;
  font-size: 1.4rem;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 519px) {
  #archive .wp-pagenavi .page,
  #archive .wp-pagenavi .current,
  #archive .wp-pagenavi .nextpostslink,
  #archive .wp-pagenavi .previouspostslink {
    font-size: 1.2rem;
  }
}

#archive .wp-pagenavi .page:not(.current):hover,
#archive .wp-pagenavi .current:not(.current):hover,
#archive .wp-pagenavi .nextpostslink:not(.current):hover,
#archive .wp-pagenavi .previouspostslink:not(.current):hover {
  background: #111111;
  color: #ffffff;
}

#archive .wp-pagenavi .current {
  background: #111111;
  color: #ffffff;
}

#archive .wp-pagenavi .nextpostslink,
#archive .wp-pagenavi .previouspostslink {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  position: relative;
  width: 56px;
  white-space: nowrap;
}

@media screen and (max-width: 519px) {
  #archive .wp-pagenavi .nextpostslink,
  #archive .wp-pagenavi .previouspostslink {
    width: calc((100% / 2) - (12px * 1 / 2));
  }
}

@media screen and (max-width: 519px) {
  #archive .wp-pagenavi .previouspostslink {
    position: absolute;
    bottom: 0;
    left: 6px;
    margin: 0;
  }
}

#archive .wp-pagenavi .previouspostslink::before {
  margin-right: 4px;
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

#archive .wp-pagenavi .nextpostslink {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

@media screen and (max-width: 519px) {
  #archive .wp-pagenavi .nextpostslink {
    position: absolute;
    right: 6px;
    bottom: 0;
    margin: 0;
  }
}

#archive .wp-pagenavi .nextpostslink::before {
  margin-left: 4px;
}

#archive .pagenation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
}

@media screen and (max-width: 519px) {
  #archive .pagenation {
    position: relative;
    padding-bottom: 52px;
  }
}

#archive .pagenation .page-numbers,
#archive .pagenation .current,
#archive .pagenation .next,
#archive .pagenation .prev {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: solid 1px #111111;
  background: #ffffff;
  color: #111111;
  font-size: 1.4rem;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 519px) {
  #archive .pagenation .page-numbers,
  #archive .pagenation .current,
  #archive .pagenation .next,
  #archive .pagenation .prev {
    font-size: 1.2rem;
  }
}

#archive .pagenation .page-numbers:not(.current):hover,
#archive .pagenation .current:not(.current):hover,
#archive .pagenation .next:not(.current):hover,
#archive .pagenation .prev:not(.current):hover {
  background: #111111;
  color: #ffffff;
}

#archive .pagenation .current {
  background: #111111;
  color: #ffffff;
}

#archive .pagenation .next,
#archive .pagenation .prev {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  position: relative;
  width: 56px;
  white-space: nowrap;
}

@media screen and (max-width: 519px) {
  #archive .pagenation .next,
  #archive .pagenation .prev {
    width: calc((100% / 2) - (12px * 1 / 2));
  }
}

@media screen and (max-width: 519px) {
  #archive .pagenation .prev {
    position: absolute;
    bottom: 0;
    left: 6px;
    margin: 0;
  }
}

#archive .pagenation .prev::before {
  margin-right: 4px;
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

#archive .pagenation .next {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

@media screen and (max-width: 519px) {
  #archive .pagenation .next {
    position: absolute;
    right: 6px;
    bottom: 0;
    margin: 0;
  }
}

#archive .pagenation .next::before {
  margin-left: 4px;
}

#archive .lower-page {
  margin-bottom: calc(8px * 15);
}

@media screen and (max-width: 959px) {
  #archive .lower-page {
    margin-bottom: calc((8px * 15) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive .lower-page {
    margin-bottom: calc((8px * 15) * 0.5);
  }
}

#archive .news-list {
  margin-bottom: calc(8px * 6);
}

@media screen and (max-width: 959px) {
  #archive .news-list {
    margin-bottom: calc((8px * 6) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive .news-list {
    margin-bottom: calc((8px * 6) * 0.5);
  }
}

#archive .news-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 0;
  border-bottom: solid 1px #111111;
}

@media screen and (max-width: 519px) {
  #archive .news-list__item {
    display: block;
  }
}

#archive .news-list__item:first-child {
  border-top: solid 1px #111111;
}

#archive .news-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 160px;
}

@media screen and (max-width: 959px) {
  #archive .news-meta {
    width: 148px;
  }
}

@media screen and (max-width: 519px) {
  #archive .news-meta {
    margin-bottom: 4px;
  }
}

#archive .news-meta__cate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 3px 2px 2px;
  width: 70px;
  height: 24px;
  font-size: 1.2rem;
  font-family: "Figtree", sans-serif;
  border: solid 1px #111111;
  line-height: 1.4;
}

#archive .news-meta__cate:hover {
  background: #111111;
  color: #ffffff;
}

#archive .news-ttl {
  width: calc(100% - 176px);
}

@media screen and (max-width: 959px) {
  #archive .news-ttl {
    width: calc(100% - 164px);
  }
}

@media screen and (max-width: 519px) {
  #archive .news-ttl {
    width: 100%;
  }
}

#archive .news-ttl a {
  line-height: 1.4;
  overflow: hidden;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#archive .news-ttl a:hover {
  text-decoration: underline;
}

#single .post-eyecatch {
  position: relative;
  aspect-ratio: 3/2;
  max-width: 800px;
  margin-bottom: calc(8px * 5);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 959px) {
  #single .post-eyecatch {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-eyecatch {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

#single .post-eyecatch img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

#single .post-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 16px;
  width: 160px;
  line-height: 1;
}

@media screen and (max-width: 959px) {
  #single .post-meta {
    width: 148px;
  }
}

@media screen and (max-width: 519px) {
  #single .post-meta {
    margin-bottom: 12px;
  }
}

#single .post-meta__cate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 3px 2px 2px;
  width: 70px;
  height: 24px;
  font-size: 1.2rem;
  font-family: "Figtree", sans-serif;
  border: solid 1px #111111;
  line-height: 1.4;
}

#single .post-meta__cate:hover {
  background: #111111;
  color: #ffffff;
}

#single .post-tag {
  margin-bottom: calc(8px * 5);
}

@media screen and (max-width: 959px) {
  #single .post-tag {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-tag {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

#single .post-tag__item a {
  color: #f1f1f1;
}

#single .post-ttl {
  margin-bottom: calc(8px * 7);
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single .post-ttl {
    margin-bottom: calc((8px * 7) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-ttl {
    margin-bottom: calc((8px * 7) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .post-ttl {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 519px) {
  #single .post-ttl {
    font-size: 2.2rem;
  }
}

#single .post-dtl {
  margin-bottom: calc(8px * 6);
}

@media screen and (max-width: 959px) {
  #single .post-dtl {
    margin-bottom: calc((8px * 6) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl {
    margin-bottom: calc((8px * 6) * 0.5);
  }
}

#single .post-dtl h2 {
  margin-top: 56px;
  margin-bottom: calc(8px * 4);
  padding-bottom: calc(8px * 2);
  font-size: 2.4rem;
  font-weight: bold;
  border-bottom: solid 1px #111111;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single .post-dtl h2 {
    margin-bottom: calc((8px * 4) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h2 {
    margin-bottom: calc((8px * 4) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .post-dtl h2 {
    padding-bottom: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h2 {
    padding-bottom: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .post-dtl h2 {
    margin-top: 48px;
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h2 {
    margin-top: 40px;
    font-size: 2rem;
  }
}

#single .post-dtl h3 {
  position: relative;
  margin-top: 48px;
  padding-left: 8px;
  margin-bottom: calc(8px * 3);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single .post-dtl h3 {
    margin-bottom: calc((8px * 3) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h3 {
    margin-bottom: calc((8px * 3) * 0.5);
  }
}

#single .post-dtl h3::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: #111111;
}

@media screen and (max-width: 959px) {
  #single .post-dtl h3 {
    margin-top: 30px;
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h3 {
    margin-top: 32px;
    font-size: 1.6rem;
  }
}

#single .post-dtl h4 {
  margin-top: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: calc(8px * 2);
  margin-left: 0 !important;
  padding: 4px 6px;
  font-size: 1.4rem;
  font-weight: bold;
  background: #111111;
  color: #ffffff;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single .post-dtl h4 {
    margin-bottom: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h4 {
    margin-bottom: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .post-dtl h4 {
    margin-top: 32px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl h4 {
    margin-top: 24px;
    font-size: 1.3rem;
  }
}

#single .post-dtl .has-small-font-size {
  font-size: 1.4rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl .has-small-font-size {
    font-size: 1.2rem;
  }
}

#single .post-dtl .has-normal-font-size {
  font-size: 1.6rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl .has-normal-font-size {
    font-size: 1.4rem;
  }
}

#single .post-dtl .has-medium-font-size {
  font-size: 2rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl .has-medium-font-size {
    font-size: 1.6rem;
  }
}

#single .post-dtl .has-large-font-size {
  font-size: 2.4rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl .has-large-font-size {
    font-size: 2rem;
  }
}

#single .post-dtl .has-huge-font-size {
  font-size: 2.8rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl .has-huge-font-size {
    font-size: 2.4rem;
  }
}

#single .post-dtl .has-red-color {
  color: #CE0707;
}

#single .post-dtl .has-grn-color {
  color: #0BA299;
}

#single .post-dtl .has-beg-color {
  color: #E7E7E2;
}

#single .post-dtl .has-blk-color {
  color: #111111;
}

#single .post-dtl .has-wht-color {
  color: #ffffff;
}

#single .post-dtl .has-l-gry-color {
  color: #f7f7f7;
}

#single .post-dtl .has-gry-color {
  color: #f5f5f5;
}

#single .post-dtl .has-d-gry-color {
  color: #f1f1f1;
}

#single .post-dtl .has-red-background-color {
  background-color: #CE0707;
}

#single .post-dtl .has-grn-background-color {
  background-color: #0BA299;
}

#single .post-dtl .has-beg-background-color {
  background-color: #E7E7E2;
}

#single .post-dtl .has-blk-background-color {
  background-color: #111111;
}

#single .post-dtl .has-wht-background-color {
  background-color: #ffffff;
}

#single .post-dtl .has-l-gry-background-color {
  background-color: #f7f7f7;
}

#single .post-dtl .has-gry-background-color {
  background-color: #f5f5f5;
}

#single .post-dtl .has-d-gry-background-color {
  background-color: #f1f1f1;
}

#single .post-dtl p {
  font-size: 1.4rem;
}

@media screen and (max-width: 959px) {
  #single .post-dtl p {
    font-size: 1.3rem;
  }
}

#single .post-dtl p:not(:first-child) {
  margin-top: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl p:not(:first-child) {
    margin-top: 16px;
  }
}

#single .post-dtl strong {
  font-weight: bold;
}

#single .post-dtl em {
  font-style: italic;
}

#single .post-dtl sup {
  vertical-align: super;
  font-size: smaller;
}

#single .post-dtl sub {
  vertical-align: sub;
  font-size: smaller;
}

#single .post-dtl a {
  text-decoration: underline;
  color: #111111;
}

#single .post-dtl a:hover {
  text-decoration: none;
}

#single .post-dtl ul {
  margin-top: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl ul {
    margin-top: 16px;
  }
}

#single .post-dtl ul > li {
  list-style: none;
  position: relative;
  margin-left: 0;
  padding-left: 8px;
  font-size: 1.4rem;
  line-height: 1.4;
  text-indent: 0;
}

@media screen and (max-width: 959px) {
  #single .post-dtl ul > li {
    font-size: 1.3rem;
  }
}

#single .post-dtl ul > li:not(:nth-last-of-type(1)) {
  margin-bottom: 8px;
}

#single .post-dtl ul > li::before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  background: #111111;
  border-radius: 50%;
}

#single .post-dtl ul > li ul,
#single .post-dtl ul > li ol {
  margin: 8px 0 0;
}

#single .post-dtl ol {
  counter-reset: list-num;
  margin-top: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl ol {
    margin-top: 16px;
  }
}

#single .post-dtl ol > li {
  list-style: none;
  margin-left: 1em !important;
  text-indent: -1em;
  font-size: 1.4rem;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single .post-dtl ol > li {
    font-size: 1.3rem;
  }
}

#single .post-dtl ol > li:not(:nth-last-of-type(1)) {
  margin-bottom: 8px;
}

#single .post-dtl ol > li::before {
  counter-increment: list-num;
  content: counter(list-num) ".";
}

#single .post-dtl ol > li > div {
  display: inline;
}

#single .post-dtl ol > li ul,
#single .post-dtl ol > li ol {
  margin: 8px 0 0;
}

#single .post-dtl .wp-block-button {
  margin-top: 24px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-button {
    margin-top: 16px;
  }
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-button {
    gap: 12px;
  }
}

#single .post-dtl .wp-block-button__link {
  position: relative;
  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;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 36px 4px 12px;
  max-width: 100%;
  min-width: 240px !important;
  min-height: 40px;
  background: #ffffff;
  border: solid 1px #111111;
  border-radius: 0;
  color: #ffffff;
  background: #111111;
  font-size: 1.4rem;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-button__link {
    min-height: 48px;
    font-size: 1.3rem;
  }
}

#single .post-dtl .wp-block-button__link:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #ffffff;
  -webkit-mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#single .post-dtl .wp-block-button__link:hover {
  background: #ffffff;
  color: #111111;
}

#single .post-dtl .wp-block-button__link:hover::before {
  background: #111111;
}

#single .post-dtl .wp-block-image {
  margin-top: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-image {
    margin-top: 16px;
  }
}

#single .post-dtl .wp-block-image::after {
  content: '';
  display: block;
  clear: both;
}

#single .post-dtl .wp-block-image img {
  width: auto;
}

#single .post-dtl .wp-block-media-text {
  margin-top: 24px;
  gap: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-media-text {
    margin-top: 16px;
    gap: 16px;
  }
}

#single .post-dtl .wp-block-media-text__content {
  padding: 0;
}

#single .post-dtl .wp-block-media-text h2,
#single .post-dtl .wp-block-media-text h3,
#single .post-dtl .wp-block-media-text h4 {
  margin-top: 0;
}

#single .post-dtl .wp-block-media-text p:last-of-type {
  margin-bottom: 0;
}

#single .post-dtl .wp-block-columns {
  margin-top: 24px;
  gap: 24px;
}

@media screen and (max-width: 519px) {
  #single .post-dtl .wp-block-columns {
    margin-top: 16px;
    gap: 16px;
  }
}

#single .post-dtl .wp-block-columns .wp-block-image {
  margin: 0;
}

#single .post-dtl .wp-block-columns .wp-block-image img {
  width: 100%;
}

#single .post-dtl .wp-block-columns h2,
#single .post-dtl .wp-block-columns h3,
#single .post-dtl .wp-block-columns h4 {
  margin-top: 0;
}

#single .post-dtl .wp-block-columns p:last-of-type {
  margin-bottom: 0;
}

#single .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(8px * 2);
  margin-bottom: calc(8px * 5);
}

@media screen and (max-width: 959px) {
  #single .gallery {
    gap: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .gallery {
    gap: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .gallery {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .gallery {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

#single .gallery__item {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/2;
  border: solid 1px #f7f7f7;
  cursor: pointer;
}

#single .gallery__item img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

#single .gallery__item .gallery-mask {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.3);
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

#single .gallery__item .gallery-zoom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 32px;
  padding: 0 8px;
  background: #111111;
  border: solid 1px #111111;
  color: #ffffff;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 959px) {
  #single .gallery__item .gallery-zoom {
    height: 28px;
  }
}

#single .gallery__item .gallery-zoom::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: linear-gradient(to right, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to bottom, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px));
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 959px) {
  #single .gallery__item .gallery-zoom::before {
    width: 14px;
  }
}

#single .gallery__item:hover .gallery-mask {
  opacity: 0;
}

#single .gallery__item:hover .gallery-zoom {
  background: #ffffff;
  color: #111111;
}

#single .gallery__item:hover .gallery-zoom::before {
  background: linear-gradient(to right, transparent calc(50% - 1px), #111111 calc(50% - 1px), #111111 calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to bottom, transparent calc(50% - 1px), #111111 calc(50% - 1px), #111111 calc(50% + 1px), transparent calc(50% + 1px));
}

#single .pagelink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

#single .pagelink__prev a, #single .pagelink__next a, #single .pagelink__back a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 4;
  width: 100%;
  height: 32px;
  background: #ffffff;
  border: solid 1px #111111;
  color: #111111;
  font-size: 1.4rem;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  line-height: 1;
}

@media screen and (max-width: 959px) {
  #single .pagelink__prev a, #single .pagelink__next a, #single .pagelink__back a {
    font-size: 1.3rem;
  }
}

#single .pagelink__prev a:hover, #single .pagelink__next a:hover, #single .pagelink__back a:hover {
  background: #111111;
  color: #ffffff;
}

#single .pagelink__back {
  width: 240px;
}

@media screen and (max-width: 959px) {
  #single .pagelink__back {
    width: 240px;
  }
}

@media screen and (max-width: 767px) {
  #single .pagelink__back {
    width: calc(100% - 276px);
  }
}

@media screen and (max-width: 519px) {
  #single .pagelink__back {
    width: calc(40% - 8px);
  }
}

#single .pagelink__prev, #single .pagelink__next {
  width: 120px;
}

@media screen and (max-width: 959px) {
  #single .pagelink__prev, #single .pagelink__next {
    width: 120px;
  }
}

@media screen and (max-width: 519px) {
  #single .pagelink__prev, #single .pagelink__next {
    width: calc(30% - 8px);
  }
}

#single .pagelink__prev a .ico-arrow {
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

#single .lower-page {
  margin-bottom: calc(8px * 15);
}

@media screen and (max-width: 959px) {
  #single .lower-page {
    margin-bottom: calc((8px * 15) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single .lower-page {
    margin-bottom: calc((8px * 15) * 0.5);
  }
}

/*# sourceMappingURL=../../maps/pages/news.css.map */
