/* Contents area */

/* Main */

body.single-post .wrapper-post-title.post-title-updates {
  background: #ecf5f0 url(../img/bg-title-single.png) center center / cover;
  margin-bottom: 1.5625rem;
  padding: 1.875rem;
}

.post-title-company-name {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
}
main {
  flex: 1;
  font-size: 1rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.875rem;
}
.wrapper-gutenberg-output {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.wrapper-gutenberg-output p {
  margin-bottom: 2.5rem;
}

.wrapper-gutenberg-output .aligncenter {
  text-align: center;
}

.wrapper-gutenberg-output .alignleft {
  text-align: left;
}

.wrapper-gutenberg-output .alignright {
  text-align: right;
}

.wrapper-gutenberg-output img.aligncenter {
  display: block;
  margin: 0 auto;
}

.wrapper-gutenberg-output img.wp-image-10239 {
  max-width: 15rem;
}

.wrapper-section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.3125rem;
}

.home .wrapper-section-title {
  margin-top: 2rem;
}

.wrapper-section-title h2 {
  margin-bottom: 0;
}

.categories {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.link-to-parent,
.link-to-single {
  align-items: center;
  display: flex;
}
.link-to-parent {
  margin-bottom: 3.0625rem;
}

.link-to-parent svg {
  margin-left: -0.3rem;
}

.link-to-single {
  justify-content: flex-end;
  align-items: flex-end;
  /* margin-top: auto; */
}

.link-to-single p {
  color: #3ea966;
  font-weight: 700;
  line-height: 1.5rem;
}

.wrapper-gutenberg-output .link-to-parent p,
.wrapper-gutenberg-output .link-to-single p {
  margin-bottom: 0;
}

main h2 {
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.9375rem;
  line-height: 2.9375rem;
  margin-bottom: 1.3125rem;
  text-align: left;
}

body.page main h2 {
  font-size: 1.5rem;
  line-height: 2.9375rem;
}

.wrapper-latesttopics {
  box-shadow: 0rem 0.0625rem 0.375rem rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.btn-link-to-archive {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.05rem 0.75rem;
  background: #ffffff;
  border: 0.15rem solid #3ea966;

  border-radius: 1.75rem;
  width: 5.1rem;
}
.btn-link-to-archive.btn-link-to-case-study {
  width: 10.7rem;
}

.btn-link-to-archive,
.btn-link-to-archive a {
  text-decoration: none;
}
.btn-link-to-archive:hover {
  background: #3ea966;
  color: #fff;
  text-decoration: none;
}

.btn-link-to-archive svg {
  fill: #3ea966;
  margin-top: 0.09rem;
}

.wrapper-gutenberg-output .postdate {
  color: #888888;
  margin-bottom: 1.25rem;
}

.wrapper-gutenberg-output h3 {
  align-items: center;
  border-left: 0.3125rem solid #3ea966;
  color: #3ea966;
  display: flex;
  font-size: 1.375rem;
  font-weight: bold;
  height: 3rem;
  line-height: 2.0625rem;
  margin-bottom: 1.5rem;
  padding-left: 0.9375rem;
}

.wrapper-gutenberg-output li,
.wrapper-gutenberg-output ol {
  list-style-position: inside;
}

.wrapper-gutenberg-output li {
  margin-bottom: 6px;
  line-height: 24px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.wrapper-gutenberg-output ul {
  background: rgba(196, 196, 196, 0.08);
  margin-bottom: 2rem;
  padding: 1rem 2rem;
}

.wrapper-gutenberg-output h4 {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.875rem;
  margin-bottom: 1.1875rem;
}

.btn-link-to-archive:hover svg {
  fill: #fff;
}

.btn-link-to-archive.btn-link-to-case-study {
  background: #3ea966;
}

.btn-link-to-archive.btn-link-to-case-study svg {
  background: #3ea966;
  fill: #3ea966;
  stroke: #fff;
}

.btn-link-to-archive.btn-link-to-case-study p {
  color: #fff;
}
.btn-link-to-archive.btn-link-to-case-study:hover {
  background: #fff;
}

.btn-link-to-archive.btn-link-to-case-study:hover svg {
  fill: #fff;
}

.btn-link-to-archive.btn-link-to-case-study:hover p {
  color: #3ea966;
}

.btn-link-to-archive.btn-link-to-case-study:hover svg {
  background: #fff;
  fill: #fff;
  stroke: #3ea966;
}

.cards {
  align-items: start;
  display: grid;
  gap: 0 2rem;
  grid-template-columns: repeat(4, 1fr);
  justify-content: flex-start;
  list-style: none;
}

.cards.cards-related {
  margin-bottom: 3rem;
}

.cards.cards-vertical {
  grid-template-columns: 1fr;
}

.cards h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin: 0.5rem 0;
}

.cards li {
  display: flex;
  flex-flow: column;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 3.9375rem;
}

.cards.cards-vertical li {
  border-bottom: 1px solid #d5d5d5;
  flex: 0 1 auto;
  flex-flow: row nowrap;
  justify-content: flex-start;
  margin-bottom: 2rem;
  max-width: none;
  padding-bottom: 2rem;
  width: 100%;
}

body.page-template-default .cards li {
  margin-bottom: 3.5rem;
}

.cards li a {
  color: #000000cc;
  display: flex;
  flex-flow: column;
  flex: 1;
  height: 100%;
  justify-content: space-around;
  text-decoration: none;
}

.cards.cards-vertical li a {
  flex: 0 1 auto;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 100%;
}

.cards .cards-vertical-img {
  flex-shrink: 0;
  margin: 0 1rem 0 0;
  width: 16rem;
}

.cards .cards-vertical-meta {
  width: 100%;
}

.cards-vertical-excerpt {
  margin: 0.5rem 0;
}

.cards-case-study h3 {
  color: #3ea966;
}

.cards-case-study p {
  flex: 1;
}
.cards-case-study .link-to-single p {
  flex: none;
}

svg.icon-blank-svg {
  background: transparent;
  fill: transparent;
  stroke: #3ea966;
}

body.single-post a:hover,
.swiper-slide:hover,
.cards li:hover,
.link-to-parent:hover {
  opacity: 0.6;
}

body.single-post .menu ul a:hover {
  opacity: 1;
}

table {
  border-collapse: collapse;
  line-height: 1.48rem;
  margin-bottom: 4.9375rem;
  width: 100%;
}

body.page-template-page_news table {
  margin-bottom: 2.4375rem;
}

table a {
  font-weight: 700;
  line-height: 1.48rem;
}

table.pressreleasetable td {
  line-height: 1.25rem;
  padding: 1.25rem 2rem 1.25rem 0;
  text-align: left;
  vertical-align: top;
}

table.pressreleasetable th {
  padding: 1.25rem 2rem;
}

table.pressreleasetable td:first-child {
  color: #888888;
  min-width: 11.5rem;
  padding: 1.25rem 0.75rem 1.25rem 2rem;
}

table.pressreleasetable th {
  min-width: 9rem;
}

table.pressreleasetable tbody > tr:nth-child(odd) {
  background: #fbfbfb;
}

table.pressreleasetable tbody > tr:hover,
table.pressreleasetable tbody > tr:nth-child(odd):hover {
  background: #ecf5f0;
}

/* Pagenation */

ul.page-numbers,
.page-numbers.current,
.page-numbers.dots,
.page-numbers a {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  justify-content: center;
  list-style: none;
}

ul.page-numbers {
  margin: 0 0 5.8125rem;
}

ul.page-numbers li {
  align-items: center;
  display: flex;
  justify-content: center;
}
.page-numbers.current,
.page-numbers.dots,
.page-numbers a {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.875rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  text-decoration: none;
}

.page-numbers.next,
.page-numbers.prev {
  display: none;
}

.page-numbers li {
  position: relative;
}
.page-numbers li:hover {
  background: #ecf5f0;
}

.page-numbers.dots {
  color: transparent;
}
.page-numbers.dots:hover {
  background: #fff;
}

span.page-numbers.dots::after {
  color: #a5a3a3;
  content: "・・・・・";
  display: block;
  font-size: 1rem;
  font-weight: 400;
  left: -0.1rem;
  letter-spacing: -0.55rem;
  position: absolute;
  top: 0.7rem;
}

/* Search Results */

.search-results-heading {
  align-items: center;
  display: flex;
  margin-bottom: 1.3125rem;
}

.search-results-heading-inner {
  align-items: center;
  display: flex;
}

.search-results-heading-inner h2 {
  margin-bottom: 0;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.search-results-query {
  font-size: 1.3rem;
  line-height: 1.4;
}

.search-results-counts {
  margin-left: auto;
  white-space: nowrap;
}

.search-no-results-text {
  margin: 20px 0 60px;
  text-align: center;
}

/* Screen Reader Text */

.screen-reader-text {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Introduction Lists */

.wrapper-gutenberg-output .introduction-lists {
  background: #ecf5f0;
  margin-bottom: 3.9375rem;
  padding: 1rem 1.5rem;
}

.wrapper-gutenberg-output .introduction-lists ul {
  background: none;
  margin: 1.5rem 0;
  padding: 0;
}

.wrapper-gutenberg-output .introduction-lists li {
  line-height: 1.875rem;
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 25px;
  position: relative;
  text-indent: 0;
}

.wrapper-gutenberg-output .introduction-lists li::before {
  background: url(../img/icon-check.svg) no-repeat center center / cover;
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 18px;
}

/* Clip image */

.clip-img {
  background-color: #e7f4e7;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clip-img:before {
  content: "";
  display: block;
  padding-top: 58.6%;
  position: relative;
}

.clip-img-inner {
  bottom: 0;
  color: transparent;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.clip-img-inner img {
  height: auto;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/*  Gutenberg */
h5 {
  font-size: 14px;
  color: #979797;
  font-weight: 200;
  line-height: 24px;
}

h6 {
  font-size: 12px;
  color: #c2c2c2;
  font-weight: 200;
  line-height: 1rem;
}

figure.wp-block-table {
  margin: 1rem 0;
}

figure.wp-block-table.is-style-regular table th,
figure.wp-block-table.is-style-regular table td {
  border: 1px solid #444;
  padding: 0.5rem;
}
figure.wp-block-table.is-style-regular table th {
  background: #dff5ea;
}
figure.wp-block-table th,
figure.wp-block-table td {
  border: 1px solid #444;
  padding: 0.5rem;
}
figure.wp-block-table th {
  background: #dff5ea;
}
figure.wp-block-table table {
  margin-bottom: 0rem;
}

.has-text-align-left {
  text-align: left;
}
.has-text-align-center {
  text-align: center;
}
.has-text-align-right {
  text-align: right;
}

.wp-block-table thead {
  border-bottom: 3px solid;
}
figure.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}

.wp-block-button.is-style-fill a {
  color: #fff;
  background-color: #3ea966;
  border-radius: 9999px;
  display: inline-block;
  font-size: 1.125em;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-align: center;
  text-decoration: none;
  word-break: break-word;
}
.wp-block-button.is-style-outline a {
  color: #3ea966;
  background-color: #fff;
  border: 2px solid #3ea966;
  border-radius: 9999px;
  display: inline-block;
  font-size: 1.125em;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-align: center;
  text-decoration: none;
  word-break: break-word;
}

.wp-block-quote {
  border-left: 0.25em solid;
  margin: 0 0 1.75em;
  padding-left: 1em;
}

.wp-block-quote p {
  font-size: 1.5rem;
}

cite {
  color: #c2c2c2;
}

figure {
  margin: 0;
  padding: 0;
}

figcaption {
  font-size: 14px;
  color: #c2c2c2;
}

.wp-block-image img {
  border: solid 2px #dedede;
}

/*  Responsive */

@media screen and (max-width: 1300px) {
  #wrapper-entireswiper .swiper-slide {
    transform: translate(-70%, 0);
  }
}

@media screen and (max-width: 1200px) {
  .container {
    margin: 0 auto;
    padding: 0 3.125rem;
  }

  #wrapper-entireswiper .swiper-slide {
    transform: translate(-80%, 0);
  }

  .cards {
    gap: 0 2.3rem;
  }
}

@media screen and (max-width: 1000px) {
  .container {
    padding: 0 40px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 800px) {
  #wrapper-entireswiper .swiper-slide {
    transform: translate(-70%, 0);
    width: 30rem;
  }

  .cards h3 {
    margin-bottom: 0.5rem;
  }

  .cards-vertical-excerpt {
    display: none;
  }

  main h2,
  body.page main h2 {
    font-size: 24px;
    line-height: 36px;
  }

  p.checkbox-green {
    background: #ecf5f0;
    padding: 1.5rem 1rem;
  }

  .wrapper-gutenberg-output ul {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 700px) {
  .container {
    padding: 0 1rem;
  }
  .wrapper-section-title {
    margin-bottom: 9px;
  }
  .cards.cards-vertical li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  .cards .cards-vertical-img {
    width: 10rem;
  }
  .cards.cards-vertical h3 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    word-break: break-all;
  }
  .cards.cards-vertical .link-to-single {
    display: none;
  }
  .search-results-heading {
    flex-wrap: wrap;
  }
  .search-results-query {
    font-size: 1rem;
  }
  .search-results-counts {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .cards {
    gap: 1.5rem;
  }

  .cards li {
    margin-bottom: 15px;
  }

  body.page-template-default .cards li {
    margin-bottom: 45px;
  }

  table.pressreleasetable tr {
    display: flex;
    flex-flow: column;
  }

  table.pressreleasetable td {
    min-width: 12rem;
    text-align-last: left;
  }
  table.pressreleasetable td:first-child {
    padding: 20px 2rem 1rem;
  }
  table.pressreleasetable td:nth-child(2) {
    padding: 0 2rem 33px;
  }
}

@media screen and (max-width: 400px) {
  .cards {
    grid-template-columns: 1fr;
  }

  #wrapper-entireswiper .swiper-slide {
    transform: translate(-22%, 0);
    width: 23rem;
  }
}

/* 404 Page */
.error404 main .container {
  padding: 40px 0;
  max-width: 920px;
}
.error404 main .container:after {
  content: "";
  display: block;
  clear: both;
}
@media screen and (max-width: 960px) {
  .error404 main .container {
    padding: 40px 20px;
    text-align: center;
  }
}

.error404 main .entry-title {
  font-size: 24px;
  line-height: 1.3;
  margin: 100px 0 0.5rem;
}
@media screen and (max-width: 960px) {
  .error404 main .entry-title {
    margin-top: 1rem;
    font-size: 22px;
  }
}
.error404 main h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0.6em 0 1em;
}
.error404 main .container img {
  width: 500px;
  max-width: 100%;
  float: right;
}
@media screen and (max-width: 960px) {
  .error404 main .container img {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.error404 main .btn {
  padding: 20px 50px;
  border: 1px solid #303d37;
  background: none;
  border-radius: 5px;
  color: #303d37;
  font-size: 16px;
  display: inline-block;
}
.error404 main .btn:hover {
  background: #303d37;
  color: #fff;
}
@media screen and (max-width: 960px) {
  .error404 main .btn {
    display: block;
    padding: 20px;
  }
}
