@charset "UTF-8";

:root {
  --blog-green: #00421e;
  --blog-green-sub: #008c3f;
  --blog-green-light: #eaf4ed;
  --blog-border: #d9e4dc;
  --blog-text: #243329;
  --blog-muted: #718078;
}

.p-blog-hero {
  position: relative;
  margin-top: 70px;
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f7f4 0%, #dceadd 100%);
}

.p-blog-hero::before,
.p-blog-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 66, 30, 0.07);
}

.p-blog-hero::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -150px;
}

.p-blog-hero::after {
  width: 180px;
  height: 180px;
  left: 5%;
  bottom: -110px;
}

.p-blog-hero__inner {
  position: relative;
  z-index: 1;
  padding: 50px 20px;
  text-align: center;
}

.p-blog-hero__en {
  font-family: "Urbanist", sans-serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--blog-green);
}

.p-blog-hero__ja {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blog-green);
}

.l-blog__inner,
.l-blog-single__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.p-blog-archive .c-breadclumb,
.p-blog-single .c-breadclumb {
  line-height: 1.7;
}

.p-blog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}

.p-blog-categories__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 20px;
  border: 1px solid var(--blog-green);
  border-radius: 100px;
  color: var(--blog-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.p-blog-categories__link:hover,
.p-blog-categories__link.is-current {
  color: #fff;
  background-color: var(--blog-green);
}

.p-blog-description {
  max-width: 800px;
  margin: 48px auto 0;
  font-size: 16px;
  line-height: 2;
  color: var(--blog-text);
}

.p-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 28px;
  margin-top: 64px;
  padding-bottom: 96px;
}

.p-blog-card {
  min-width: 0;
}

.p-blog-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.p-blog-card__thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background-color: #eef3ef;
}

.p-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.p-blog-card__link:hover .p-blog-card__image {
  transform: scale(1.04);
}

.p-blog-card__no-image {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 20px;
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(0, 66, 30, 0.45);
}

.p-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.p-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--blog-muted);
  font-family: "Urbanist", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.p-blog-card__category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--blog-green-light);
  color: var(--blog-green);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.p-blog-card__title {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--blog-green);
}

.p-blog-card__excerpt {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--blog-text);
}

.p-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blog-green-sub);
  font-size: 14px;
  font-weight: 700;
}

.p-blog-card__more::after {
  content: "";
  width: 28px;
  height: 1px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

.p-blog-card__link:hover .p-blog-card__more::after {
  width: 42px;
}

.p-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-bottom: 120px;
}

.p-blog-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--blog-border);
  color: var(--blog-green);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.p-blog-pagination .page-numbers:hover,
.p-blog-pagination .page-numbers.current {
  border-color: var(--blog-green);
  color: #fff;
  background-color: var(--blog-green);
}

.p-blog-empty {
  padding: 100px 0 140px;
  text-align: center;
  color: var(--blog-text);
  line-height: 1.8;
}

.p-blog-single {
  padding-top: 100px;
}

.p-blog-single .c-breadclumb {
  margin-top: 30px;
}

.p-blog-article {
  width: min(840px, 100%);
  margin: 70px auto 120px;
}

.p-blog-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-blog-article__category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background-color: var(--blog-green-light);
  color: var(--blog-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.p-blog-article__title {
  margin-top: 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 4.3vw, 48px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--blog-green);
}

.p-blog-article__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
}

.p-blog-article__date {
  color: var(--blog-muted);
  font-family: "Urbanist", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.p-blog-article__date span {
  margin-right: 8px;
  color: var(--blog-green);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.p-blog-article__thumbnail {
  margin-top: 48px;
  overflow: hidden;
  border-radius: 4px;
}

.p-blog-article__image {
  width: 100%;
  height: auto;
}

.p-blog-article__content {
  margin-top: 64px;
  color: var(--blog-text);
  font-size: 16px;
  line-height: 2;
}

.p-blog-article__content > *:first-child {
  margin-top: 0;
}

.p-blog-article__content > *:last-child {
  margin-bottom: 0;
}

.p-blog-article__content p,
.p-blog-article__content ul,
.p-blog-article__content ol,
.p-blog-article__content figure,
.p-blog-article__content blockquote,
.p-blog-article__content table {
  margin-block: 1.6em;
}

.p-blog-article__content h2 {
  margin: 2.6em 0 1em;
  padding: 18px 20px;
  border-left: 5px solid var(--blog-green-sub);
  background-color: #f2f7f3;
  color: var(--blog-green);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.55;
}

.p-blog-article__content h3 {
  margin: 2.2em 0 0.9em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blog-green);
  color: var(--blog-green);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.p-blog-article__content h4 {
  margin: 2em 0 0.8em;
  color: var(--blog-green);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.p-blog-article__content ul,
.p-blog-article__content ol {
  padding-left: 1.5em;
}

.p-blog-article__content li + li {
  margin-top: 0.55em;
}

.p-blog-article__content a {
  color: var(--blog-green-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-blog-article__content img {
  max-width: 100%;
  height: auto;
}

.p-blog-article__content blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--blog-green-sub);
  background-color: #f6f8f6;
}

.p-blog-article__content table {
  width: 100%;
  border-collapse: collapse;
}

.p-blog-article__content th,
.p-blog-article__content td {
  padding: 14px;
  border: 1px solid var(--blog-border);
  vertical-align: top;
}

.p-blog-article__content th {
  background-color: var(--blog-green-light);
  color: var(--blog-green);
  font-weight: 700;
}

.p-blog-article__content .alignwide {
  max-width: 1040px;
  margin-right: calc((840px - min(1040px, 100vw - 40px)) / 2);
  margin-left: calc((840px - min(1040px, 100vw - 40px)) / 2);
}

@media screen and (max-width: 999px) {
  .p-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-blog-single {
    padding-top: 78px;
  }
}

@media screen and (max-width: 767px) {
  .p-blog-hero {
    margin-top: 60px;
    min-height: 200px;
  }

  .p-blog-hero__inner {
    padding: 42px 20px;
  }

  .p-blog-hero__ja {
    margin-top: 16px;
    font-size: 16px;
  }

  .l-blog__inner,
  .l-blog-single__inner {
    width: min(100% - 32px, 1120px);
  }

  .p-blog-categories {
    justify-content: flex-start;
    margin-top: 40px;
  }

  .p-blog-categories__link {
    min-height: 38px;
    padding: 7px 15px;
    font-size: 13px;
  }

  .p-blog-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 48px;
    padding-bottom: 72px;
  }

  .p-blog-card__title {
    font-size: 19px;
  }

  .p-blog-pagination {
    padding-bottom: 88px;
  }

  .p-blog-single {
    padding-top: 66px;
  }

  .p-blog-single .c-breadclumb {
    margin-top: 24px;
    font-size: 12px;
  }

  .p-blog-article {
    margin-top: 48px;
    margin-bottom: 88px;
  }

  .p-blog-article__title {
    margin-top: 18px;
    font-size: 28px;
  }

  .p-blog-article__dates {
    margin-top: 18px;
  }

  .p-blog-article__thumbnail {
    margin-top: 32px;
  }

  .p-blog-article__content {
    margin-top: 44px;
    font-size: 15px;
    line-height: 1.95;
  }

  .p-blog-article__content h2 {
    margin-top: 2.3em;
    padding: 15px 16px;
    font-size: 22px;
  }

  .p-blog-article__content h3 {
    font-size: 19px;
  }

  .p-blog-article__content h4 {
    font-size: 17px;
  }

  .p-blog-article__content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .p-blog-article__content .alignwide {
    margin-right: 0;
    margin-left: 0;
  }
}

.p-footer__nav-item--blog::before {
    display: none;
}
.p-footer__nav-item:nth-child(5)::before {
  display: none;
}
