@charset "UTF-8";

body:is(.page-template-activity-page-php, .archive, .single-post) {
  background: #fff;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-page {
  overflow: hidden;
  background: #fff;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
  position: relative;
  overflow: hidden;
  padding: 31px 0 104px;
  background: var(--color-bg-beige);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -1px;
  left: -18%;
  height: 74px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 92' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 92H1440V28C1190 82 1005 87 744 43C438 -9 218 9 0 48V92Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__en,
body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title span {
  font-family: var(--font-kosugi);
  font-weight: 500;
  line-height: 1;
  color: var(--color-green);
  letter-spacing: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__en {
  margin-bottom: 8px;
  font-size: 18px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__title {
  font-family: var(--font-kosugi);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
  letter-spacing: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb {
  width: min(100%, 1148px);
  margin: 0 auto;
  padding: 27px 30px 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-kosugi);
  font-size: 11px;
  line-height: 1;
  color: #7d766e;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 12px;
  color: #7d766e;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 49px var(--container-padding) 109px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post {
  color: var(--color-text);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post + .activity-post {
  margin-top: 91px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  font-family: var(--font-kosugi);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__meta time {
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 23px;
  padding: 0 15px;
  border-radius: 999px;
  background: #d9f3ee;
  color: #6b7f75;
  font-size: 12px;
  font-weight: 500;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__title {
  padding-bottom: 17px;
  border-bottom: 3px dashed rgb(80 68 52 / 35%);
  font-family: var(--font-kosugi);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__image {
  width: 100%;
  margin: 40px 0 35px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__image img {
  display: block;
  width: 100%;
  height: auto;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__body {
  font-family: var(--font-kosugi);
  font-size: 15px;
  font-weight: 500;
  line-height: 2.05;
  color: #665f56;
  letter-spacing: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__body > * {
  margin-top: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__body > *:last-child {
  margin-bottom: 0;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post--compact .activity-post__body {
  margin-top: 33px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__title a {
  color: inherit;
  text-decoration: none;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-archive-title {
  margin: 0 0 52px;
  font-family: var(--font-kosugi);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-empty {
  margin: 0;
  font-family: var(--font-kosugi);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 64px;
  font-family: var(--font-kosugi);
  font-size: 14px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .nav-links a,
body:is(.page-template-activity-page-php, .archive, .single-post) .nav-links .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #faf9f5;
  color: var(--color-text);
  text-decoration: none;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .nav-links .current {
  background: var(--color-green);
  color: var(--color-white);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-sidebar {
  display: none;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-mobile-side {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 0 30px 72px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-section + .activity-side-section {
  margin-top: 58px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin-bottom: 21px;
  font-family: var(--font-kosugi);
  line-height: 1;
  text-align: center;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title span {
  font-size: 25px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title small {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text);
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-section--archive .activity-side-list {
  grid-template-columns: 1fr;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 37px;
  padding: 0 35px 0 24px;
  border: 1px dashed rgb(80 68 52 / 26%);
  border-radius: 999px;
  background: #faf9f5;
  font-family: var(--font-kosugi);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--color-text);
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
    padding-top: 20px;
    padding-bottom: 61px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__en {
    margin-bottom: 5px;
    font-size: 10px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__title {
    font-size: 18px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-layout {
    max-width: 430px;
  }

}

@media screen and (min-width: 768px) {
  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
    padding-top: 31px;
    padding-bottom: 104px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero::after {
    right: -5%;
    left: -5%;
    height: 105px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__en {
    margin-bottom: 8px;
    font-size: 18px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero__title {
    font-size: 32px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb {
    padding-top: 16px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb ol {
    font-size: 13px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px) 240px;
    gap: 60px;
    padding-top: 118px;
    padding-bottom: 206px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post + .activity-post {
    margin-top: 149px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__meta {
    gap: 14px;
    margin-bottom: 17px;
    font-size: 16px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__meta span {
    min-width: 91px;
    height: 26px;
    font-size: 16px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__title {
    padding-bottom: 27px;
    font-size: 32px;
    line-height: 1.35;
    margin-bottom: 65px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__image {
    width: 650px;
    margin: 68px 0 48px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__body {
    font-size: 18px;
    line-height: 2.1;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post--compact .activity-post__body {
    margin-top: 54px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-sidebar {
    display: block;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-mobile-side {
    display: none;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-section + .activity-side-section {
    margin-top: 57px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title {
    justify-content: center;
    gap: 13px;
    margin-bottom: 23px;
    text-align: left;
    align-items: center;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title span {
    font-size: 32px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-title small {
    font-size: 14px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list a {
    height: 46px;
    padding-right: 36px;
    padding-left: 39px;
    font-size: 16px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-side-list a::after {
    right: 26px;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 6px;
  }
}

@media screen and (min-width: 992px) {
  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-layout {
    gap: 66px;
  }

}

@media screen and (max-width: 430px) {
  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
    padding-top: 20px;
    padding-bottom: 61px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-breadcrumb {
    padding-top: 24px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-layout {
    padding-top: 48px;
    padding-bottom: 73px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__image {
    margin-top: 40px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__title {
    font-size: 23px;
    margin-bottom: 40px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-post__body {
    font-size: 15px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-mobile-side {
    padding-bottom: 69px;
  }
}

/* Final lower-page hero alignment: match guide-page */
body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
  position: relative;
  z-index: 0;
  overflow: visible;
  padding: 31px 0 84px;
  background: #faf9f4;
}

body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -61px;
  left: 0;
  width: 100%;
  height: 184px;
  background-color: #fff;
  background-image: url("../images/wave_up_bg_beige.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 130%;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

@media screen and (max-width: 767px) {
  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero {
    padding-top: 20px;
    padding-bottom: 41px;
  }

  body:is(.page-template-activity-page-php, .archive, .single-post) .activity-hero::after {
    bottom: -98px;
    height: 156px;
    background-size: 111% 80%;
  }
}
